Skip to content

Commit

Permalink
OKC: staging contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAdoniev committed Aug 6, 2023
1 parent 1cfa1d3 commit 34fc39b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,19 +774,16 @@ 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,
decimals: Decimals.ETH,
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,
Expand Down
12 changes: 12 additions & 0 deletions src/factory/factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 34fc39b

Please sign in to comment.