diff --git a/foundry.toml b/foundry.toml index 209ba1c..cb3b54b 100644 --- a/foundry.toml +++ b/foundry.toml @@ -68,6 +68,7 @@ arthera = "${ARTHERA_NODE_URI}" swell = "${SWELL_NODE_URI}" fork = "${ETH_NODE_URI_FORK}" sonic = "${SONIC_NODE_URI}" +corn = "${CORN_NODE_URI}" [etherscan] localhost = { url = "http://localhost:4000", key = "none" } @@ -85,7 +86,7 @@ base = { chainId = 8453, key = "${BASE_ETHERSCAN_API_KEY}", url = "https://api.b bob = { chainId = 60808, key = "${BOB_ETHERSCAN_API_KEY}", url = "https://explorer.gobob.xyz/api" } linea = { chainId = 59144, key = "${LINEA_ETHERSCAN_API_KEY}", url = "https://api.lineascan.build/api" } zksync = { chainId = 324, key = "${ZKSYNC_ETHERSCAN_API_KEY}", url = "https://explorer.sepolia.era.zksync.dev/contract_verification" } -mantle = { chainId = 5000, key = "${MANTLE_ETHERSCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan" } +mantle = { chainId = 5000, key = "${MANTLE_ETHERSCAN_API_KEY}", url = "https://explorer.mantle.xyz/api" } blast = { chainId = 81457, key = "${BLAST_ETHERSCAN_API_KEY}", url = "https://api.blastscan.io/api" } mode = { chainId = 34443, key = "${MODE_ETHERSCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/34443/etherscan/api" } thundercore = { chainId = 108, key = "${THUNDERCORE_ETHERSCAN_API_KEY}", url = "" } @@ -110,3 +111,4 @@ etherlink = { chainId = 42793, key = "${ETHERLINK_ETHERSCAN_API_KEY}", url= "htt arthera = { chainId = 10242, key = "${ARTHERA_ETHERSCAN_API_KEY}", url = "https://explorer.arthera.net/api/" } swell = { chainId = 1923, key = "${SWELL_ETHERSCAN_API_KEY}", url = "https://explorer.swellnetwork.io:443/api/" } sonic = { chainId = 146, key = "${SONIC_ETHERSCAN_API_KEY}", url = "https://api.sonicscan.org/api/" } +corn = { chainId = 21000000, key = "${CORN_ETHERSCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan" } \ No newline at end of file diff --git a/scripts/DistributionCreator.s.sol b/scripts/DistributionCreator.s.sol index 69d3259..f029888 100644 --- a/scripts/DistributionCreator.s.sol +++ b/scripts/DistributionCreator.s.sol @@ -55,6 +55,17 @@ contract Deploy is DistributionCreatorScript { } } +contract DeployImplementation is DistributionCreatorScript { + function run() external broadcast { + uint256 chainId = block.chainid; + console.log("DEPLOYER_ADDRESS:", broadcaster); + + // Deploy implementation + DistributionCreator implementation = new DistributionCreator(); + console.log("DistributionCreator Implementation:", address(implementation)); + } +} + // SetNewDistributor script contract SetNewDistributor is DistributionCreatorScript { function run() external {