Skip to content

Commit

Permalink
feat: configure blast deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed May 17, 2024
1 parent 4a1275f commit 22bc4b7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 39 deletions.
2 changes: 1 addition & 1 deletion evm/lib/GeneralisedIncentives
4 changes: 2 additions & 2 deletions evm/script/BaseMultiChainDeployer.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ contract MultiChainDeployer is BaseMultiChainDeployer {
mapping(string => string) wrappedGas;

constructor() BaseMultiChainDeployer() {
wrappedGas[chainKey[Chains.Mumbai]] = "WMATIC";

wrappedGas[chainKey[Chains.Sepolia]] = "WETH10";

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

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

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

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

2 changes: 1 addition & 1 deletion evm/script/DeployRouter.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { RouterParameters } from "../src/router/base/RouterImmutables.sol";
contract DeployRouter is MultiChainDeployer {
using stdJson for string;

address expectedRouterAddress = address(0x0000009586123fBAAe1929B0768feb8BDBB0145d);
address expectedRouterAddress = address(0x00000029e6005863Bb2E1686a17C4ae0D1723669);
address expectedPermit2Address = address(0x000000000022D473030F116dDEE9F6B43aC78BA3);

string config_token;
Expand Down
2 changes: 1 addition & 1 deletion evm/script/config/config_tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"WETH": "0x1BDD24840e119DC2602dCC587Dd182812427A5Cc"
},
"blasttestnet": {
"WETH": "0x4300000000000000000000000000000000000004"
"WETH": "0x4200000000000000000000000000000000000006"
}
}
44 changes: 10 additions & 34 deletions evm/script/config/config_vaults.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
{
"WormholeSepoliaOptimismArbitrum": {
"WormholeOptimismBaseBlast": {
"cci_version": "Wormhole",
"sepolia": {
"cci": "0x169e7e77e463ffe86b30afd1605a09a632bea5b0",
"address": "0xbd529ff730dae029fa85b38d98d6046721215fa4",
"weights": [
1
],
"fee": 500000000000000,
"tokens": {
"WGAS": 10000000000000000
}
},
"amplification": 250000000000000000,
"optimismsepolia": {
"cci": "0x2603e874d589373a0c4766808b93e3d4b63164c8",
"address": "0xbd529ff730dae029fa85b38d98d6046721215fa4",
"cci": "0xdb321b1e304ea155b1977768904de998818f986e",
"address": "0x06d4b5289b981933e34af10817f352061bad6353",
"weights": [
1
],
Expand All @@ -23,23 +13,9 @@
"WGAS": 10000000000000000
}
},
"arbitrumsepolia": {
"cci": "0xf779d8e1b07f1e3df141a81c4f1f7d65c0a38611",
"address": "0xbd529ff730dae029fa85b38d98d6046721215fa4",
"weights": [
1
],
"fee": 500000000000000,
"tokens": {
"WGAS": 10000000000000000
}
}
},
"PolymerOPBASEsepolia": {
"cci_version": "Polymer",
"optimismsepolia": {
"cci": "0x622ebf7b017b42cec6e30f47b4895f198b9a7364",
"address": "0x52ddaf2596c653bd6e0422336fe4a8dfb3418141",
"basesepolia": {
"cci": "0xc7d9815055ea739b78e2d10d0055d97010396b78",
"address": "0x06d4b5289b981933e34af10817f352061bad6353",
"weights": [
1
],
Expand All @@ -48,9 +24,9 @@
"WGAS": 10000000000000000
}
},
"basesepolia": {
"cci": "0x7d2193429c1ae9ba1b36ffb8d5ee467b4ce0efc3",
"address": "0xcdfef148155ee1d5d908d4d7030de865e5720d1f",
"blasttestnet": {
"cci": "0x39629ddb16a11e11fb62bf46f34f63ff1c42b090",
"address": "0x06d4b5289b981933e34af10817f352061bad6353",
"weights": [
1
],
Expand Down

0 comments on commit 22bc4b7

Please sign in to comment.