Skip to content

Commit

Permalink
feat: v1.2 interchain governance executor
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Sep 4, 2023
1 parent cbe4db8 commit a2d15e8
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 54 deletions.
11 changes: 11 additions & 0 deletions evm/verify-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ async function verifyContracts(config, chain, options) {
break;
}

case 'InterchainProposalSender': {
const contractFactory = await getContractFactory('InterchainProposalSender', wallet);

const contract = contractFactory.attach(options.address || chain.contracts.InterchainProposalSender.address);

console.log(`Verifying ${contractName} on ${chain.name} at address ${contract.address}...`);

await verifyContract(env, chain.name, contract.address, [chain.contracts.AxelarGateway.address, chain.contracts.AxelarGasService.address], verifyOptions);
break;
}

case 'ConstAddressDeployer': {
const ConstAddressDeployer = require('@axelar-network/axelar-gmp-sdk-solidity/artifacts/contracts/deploy/ConstAddressDeployer.sol/ConstAddressDeployer.json');

Expand Down
58 changes: 32 additions & 26 deletions info/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -81,10 +81,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -127,10 +127,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -176,10 +176,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -225,10 +225,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -272,10 +272,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -318,10 +318,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -367,10 +367,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -413,10 +413,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -463,10 +463,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -515,10 +515,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -569,10 +569,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -619,10 +619,10 @@
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -668,6 +668,12 @@
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down
62 changes: 34 additions & 28 deletions info/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -121,10 +121,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -193,10 +193,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -262,10 +262,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -331,10 +331,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -400,10 +400,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -466,10 +466,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -529,10 +529,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -598,10 +598,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -663,10 +663,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -733,10 +733,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -802,10 +802,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -872,10 +872,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -941,10 +941,10 @@
"address": "0xF786e21509A9D50a9aFD033B5940A2b7D872C208"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -990,6 +990,12 @@
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down

0 comments on commit a2d15e8

Please sign in to comment.