Skip to content

Commit

Permalink
upgrade mainnet gateway contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
thorseldon committed Mar 23, 2022
1 parent d5d0893 commit 0d82836
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deployments/deployed-contracts-main.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@
"address": "0xBa061Eecd101dAEed3EB87504903702a6B5708Cd"
},
"WETHGatewayImpl": {
"address": "0x1302A7da9CfA2Bef4D7D8985FA0b1a1729971527"
"address": "0xE2B1fC3c7e218BfCcbb249AfC7df9Da6Ff9b9868"
},
"WETHGateway": {
"address": "0x3B968D2D299B895A5Fcf3BBa7A64ad0F566e6F88"
},
"PunkGatewayImpl": {
"address": "0x2BbB6F9C858A96a91e1e8E5B7F0e25EA34835BA0"
"address": "0xa319552eef068933945a4484a1640C6A6edEfe39"
},
"PunkGateway": {
"address": "0xeD01f8A737813F0bDA2D4340d191DBF8c2Cbcf30"
Expand Down
5 changes: 2 additions & 3 deletions deployments/deployed-contracts-rinkeby.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@
"deployer": "0xafF5C36642385b6c7Aaf7585eC785aB2316b5db6"
},
"WETHGateway": {
"address": "0x236AaDA68E3e07A9C940152A27d9DE66e5E09a1E",
"deployer": "0xafF5C36642385b6c7Aaf7585eC785aB2316b5db6"
"address": "0x42af361009B27Aa1Ff21f96E386795dE487D180E"
},
"PunkGateway": {
"address": "0xcd17a3Eed149843b0E1Abfc77cDA80c31D46b885"
Expand Down Expand Up @@ -205,6 +204,6 @@
"address": "0xDb78CB5ee93c5215Dd5A8ac1b2F5cc90B774334a"
},
"WETHGatewayImpl": {
"address": "0x236AaDA68E3e07A9C940152A27d9DE66e5E09a1E"
"address": "0xE5ba6440E545742f212282604C44bA54Ce130940"
}
}
10 changes: 10 additions & 0 deletions tasks/verifications/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ task("verify:general", "Verify general contracts at Etherscan")
const wethGatewayImpl = await getWETHGatewayImpl();
const punkGatewayImpl = await getPunkGatewayImpl();

// WETHGateway
console.log("\n- Verifying WETHGateway...\n");
await verifyContract(eContractid.WETHGatewayImpl, wethGatewayImpl, []);

// PunkGateway
console.log("\n- Verifying PunkGateway...\n");
await verifyContract(eContractid.PunkGatewayImpl, punkGatewayImpl, []);

return;

const proxyAdminFund = await getBendProxyAdminById(eContractid.BendProxyAdminFund);
await verifyContract(eContractid.BendProxyAdminFund, proxyAdminFund, []);

Expand Down

0 comments on commit 0d82836

Please sign in to comment.