Skip to content

Commit 89c9c27

Browse files
committed
deploy paymaster epv0.7 for Monad
1 parent a7dc5ca commit 89c9c27

File tree

8 files changed

+25
-6
lines changed

8 files changed

+25
-6
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- This chain used cast send to deploy so there's no corresponding run json
2+
- Ran command in `script/cmd/DeploySponsorPaymaster` and `script/cmd/DeploySponsorPaymasterProxy`
3+
- tx hash: 0x78c32f7b805b2688beb516da78c3002edf4c7ea057997a809069cf36c1c10a08, 0x670302d92908c664004fa3c8e2044b195262b70d0a22ecadcd02ad34fc1633d8

script/bytecode-deploy/100_Constants.sol

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@ address constant WEIGHTED_MULTISIG_PLUGIN_ADDRESS = 0x0000000C984AFf541D6cE86Bb6
3030
library Constants {
3131
function getChains() internal pure returns (string[1] memory) {
3232
return [
33+
"mainnet",
34+
"sepolia",
35+
"polygon",
36+
"amoy",
37+
"arbitrum",
38+
"arb-sepolia",
39+
"uni-sepolia",
40+
"unichain",
41+
"base-sepolia",
42+
"base",
43+
"op-sepolia",
44+
"op",
45+
"avax-fuji",
46+
"avax",
47+
"arc-testnet",
48+
"monad-testnet",
3349
"monad"
3450
];
3551
}

script/bytecode-deploy/101_DeployPluginManager.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ contract DeployPluginManagerScript is Script {
2727

2828
function run() public {
2929
uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
30-
string[1] memory chains = Constants.getChains();
30+
string[17] memory chains = Constants.getChains();
3131
for (uint256 i = 0; i < chains.length; i++) {
3232
vm.createSelectFork(chains[i]);
3333
vm.startBroadcast(key);

script/bytecode-deploy/102_DeployUpgradableMSCAFactory.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ contract DeployUpgradableMSCAFactoryScript is Script {
3737
address entryPoint = ENTRY_POINT;
3838
uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
3939

40-
string[1] memory chains = Constants.getChains();
40+
string[17] memory chains = Constants.getChains();
4141
for (uint256 i = 0; i < chains.length; i++) {
4242
vm.createSelectFork(chains[i]);
4343
vm.startBroadcast(key);

script/bytecode-deploy/103_DeployColdStorageAddressBookPlugin.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ contract DeployColdStorageAddressBookScript is Script {
3232
function run() public {
3333
uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
3434

35-
string[1] memory chains = Constants.getChains();
35+
string[17] memory chains = Constants.getChains();
3636
for (uint256 i = 0; i < chains.length; i++) {
3737
vm.createSelectFork(chains[i]);
3838
vm.startBroadcast(key);

script/bytecode-deploy/104_DeployWeightedWebauthnMultisigPlugin.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ contract DeployWeightedWebauthnMultiSigPluginScript is Script {
3636
address entryPoint = ENTRY_POINT;
3737
uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
3838

39-
string[1] memory chains = Constants.getChains();
39+
string[17] memory chains = Constants.getChains();
4040
for (uint256 i = 0; i < chains.length; i++) {
4141
vm.createSelectFork(chains[i]);
4242
vm.startBroadcast(key);

script/bytecode-deploy/105_SetUpgradableMSCAFactoryPlugins.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ contract SetUpgradableMSCAFactoryPlugins is Script {
4545
pluginPermissions[i] = true;
4646
}
4747

48-
string[1] memory chains = Constants.getChainsForSetup();
48+
string[17] memory chains = Constants.getChainsForSetup();
4949

5050
// Set plugins for factory
5151
for (uint256 i = 0; i < chains.length; i++) {

script/bytecode-deploy/106_StakeUpgradableMSCAFactory.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ contract StakeUpgradableMSCAFactory is Script {
3030
uint256 key = vm.envUint("MSCA_FACTORY_OWNER_PRIVATE_KEY");
3131

3232
uint32 unstakeDelaySec = 1 * 24 * 60 * 60; // 1 day
33-
string[1] memory chains = Constants.getChainsForSetup();
33+
string[17] memory chains = Constants.getChainsForSetup();
3434

3535
// NOTE: Please configure stake value based on minimums from
3636
// https://docs.alchemy.com/docs/bundler-services#minimum-stake

0 commit comments

Comments
 (0)