File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ constants:
7
7
salt-two : " 0x0000000000000000000000000000000000000000000000000000000000000002"
8
8
developer-multisig-01 : " 0x007a47e6BF40C1e0ed5c01aE42fDC75879140bc4"
9
9
entrypoint-4337-07 : " 0x0000000071727de22e5e9d8baf0edac6f37da032"
10
+ era-evm-predeploy-manager : " 0x0000000000000000000000000000000000008014"
Original file line number Diff line number Diff line change
1
+ name : " era-evm-predeploys"
2
+ version : " 1"
3
+ description : " Deploy ERC-2470 and Universal deployer on ZKStack chains"
4
+
5
+ only_networks :
6
+ - 324 # ZKSync Mainnet
7
+ - 300 # ZKSync Sepolia
8
+ - 6252 # Sandbox Testnet
9
+
10
+ actions :
11
+ - name : " predeploy-erc-2470"
12
+ template : " era-evm-predeploy"
13
+ arguments :
14
+ evmPredeployManager : " {{era-evm-predeploy-manager}}"
15
+ address : " 0xce0042B868300000d44A59004Da54A005ffdcf9f"
16
+ bytecode : " 0x608060405234801561001057600080fd5b50610134806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80634af63f0214602d575b600080fd5b60cf60048036036040811015604157600080fd5b810190602081018135640100000000811115605b57600080fd5b820183602082011115606c57600080fd5b80359060200191846001830284011164010000000083111715608d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925060eb915050565b604080516001600160a01b039092168252519081900360200190f35b6000818351602085016000f5939250505056fea26469706673582212206b44f8a82cb6b156bfcc3dc6aadd6df4eefd204bc928a4397fd15dacf6d5320564736f6c63430006020033"
17
+
18
+ - name : " predeploy-universal-deployer"
19
+ template : " era-evm-predeploy"
20
+ arguments :
21
+ evmPredeployManager : " {{era-evm-predeploy-manager}}"
22
+ address : " 0x1B926fBB24A9F78DCDd3272f2d86F5D0660E59c0"
23
+ bytecode : " 0x6080604052348015600f57600080fd5b50609980601d6000396000f3fe60a06020601f369081018290049091028201604052608081815260009260609284918190838280828437600092018290525084519495509392505060208401905034f5604080516001600160a01b0383168152905191935081900360200190a0505000fea26469706673582212205a310755225e3c740b2f013fb6343f4c205e7141fcdf15947f5f0e0e818727fb64736f6c634300060a0033"
Original file line number Diff line number Diff line change
1
+ name : " era-evm-predeploy"
2
+ version : " 1"
3
+ type : " template"
4
+ description : " Deploy an approved predeployed contract to the EVM"
5
+
6
+ arguments :
7
+ evmPredeployManager :
8
+ type : " address"
9
+ description : " The address of the EVM predeploy manager. For ZKSync this is 0x0000000000000000000000000000000000008014"
10
+ address :
11
+ type : " address"
12
+ description : " The address of the predeployed contract to deploy"
13
+ bytecode :
14
+ type : " bytes"
15
+ description : " The deployment bytecode of the predeployed contract to deploy"
16
+
17
+ skip_condition :
18
+ - type : " contract-exists"
19
+ arguments :
20
+ address : " {{address}}"
21
+
22
+ actions :
23
+ - name : " deploy"
24
+ type : " send-transaction"
25
+ arguments :
26
+ to : " {{evmPredeployManager}}"
27
+ data :
28
+ type : " abi-encode"
29
+ arguments :
30
+ signature : " deployPredeployedContract(address,bytes)"
31
+ values :
32
+ - " {{address}}"
33
+ - " {{bytecode}}"
You can’t perform that action at this time.
0 commit comments