Skip to content

Commit

Permalink
OPTIMISM: mainnet contracts, change vech explorer link
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAdoniev committed Aug 6, 2023
1 parent add38ff commit 1cfa1d3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export enum MainNetRpcUri {
ARBITRUM = "https://nova.arbitrum.io/rpc",
BITGERT = "https://dedicated.brisescan.com",
SOLANA = "https://solana-mainnet.g.alchemy.com/v2/4Fm2r6LjJO91nXrKVcZBQXcWgtVe-_gx",
OPTIMISM = "https://goerli.optimism.io",
OPTIMISM = "https://mainnet.optimism.io",
// TODO: Algorand
}

Expand Down Expand Up @@ -540,8 +540,8 @@ CHAIN_INFO.set(Chain.GATECHAIN, {
CHAIN_INFO.set(Chain.VECHAIN, {
name: "VeChain",
tnBlockExplorerUrl: "https://explore-testnet.vechain.org/transactions/",
blockExplorerUrlAddr: "https://explore.vechain.org/accounts/",
blockExplorerUrl: "https://explore.vechain.org/transactions/",
blockExplorerUrlAddr: "https://vechainstats.com/account/",
blockExplorerUrl: "https://vechainstats.com/transaction/",
tnBlockExplorerUrlAddr: "https://explore-testnet.vechain.org/accounts/",
constructor: web3HelperFactory,
nonce: 0x19,
Expand Down
14 changes: 13 additions & 1 deletion src/factory/factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export namespace ChainFactoryConfigs {
nonce: Chain.OPTIMISM,
notifier,
noWhitelist: true,
provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.OPTIMISM),
provider: new ethers.providers.JsonRpcProvider(TestNetRpcUri.OPTIMISM),
},
avalancheParams: {
notifier,
Expand Down Expand Up @@ -820,6 +820,18 @@ export namespace ChainFactoryConfigs {
notifier,
provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.OKC),
},
optimismParams: {
erc721Minter: "0x7deC0896CFaFB47D6d8416d07C6bFba06c86B938",
erc1155Minter: "0x79a3C39EF62F5052Af6C8b7874fB0FD809e4e998",
erc1155_addr: "0x6912B65711431820DfbcE2526Ab801fa76161B7C",
erc721_addr: "0xDfC4bF686Adf9B4B5c33277661Ce1640651cB0b6",
minter_addr: "0xb709848FB8446D4991407486Eda08b2936CD0050",
feeMargin,
nonce: Chain.OPTIMISM,
notifier,
noWhitelist: true,
provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.OPTIMISM),
},
arbitrumParams: {
erc721Minter: "0x536dDc3Be14A980d3cd15635b3D05985C297FD07",
erc1155Minter: "0x4F4F48f70892475b0D4863f61F47157Dd1Db9F1a",
Expand Down

0 comments on commit 1cfa1d3

Please sign in to comment.