Skip to content

Commit

Permalink
feat: onboard scroll testnet (#69)
Browse files Browse the repository at this point in the history
* feat: onboard scroll testnet

* create3 deployer

* prettier
  • Loading branch information
milapsheth authored Oct 16, 2023
1 parent 15bd255 commit 8abc9bf
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 9 deletions.
62 changes: 62 additions & 0 deletions axelar-chains-config/info/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,68 @@
"gasOptions": {
"gasLimit": 8000000
}
},
"scroll": {
"name": "Scroll",
"id": "scroll",
"chainId": 534351,
"rpc": "https://sepolia-rpc.scroll.io",
"tokenSymbol": "ETH",
"contracts": {
"AxelarGateway": {
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"address": "0xe432150cce91c13a887f7D836923d5597adD8E31",
"implementation": "0x05823c334150a48ACD5D325fBA16147c21bA3653",
"implementationCodehash": "0x598715008777fd6b1ab7db64409f4a6fe09262fdca3990ff33dc7b5ec61744bc",
"authModule": "0x1a920B29eBD437074225cAeE44f78FC700B27a5d",
"tokenDeployer": "0x8A156bCA562FB75385c4d41ea6903E270A34B727",
"governance": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"mintLimiter": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create"
},
"AxelarGasService": {
"collector": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"address": "0xbE406F0189A0B4cf3A05C286473D23791Dd44Cc6",
"implementation": "0xCD6b34FaF1FD1056C728A27426AB6807f84BAa1b",
"deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85"
},
"AxelarDepositService": {
"wrappedSymbol": "",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"salt": "AxelarDepositService",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
},
"ConstAddressDeployer": {
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
"codehash": "0xc561dc32ef670c929db9d7fbf6b5f6c074a62a30602481ba3b88912ca6d79feb",
"predeployCodehash": "0xc561dc32ef670c929db9d7fbf6b5f6c074a62a30602481ba3b88912ca6d79feb",
"salt": "Operators"
},
"Create3Deployer": {
"address": "0x6513Aedb4D1593BA12e50644401D976aebDc90d8",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"codehash": "0xf0ad66defbe082df243d4d274e626f557f97579c5c9e19f33d8093d6160808b7",
"predeployCodehash": "0x73fc31262c4bad113c79439fd231281201c7c7d45b50328bd86bccf37684bf92",
"salt": "Create3Deployer"
}
},
"explorer": {
"url": "https://sepolia.scrollscan.dev",
"api": "https://api-sepolia.scrollscan.dev/api"
},
"confirmations": 2,
"gasOptions": {
"gasLimit": 8000000
}
}
},
"axelar": {
Expand Down
10 changes: 1 addition & 9 deletions evm/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,7 @@ const deployCreate3 = async (
let contract;

if (!verifyOptions?.only) {
contract = await create3DeployContract(
create3DeployerAddress,
wallet,
contractJson,
key,
args,
gasOptions,
chain.confirmations,
);
contract = await create3DeployContract(create3DeployerAddress, wallet, contractJson, key, args, gasOptions, chain.confirmations);
} else {
contract = { address: await getCreate3Address(create3DeployerAddress, wallet, key) };
}
Expand Down

0 comments on commit 8abc9bf

Please sign in to comment.