Skip to content

Commit

Permalink
feat: new deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Dec 20, 2023
1 parent 151a5f4 commit f9bb726
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions evm/script/Swap.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ contract Swap is Script, IMessageEscrowStructs {
uint256 deployerPrivateKey = vm.envUint("CATALYST_DEPLOYER");
vm.startBroadcast(deployerPrivateKey);

address fromVault = address(0x40939B7a3A6F3523C38458b2E9b0181583D1f18E);
address toVault = address(0x40939B7a3A6F3523C38458b2E9b0181583D1f18E);
address fromVault = address(0xF79fD327817b22179A3BeF0cD8B8a9818700508d);
address toVault = address(0xF79fD327817b22179A3BeF0cD8B8a9818700508d);

// mantle
address WGAS = ICatalystV1Vault(fromVault)._tokenIndexing(0);
Expand All @@ -41,7 +41,7 @@ contract Swap is Script, IMessageEscrowStructs {
for (uint256 i = 0; i < n; ++i) {
ICatalystV1Vault(fromVault).sendAsset{value: 0.1 ether}(
ICatalystV1Structs.RouteDescription({
chainIdentifier: bytes32(uint256(44963396551096171397160558726282299286140034337171331191205222918429706551296)),
chainIdentifier: bytes32(uint256(44963396551096171397185078654936153507873767889605736138143122744384644186112)),
toVault: abi.encodePacked(uint8(20), bytes32(0), abi.encode(toVault)),
toAccount: abi.encodePacked(uint8(20), bytes32(0), abi.encode(address(0x0000007aAAC54131e031b3C0D6557723f9365A5B))),
incentive: IncentiveDescription({
Expand Down
5 changes: 3 additions & 2 deletions evm/script/config/config_chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,11 @@
"Hyperlane": {},
"Polymer": {
"basesepolia": {
"optimismsepolia": 44963396551096171397160558726282299286140034337171331191205222918429706551296
"optimismsepolia": 44963396551096171397185078654936153507873767889605736138143122744384644186112
},
"optimismsepolia": {
"basesepolia": 44963396551096171397185078654936153507873767889605736138143122744384644186112
"basesepolia":
44963396551096171397160558726282299286140034337171331191205222918429706551296
}
}
}
4 changes: 2 additions & 2 deletions evm/script/config/config_vaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"cci_version": "Polymer",
"basesepolia": {
"cci": "0x05c1da5011e22184b5d6c2f314a9908176589af3",
"address": "0x40939b7a3a6f3523c38458b2e9b0181583d1f18e",
"address": "0xf79fd327817b22179a3bef0cd8b8a9818700508d",
"weights": [
1
],
Expand All @@ -132,7 +132,7 @@
},
"optimismsepolia": {
"cci": "0x05c1da5011e22184b5d6c2f314a9908176589af3",
"address": "0x40939b7a3a6f3523c38458b2e9b0181583d1f18e",
"address": "0xf79fd327817b22179a3bef0cd8b8a9818700508d",
"weights": [
1
],
Expand Down

0 comments on commit f9bb726

Please sign in to comment.