Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,17 +1,37 @@
########### General settings with defaults ###########
VERIFYING_SIGNER=0xf...6
PAYMASTER_OWNER=0x7...C
RPC_URL=http://127.0.0.1:8545

RPC_URL=
MAINNET_RPC_URL=
SEPOLIA_RPC_URL=
POLYGON_RPC_URL=
AMOY_RPC_URL=
ARB_RPC_URL=
ARB_SEPOLIA_RPC_URL=
UNI_RPC_URL=
UNI_SEPOLIA_RPC_URL=
BASE_RPC_URL=
BASE_SEPOLIA_RPC_URL=
OP_RPC_URL=
OP_SEPOLIA_RPC_URL=
SONIC_RPC_URL=
SONIC_BLAZE_RPC_URL=
WORLD_RPC_URL=
WORLD_SEPOLIA_RPC_URL=
CELO_RPC_URL=
CELO_ALFAJORES_RPC_URL=

########### Wallet info & secrets ###########
MSCA_FACTORY_OWNER_PRIVATE_KEY=0x9...2
MSCA_FACTORY_OWNER_ADDRESS=0x0...5
DEPLOYER_PRIVATE_KEY=0x8...6
DEPLOYER_ADDRESS=0xB...E
MSCA_FACTORY_OWNER_PRIVATE_KEY=
MSCA_FACTORY_OWNER_ADDRESS=
DEPLOYER_PRIVATE_KEY=
DEPLOYER_ADDRESS=


########### API keys ###########
INFURA_API_KEY=
ALCHEMY_API_KEY=
ETHERSCAN_API_KEY=
POLYGONSCAN_API_KEY=
ARBISCAN_API_KEY=
UNISCAN_API_KEY=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing new line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will create a follow up PR

211 changes: 211 additions & 0 deletions broadcast/multi/102_DeployPluginManager.s.sol-1752867795/run.json

Large diffs are not rendered by default.

105 changes: 105 additions & 0 deletions broadcast/multi/102_DeployPluginManager.s.sol-1752872755/run.json

Large diffs are not rendered by default.

178 changes: 33 additions & 145 deletions broadcast/multi/102_DeployPluginManager.s.sol-latest/run.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

298 changes: 55 additions & 243 deletions broadcast/multi/103_DeploySingleOwnerMSCAFactory.s.sol-latest/run.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,9 @@ base = "${BASE_RPC_URL}"
base-sepolia = "${BASE_SEPOLIA_RPC_URL}"
op-sepolia = "${OP_SEPOLIA_RPC_URL}"
op = "${OP_RPC_URL}"
sonic="${SONIC_RPC_URL}"
sonic-blaze="${SONIC_BLAZE_RPC_URL}"
world="${WORLD_RPC_URL}"
world-sepolia="${WORLD_SEPOLIA_RPC_URL}"
celo="${CELO_RPC_URL}"
celo-alfajores="${CELO_ALFAJORES_RPC_URL}"
10 changes: 8 additions & 2 deletions script/bytecode-deploy/100_Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ address constant SPONSOR_PAYMASTER_INTERNAL_ADDRESS = 0x67aC303faB3A9507Ac48fD5B
address constant SPONSOR_PAYMASTER_ADDRESS = 0x7ceA357B5AC0639F89F9e378a1f03Aa5005C0a25;

library Constants {
function getChains() internal pure returns (string[12] memory) {
function getChains() internal pure returns (string[18] memory) {
return [
"mainnet",
"sepolia",
Expand All @@ -45,7 +45,13 @@ library Constants {
"base-sepolia",
"base",
"op-sepolia",
"op"
"op",
"sonic",
"sonic-blaze",
"world",
"world-sepolia",
"celo",
"celo-alfajores"
];
}

Expand Down
2 changes: 1 addition & 1 deletion script/bytecode-deploy/101_DeploySponsorPaymaster.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ contract DeploySponsorPaymasterScript is Script {
address entryPoint = ENTRY_POINT;

uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
string[12] memory chains = Constants.getChains();
string[18] memory chains = Constants.getChains();
for (uint256 i = 0; i < chains.length; i++) {
vm.createSelectFork(chains[i]);
vm.startBroadcast(key);
Expand Down
2 changes: 1 addition & 1 deletion script/bytecode-deploy/102_DeployPluginManager.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ contract DeployPluginManagerScript is Script {

function run() public {
uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
string[12] memory chains = Constants.getChains();
string[18] memory chains = Constants.getChains();
for (uint256 i = 0; i < chains.length; i++) {
vm.createSelectFork(chains[i]);
vm.startBroadcast(key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ contract DeploySingleOwnerMSCAFactoryScript is Script {
address entryPoint = ENTRY_POINT;

uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
string[12] memory chains = Constants.getChains();
string[18] memory chains = Constants.getChains();
for (uint256 i = 0; i < chains.length; i++) {
vm.createSelectFork(chains[i]);
vm.startBroadcast(key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ contract DeployColdStorageAddressBookPluginScript is Script {

function run() public {
uint256 key = vm.envUint("DEPLOYER_PRIVATE_KEY");
string[12] memory chains = Constants.getChains();
string[18] memory chains = Constants.getChains();
for (uint256 i = 0; i < chains.length; i++) {
vm.createSelectFork(chains[i]);
vm.startBroadcast(key);
Expand Down
Loading