Skip to content

Commit

Permalink
feat: add corn (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlecoufl authored Jan 28, 2025
1 parent 4c5145e commit 32150c5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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 = "" }
Expand All @@ -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" }
11 changes: 11 additions & 0 deletions scripts/DistributionCreator.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 32150c5

Please sign in to comment.