@aztec/l1-artifacts 0.20.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 +17 -17
- package/dest/AvailabilityOracleAbi.js +28 -28
- package/dest/AvailabilityOracleBytecode.d.ts +1 -1
- package/dest/AvailabilityOracleBytecode.js +1 -1
- 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 +109 -97
- package/dest/RollupAbi.d.ts.map +1 -1
- package/dest/RollupAbi.js +158 -142
- 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/generated/AvailabilityOracleAbi.ts +27 -27
- package/generated/AvailabilityOracleBytecode.ts +1 -1
- 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 +157 -141
- 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/package.json +1 -1
package/dest/InboxAbi.d.ts
CHANGED
|
@@ -2,414 +2,414 @@
|
|
|
2
2
|
* Inbox ABI.
|
|
3
3
|
*/
|
|
4
4
|
export declare const InboxAbi: readonly [{
|
|
5
|
+
readonly type: "constructor";
|
|
5
6
|
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "address";
|
|
7
7
|
readonly name: "_registry";
|
|
8
8
|
readonly type: "address";
|
|
9
|
-
}];
|
|
10
|
-
readonly stateMutability: "nonpayable";
|
|
11
|
-
readonly type: "constructor";
|
|
12
|
-
}, {
|
|
13
|
-
readonly inputs: readonly [{
|
|
14
|
-
readonly internalType: "bytes32";
|
|
15
|
-
readonly name: "actor";
|
|
16
|
-
readonly type: "bytes32";
|
|
17
|
-
}];
|
|
18
|
-
readonly name: "Inbox__ActorTooLarge";
|
|
19
|
-
readonly type: "error";
|
|
20
|
-
}, {
|
|
21
|
-
readonly inputs: readonly [{
|
|
22
|
-
readonly internalType: "bytes32";
|
|
23
|
-
readonly name: "content";
|
|
24
|
-
readonly type: "bytes32";
|
|
25
|
-
}];
|
|
26
|
-
readonly name: "Inbox__ContentTooLarge";
|
|
27
|
-
readonly type: "error";
|
|
28
|
-
}, {
|
|
29
|
-
readonly inputs: readonly [];
|
|
30
|
-
readonly name: "Inbox__DeadlineBeforeNow";
|
|
31
|
-
readonly type: "error";
|
|
32
|
-
}, {
|
|
33
|
-
readonly inputs: readonly [];
|
|
34
|
-
readonly name: "Inbox__FailedToWithdrawFees";
|
|
35
|
-
readonly type: "error";
|
|
36
|
-
}, {
|
|
37
|
-
readonly inputs: readonly [];
|
|
38
|
-
readonly name: "Inbox__FeeTooHigh";
|
|
39
|
-
readonly type: "error";
|
|
40
|
-
}, {
|
|
41
|
-
readonly inputs: readonly [{
|
|
42
|
-
readonly internalType: "bytes32";
|
|
43
|
-
readonly name: "entryKey";
|
|
44
|
-
readonly type: "bytes32";
|
|
45
|
-
}, {
|
|
46
|
-
readonly internalType: "uint64";
|
|
47
|
-
readonly name: "storedFee";
|
|
48
|
-
readonly type: "uint64";
|
|
49
|
-
}, {
|
|
50
|
-
readonly internalType: "uint64";
|
|
51
|
-
readonly name: "feePassed";
|
|
52
|
-
readonly type: "uint64";
|
|
53
|
-
}, {
|
|
54
|
-
readonly internalType: "uint32";
|
|
55
|
-
readonly name: "storedVersion";
|
|
56
|
-
readonly type: "uint32";
|
|
57
|
-
}, {
|
|
58
|
-
readonly internalType: "uint32";
|
|
59
|
-
readonly name: "versionPassed";
|
|
60
|
-
readonly type: "uint32";
|
|
61
|
-
}, {
|
|
62
|
-
readonly internalType: "uint32";
|
|
63
|
-
readonly name: "storedDeadline";
|
|
64
|
-
readonly type: "uint32";
|
|
65
|
-
}, {
|
|
66
|
-
readonly internalType: "uint32";
|
|
67
|
-
readonly name: "deadlinePassed";
|
|
68
|
-
readonly type: "uint32";
|
|
69
|
-
}];
|
|
70
|
-
readonly name: "Inbox__IncompatibleEntryArguments";
|
|
71
|
-
readonly type: "error";
|
|
72
|
-
}, {
|
|
73
|
-
readonly inputs: readonly [{
|
|
74
|
-
readonly internalType: "uint256";
|
|
75
|
-
readonly name: "entry";
|
|
76
|
-
readonly type: "uint256";
|
|
77
|
-
}, {
|
|
78
|
-
readonly internalType: "uint256";
|
|
79
|
-
readonly name: "rollup";
|
|
80
|
-
readonly type: "uint256";
|
|
81
|
-
}];
|
|
82
|
-
readonly name: "Inbox__InvalidVersion";
|
|
83
|
-
readonly type: "error";
|
|
84
|
-
}, {
|
|
85
|
-
readonly inputs: readonly [];
|
|
86
|
-
readonly name: "Inbox__NotPastDeadline";
|
|
87
|
-
readonly type: "error";
|
|
88
|
-
}, {
|
|
89
|
-
readonly inputs: readonly [{
|
|
90
|
-
readonly internalType: "bytes32";
|
|
91
|
-
readonly name: "entryKey";
|
|
92
|
-
readonly type: "bytes32";
|
|
93
|
-
}];
|
|
94
|
-
readonly name: "Inbox__NothingToConsume";
|
|
95
|
-
readonly type: "error";
|
|
96
|
-
}, {
|
|
97
|
-
readonly inputs: readonly [];
|
|
98
|
-
readonly name: "Inbox__PastDeadline";
|
|
99
|
-
readonly type: "error";
|
|
100
|
-
}, {
|
|
101
|
-
readonly inputs: readonly [{
|
|
102
|
-
readonly internalType: "bytes32";
|
|
103
|
-
readonly name: "secretHash";
|
|
104
|
-
readonly type: "bytes32";
|
|
105
|
-
}];
|
|
106
|
-
readonly name: "Inbox__SecretHashTooLarge";
|
|
107
|
-
readonly type: "error";
|
|
108
|
-
}, {
|
|
109
|
-
readonly inputs: readonly [];
|
|
110
|
-
readonly name: "Inbox__Unauthorized";
|
|
111
|
-
readonly type: "error";
|
|
112
|
-
}, {
|
|
113
|
-
readonly anonymous: false;
|
|
114
|
-
readonly inputs: readonly [{
|
|
115
|
-
readonly indexed: true;
|
|
116
|
-
readonly internalType: "bytes32";
|
|
117
|
-
readonly name: "entryKey";
|
|
118
|
-
readonly type: "bytes32";
|
|
119
|
-
}];
|
|
120
|
-
readonly name: "L1ToL2MessageCancelled";
|
|
121
|
-
readonly type: "event";
|
|
122
|
-
}, {
|
|
123
|
-
readonly anonymous: false;
|
|
124
|
-
readonly inputs: readonly [{
|
|
125
|
-
readonly indexed: true;
|
|
126
|
-
readonly internalType: "bytes32";
|
|
127
|
-
readonly name: "entryKey";
|
|
128
|
-
readonly type: "bytes32";
|
|
129
|
-
}, {
|
|
130
|
-
readonly indexed: true;
|
|
131
9
|
readonly internalType: "address";
|
|
132
|
-
readonly name: "sender";
|
|
133
|
-
readonly type: "address";
|
|
134
|
-
}, {
|
|
135
|
-
readonly indexed: true;
|
|
136
|
-
readonly internalType: "bytes32";
|
|
137
|
-
readonly name: "recipient";
|
|
138
|
-
readonly type: "bytes32";
|
|
139
|
-
}, {
|
|
140
|
-
readonly indexed: false;
|
|
141
|
-
readonly internalType: "uint256";
|
|
142
|
-
readonly name: "senderChainId";
|
|
143
|
-
readonly type: "uint256";
|
|
144
|
-
}, {
|
|
145
|
-
readonly indexed: false;
|
|
146
|
-
readonly internalType: "uint256";
|
|
147
|
-
readonly name: "recipientVersion";
|
|
148
|
-
readonly type: "uint256";
|
|
149
|
-
}, {
|
|
150
|
-
readonly indexed: false;
|
|
151
|
-
readonly internalType: "uint32";
|
|
152
|
-
readonly name: "deadline";
|
|
153
|
-
readonly type: "uint32";
|
|
154
|
-
}, {
|
|
155
|
-
readonly indexed: false;
|
|
156
|
-
readonly internalType: "uint64";
|
|
157
|
-
readonly name: "fee";
|
|
158
|
-
readonly type: "uint64";
|
|
159
|
-
}, {
|
|
160
|
-
readonly indexed: false;
|
|
161
|
-
readonly internalType: "bytes32";
|
|
162
|
-
readonly name: "content";
|
|
163
|
-
readonly type: "bytes32";
|
|
164
|
-
}, {
|
|
165
|
-
readonly indexed: false;
|
|
166
|
-
readonly internalType: "bytes32";
|
|
167
|
-
readonly name: "secretHash";
|
|
168
|
-
readonly type: "bytes32";
|
|
169
10
|
}];
|
|
170
|
-
readonly
|
|
171
|
-
readonly type: "event";
|
|
11
|
+
readonly stateMutability: "nonpayable";
|
|
172
12
|
}, {
|
|
173
|
-
readonly
|
|
13
|
+
readonly type: "function";
|
|
174
14
|
readonly name: "REGISTRY";
|
|
15
|
+
readonly inputs: readonly [];
|
|
175
16
|
readonly outputs: readonly [{
|
|
176
|
-
readonly internalType: "contract IRegistry";
|
|
177
17
|
readonly name: "";
|
|
178
18
|
readonly type: "address";
|
|
19
|
+
readonly internalType: "contract IRegistry";
|
|
179
20
|
}];
|
|
180
21
|
readonly stateMutability: "view";
|
|
181
|
-
readonly type: "function";
|
|
182
22
|
}, {
|
|
23
|
+
readonly type: "function";
|
|
24
|
+
readonly name: "batchConsume";
|
|
183
25
|
readonly inputs: readonly [{
|
|
184
|
-
readonly internalType: "bytes32[]";
|
|
185
26
|
readonly name: "_entryKeys";
|
|
186
27
|
readonly type: "bytes32[]";
|
|
28
|
+
readonly internalType: "bytes32[]";
|
|
187
29
|
}, {
|
|
188
|
-
readonly internalType: "address";
|
|
189
30
|
readonly name: "_feeCollector";
|
|
190
31
|
readonly type: "address";
|
|
32
|
+
readonly internalType: "address";
|
|
191
33
|
}];
|
|
192
|
-
readonly name: "batchConsume";
|
|
193
34
|
readonly outputs: readonly [];
|
|
194
35
|
readonly stateMutability: "nonpayable";
|
|
195
|
-
readonly type: "function";
|
|
196
36
|
}, {
|
|
37
|
+
readonly type: "function";
|
|
38
|
+
readonly name: "cancelL2Message";
|
|
197
39
|
readonly inputs: readonly [{
|
|
40
|
+
readonly name: "_message";
|
|
41
|
+
readonly type: "tuple";
|
|
42
|
+
readonly internalType: "struct DataStructures.L1ToL2Msg";
|
|
198
43
|
readonly components: readonly [{
|
|
44
|
+
readonly name: "sender";
|
|
45
|
+
readonly type: "tuple";
|
|
46
|
+
readonly internalType: "struct DataStructures.L1Actor";
|
|
199
47
|
readonly components: readonly [{
|
|
200
|
-
readonly internalType: "address";
|
|
201
48
|
readonly name: "actor";
|
|
202
49
|
readonly type: "address";
|
|
50
|
+
readonly internalType: "address";
|
|
203
51
|
}, {
|
|
204
|
-
readonly internalType: "uint256";
|
|
205
52
|
readonly name: "chainId";
|
|
206
53
|
readonly type: "uint256";
|
|
54
|
+
readonly internalType: "uint256";
|
|
207
55
|
}];
|
|
208
|
-
readonly internalType: "struct DataStructures.L1Actor";
|
|
209
|
-
readonly name: "sender";
|
|
210
|
-
readonly type: "tuple";
|
|
211
56
|
}, {
|
|
57
|
+
readonly name: "recipient";
|
|
58
|
+
readonly type: "tuple";
|
|
59
|
+
readonly internalType: "struct DataStructures.L2Actor";
|
|
212
60
|
readonly components: readonly [{
|
|
213
|
-
readonly internalType: "bytes32";
|
|
214
61
|
readonly name: "actor";
|
|
215
62
|
readonly type: "bytes32";
|
|
63
|
+
readonly internalType: "bytes32";
|
|
216
64
|
}, {
|
|
217
|
-
readonly internalType: "uint256";
|
|
218
65
|
readonly name: "version";
|
|
219
66
|
readonly type: "uint256";
|
|
67
|
+
readonly internalType: "uint256";
|
|
220
68
|
}];
|
|
221
|
-
readonly internalType: "struct DataStructures.L2Actor";
|
|
222
|
-
readonly name: "recipient";
|
|
223
|
-
readonly type: "tuple";
|
|
224
69
|
}, {
|
|
225
|
-
readonly internalType: "bytes32";
|
|
226
70
|
readonly name: "content";
|
|
227
71
|
readonly type: "bytes32";
|
|
228
|
-
}, {
|
|
229
72
|
readonly internalType: "bytes32";
|
|
73
|
+
}, {
|
|
230
74
|
readonly name: "secretHash";
|
|
231
75
|
readonly type: "bytes32";
|
|
76
|
+
readonly internalType: "bytes32";
|
|
232
77
|
}, {
|
|
233
|
-
readonly internalType: "uint32";
|
|
234
78
|
readonly name: "deadline";
|
|
235
79
|
readonly type: "uint32";
|
|
80
|
+
readonly internalType: "uint32";
|
|
236
81
|
}, {
|
|
237
|
-
readonly internalType: "uint64";
|
|
238
82
|
readonly name: "fee";
|
|
239
83
|
readonly type: "uint64";
|
|
84
|
+
readonly internalType: "uint64";
|
|
240
85
|
}];
|
|
241
|
-
readonly internalType: "struct DataStructures.L1ToL2Msg";
|
|
242
|
-
readonly name: "_message";
|
|
243
|
-
readonly type: "tuple";
|
|
244
86
|
}, {
|
|
245
|
-
readonly internalType: "address";
|
|
246
87
|
readonly name: "_feeCollector";
|
|
247
88
|
readonly type: "address";
|
|
89
|
+
readonly internalType: "address";
|
|
248
90
|
}];
|
|
249
|
-
readonly name: "cancelL2Message";
|
|
250
91
|
readonly outputs: readonly [{
|
|
251
|
-
readonly internalType: "bytes32";
|
|
252
92
|
readonly name: "entryKey";
|
|
253
93
|
readonly type: "bytes32";
|
|
94
|
+
readonly internalType: "bytes32";
|
|
254
95
|
}];
|
|
255
96
|
readonly stateMutability: "nonpayable";
|
|
256
|
-
readonly type: "function";
|
|
257
97
|
}, {
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
readonly name: "computeEntryKey";
|
|
258
100
|
readonly inputs: readonly [{
|
|
101
|
+
readonly name: "_message";
|
|
102
|
+
readonly type: "tuple";
|
|
103
|
+
readonly internalType: "struct DataStructures.L1ToL2Msg";
|
|
259
104
|
readonly components: readonly [{
|
|
105
|
+
readonly name: "sender";
|
|
106
|
+
readonly type: "tuple";
|
|
107
|
+
readonly internalType: "struct DataStructures.L1Actor";
|
|
260
108
|
readonly components: readonly [{
|
|
261
|
-
readonly internalType: "address";
|
|
262
109
|
readonly name: "actor";
|
|
263
110
|
readonly type: "address";
|
|
111
|
+
readonly internalType: "address";
|
|
264
112
|
}, {
|
|
265
|
-
readonly internalType: "uint256";
|
|
266
113
|
readonly name: "chainId";
|
|
267
114
|
readonly type: "uint256";
|
|
115
|
+
readonly internalType: "uint256";
|
|
268
116
|
}];
|
|
269
|
-
readonly internalType: "struct DataStructures.L1Actor";
|
|
270
|
-
readonly name: "sender";
|
|
271
|
-
readonly type: "tuple";
|
|
272
117
|
}, {
|
|
118
|
+
readonly name: "recipient";
|
|
119
|
+
readonly type: "tuple";
|
|
120
|
+
readonly internalType: "struct DataStructures.L2Actor";
|
|
273
121
|
readonly components: readonly [{
|
|
274
|
-
readonly internalType: "bytes32";
|
|
275
122
|
readonly name: "actor";
|
|
276
123
|
readonly type: "bytes32";
|
|
124
|
+
readonly internalType: "bytes32";
|
|
277
125
|
}, {
|
|
278
|
-
readonly internalType: "uint256";
|
|
279
126
|
readonly name: "version";
|
|
280
127
|
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
281
129
|
}];
|
|
282
|
-
readonly internalType: "struct DataStructures.L2Actor";
|
|
283
|
-
readonly name: "recipient";
|
|
284
|
-
readonly type: "tuple";
|
|
285
130
|
}, {
|
|
286
|
-
readonly internalType: "bytes32";
|
|
287
131
|
readonly name: "content";
|
|
288
132
|
readonly type: "bytes32";
|
|
289
|
-
}, {
|
|
290
133
|
readonly internalType: "bytes32";
|
|
134
|
+
}, {
|
|
291
135
|
readonly name: "secretHash";
|
|
292
136
|
readonly type: "bytes32";
|
|
137
|
+
readonly internalType: "bytes32";
|
|
293
138
|
}, {
|
|
294
|
-
readonly internalType: "uint32";
|
|
295
139
|
readonly name: "deadline";
|
|
296
140
|
readonly type: "uint32";
|
|
141
|
+
readonly internalType: "uint32";
|
|
297
142
|
}, {
|
|
298
|
-
readonly internalType: "uint64";
|
|
299
143
|
readonly name: "fee";
|
|
300
144
|
readonly type: "uint64";
|
|
145
|
+
readonly internalType: "uint64";
|
|
301
146
|
}];
|
|
302
|
-
readonly internalType: "struct DataStructures.L1ToL2Msg";
|
|
303
|
-
readonly name: "_message";
|
|
304
|
-
readonly type: "tuple";
|
|
305
147
|
}];
|
|
306
|
-
readonly name: "computeEntryKey";
|
|
307
148
|
readonly outputs: readonly [{
|
|
308
|
-
readonly internalType: "bytes32";
|
|
309
149
|
readonly name: "";
|
|
310
150
|
readonly type: "bytes32";
|
|
151
|
+
readonly internalType: "bytes32";
|
|
311
152
|
}];
|
|
312
153
|
readonly stateMutability: "pure";
|
|
313
|
-
readonly type: "function";
|
|
314
154
|
}, {
|
|
155
|
+
readonly type: "function";
|
|
156
|
+
readonly name: "contains";
|
|
315
157
|
readonly inputs: readonly [{
|
|
316
|
-
readonly internalType: "bytes32";
|
|
317
158
|
readonly name: "_entryKey";
|
|
318
159
|
readonly type: "bytes32";
|
|
160
|
+
readonly internalType: "bytes32";
|
|
319
161
|
}];
|
|
320
|
-
readonly name: "contains";
|
|
321
162
|
readonly outputs: readonly [{
|
|
322
|
-
readonly internalType: "bool";
|
|
323
163
|
readonly name: "";
|
|
324
164
|
readonly type: "bool";
|
|
165
|
+
readonly internalType: "bool";
|
|
325
166
|
}];
|
|
326
167
|
readonly stateMutability: "view";
|
|
327
|
-
readonly type: "function";
|
|
328
168
|
}, {
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
readonly name: "feesAccrued";
|
|
329
171
|
readonly inputs: readonly [{
|
|
330
|
-
readonly internalType: "address";
|
|
331
172
|
readonly name: "account";
|
|
332
173
|
readonly type: "address";
|
|
174
|
+
readonly internalType: "address";
|
|
333
175
|
}];
|
|
334
|
-
readonly name: "feesAccrued";
|
|
335
176
|
readonly outputs: readonly [{
|
|
336
|
-
readonly internalType: "uint256";
|
|
337
177
|
readonly name: "balance";
|
|
338
178
|
readonly type: "uint256";
|
|
179
|
+
readonly internalType: "uint256";
|
|
339
180
|
}];
|
|
340
181
|
readonly stateMutability: "view";
|
|
341
|
-
readonly type: "function";
|
|
342
182
|
}, {
|
|
183
|
+
readonly type: "function";
|
|
184
|
+
readonly name: "get";
|
|
343
185
|
readonly inputs: readonly [{
|
|
344
|
-
readonly internalType: "bytes32";
|
|
345
186
|
readonly name: "_entryKey";
|
|
346
187
|
readonly type: "bytes32";
|
|
188
|
+
readonly internalType: "bytes32";
|
|
347
189
|
}];
|
|
348
|
-
readonly name: "get";
|
|
349
190
|
readonly outputs: readonly [{
|
|
191
|
+
readonly name: "";
|
|
192
|
+
readonly type: "tuple";
|
|
193
|
+
readonly internalType: "struct DataStructures.Entry";
|
|
350
194
|
readonly components: readonly [{
|
|
351
|
-
readonly internalType: "uint64";
|
|
352
195
|
readonly name: "fee";
|
|
353
196
|
readonly type: "uint64";
|
|
197
|
+
readonly internalType: "uint64";
|
|
354
198
|
}, {
|
|
355
|
-
readonly internalType: "uint32";
|
|
356
199
|
readonly name: "count";
|
|
357
200
|
readonly type: "uint32";
|
|
358
|
-
}, {
|
|
359
201
|
readonly internalType: "uint32";
|
|
202
|
+
}, {
|
|
360
203
|
readonly name: "version";
|
|
361
204
|
readonly type: "uint32";
|
|
362
|
-
}, {
|
|
363
205
|
readonly internalType: "uint32";
|
|
206
|
+
}, {
|
|
364
207
|
readonly name: "deadline";
|
|
365
208
|
readonly type: "uint32";
|
|
209
|
+
readonly internalType: "uint32";
|
|
366
210
|
}];
|
|
367
|
-
readonly internalType: "struct DataStructures.Entry";
|
|
368
|
-
readonly name: "";
|
|
369
|
-
readonly type: "tuple";
|
|
370
211
|
}];
|
|
371
212
|
readonly stateMutability: "view";
|
|
372
|
-
readonly type: "function";
|
|
373
213
|
}, {
|
|
214
|
+
readonly type: "function";
|
|
215
|
+
readonly name: "sendL2Message";
|
|
374
216
|
readonly inputs: readonly [{
|
|
217
|
+
readonly name: "_recipient";
|
|
218
|
+
readonly type: "tuple";
|
|
219
|
+
readonly internalType: "struct DataStructures.L2Actor";
|
|
375
220
|
readonly components: readonly [{
|
|
376
|
-
readonly internalType: "bytes32";
|
|
377
221
|
readonly name: "actor";
|
|
378
222
|
readonly type: "bytes32";
|
|
223
|
+
readonly internalType: "bytes32";
|
|
379
224
|
}, {
|
|
380
|
-
readonly internalType: "uint256";
|
|
381
225
|
readonly name: "version";
|
|
382
226
|
readonly type: "uint256";
|
|
227
|
+
readonly internalType: "uint256";
|
|
383
228
|
}];
|
|
384
|
-
readonly internalType: "struct DataStructures.L2Actor";
|
|
385
|
-
readonly name: "_recipient";
|
|
386
|
-
readonly type: "tuple";
|
|
387
229
|
}, {
|
|
388
|
-
readonly internalType: "uint32";
|
|
389
230
|
readonly name: "_deadline";
|
|
390
231
|
readonly type: "uint32";
|
|
232
|
+
readonly internalType: "uint32";
|
|
391
233
|
}, {
|
|
392
|
-
readonly internalType: "bytes32";
|
|
393
234
|
readonly name: "_content";
|
|
394
235
|
readonly type: "bytes32";
|
|
395
|
-
}, {
|
|
396
236
|
readonly internalType: "bytes32";
|
|
237
|
+
}, {
|
|
397
238
|
readonly name: "_secretHash";
|
|
398
239
|
readonly type: "bytes32";
|
|
240
|
+
readonly internalType: "bytes32";
|
|
399
241
|
}];
|
|
400
|
-
readonly name: "sendL2Message";
|
|
401
242
|
readonly outputs: readonly [{
|
|
402
|
-
readonly internalType: "bytes32";
|
|
403
243
|
readonly name: "";
|
|
404
244
|
readonly type: "bytes32";
|
|
245
|
+
readonly internalType: "bytes32";
|
|
405
246
|
}];
|
|
406
247
|
readonly stateMutability: "payable";
|
|
407
|
-
readonly type: "function";
|
|
408
248
|
}, {
|
|
409
|
-
readonly
|
|
249
|
+
readonly type: "function";
|
|
410
250
|
readonly name: "withdrawFees";
|
|
251
|
+
readonly inputs: readonly [];
|
|
411
252
|
readonly outputs: readonly [];
|
|
412
253
|
readonly stateMutability: "nonpayable";
|
|
413
|
-
|
|
254
|
+
}, {
|
|
255
|
+
readonly type: "event";
|
|
256
|
+
readonly name: "L1ToL2MessageCancelled";
|
|
257
|
+
readonly inputs: readonly [{
|
|
258
|
+
readonly name: "entryKey";
|
|
259
|
+
readonly type: "bytes32";
|
|
260
|
+
readonly indexed: true;
|
|
261
|
+
readonly internalType: "bytes32";
|
|
262
|
+
}];
|
|
263
|
+
readonly anonymous: false;
|
|
264
|
+
}, {
|
|
265
|
+
readonly type: "event";
|
|
266
|
+
readonly name: "MessageAdded";
|
|
267
|
+
readonly inputs: readonly [{
|
|
268
|
+
readonly name: "entryKey";
|
|
269
|
+
readonly type: "bytes32";
|
|
270
|
+
readonly indexed: true;
|
|
271
|
+
readonly internalType: "bytes32";
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "sender";
|
|
274
|
+
readonly type: "address";
|
|
275
|
+
readonly indexed: true;
|
|
276
|
+
readonly internalType: "address";
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "recipient";
|
|
279
|
+
readonly type: "bytes32";
|
|
280
|
+
readonly indexed: true;
|
|
281
|
+
readonly internalType: "bytes32";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "senderChainId";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
readonly indexed: false;
|
|
286
|
+
readonly internalType: "uint256";
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "recipientVersion";
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
readonly indexed: false;
|
|
291
|
+
readonly internalType: "uint256";
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "deadline";
|
|
294
|
+
readonly type: "uint32";
|
|
295
|
+
readonly indexed: false;
|
|
296
|
+
readonly internalType: "uint32";
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "fee";
|
|
299
|
+
readonly type: "uint64";
|
|
300
|
+
readonly indexed: false;
|
|
301
|
+
readonly internalType: "uint64";
|
|
302
|
+
}, {
|
|
303
|
+
readonly name: "content";
|
|
304
|
+
readonly type: "bytes32";
|
|
305
|
+
readonly indexed: false;
|
|
306
|
+
readonly internalType: "bytes32";
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "secretHash";
|
|
309
|
+
readonly type: "bytes32";
|
|
310
|
+
readonly indexed: false;
|
|
311
|
+
readonly internalType: "bytes32";
|
|
312
|
+
}];
|
|
313
|
+
readonly anonymous: false;
|
|
314
|
+
}, {
|
|
315
|
+
readonly type: "error";
|
|
316
|
+
readonly name: "Inbox__ActorTooLarge";
|
|
317
|
+
readonly inputs: readonly [{
|
|
318
|
+
readonly name: "actor";
|
|
319
|
+
readonly type: "bytes32";
|
|
320
|
+
readonly internalType: "bytes32";
|
|
321
|
+
}];
|
|
322
|
+
}, {
|
|
323
|
+
readonly type: "error";
|
|
324
|
+
readonly name: "Inbox__ContentTooLarge";
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly name: "content";
|
|
327
|
+
readonly type: "bytes32";
|
|
328
|
+
readonly internalType: "bytes32";
|
|
329
|
+
}];
|
|
330
|
+
}, {
|
|
331
|
+
readonly type: "error";
|
|
332
|
+
readonly name: "Inbox__DeadlineBeforeNow";
|
|
333
|
+
readonly inputs: readonly [];
|
|
334
|
+
}, {
|
|
335
|
+
readonly type: "error";
|
|
336
|
+
readonly name: "Inbox__FailedToWithdrawFees";
|
|
337
|
+
readonly inputs: readonly [];
|
|
338
|
+
}, {
|
|
339
|
+
readonly type: "error";
|
|
340
|
+
readonly name: "Inbox__FeeTooHigh";
|
|
341
|
+
readonly inputs: readonly [];
|
|
342
|
+
}, {
|
|
343
|
+
readonly type: "error";
|
|
344
|
+
readonly name: "Inbox__IncompatibleEntryArguments";
|
|
345
|
+
readonly inputs: readonly [{
|
|
346
|
+
readonly name: "entryKey";
|
|
347
|
+
readonly type: "bytes32";
|
|
348
|
+
readonly internalType: "bytes32";
|
|
349
|
+
}, {
|
|
350
|
+
readonly name: "storedFee";
|
|
351
|
+
readonly type: "uint64";
|
|
352
|
+
readonly internalType: "uint64";
|
|
353
|
+
}, {
|
|
354
|
+
readonly name: "feePassed";
|
|
355
|
+
readonly type: "uint64";
|
|
356
|
+
readonly internalType: "uint64";
|
|
357
|
+
}, {
|
|
358
|
+
readonly name: "storedVersion";
|
|
359
|
+
readonly type: "uint32";
|
|
360
|
+
readonly internalType: "uint32";
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "versionPassed";
|
|
363
|
+
readonly type: "uint32";
|
|
364
|
+
readonly internalType: "uint32";
|
|
365
|
+
}, {
|
|
366
|
+
readonly name: "storedDeadline";
|
|
367
|
+
readonly type: "uint32";
|
|
368
|
+
readonly internalType: "uint32";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "deadlinePassed";
|
|
371
|
+
readonly type: "uint32";
|
|
372
|
+
readonly internalType: "uint32";
|
|
373
|
+
}];
|
|
374
|
+
}, {
|
|
375
|
+
readonly type: "error";
|
|
376
|
+
readonly name: "Inbox__InvalidVersion";
|
|
377
|
+
readonly inputs: readonly [{
|
|
378
|
+
readonly name: "entry";
|
|
379
|
+
readonly type: "uint256";
|
|
380
|
+
readonly internalType: "uint256";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "rollup";
|
|
383
|
+
readonly type: "uint256";
|
|
384
|
+
readonly internalType: "uint256";
|
|
385
|
+
}];
|
|
386
|
+
}, {
|
|
387
|
+
readonly type: "error";
|
|
388
|
+
readonly name: "Inbox__NotPastDeadline";
|
|
389
|
+
readonly inputs: readonly [];
|
|
390
|
+
}, {
|
|
391
|
+
readonly type: "error";
|
|
392
|
+
readonly name: "Inbox__NothingToConsume";
|
|
393
|
+
readonly inputs: readonly [{
|
|
394
|
+
readonly name: "entryKey";
|
|
395
|
+
readonly type: "bytes32";
|
|
396
|
+
readonly internalType: "bytes32";
|
|
397
|
+
}];
|
|
398
|
+
}, {
|
|
399
|
+
readonly type: "error";
|
|
400
|
+
readonly name: "Inbox__PastDeadline";
|
|
401
|
+
readonly inputs: readonly [];
|
|
402
|
+
}, {
|
|
403
|
+
readonly type: "error";
|
|
404
|
+
readonly name: "Inbox__SecretHashTooLarge";
|
|
405
|
+
readonly inputs: readonly [{
|
|
406
|
+
readonly name: "secretHash";
|
|
407
|
+
readonly type: "bytes32";
|
|
408
|
+
readonly internalType: "bytes32";
|
|
409
|
+
}];
|
|
410
|
+
}, {
|
|
411
|
+
readonly type: "error";
|
|
412
|
+
readonly name: "Inbox__Unauthorized";
|
|
413
|
+
readonly inputs: readonly [];
|
|
414
414
|
}];
|
|
415
415
|
//# sourceMappingURL=InboxAbi.d.ts.map
|