From 34fc39b4d02f27b37f880bda5177961707a8c0fe Mon Sep 17 00:00:00 2001 From: AlexeyAdoniev Date: Sun, 6 Aug 2023 16:09:54 +0300 Subject: [PATCH] OKC: staging contracts --- src/consts.ts | 9 +++------ src/factory/factories.ts | 12 ++++++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/consts.ts b/src/consts.ts index 281d4882e..bb3d8f03f 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -774,10 +774,8 @@ CHAIN_INFO.set(Chain.CASPER, { }); CHAIN_INFO.set(Chain.OPTIMISM, { - //blockExplorerUrl: "https://optimistic.etherscan.io/tx/", - //blockExplorerUrlAddr: "https://optimistic.etherscan.io/address/", - blockExplorerUrl: "https://goerli-optimism.etherscan.io/tx/", - blockExplorerUrlAddr: "https://goerli-optimism.etherscan.io/address/", + blockExplorerUrl: "https://optimistic.etherscan.io/tx/", + blockExplorerUrlAddr: "https://optimistic.etherscan.io/address/", constructor: web3HelperFactory, currency: SupportedCurrency.OPTM, currencySymbol: SupportedCurrencyName.OPTM, @@ -785,8 +783,7 @@ CHAIN_INFO.set(Chain.OPTIMISM, { name: "Optimism", nonce: Chain.OPTIMISM, type: ChainType.EVM, - //chainId: 10, - chainId: 420, + chainId: 10, tnBlockExplorerUrl: "https://goerli-optimism.etherscan.io/tx/", tnBlockExplorerUrlAddr: "https://goerli-optimism.etherscan.io/address/", tnChainId: 420, diff --git a/src/factory/factories.ts b/src/factory/factories.ts index d41c046e8..2fa339c02 100644 --- a/src/factory/factories.ts +++ b/src/factory/factories.ts @@ -733,6 +733,18 @@ export namespace ChainFactoryConfigs { minter_addr: "0x33DC209D33AddF60cf90Dd4B10f9a198A1A93f63", paymentTokenAddress: "0x59ab97Ee239e02112652587F9Ef86CB6F762983b", // Euphoria ETH (ETH) Token }, + okcParams: { + erc721Minter: "0x8B7f2bC31976230E374B93DF88D6eCD14f7B5D7F", + erc1155Minter: "0xf331D7A450C2fB7ca7B58b675e46D7E344A57186", + erc1155_addr: "0xD580913Ef2c8CA4Ca90D4bE6851ACa004cf586D8", + erc721_addr: "0x5Ed657a379e06CBAc1Ba1a9cF6D28e71c66B0c83", + minter_addr: "0x8776073043eef8929F4a9cBa8Aacc6B59A21BA52", + feeMargin, + nonce: Chain.OKC, + notifier, + noWhitelist: true, + provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.OKC), + }, aptosParams: { rpcUrl: MainNetRpcUri.APTOS, bridge: