Skip to content

Commit

Permalink
feat: new salts
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed May 17, 2024
1 parent 243df53 commit c309199
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 26 deletions.
2 changes: 1 addition & 1 deletion evm/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CATALYST_ADDRESS="0x0000007aAAC54131e031b3C0D6557723f9365A5B"
CATALYST_ADDRESS="0x00000000042A0e90f74f036587d7912EA32EF5cC"
ROUTER_DEPLOYER=
DEPLOYER_PK=

Expand Down
2 changes: 1 addition & 1 deletion evm/lib/GeneralisedIncentives
10 changes: 5 additions & 5 deletions evm/script/DeployContracts.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ contract DeployContracts is Script {

admin = admin_;

deployFactory(bytes32(uint256(251)));
deployFactory(bytes32(0xe810ad7329bc18a3661da69243c260bddf93c02cb86f51d82cef8f77664b1dc1));

deploy_volatile_mathlib(bytes32(uint256(251)));
deploy_amplified_mathlib(bytes32(uint256(251)));
deploy_volatile_mathlib(bytes32(0xeadb0c4c623a1504e49ea876afaf2e1a24a663e81e05ac04fc82ab1a53974533));
deploy_amplified_mathlib(bytes32(0x178f2263b6b48c743c92919210db1f9ffdd16b679f9a49a60db831ee745c1b53));

deploy_volatile_template(bytes32(uint256(251)));
deploy_amplified_template(bytes32(uint256(251)));
deploy_volatile_template(bytes32(0xab571b0631b64d37caa8e7d85912d505bf434d66e2b9df4088447821dac531d8));
deploy_amplified_template(bytes32(0x4aa36fb7e5e332061b6ad20a3b0de53dd4cf41391c9bf553367ba5165b60c5cd));
}
}

3 changes: 2 additions & 1 deletion evm/script/TimeLock.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ contract DeployTimelock is BaseMultiChainDeployer {
uint256 MIN_DELAY = 1 days;

function _deployTimelockController(bytes32 salt, uint256 minDelay, address[] memory proposers, address[] memory executors, address admin) internal returns(TimelockController) {
vm.broadcast();
return new TimelockController{salt: salt}(minDelay, proposers, executors, admin);
}

Expand All @@ -28,7 +29,7 @@ contract DeployTimelock is BaseMultiChainDeployer {
function run() public {
bytes32 salt = bytes32(0x67e6613ce8cbbe2cbdf83a49a42f7506ba4f34ef5ce61e83c3935e85cac6a4a6);
address initalProposer = address(0xE759cBa7dE5bF6E024BcbdD01941fc3b1713D2FC);
deployTimelockController(salt, initalProposer);
deployTimelockController(salt, initalProposer); // 0x00000000042A0e90f74f036587d7912EA32EF5cC
}
}

16 changes: 8 additions & 8 deletions evm/script/config/config_contracts.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"contracts": {
"amplified_mathlib": "0xBB5a61795DF139d79818A34B350e64DAF5ABA263",
"amplified_template": "0x227eDab609f7369291290e4f8bfB1Ab5ab09C4BD",
"factory": "0xa957Ab873c06933b389D32a58131f13e60E488c5",
"volatile_mathlib": "0x8a550acf727f484d93B1b18A6Fc87cE9081cE260",
"volatile_template": "0x6E288f366141CbbabeEB8F3d8efc2eE9D28c1fF2"
"amplified_mathlib": "0x0000005243d4f6c3123F922eb3A1B832E171F972",
"amplified_template": "0x00000000b02189eA1fB645bD0127f23B65aE8D1E",
"factory": "0x00000000bA0074B396954A4d17293BFcD818215C",
"volatile_mathlib": "0x0000007A30bD219B5B7FDcaA8a47784F301505C4",
"volatile_template": "0x0000000004B96454e2d7890E6dd8448E511250b1"
},
"registry": {
"describer": "0x5514d9b55CdCbA70A6aF19Ca1E3443b1abEa104A",
"describer_registry": "0x56dCAa213D0da8dC0eb21ac71fB63EF28D497fd8",
"lens": "0x7E511493d23c0ad9dc1a6137D24BE5aa273773eE"
"describer": "0x02C76C5E0D6F84CEdcDA11c20E982A1939d1de3E",
"describer_registry": "0xe4D78617900e4c2241ccA45FFe0aA1F3A37B5164",
"lens": "0xAfdF93959eeE61Fc7AB577d3D26e840FA21CD7c9"
}
}
24 changes: 14 additions & 10 deletions evm/script/config/config_interfaces.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
{
"Wormhole": {
"mumbai": {
"interface": "0x74e46a8113F2E06db0e07D592F6Cf5B1A59756EE",
"escrow": "0xFb4B1475e61642b3930d762B66d9DD4E08B14367"
"interface": "0x0000000000000000000000000000000000000000",
"escrow": "0x0000000000000000000000000000000000000000"
},
"sepolia": {
"interface": "0x169e7E77E463FfE86b30Afd1605A09A632BeA5B0",
"escrow": "0x45C140Dd2526E4bfD1c2A5Bb0Aa6aA1DB00b1744"
"interface": "0x0000000000000000000000000000000000000000",
"escrow": "0x0000000000000000000000000000000000000000"
},
"basesepolia": {
"interface": "0xa71ae9298Ba6DD5f2Aa96415bC1eC33e62980751",
"escrow": "0xEA2F1d38e31fBE501c0b42BA25E217a47132D8fa"
"interface": "0x0000000000000000000000000000000000000000",
"escrow": "0x0000000000000000000000000000000000000000"
},
"arbitrumsepolia": {
"interface": "0xf779D8e1B07F1e3dF141A81c4f1f7D65c0A38611",
"escrow": "0xdF25f1BdE09Cee5ac1e6ef8dFA7113addBd58B28"
"interface": "0x0000000000000000000000000000000000000000",
"escrow": "0x0000000000000000000000000000000000000000"
},
"optimismsepolia": {
"interface": "0x2603e874D589373A0c4766808B93e3D4b63164C8",
"escrow": "0xbDFD9163d8Cee1368698B023369f9A5Fd319A40F"
"interface": "0x0000000000000000000000000000000000000000",
"escrow": "0x0000000000000000000000000000000000000000"
},
"blasttestnet": {
"interface": "0x0000000000000000000000000000000000000000",
"escrow": "0x0000000000000000000000000000000000000000"
}
},
"Polymer": {
Expand Down

0 comments on commit c309199

Please sign in to comment.