@aztec/l1-artifacts 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dest/AvailabilityOracleAbi.d.ts +43 -0
- package/dest/AvailabilityOracleAbi.d.ts.map +1 -0
- package/dest/AvailabilityOracleAbi.js +57 -0
- package/dest/AvailabilityOracleBytecode.d.ts +5 -0
- package/dest/AvailabilityOracleBytecode.d.ts.map +1 -0
- package/dest/AvailabilityOracleBytecode.js +5 -0
- package/dest/ContractDeploymentEmitterAbi.d.ts +47 -47
- package/dest/ContractDeploymentEmitterAbi.js +64 -64
- package/dest/IERC20Abi.d.ts +67 -67
- package/dest/IERC20Abi.js +101 -101
- package/dest/InboxAbi.d.ts +241 -241
- package/dest/InboxAbi.js +343 -343
- package/dest/InboxBytecode.d.ts +1 -1
- package/dest/InboxBytecode.js +1 -1
- package/dest/OutboxAbi.d.ts +141 -141
- package/dest/OutboxAbi.js +203 -203
- package/dest/OutboxBytecode.d.ts +1 -1
- package/dest/OutboxBytecode.js +1 -1
- package/dest/PortalERC20Abi.d.ts +145 -145
- package/dest/PortalERC20Abi.js +209 -209
- package/dest/RegistryAbi.d.ts +58 -58
- package/dest/RegistryAbi.js +95 -95
- package/dest/RegistryBytecode.d.ts +1 -1
- package/dest/RegistryBytecode.js +1 -1
- package/dest/RollupAbi.d.ts +124 -84
- package/dest/RollupAbi.d.ts.map +1 -1
- package/dest/RollupAbi.js +165 -113
- package/dest/RollupBytecode.d.ts +1 -1
- package/dest/RollupBytecode.d.ts.map +1 -1
- package/dest/RollupBytecode.js +2 -2
- package/dest/TokenPortalAbi.d.ts +80 -80
- package/dest/TokenPortalAbi.js +134 -134
- package/dest/TokenPortalBytecode.d.ts +1 -1
- package/dest/TokenPortalBytecode.js +1 -1
- package/dest/UniswapPortalAbi.d.ts +39 -39
- package/dest/UniswapPortalAbi.js +73 -73
- package/dest/UniswapPortalBytecode.d.ts +1 -1
- package/dest/UniswapPortalBytecode.js +1 -1
- package/dest/index.d.ts +2 -2
- package/dest/index.d.ts.map +1 -1
- package/dest/index.js +3 -3
- package/generated/AvailabilityOracleAbi.ts +56 -0
- package/generated/AvailabilityOracleBytecode.ts +4 -0
- package/generated/ContractDeploymentEmitterAbi.ts +63 -63
- package/generated/IERC20Abi.ts +100 -100
- package/generated/InboxAbi.ts +342 -342
- package/generated/InboxBytecode.ts +1 -1
- package/generated/OutboxAbi.ts +202 -202
- package/generated/OutboxBytecode.ts +1 -1
- package/generated/PortalERC20Abi.ts +208 -208
- package/generated/RegistryAbi.ts +94 -94
- package/generated/RegistryBytecode.ts +1 -1
- package/generated/RollupAbi.ts +164 -112
- package/generated/RollupBytecode.ts +1 -1
- package/generated/TokenPortalAbi.ts +133 -133
- package/generated/TokenPortalBytecode.ts +1 -1
- package/generated/UniswapPortalAbi.ts +72 -72
- package/generated/UniswapPortalBytecode.ts +1 -1
- package/generated/index.ts +2 -2
- package/package.json +1 -1
- package/dest/DecoderHelperAbi.d.ts +0 -75
- package/dest/DecoderHelperAbi.d.ts.map +0 -1
- package/dest/DecoderHelperAbi.js +0 -98
- package/dest/DecoderHelperBytecode.d.ts +0 -5
- package/dest/DecoderHelperBytecode.d.ts.map +0 -1
- package/dest/DecoderHelperBytecode.js +0 -5
- package/generated/DecoderHelperAbi.ts +0 -97
- package/generated/DecoderHelperBytecode.ts +0 -4
package/generated/RegistryAbi.ts
CHANGED
|
@@ -3,206 +3,206 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const RegistryAbi = [
|
|
5
5
|
{
|
|
6
|
+
"type": "constructor",
|
|
6
7
|
"inputs": [],
|
|
7
|
-
"stateMutability": "nonpayable"
|
|
8
|
-
"type": "constructor"
|
|
8
|
+
"stateMutability": "nonpayable"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"
|
|
12
|
-
{
|
|
13
|
-
"internalType": "address",
|
|
14
|
-
"name": "rollup",
|
|
15
|
-
"type": "address"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"name": "Registry__RollupAlreadyRegistered",
|
|
19
|
-
"type": "error"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"inputs": [
|
|
23
|
-
{
|
|
24
|
-
"internalType": "address",
|
|
25
|
-
"name": "rollup",
|
|
26
|
-
"type": "address"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"name": "Registry__RollupNotRegistered",
|
|
30
|
-
"type": "error"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"inputs": [],
|
|
11
|
+
"type": "function",
|
|
34
12
|
"name": "getCurrentSnapshot",
|
|
13
|
+
"inputs": [],
|
|
35
14
|
"outputs": [
|
|
36
15
|
{
|
|
16
|
+
"name": "",
|
|
17
|
+
"type": "tuple",
|
|
18
|
+
"internalType": "struct DataStructures.RegistrySnapshot",
|
|
37
19
|
"components": [
|
|
38
20
|
{
|
|
39
|
-
"internalType": "address",
|
|
40
21
|
"name": "rollup",
|
|
41
|
-
"type": "address"
|
|
22
|
+
"type": "address",
|
|
23
|
+
"internalType": "address"
|
|
42
24
|
},
|
|
43
25
|
{
|
|
44
|
-
"internalType": "address",
|
|
45
26
|
"name": "inbox",
|
|
46
|
-
"type": "address"
|
|
27
|
+
"type": "address",
|
|
28
|
+
"internalType": "address"
|
|
47
29
|
},
|
|
48
30
|
{
|
|
49
|
-
"internalType": "address",
|
|
50
31
|
"name": "outbox",
|
|
51
|
-
"type": "address"
|
|
32
|
+
"type": "address",
|
|
33
|
+
"internalType": "address"
|
|
52
34
|
},
|
|
53
35
|
{
|
|
54
|
-
"internalType": "uint256",
|
|
55
36
|
"name": "blockNumber",
|
|
56
|
-
"type": "uint256"
|
|
37
|
+
"type": "uint256",
|
|
38
|
+
"internalType": "uint256"
|
|
57
39
|
}
|
|
58
|
-
]
|
|
59
|
-
"internalType": "struct DataStructures.RegistrySnapshot",
|
|
60
|
-
"name": "",
|
|
61
|
-
"type": "tuple"
|
|
40
|
+
]
|
|
62
41
|
}
|
|
63
42
|
],
|
|
64
|
-
"stateMutability": "view"
|
|
65
|
-
"type": "function"
|
|
43
|
+
"stateMutability": "view"
|
|
66
44
|
},
|
|
67
45
|
{
|
|
68
|
-
"
|
|
46
|
+
"type": "function",
|
|
69
47
|
"name": "getInbox",
|
|
48
|
+
"inputs": [],
|
|
70
49
|
"outputs": [
|
|
71
50
|
{
|
|
72
|
-
"internalType": "contract IInbox",
|
|
73
51
|
"name": "",
|
|
74
|
-
"type": "address"
|
|
52
|
+
"type": "address",
|
|
53
|
+
"internalType": "contract IInbox"
|
|
75
54
|
}
|
|
76
55
|
],
|
|
77
|
-
"stateMutability": "view"
|
|
78
|
-
"type": "function"
|
|
56
|
+
"stateMutability": "view"
|
|
79
57
|
},
|
|
80
58
|
{
|
|
81
|
-
"
|
|
59
|
+
"type": "function",
|
|
82
60
|
"name": "getOutbox",
|
|
61
|
+
"inputs": [],
|
|
83
62
|
"outputs": [
|
|
84
63
|
{
|
|
85
|
-
"internalType": "contract IOutbox",
|
|
86
64
|
"name": "",
|
|
87
|
-
"type": "address"
|
|
65
|
+
"type": "address",
|
|
66
|
+
"internalType": "contract IOutbox"
|
|
88
67
|
}
|
|
89
68
|
],
|
|
90
|
-
"stateMutability": "view"
|
|
91
|
-
"type": "function"
|
|
69
|
+
"stateMutability": "view"
|
|
92
70
|
},
|
|
93
71
|
{
|
|
94
|
-
"
|
|
72
|
+
"type": "function",
|
|
95
73
|
"name": "getRollup",
|
|
74
|
+
"inputs": [],
|
|
96
75
|
"outputs": [
|
|
97
76
|
{
|
|
98
|
-
"internalType": "contract IRollup",
|
|
99
77
|
"name": "",
|
|
100
|
-
"type": "address"
|
|
78
|
+
"type": "address",
|
|
79
|
+
"internalType": "contract IRollup"
|
|
101
80
|
}
|
|
102
81
|
],
|
|
103
|
-
"stateMutability": "view"
|
|
104
|
-
"type": "function"
|
|
82
|
+
"stateMutability": "view"
|
|
105
83
|
},
|
|
106
84
|
{
|
|
85
|
+
"type": "function",
|
|
86
|
+
"name": "getSnapshot",
|
|
107
87
|
"inputs": [
|
|
108
88
|
{
|
|
109
|
-
"internalType": "uint256",
|
|
110
89
|
"name": "_version",
|
|
111
|
-
"type": "uint256"
|
|
90
|
+
"type": "uint256",
|
|
91
|
+
"internalType": "uint256"
|
|
112
92
|
}
|
|
113
93
|
],
|
|
114
|
-
"name": "getSnapshot",
|
|
115
94
|
"outputs": [
|
|
116
95
|
{
|
|
96
|
+
"name": "",
|
|
97
|
+
"type": "tuple",
|
|
98
|
+
"internalType": "struct DataStructures.RegistrySnapshot",
|
|
117
99
|
"components": [
|
|
118
100
|
{
|
|
119
|
-
"internalType": "address",
|
|
120
101
|
"name": "rollup",
|
|
121
|
-
"type": "address"
|
|
102
|
+
"type": "address",
|
|
103
|
+
"internalType": "address"
|
|
122
104
|
},
|
|
123
105
|
{
|
|
124
|
-
"internalType": "address",
|
|
125
106
|
"name": "inbox",
|
|
126
|
-
"type": "address"
|
|
107
|
+
"type": "address",
|
|
108
|
+
"internalType": "address"
|
|
127
109
|
},
|
|
128
110
|
{
|
|
129
|
-
"internalType": "address",
|
|
130
111
|
"name": "outbox",
|
|
131
|
-
"type": "address"
|
|
112
|
+
"type": "address",
|
|
113
|
+
"internalType": "address"
|
|
132
114
|
},
|
|
133
115
|
{
|
|
134
|
-
"internalType": "uint256",
|
|
135
116
|
"name": "blockNumber",
|
|
136
|
-
"type": "uint256"
|
|
117
|
+
"type": "uint256",
|
|
118
|
+
"internalType": "uint256"
|
|
137
119
|
}
|
|
138
|
-
]
|
|
139
|
-
"internalType": "struct DataStructures.RegistrySnapshot",
|
|
140
|
-
"name": "",
|
|
141
|
-
"type": "tuple"
|
|
120
|
+
]
|
|
142
121
|
}
|
|
143
122
|
],
|
|
144
|
-
"stateMutability": "view"
|
|
145
|
-
"type": "function"
|
|
123
|
+
"stateMutability": "view"
|
|
146
124
|
},
|
|
147
125
|
{
|
|
126
|
+
"type": "function",
|
|
127
|
+
"name": "getVersionFor",
|
|
148
128
|
"inputs": [
|
|
149
129
|
{
|
|
150
|
-
"internalType": "address",
|
|
151
130
|
"name": "_rollup",
|
|
152
|
-
"type": "address"
|
|
131
|
+
"type": "address",
|
|
132
|
+
"internalType": "address"
|
|
153
133
|
}
|
|
154
134
|
],
|
|
155
|
-
"name": "getVersionFor",
|
|
156
135
|
"outputs": [
|
|
157
136
|
{
|
|
158
|
-
"internalType": "uint256",
|
|
159
137
|
"name": "",
|
|
160
|
-
"type": "uint256"
|
|
138
|
+
"type": "uint256",
|
|
139
|
+
"internalType": "uint256"
|
|
161
140
|
}
|
|
162
141
|
],
|
|
163
|
-
"stateMutability": "view"
|
|
164
|
-
"type": "function"
|
|
142
|
+
"stateMutability": "view"
|
|
165
143
|
},
|
|
166
144
|
{
|
|
167
|
-
"
|
|
145
|
+
"type": "function",
|
|
168
146
|
"name": "numberOfVersions",
|
|
147
|
+
"inputs": [],
|
|
169
148
|
"outputs": [
|
|
170
149
|
{
|
|
171
|
-
"internalType": "uint256",
|
|
172
150
|
"name": "",
|
|
173
|
-
"type": "uint256"
|
|
151
|
+
"type": "uint256",
|
|
152
|
+
"internalType": "uint256"
|
|
174
153
|
}
|
|
175
154
|
],
|
|
176
|
-
"stateMutability": "view"
|
|
177
|
-
"type": "function"
|
|
155
|
+
"stateMutability": "view"
|
|
178
156
|
},
|
|
179
157
|
{
|
|
158
|
+
"type": "function",
|
|
159
|
+
"name": "upgrade",
|
|
180
160
|
"inputs": [
|
|
181
161
|
{
|
|
182
|
-
"internalType": "address",
|
|
183
162
|
"name": "_rollup",
|
|
184
|
-
"type": "address"
|
|
163
|
+
"type": "address",
|
|
164
|
+
"internalType": "address"
|
|
185
165
|
},
|
|
186
166
|
{
|
|
187
|
-
"internalType": "address",
|
|
188
167
|
"name": "_inbox",
|
|
189
|
-
"type": "address"
|
|
168
|
+
"type": "address",
|
|
169
|
+
"internalType": "address"
|
|
190
170
|
},
|
|
191
171
|
{
|
|
192
|
-
"internalType": "address",
|
|
193
172
|
"name": "_outbox",
|
|
194
|
-
"type": "address"
|
|
173
|
+
"type": "address",
|
|
174
|
+
"internalType": "address"
|
|
195
175
|
}
|
|
196
176
|
],
|
|
197
|
-
"name": "upgrade",
|
|
198
177
|
"outputs": [
|
|
199
178
|
{
|
|
200
|
-
"internalType": "uint256",
|
|
201
179
|
"name": "",
|
|
202
|
-
"type": "uint256"
|
|
180
|
+
"type": "uint256",
|
|
181
|
+
"internalType": "uint256"
|
|
203
182
|
}
|
|
204
183
|
],
|
|
205
|
-
"stateMutability": "nonpayable"
|
|
206
|
-
|
|
184
|
+
"stateMutability": "nonpayable"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "error",
|
|
188
|
+
"name": "Registry__RollupAlreadyRegistered",
|
|
189
|
+
"inputs": [
|
|
190
|
+
{
|
|
191
|
+
"name": "rollup",
|
|
192
|
+
"type": "address",
|
|
193
|
+
"internalType": "address"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "error",
|
|
199
|
+
"name": "Registry__RollupNotRegistered",
|
|
200
|
+
"inputs": [
|
|
201
|
+
{
|
|
202
|
+
"name": "rollup",
|
|
203
|
+
"type": "address",
|
|
204
|
+
"internalType": "address"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
207
|
}
|
|
208
208
|
] as const;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Registry bytecode.
|
|
3
3
|
*/
|
|
4
|
-
export const RegistryBytecode = "
|
|
4
|
+
export const RegistryBytecode = "0x608060405234801561001057600080fd5b5061001e61dead8080610024565b5061018d565b6001600160a01b0383166000908152600660205260408120541580159061006d57604051633c34eabf60e01b81526001600160a01b038616600482015260240160405180910390fd5b604080516080810182526001600160a01b03808816808352878216602084018190529187169383018490524360608401819052600180546001600160a01b03199081169093179055600280548316909317909255600380549091169093179092556004919091556000805481806100e383610166565b909155506000818152600560209081526040808320865181546001600160a01b03199081166001600160a01b03928316178355888501516001840180548316918416919091179055888401516002840180549092169083161790556060909701516003909101559990941681526006909352969091208690555093949350505050565b60006001820161018657634e487b7160e01b600052601160045260246000fd5b5060010190565b6104bf8061019c6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a4d2342a1161005b578063a4d2342a146101a0578063f000999e146101b1578063f6fc7eb6146101c4578063fe8beb711461022657600080fd5b8063368c093c1461008d5780635a4ce7ba146100b757806376f10ad0146100ce578063a32fbb7b1461018f575b600080fd5b6002546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100c060005481565b6040519081526020016100ae565b61014f6100dc3660046103c8565b6040805160808082018352600080835260208084018290528385018290526060938401829052948152600585528390208351918201845280546001600160a01b03908116835260018201548116958301959095526002810154909416928101929092526003909201549181019190915290565b6040805182516001600160a01b039081168252602080850151821690830152838301511691810191909152606091820151918101919091526080016100ae565b6003546001600160a01b031661009a565b6001546001600160a01b031661009a565b6100c06101bf3660046103fd565b610239565b61014f60408051608081018252600080825260208201819052918101829052606081019190915250604080516080810182526001546001600160a01b039081168252600254811660208301526003541691810191909152600454606082015290565b6100c0610234366004610440565b61037c565b6001600160a01b0383166000908152600660205260408120541580159061028357604051633c34eabf60e01b81526001600160a01b03861660048201526024015b60405180910390fd5b604080516080810182526001600160a01b03808816808352878216602084018190529187169383018490524360608401819052600180546001600160a01b03199081169093179055600280548316909317909255600380549091169093179092556004919091556000805481806102f983610462565b909155506000818152600560209081526040808320865181546001600160a01b03199081166001600160a01b03928316178355888501516001840180548316918416919091179055888401516002840180549092169083161790556060909701516003909101559990941681526006909352969091208690555093949350505050565b6001600160a01b038116600090815260066020526040812054801515806103c15760405163a1fee4cf60e01b81526001600160a01b038516600482015260240161027a565b5092915050565b6000602082840312156103da57600080fd5b5035919050565b80356001600160a01b03811681146103f857600080fd5b919050565b60008060006060848603121561041257600080fd5b61041b846103e1565b9250610429602085016103e1565b9150610437604085016103e1565b90509250925092565b60006020828403121561045257600080fd5b61045b826103e1565b9392505050565b60006001820161048257634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220b59982c3a655841f13e3ea8ce8a1ecfb6f436a41872b0e9b96066163800ff1ac64736f6c63430008150033";
|
package/generated/RollupAbi.ts
CHANGED
|
@@ -3,194 +3,246 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const RollupAbi = [
|
|
5
5
|
{
|
|
6
|
+
"type": "constructor",
|
|
6
7
|
"inputs": [
|
|
7
8
|
{
|
|
8
|
-
"internalType": "contract IRegistry",
|
|
9
9
|
"name": "_registry",
|
|
10
|
-
"type": "address"
|
|
11
|
-
|
|
12
|
-
],
|
|
13
|
-
"stateMutability": "nonpayable",
|
|
14
|
-
"type": "constructor"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"inputs": [
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint256",
|
|
20
|
-
"name": "expected",
|
|
21
|
-
"type": "uint256"
|
|
10
|
+
"type": "address",
|
|
11
|
+
"internalType": "contract IRegistry"
|
|
22
12
|
},
|
|
23
13
|
{
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
14
|
+
"name": "_availabilityOracle",
|
|
15
|
+
"type": "address",
|
|
16
|
+
"internalType": "contract IAvailabilityOracle"
|
|
27
17
|
}
|
|
28
18
|
],
|
|
29
|
-
"
|
|
30
|
-
"type": "error"
|
|
19
|
+
"stateMutability": "nonpayable"
|
|
31
20
|
},
|
|
32
21
|
{
|
|
22
|
+
"type": "function",
|
|
23
|
+
"name": "AVAILABILITY_ORACLE",
|
|
33
24
|
"inputs": [],
|
|
34
|
-
"
|
|
35
|
-
"type": "error"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"inputs": [
|
|
39
|
-
{
|
|
40
|
-
"internalType": "uint256",
|
|
41
|
-
"name": "expected",
|
|
42
|
-
"type": "uint256"
|
|
43
|
-
},
|
|
25
|
+
"outputs": [
|
|
44
26
|
{
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
27
|
+
"name": "",
|
|
28
|
+
"type": "address",
|
|
29
|
+
"internalType": "contract IAvailabilityOracle"
|
|
48
30
|
}
|
|
49
31
|
],
|
|
50
|
-
"
|
|
51
|
-
"type": "error"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"inputs": [],
|
|
55
|
-
"name": "Rollup__TimestampInFuture",
|
|
56
|
-
"type": "error"
|
|
32
|
+
"stateMutability": "view"
|
|
57
33
|
},
|
|
58
34
|
{
|
|
35
|
+
"type": "function",
|
|
36
|
+
"name": "REGISTRY",
|
|
59
37
|
"inputs": [],
|
|
60
|
-
"
|
|
61
|
-
"type": "error"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"inputs": [
|
|
38
|
+
"outputs": [
|
|
65
39
|
{
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "address",
|
|
42
|
+
"internalType": "contract IRegistry"
|
|
69
43
|
}
|
|
70
44
|
],
|
|
71
|
-
"
|
|
72
|
-
"type": "error"
|
|
45
|
+
"stateMutability": "view"
|
|
73
46
|
},
|
|
74
47
|
{
|
|
75
|
-
"
|
|
76
|
-
"
|
|
48
|
+
"type": "function",
|
|
49
|
+
"name": "VERIFIER",
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"outputs": [
|
|
77
52
|
{
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"type": "uint256"
|
|
53
|
+
"name": "",
|
|
54
|
+
"type": "address",
|
|
55
|
+
"internalType": "contract MockVerifier"
|
|
82
56
|
}
|
|
83
57
|
],
|
|
84
|
-
"
|
|
85
|
-
"type": "event"
|
|
58
|
+
"stateMutability": "view"
|
|
86
59
|
},
|
|
87
60
|
{
|
|
61
|
+
"type": "function",
|
|
62
|
+
"name": "VERSION",
|
|
88
63
|
"inputs": [],
|
|
89
|
-
"name": "AVAILABILITY_ORACLE",
|
|
90
64
|
"outputs": [
|
|
91
65
|
{
|
|
92
|
-
"internalType": "contract AvailabilityOracle",
|
|
93
66
|
"name": "",
|
|
94
|
-
"type": "
|
|
67
|
+
"type": "uint256",
|
|
68
|
+
"internalType": "uint256"
|
|
95
69
|
}
|
|
96
70
|
],
|
|
97
|
-
"stateMutability": "view"
|
|
98
|
-
"type": "function"
|
|
71
|
+
"stateMutability": "view"
|
|
99
72
|
},
|
|
100
73
|
{
|
|
74
|
+
"type": "function",
|
|
75
|
+
"name": "archive",
|
|
101
76
|
"inputs": [],
|
|
102
|
-
"name": "REGISTRY",
|
|
103
77
|
"outputs": [
|
|
104
78
|
{
|
|
105
|
-
"internalType": "contract IRegistry",
|
|
106
79
|
"name": "",
|
|
107
|
-
"type": "
|
|
80
|
+
"type": "bytes32",
|
|
81
|
+
"internalType": "bytes32"
|
|
108
82
|
}
|
|
109
83
|
],
|
|
110
|
-
"stateMutability": "view"
|
|
111
|
-
"type": "function"
|
|
84
|
+
"stateMutability": "view"
|
|
112
85
|
},
|
|
113
86
|
{
|
|
87
|
+
"type": "function",
|
|
88
|
+
"name": "lastBlockTs",
|
|
114
89
|
"inputs": [],
|
|
115
|
-
"name": "VERIFIER",
|
|
116
90
|
"outputs": [
|
|
117
91
|
{
|
|
118
|
-
"internalType": "contract MockVerifier",
|
|
119
92
|
"name": "",
|
|
120
|
-
"type": "
|
|
93
|
+
"type": "uint256",
|
|
94
|
+
"internalType": "uint256"
|
|
121
95
|
}
|
|
122
96
|
],
|
|
123
|
-
"stateMutability": "view"
|
|
124
|
-
"type": "function"
|
|
97
|
+
"stateMutability": "view"
|
|
125
98
|
},
|
|
126
99
|
{
|
|
100
|
+
"type": "function",
|
|
101
|
+
"name": "lastWarpedBlockTs",
|
|
127
102
|
"inputs": [],
|
|
128
|
-
"name": "VERSION",
|
|
129
103
|
"outputs": [
|
|
130
104
|
{
|
|
131
|
-
"internalType": "uint256",
|
|
132
105
|
"name": "",
|
|
133
|
-
"type": "uint256"
|
|
106
|
+
"type": "uint256",
|
|
107
|
+
"internalType": "uint256"
|
|
134
108
|
}
|
|
135
109
|
],
|
|
136
|
-
"stateMutability": "view"
|
|
137
|
-
"type": "function"
|
|
110
|
+
"stateMutability": "view"
|
|
138
111
|
},
|
|
139
112
|
{
|
|
140
|
-
"
|
|
141
|
-
"name": "
|
|
142
|
-
"
|
|
113
|
+
"type": "function",
|
|
114
|
+
"name": "process",
|
|
115
|
+
"inputs": [
|
|
143
116
|
{
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
117
|
+
"name": "_header",
|
|
118
|
+
"type": "bytes",
|
|
119
|
+
"internalType": "bytes"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "_archive",
|
|
123
|
+
"type": "bytes32",
|
|
124
|
+
"internalType": "bytes32"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "_txsHash",
|
|
128
|
+
"type": "bytes32",
|
|
129
|
+
"internalType": "bytes32"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "_body",
|
|
133
|
+
"type": "bytes",
|
|
134
|
+
"internalType": "bytes"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "_proof",
|
|
138
|
+
"type": "bytes",
|
|
139
|
+
"internalType": "bytes"
|
|
147
140
|
}
|
|
148
141
|
],
|
|
149
|
-
"
|
|
150
|
-
"
|
|
142
|
+
"outputs": [],
|
|
143
|
+
"stateMutability": "nonpayable"
|
|
151
144
|
},
|
|
152
145
|
{
|
|
153
|
-
"
|
|
154
|
-
"name": "
|
|
155
|
-
"
|
|
146
|
+
"type": "event",
|
|
147
|
+
"name": "L2BlockProcessed",
|
|
148
|
+
"inputs": [
|
|
156
149
|
{
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
150
|
+
"name": "blockNumber",
|
|
151
|
+
"type": "uint256",
|
|
152
|
+
"indexed": true,
|
|
153
|
+
"internalType": "uint256"
|
|
160
154
|
}
|
|
161
155
|
],
|
|
162
|
-
"
|
|
163
|
-
"type": "function"
|
|
156
|
+
"anonymous": false
|
|
164
157
|
},
|
|
165
158
|
{
|
|
159
|
+
"type": "error",
|
|
160
|
+
"name": "HeaderLib__InvalidHeaderSize",
|
|
166
161
|
"inputs": [
|
|
167
162
|
{
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
163
|
+
"name": "expected",
|
|
164
|
+
"type": "uint256",
|
|
165
|
+
"internalType": "uint256"
|
|
171
166
|
},
|
|
172
167
|
{
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
168
|
+
"name": "actual",
|
|
169
|
+
"type": "uint256",
|
|
170
|
+
"internalType": "uint256"
|
|
176
171
|
}
|
|
177
|
-
]
|
|
178
|
-
"name": "process",
|
|
179
|
-
"outputs": [],
|
|
180
|
-
"stateMutability": "nonpayable",
|
|
181
|
-
"type": "function"
|
|
172
|
+
]
|
|
182
173
|
},
|
|
183
174
|
{
|
|
184
|
-
"
|
|
185
|
-
"name": "
|
|
186
|
-
"
|
|
175
|
+
"type": "error",
|
|
176
|
+
"name": "Rollup__InvalidArchive",
|
|
177
|
+
"inputs": [
|
|
187
178
|
{
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
179
|
+
"name": "expected",
|
|
180
|
+
"type": "bytes32",
|
|
181
|
+
"internalType": "bytes32"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "actual",
|
|
185
|
+
"type": "bytes32",
|
|
186
|
+
"internalType": "bytes32"
|
|
191
187
|
}
|
|
192
|
-
]
|
|
193
|
-
|
|
194
|
-
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "error",
|
|
192
|
+
"name": "Rollup__InvalidChainId",
|
|
193
|
+
"inputs": [
|
|
194
|
+
{
|
|
195
|
+
"name": "expected",
|
|
196
|
+
"type": "uint256",
|
|
197
|
+
"internalType": "uint256"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "actual",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"internalType": "uint256"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "error",
|
|
208
|
+
"name": "Rollup__InvalidProof",
|
|
209
|
+
"inputs": []
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "error",
|
|
213
|
+
"name": "Rollup__InvalidVersion",
|
|
214
|
+
"inputs": [
|
|
215
|
+
{
|
|
216
|
+
"name": "expected",
|
|
217
|
+
"type": "uint256",
|
|
218
|
+
"internalType": "uint256"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "actual",
|
|
222
|
+
"type": "uint256",
|
|
223
|
+
"internalType": "uint256"
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "error",
|
|
229
|
+
"name": "Rollup__TimestampInFuture",
|
|
230
|
+
"inputs": []
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "error",
|
|
234
|
+
"name": "Rollup__TimestampTooOld",
|
|
235
|
+
"inputs": []
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "error",
|
|
239
|
+
"name": "Rollup__UnavailableTxs",
|
|
240
|
+
"inputs": [
|
|
241
|
+
{
|
|
242
|
+
"name": "txsHash",
|
|
243
|
+
"type": "bytes32",
|
|
244
|
+
"internalType": "bytes32"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
195
247
|
}
|
|
196
248
|
] as const;
|