Skip to content

Commit

Permalink
feat: deploy vault on testnet v2
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Jun 21, 2024
1 parent f9b6413 commit 1ba543f
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 5 deletions.
3 changes: 3 additions & 0 deletions evm/script/BaseMultiChainDeployer.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ contract MultiChainDeployer is BaseMultiChainDeployer {
wrappedGas[chainKey[Chains.OptimismSepolia]] = "WETH";

wrappedGas[chainKey[Chains.BlastTestnet]] = "WETH";

wrappedGas["mantlesepolia"] = "WMNT";
wrappedGas["mantle"] = "WMNT";
}
}

2 changes: 1 addition & 1 deletion evm/script/DeployRouter.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ contract DeployRouter is MultiChainDeployer {
deployRouter();
}

function deploy() load_config iter_chains(chain_list) broadcast external {
function deploy(string[] calldata chains) load_config iter_chains_string(chains) broadcast external {
_deploy();
}

Expand Down
4 changes: 2 additions & 2 deletions evm/script/DeployVaults.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,15 @@ contract DeployVaults is MultiChainDeployer {
}
}

function deploy() load_config iter_chains(chain_list) broadcast public {
function deploy(string[] calldata chains) load_config iter_chains_string(chains) broadcast public {
_deploy();
}

function deploy_legacy() load_config iter_chains(chain_list_legacy) broadcast public {
_deploy();
}

function setConnection() load_config iter_chains(chain_list) broadcast public {
function setConnection(string[] calldata chains) load_config iter_chains_string(chains) broadcast public {
_setConnection();
}

Expand Down
4 changes: 2 additions & 2 deletions evm/script/config/config_contracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"volatile_template": "0x0000000003b8C9BFeB9351933CFC301Eea92073F"
},
"registry": {
"describer": "0xBa75192eb00d8eE0E8F0861aaF82609b57e9682B",
"describer_registry": "0xeFc15d542Db6DE23fAB7daFc8e38BDd266Ff064d",
"describer": "0x3F578971672d5469D28B39ec2b367CbeBF238a11",
"describer_registry": "0x39AcfC1Edd61Eb08fB96523A3b5419B83A603820",
"lens": "0x7363003E709EE4Ce16c32D2DEE8B7616d91D51d5"
}
}
6 changes: 6 additions & 0 deletions evm/script/config/config_tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,11 @@
},
"optimism": {
"WETH": "0x4200000000000000000000000000000000000006"
},
"mantle": {
"WMNT": "0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8"
},
"mantlesepolia": {
"WMNT": "0x0a53E0A951F0fce205e9c1c1d6c568403cA5Fb2C"
}
}
26 changes: 26 additions & 0 deletions evm/script/config/config_vaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,31 @@
"WGAS": 500000000000000000
}
}
},
"WormholeSepoliaMantleArbitrum": {
"cci_version": "Wormhole",
"amplification": 100000000000000000,
"mantlesepolia": {
"cci": "0xb979bda4581349dfbde65f670269b25437d5e473",
"address": "0x06d4b5289b981933e34af10817f352061bad6353",
"weights": [
1
],
"fee": 500000000000000,
"tokens": {
"WGAS": 25000000000000000
}
},
"arbitrumsepolia": {
"cci": "0xb51020f308498c9bfa25ec079410f05fd0593345",
"address": "0xd62a4d7b49b549527196629bd0be1cff745a89b6",
"weights": [
1
],
"fee": 500000000000000,
"tokens": {
"WGAS": 25000000000000000
}
}
}
}

0 comments on commit 1ba543f

Please sign in to comment.