diff --git a/foundry.toml b/foundry.toml index 88c04b5..655d154 100644 --- a/foundry.toml +++ b/foundry.toml @@ -16,7 +16,7 @@ arbitrum-goerli = "https://goerli-rollup.arbitrum.io/rpc" arbitrum-sepolia = "https://sepolia-rollup.arbitrum.io/rpc" goerli = "https://rpc.ankr.com/eth_goerli" sepolia = "https://rpc.ankr.com/eth_sepolia" -pangolin = "https://pangolin-rpc.darwinia.network" +koi = "https://koi-rpc.darwinia.network" crab = "https://crab-rpc.darwinia.network" darwinia = "https://rpc.darwinia.network" arbitrum = "https://arb1.arbitrum.io/rpc" @@ -26,6 +26,7 @@ mantle = "https://rpc.mantle.xyz" blast = "https://rpc.blast.io" optimism = "https://optimism-mainnet.infura.io/v3/${INFURA_KEY}" base = "https://mainnet.base.org" +base-sepolia = "https://sepolia.base.org" scroll = "https://rpc.scroll.io" [etherscan] @@ -36,7 +37,8 @@ arbitrum = { key = "${ETHERSCAN_ARBITRUM_KEY}" } arbitrum-goerli = { key = "${ETHERSCAN_ARBITRUM_KEY}" } arbitrum-sepolia = { key = "${ETHERSCAN_ARBITRUM_KEY}" } darwinia = { key = "${ETHERSCAN_DARWINIA_KEY}", url = "https://darwinia.api.subscan.io/api/scan/evm/contract/verifysource" } -pangolin = { key = "${ETHERSCAN_DARWINIA_KEY}", url = "https://pangolin.api.subscan.io/api/scan/evm/contract/verifysource" } +koi = { key = "${ETHERSCAN_DARWINIA_KEY}", url = "https://koi-scan.darwinia.network/api" } crab = { key = "${ETHERSCAN_DARWINIA_KEY}", url = "https://crab.api.subscan.io/api/scan/evm/contract/verifysource" } optimism = { key = "${ETHERSCAN_OPTIMISM_KEY}" } base = { key = "${ETHERSCAN_BASE_KEY}" } +base-sepolia = { key = "${ETHERSCAN_BASE_KEY}" } diff --git a/script/Chains.sol b/script/Chains.sol index 53d223a..421f335 100644 --- a/script/Chains.sol +++ b/script/Chains.sol @@ -8,13 +8,13 @@ library Chains { uint256 internal constant Ethereum = 1; uint256 internal constant Goerli = 5; uint256 internal constant Optimism = 10; - uint256 internal constant Pangolin = 43; uint256 internal constant Crab = 44; uint256 internal constant Pangoro = 45; uint256 internal constant Darwinia = 46; uint256 internal constant Polygon = 137; uint256 internal constant Zksync = 324; uint256 internal constant OptimismGoerli = 420; + uint256 internal constant Koi = 701; uint256 internal constant Mantle = 5000; uint256 internal constant Base = 8453; uint256 internal constant Arbitrum = 42161; @@ -35,8 +35,6 @@ library Chains { return "goerli"; } else if (chainid == Optimism) { return "optimism"; - } else if (chainid == Pangolin) { - return "pangolin"; } else if (chainid == Crab) { return "crab"; } else if (chainid == Pangoro) { @@ -49,6 +47,8 @@ library Chains { return "zksync"; } else if (chainid == OptimismGoerli) { return "optimism-goerli"; + } else if (chainid == Koi) { + return "koi"; } else if (chainid == Mantle) { return "mantle"; } else if (chainid == Base) {