@snowbridge/contract-types 0.1.1
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/.editorconfig +4 -0
- package/README.md +1 -0
- package/dist/BeefyClient.d.ts +355 -0
- package/dist/BeefyClient.d.ts.map +1 -0
- package/dist/BeefyClient.js +2 -0
- package/dist/IERC20.d.ts +130 -0
- package/dist/IERC20.d.ts.map +1 -0
- package/dist/IERC20.js +2 -0
- package/dist/IGateway.d.ts +479 -0
- package/dist/IGateway.d.ts.map +1 -0
- package/dist/IGateway.js +2 -0
- package/dist/common.d.ts +51 -0
- package/dist/common.d.ts.map +1 -0
- package/dist/common.js +2 -0
- package/dist/factories/BeefyClient__factory.d.ts +563 -0
- package/dist/factories/BeefyClient__factory.d.ts.map +1 -0
- package/dist/factories/BeefyClient__factory.js +735 -0
- package/dist/factories/IERC20__factory.d.ts +152 -0
- package/dist/factories/IERC20__factory.d.ts.map +1 -0
- package/dist/factories/IERC20__factory.js +207 -0
- package/dist/factories/IGateway__factory.d.ts +507 -0
- package/dist/factories/IGateway__factory.d.ts.map +1 -0
- package/dist/factories/IGateway__factory.js +661 -0
- package/dist/factories/index.d.ts +4 -0
- package/dist/factories/index.d.ts.map +1 -0
- package/dist/factories/index.js +12 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/package.json +27 -0
- package/tsconfig.json +26 -0
|
@@ -0,0 +1,735 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BeefyClient__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
type: "constructor",
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
name: "_randaoCommitDelay",
|
|
14
|
+
type: "uint256",
|
|
15
|
+
internalType: "uint256",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: "_randaoCommitExpiration",
|
|
19
|
+
type: "uint256",
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "_minNumRequiredSignatures",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
internalType: "uint256",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "_initialBeefyBlock",
|
|
29
|
+
type: "uint64",
|
|
30
|
+
internalType: "uint64",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "_initialValidatorSet",
|
|
34
|
+
type: "tuple",
|
|
35
|
+
internalType: "struct BeefyClient.ValidatorSet",
|
|
36
|
+
components: [
|
|
37
|
+
{
|
|
38
|
+
name: "id",
|
|
39
|
+
type: "uint128",
|
|
40
|
+
internalType: "uint128",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "length",
|
|
44
|
+
type: "uint128",
|
|
45
|
+
internalType: "uint128",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "root",
|
|
49
|
+
type: "bytes32",
|
|
50
|
+
internalType: "bytes32",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "_nextValidatorSet",
|
|
56
|
+
type: "tuple",
|
|
57
|
+
internalType: "struct BeefyClient.ValidatorSet",
|
|
58
|
+
components: [
|
|
59
|
+
{
|
|
60
|
+
name: "id",
|
|
61
|
+
type: "uint128",
|
|
62
|
+
internalType: "uint128",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: "length",
|
|
66
|
+
type: "uint128",
|
|
67
|
+
internalType: "uint128",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "root",
|
|
71
|
+
type: "bytes32",
|
|
72
|
+
internalType: "bytes32",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
stateMutability: "nonpayable",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
type: "function",
|
|
81
|
+
name: "MMR_ROOT_ID",
|
|
82
|
+
inputs: [],
|
|
83
|
+
outputs: [
|
|
84
|
+
{
|
|
85
|
+
name: "",
|
|
86
|
+
type: "bytes2",
|
|
87
|
+
internalType: "bytes2",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
stateMutability: "view",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
type: "function",
|
|
94
|
+
name: "commitPrevRandao",
|
|
95
|
+
inputs: [
|
|
96
|
+
{
|
|
97
|
+
name: "commitmentHash",
|
|
98
|
+
type: "bytes32",
|
|
99
|
+
internalType: "bytes32",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
outputs: [],
|
|
103
|
+
stateMutability: "nonpayable",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: "function",
|
|
107
|
+
name: "createFinalBitfield",
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
name: "commitmentHash",
|
|
111
|
+
type: "bytes32",
|
|
112
|
+
internalType: "bytes32",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "bitfield",
|
|
116
|
+
type: "uint256[]",
|
|
117
|
+
internalType: "uint256[]",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
outputs: [
|
|
121
|
+
{
|
|
122
|
+
name: "",
|
|
123
|
+
type: "uint256[]",
|
|
124
|
+
internalType: "uint256[]",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
stateMutability: "view",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
type: "function",
|
|
131
|
+
name: "createInitialBitfield",
|
|
132
|
+
inputs: [
|
|
133
|
+
{
|
|
134
|
+
name: "bitsToSet",
|
|
135
|
+
type: "uint256[]",
|
|
136
|
+
internalType: "uint256[]",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: "length",
|
|
140
|
+
type: "uint256",
|
|
141
|
+
internalType: "uint256",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
outputs: [
|
|
145
|
+
{
|
|
146
|
+
name: "",
|
|
147
|
+
type: "uint256[]",
|
|
148
|
+
internalType: "uint256[]",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
stateMutability: "pure",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
type: "function",
|
|
155
|
+
name: "currentValidatorSet",
|
|
156
|
+
inputs: [],
|
|
157
|
+
outputs: [
|
|
158
|
+
{
|
|
159
|
+
name: "id",
|
|
160
|
+
type: "uint128",
|
|
161
|
+
internalType: "uint128",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: "length",
|
|
165
|
+
type: "uint128",
|
|
166
|
+
internalType: "uint128",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: "root",
|
|
170
|
+
type: "bytes32",
|
|
171
|
+
internalType: "bytes32",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: "usageCounters",
|
|
175
|
+
type: "tuple",
|
|
176
|
+
internalType: "struct Uint16Array",
|
|
177
|
+
components: [
|
|
178
|
+
{
|
|
179
|
+
name: "data",
|
|
180
|
+
type: "uint256[]",
|
|
181
|
+
internalType: "uint256[]",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: "length",
|
|
185
|
+
type: "uint256",
|
|
186
|
+
internalType: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
stateMutability: "view",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
type: "function",
|
|
195
|
+
name: "latestBeefyBlock",
|
|
196
|
+
inputs: [],
|
|
197
|
+
outputs: [
|
|
198
|
+
{
|
|
199
|
+
name: "",
|
|
200
|
+
type: "uint64",
|
|
201
|
+
internalType: "uint64",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
stateMutability: "view",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
type: "function",
|
|
208
|
+
name: "latestMMRRoot",
|
|
209
|
+
inputs: [],
|
|
210
|
+
outputs: [
|
|
211
|
+
{
|
|
212
|
+
name: "",
|
|
213
|
+
type: "bytes32",
|
|
214
|
+
internalType: "bytes32",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
stateMutability: "view",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
type: "function",
|
|
221
|
+
name: "minNumRequiredSignatures",
|
|
222
|
+
inputs: [],
|
|
223
|
+
outputs: [
|
|
224
|
+
{
|
|
225
|
+
name: "",
|
|
226
|
+
type: "uint256",
|
|
227
|
+
internalType: "uint256",
|
|
228
|
+
},
|
|
229
|
+
],
|
|
230
|
+
stateMutability: "view",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
type: "function",
|
|
234
|
+
name: "nextValidatorSet",
|
|
235
|
+
inputs: [],
|
|
236
|
+
outputs: [
|
|
237
|
+
{
|
|
238
|
+
name: "id",
|
|
239
|
+
type: "uint128",
|
|
240
|
+
internalType: "uint128",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: "length",
|
|
244
|
+
type: "uint128",
|
|
245
|
+
internalType: "uint128",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: "root",
|
|
249
|
+
type: "bytes32",
|
|
250
|
+
internalType: "bytes32",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: "usageCounters",
|
|
254
|
+
type: "tuple",
|
|
255
|
+
internalType: "struct Uint16Array",
|
|
256
|
+
components: [
|
|
257
|
+
{
|
|
258
|
+
name: "data",
|
|
259
|
+
type: "uint256[]",
|
|
260
|
+
internalType: "uint256[]",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: "length",
|
|
264
|
+
type: "uint256",
|
|
265
|
+
internalType: "uint256",
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
stateMutability: "view",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
type: "function",
|
|
274
|
+
name: "randaoCommitDelay",
|
|
275
|
+
inputs: [],
|
|
276
|
+
outputs: [
|
|
277
|
+
{
|
|
278
|
+
name: "",
|
|
279
|
+
type: "uint256",
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
stateMutability: "view",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
type: "function",
|
|
287
|
+
name: "randaoCommitExpiration",
|
|
288
|
+
inputs: [],
|
|
289
|
+
outputs: [
|
|
290
|
+
{
|
|
291
|
+
name: "",
|
|
292
|
+
type: "uint256",
|
|
293
|
+
internalType: "uint256",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
stateMutability: "view",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
type: "function",
|
|
300
|
+
name: "submitFinal",
|
|
301
|
+
inputs: [
|
|
302
|
+
{
|
|
303
|
+
name: "commitment",
|
|
304
|
+
type: "tuple",
|
|
305
|
+
internalType: "struct BeefyClient.Commitment",
|
|
306
|
+
components: [
|
|
307
|
+
{
|
|
308
|
+
name: "blockNumber",
|
|
309
|
+
type: "uint32",
|
|
310
|
+
internalType: "uint32",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: "validatorSetID",
|
|
314
|
+
type: "uint64",
|
|
315
|
+
internalType: "uint64",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
name: "payload",
|
|
319
|
+
type: "tuple[]",
|
|
320
|
+
internalType: "struct BeefyClient.PayloadItem[]",
|
|
321
|
+
components: [
|
|
322
|
+
{
|
|
323
|
+
name: "payloadID",
|
|
324
|
+
type: "bytes2",
|
|
325
|
+
internalType: "bytes2",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
name: "data",
|
|
329
|
+
type: "bytes",
|
|
330
|
+
internalType: "bytes",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
name: "bitfield",
|
|
338
|
+
type: "uint256[]",
|
|
339
|
+
internalType: "uint256[]",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
name: "proofs",
|
|
343
|
+
type: "tuple[]",
|
|
344
|
+
internalType: "struct BeefyClient.ValidatorProof[]",
|
|
345
|
+
components: [
|
|
346
|
+
{
|
|
347
|
+
name: "v",
|
|
348
|
+
type: "uint8",
|
|
349
|
+
internalType: "uint8",
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
name: "r",
|
|
353
|
+
type: "bytes32",
|
|
354
|
+
internalType: "bytes32",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: "s",
|
|
358
|
+
type: "bytes32",
|
|
359
|
+
internalType: "bytes32",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: "index",
|
|
363
|
+
type: "uint256",
|
|
364
|
+
internalType: "uint256",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
name: "account",
|
|
368
|
+
type: "address",
|
|
369
|
+
internalType: "address",
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
name: "proof",
|
|
373
|
+
type: "bytes32[]",
|
|
374
|
+
internalType: "bytes32[]",
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
name: "leaf",
|
|
380
|
+
type: "tuple",
|
|
381
|
+
internalType: "struct BeefyClient.MMRLeaf",
|
|
382
|
+
components: [
|
|
383
|
+
{
|
|
384
|
+
name: "version",
|
|
385
|
+
type: "uint8",
|
|
386
|
+
internalType: "uint8",
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
name: "parentNumber",
|
|
390
|
+
type: "uint32",
|
|
391
|
+
internalType: "uint32",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
name: "parentHash",
|
|
395
|
+
type: "bytes32",
|
|
396
|
+
internalType: "bytes32",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
name: "nextAuthoritySetID",
|
|
400
|
+
type: "uint64",
|
|
401
|
+
internalType: "uint64",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
name: "nextAuthoritySetLen",
|
|
405
|
+
type: "uint32",
|
|
406
|
+
internalType: "uint32",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
name: "nextAuthoritySetRoot",
|
|
410
|
+
type: "bytes32",
|
|
411
|
+
internalType: "bytes32",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: "parachainHeadsRoot",
|
|
415
|
+
type: "bytes32",
|
|
416
|
+
internalType: "bytes32",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
name: "leafProof",
|
|
422
|
+
type: "bytes32[]",
|
|
423
|
+
internalType: "bytes32[]",
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
name: "leafProofOrder",
|
|
427
|
+
type: "uint256",
|
|
428
|
+
internalType: "uint256",
|
|
429
|
+
},
|
|
430
|
+
],
|
|
431
|
+
outputs: [],
|
|
432
|
+
stateMutability: "nonpayable",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
type: "function",
|
|
436
|
+
name: "submitInitial",
|
|
437
|
+
inputs: [
|
|
438
|
+
{
|
|
439
|
+
name: "commitment",
|
|
440
|
+
type: "tuple",
|
|
441
|
+
internalType: "struct BeefyClient.Commitment",
|
|
442
|
+
components: [
|
|
443
|
+
{
|
|
444
|
+
name: "blockNumber",
|
|
445
|
+
type: "uint32",
|
|
446
|
+
internalType: "uint32",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
name: "validatorSetID",
|
|
450
|
+
type: "uint64",
|
|
451
|
+
internalType: "uint64",
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
name: "payload",
|
|
455
|
+
type: "tuple[]",
|
|
456
|
+
internalType: "struct BeefyClient.PayloadItem[]",
|
|
457
|
+
components: [
|
|
458
|
+
{
|
|
459
|
+
name: "payloadID",
|
|
460
|
+
type: "bytes2",
|
|
461
|
+
internalType: "bytes2",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: "data",
|
|
465
|
+
type: "bytes",
|
|
466
|
+
internalType: "bytes",
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
name: "bitfield",
|
|
474
|
+
type: "uint256[]",
|
|
475
|
+
internalType: "uint256[]",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
name: "proof",
|
|
479
|
+
type: "tuple",
|
|
480
|
+
internalType: "struct BeefyClient.ValidatorProof",
|
|
481
|
+
components: [
|
|
482
|
+
{
|
|
483
|
+
name: "v",
|
|
484
|
+
type: "uint8",
|
|
485
|
+
internalType: "uint8",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
name: "r",
|
|
489
|
+
type: "bytes32",
|
|
490
|
+
internalType: "bytes32",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: "s",
|
|
494
|
+
type: "bytes32",
|
|
495
|
+
internalType: "bytes32",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
name: "index",
|
|
499
|
+
type: "uint256",
|
|
500
|
+
internalType: "uint256",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: "account",
|
|
504
|
+
type: "address",
|
|
505
|
+
internalType: "address",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
name: "proof",
|
|
509
|
+
type: "bytes32[]",
|
|
510
|
+
internalType: "bytes32[]",
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
outputs: [],
|
|
516
|
+
stateMutability: "nonpayable",
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
type: "function",
|
|
520
|
+
name: "tickets",
|
|
521
|
+
inputs: [
|
|
522
|
+
{
|
|
523
|
+
name: "ticketID",
|
|
524
|
+
type: "bytes32",
|
|
525
|
+
internalType: "bytes32",
|
|
526
|
+
},
|
|
527
|
+
],
|
|
528
|
+
outputs: [
|
|
529
|
+
{
|
|
530
|
+
name: "blockNumber",
|
|
531
|
+
type: "uint64",
|
|
532
|
+
internalType: "uint64",
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
name: "validatorSetLen",
|
|
536
|
+
type: "uint32",
|
|
537
|
+
internalType: "uint32",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
name: "numRequiredSignatures",
|
|
541
|
+
type: "uint32",
|
|
542
|
+
internalType: "uint32",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
name: "prevRandao",
|
|
546
|
+
type: "uint256",
|
|
547
|
+
internalType: "uint256",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
name: "bitfieldHash",
|
|
551
|
+
type: "bytes32",
|
|
552
|
+
internalType: "bytes32",
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
stateMutability: "view",
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
type: "function",
|
|
559
|
+
name: "verifyMMRLeafProof",
|
|
560
|
+
inputs: [
|
|
561
|
+
{
|
|
562
|
+
name: "leafHash",
|
|
563
|
+
type: "bytes32",
|
|
564
|
+
internalType: "bytes32",
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
name: "proof",
|
|
568
|
+
type: "bytes32[]",
|
|
569
|
+
internalType: "bytes32[]",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
name: "proofOrder",
|
|
573
|
+
type: "uint256",
|
|
574
|
+
internalType: "uint256",
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
outputs: [
|
|
578
|
+
{
|
|
579
|
+
name: "",
|
|
580
|
+
type: "bool",
|
|
581
|
+
internalType: "bool",
|
|
582
|
+
},
|
|
583
|
+
],
|
|
584
|
+
stateMutability: "view",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
type: "event",
|
|
588
|
+
name: "NewMMRRoot",
|
|
589
|
+
inputs: [
|
|
590
|
+
{
|
|
591
|
+
name: "mmrRoot",
|
|
592
|
+
type: "bytes32",
|
|
593
|
+
indexed: false,
|
|
594
|
+
internalType: "bytes32",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
name: "blockNumber",
|
|
598
|
+
type: "uint64",
|
|
599
|
+
indexed: false,
|
|
600
|
+
internalType: "uint64",
|
|
601
|
+
},
|
|
602
|
+
],
|
|
603
|
+
anonymous: false,
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
type: "error",
|
|
607
|
+
name: "CommitmentNotRelevant",
|
|
608
|
+
inputs: [],
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
type: "error",
|
|
612
|
+
name: "IndexOutOfBounds",
|
|
613
|
+
inputs: [],
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
type: "error",
|
|
617
|
+
name: "InvalidBitfield",
|
|
618
|
+
inputs: [],
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
type: "error",
|
|
622
|
+
name: "InvalidBitfieldLength",
|
|
623
|
+
inputs: [],
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
type: "error",
|
|
627
|
+
name: "InvalidCommitment",
|
|
628
|
+
inputs: [],
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
type: "error",
|
|
632
|
+
name: "InvalidMMRLeaf",
|
|
633
|
+
inputs: [],
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
type: "error",
|
|
637
|
+
name: "InvalidMMRLeafProof",
|
|
638
|
+
inputs: [],
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
type: "error",
|
|
642
|
+
name: "InvalidMMRRootLength",
|
|
643
|
+
inputs: [],
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
type: "error",
|
|
647
|
+
name: "InvalidSignature",
|
|
648
|
+
inputs: [],
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
type: "error",
|
|
652
|
+
name: "InvalidTicket",
|
|
653
|
+
inputs: [],
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
type: "error",
|
|
657
|
+
name: "InvalidValidatorProof",
|
|
658
|
+
inputs: [],
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
type: "error",
|
|
662
|
+
name: "InvalidValidatorProofLength",
|
|
663
|
+
inputs: [],
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
type: "error",
|
|
667
|
+
name: "NotEnoughClaims",
|
|
668
|
+
inputs: [],
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
type: "error",
|
|
672
|
+
name: "PrevRandaoAlreadyCaptured",
|
|
673
|
+
inputs: [],
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
type: "error",
|
|
677
|
+
name: "PrevRandaoNotCaptured",
|
|
678
|
+
inputs: [],
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
type: "error",
|
|
682
|
+
name: "ProofSizeExceeded",
|
|
683
|
+
inputs: [],
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
type: "error",
|
|
687
|
+
name: "StaleCommitment",
|
|
688
|
+
inputs: [],
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
type: "error",
|
|
692
|
+
name: "TicketExpired",
|
|
693
|
+
inputs: [],
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
type: "error",
|
|
697
|
+
name: "UnsupportedCompactEncoding",
|
|
698
|
+
inputs: [],
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
type: "error",
|
|
702
|
+
name: "WaitPeriodNotOver",
|
|
703
|
+
inputs: [],
|
|
704
|
+
},
|
|
705
|
+
];
|
|
706
|
+
const _bytecode = "0x604060e08152346200031d57620030c290813803806200001f8162000342565b938439820191610140818403126200031d578051602080830151848401516060850151929493926001600160401b03929190838116908190036200031d576200007c60809960e062000074828d8b016200037d565b98016200037d565b9160018060801b0393848451169660019788878b5116018781116200030757871603620002c3578b5260a05260c05284546001600160401b0319161784558451868601519083166001600160801b0319918a1b82161760028190559588015160035594620000ec90891c620003eb565b90815195865193858511620002ad576801000000000000000093848611620002ad57896004998a54888c558089106200027b575b5090808d9492989695939801976000988c8a52828a208c8b5b8a81106200025657505050506200016e96500151600555835116908a8401518d1b161791826006550151600755891c620003eb565b9485519182519485116200024357841162000230575085906008548460085580851062000202575b50019060088152858120905b838110620001f0575050505050015160095551612c5391826200046f833951818181610437015261087c015260a0518181816108bb01526109d5015260c0518181816106960152610c270152f35b825182820155918601918401620001a2565b60088452858584862092830192015b8281106200022157505062000196565b85815589945087910162000211565b634e487b7160e01b835260419052602482fd5b634e487b7160e01b845260418252602484fd5b9193969899959750919384519401938184015501918e9593979694918c8f9462000139565b60008c6000528b8a8560002093840193015b8381106200029e5750505062000120565b8281558f95508d91016200028d565b634e487b7160e01b600052604160045260246000fd5b8a5162461bcd60e51b8152600481018b9052601a60248201527f696e76616c69642d636f6e7374727563746f722d706172616d730000000000006044820152606490fd5b634e487b7160e01b600052601160045260246000fd5b600080fd5b60408051919082016001600160401b03811183821017620002ad57604052565b6040519190601f01601f191682016001600160401b03811183821017620002ad57604052565b51906001600160801b03821682036200031d57565b91908260609103126200031d57604051606081016001600160401b03811182821017620002ad576040526040808294620003b78162000368565b8452620003c76020820162000368565b60208501520151910152565b6001600160401b038111620002ad5760051b60200190565b60006020620003f962000322565b6060815201528060041c90600f811615600014620004645760ff60005b1682018092116200030757620004366200043083620003d3565b62000342565b9180835262000448601f1991620003d3565b013660208401376200045962000322565b918252602082015290565b60ff60016200041656fe6080604052600436101561001257600080fd5b60003560e01c80630a7c8faa146101075780632cdea7171461010257806336667513146100fd57806341c9634e146100f8578063591d99ee146100f35780635da57fe9146100ee578063623b223d146100e957806366ae69a0146100e45780636f55bd32146100df5780638ab81d13146100da578063a401662b146100d5578063a77cf3d2146100d0578063ad209a9b146100cb578063bb51f1eb146100c65763df0dd0d5146100c157600080fd5b610e9e565b6109f8565b6109bd565b610812565b6107c3565b6106b9565b61067e565b610656565b6105bd565b6104c7565b61041f565b610401565b610342565b61027f565b346101425760006003193601126101425760206040517f6d680000000000000000000000000000000000000000000000000000000000008152f35b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761019257604052565b610147565b60a0810190811067ffffffffffffffff82111761019257604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761019257604052565b6040519061020182610197565b565b92909391936fffffffffffffffffffffffffffffffff809116845260209416602084015260408301526080606083015260c0820192815193604060808501528451809152602060e0850195019160005b82811061026b5750505050602060a091015191015290565b835187529581019592810192600101610253565b3461014257600060031936011261014257600254600354604051916102a383610176565b60405192836004549485815260208091019560046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b916000905b82821061032b57878761032788886102fa818f03826101b3565b8152600554602082015260405193836fffffffffffffffffffffffffffffffff869560801c911685610203565b0390f35b8354895297880197600193840193909101906102e0565b34610142576000600319360112610142576006546007546040519161036683610176565b60405192836008549485815260208091019560086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3916000905b8282106103ea57878761032788886103bd818f03826101b3565b8152600954602082015260405193836fffffffffffffffffffffffffffffffff869560801c911685610203565b8354895297880197600193840193909101906103a3565b34610142576000600319360112610142576020600054604051908152f35b346101425760006003193601126101425760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b9181601f840112156101425782359167ffffffffffffffff8311610142576020808501948460051b01011161014257565b602090602060408183019282815285518094520193019160005b8281106104b3575050505090565b8351855293810193928101926001016104a5565b346101425760406003193601126101425760043567ffffffffffffffff8111610142576104f890369060040161045a565b906024358281106105565760ff81018091116105515761051a9060081c6115eb565b9160005b8181106105335760405180610327868261048b565b8061054b6105446001938587611669565b3586612526565b0161051e565b610f1b565b60046040517f5c85a0e7000000000000000000000000000000000000000000000000000000008152fd5b908160609103126101425790565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c60e091011261014257606490565b34610142576101806003193601126101425767ffffffffffffffff600435818111610142576105f0903690600401610580565b6024358281116101425761060890369060040161045a565b906044358481116101425761062190369060040161045a565b61062a3661058e565b91610144359687116101425761064761065497369060040161045a565b959094610164359761116f565b005b3461014257600060031936011261014257602067ffffffffffffffff60015416604051908152f35b346101425760006003193601126101425760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b34610142576040806003193601126101425760243567ffffffffffffffff8111610142576106eb90369060040161045a565b9190913360005260043560205261070f82600020600052600a602052604060002090565b6002810154835160208101906107568161072a84888b6114c1565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826101b3565b5190200361079a579261078f9184610789600161032797015491549363ffffffff8086891c169560601c1693369161150d565b9061200b565b90519182918261048b565b600483517f6768c0aa000000000000000000000000000000000000000000000000000000008152fd5b346101425760606003193601126101425760243567ffffffffffffffff8111610142576108086107f9602092369060040161045a565b60443591600435600054611f20565b6040519015158152f35b346101425760206003193601126101425761083860043533600052602052604060002090565b61084c81600052600a602052604060002090565b9067ffffffffffffffff610868835467ffffffffffffffff1690565b1691821561099357600101918254610969577f0000000000000000000000000000000000000000000000000000000000000000906108a6828261155b565b431061093f576108e0916108b99161155b565b7f00000000000000000000000000000000000000000000000000000000000000009061155b565b43116108ec5750449055005b61090361091591600052600a602052604060002090565b60026000918281558260018201550155565b60046040517f40d35447000000000000000000000000000000000000000000000000000000008152fd5b60046040517fc77c1949000000000000000000000000000000000000000000000000000000008152fd5b60046040517fe31d9005000000000000000000000000000000000000000000000000000000008152fd5b60046040517f6686db64000000000000000000000000000000000000000000000000000000008152fd5b346101425760006003193601126101425760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b34610142576003196060813601126101425767ffffffffffffffff6004803582811161014257610a2b9036908301610580565b9260243583811161014257610a43903690840161045a565b604492919235958587116101425760c087860193883603011261014257610a6981611095565b92610a8d610a8060015467ffffffffffffffff1690565b67ffffffffffffffff1690565b63ffffffff8095161115610e755760208201610aa881610f06565b88610adc610ac76002546fffffffffffffffffffffffffffffffff1690565b6fffffffffffffffffffffffffffffffff1690565b911603610df35750606488013591610b06610af684612142565b93610b0085612195565b9061221d565b6002915b60848a019160a4610b40610b3c8d610b2187611568565b610b3360648301359586930188611589565b9290918a61227f565b1590565b908115610dd4575b50610dab57610b9e610b98610b889c73ffffffffffffffffffffffffffffffffffffffff94610b79610bb79561173e565b602081519101209e8f916115dd565b6024604484013593013591612307565b93611568565b73ffffffffffffffffffffffffffffffffffffffff1690565b911603610d8257610bdc610bd4610bcf36868961150d565b61231e565b915460801c90565b956fffffffffffffffffffffffffffffffff871691610bfa83612476565b11610d5a575093610c9a6106549894610cd2979461072a610c6a610c57610c4e610ca798610cc29c61ffff7f00000000000000000000000000000000000000000000000000000000000000009216906124b0565b63ffffffff1690565b95604051928391602083019586916114c1565b51902094610c8c610c796101f4565b9a43168b9067ffffffffffffffff169052565b1663ffffffff166020890152565b63ffffffff166040870152565b60006060860152608085015233600052602052604060002090565b600052600a602052604060002090565b8151815460208401516040808601517fffffffffffffffffffffffffffffffff0000000000000000000000000000000090931667ffffffffffffffff9490941693909317921b6bffffffff00000000000000001691909117606091821b6fffffffff000000000000000000000000161782558201516001820155608090910151600290910155565b6040517fee3e74af000000000000000000000000000000000000000000000000000000008152fd5b856040517f8baa579f000000000000000000000000000000000000000000000000000000008152fd5b886040517fe00153fa000000000000000000000000000000000000000000000000000000008152fd5b610ded9150610b3c90610de8368a8d61150d565b6122ea565b38610b48565b610dfc90610f06565b87610e1b610ac76006546fffffffffffffffffffffffffffffffff1690565b911603610e4c57606488013591610e44610e34846120bf565b93610e3e85612195565b906121b0565b600691610b0a565b856040517fc06789fa000000000000000000000000000000000000000000000000000000008152fd5b856040517f3d618e50000000000000000000000000000000000000000000000000000000008152fd5b3461014257602060031936011261014257600435600052600a60205260a0604060002080549063ffffffff9060026001820154910154916040519367ffffffffffffffff81168552818160401c16602086015260601c16604084015260608301526080820152f35b3567ffffffffffffffff811681036101425790565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9060016fffffffffffffffffffffffffffffffff8093160191821161055157565b6006546fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff00000000000000000000000000000000821691161760025560075460035560085467ffffffffffffffff8111610192576801000000000000000081116101925760045481600455808210611054575b50600460009081527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee380545b83831061101e5750505050600954600555565b60018091920192835492817f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b015501919061100b565b817f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b91820191015b8181106110895750610fdf565b6000815560010161107c565b3563ffffffff811681036101425790565b805180519067ffffffffffffffff821161019257680100000000000000008211610192576008548260085580831061112e575b50602080910190600860005260005b8381106110fc575050505060200151600955565b82517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3820155918101916001016110e8565b827ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee391820191015b81811061116357506110d9565b60008155600101611156565b9790969295919493946111818961173e565b602081519101209561119c8733600052602052604060002090565b976111a9838b8d8c611905565b60009760208c01936111ba85610f06565b996111d66006546fffffffffffffffffffffffffffffffff1690565b9567ffffffffffffffff9b8c6fffffffffffffffffffffffffffffffff89169116146000146114545750509061121493929160019c8c600693611a5a565b61121d89611d09565b976112bb575b5050505050507fd95fe1258d152dc91c81b09380498adc76ed36a6079bcb2ed31eff622ae2d0f19261129d6109036112a29385600055610cc2611268610c4e86611095565b67ffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000006001541617600155565b611095565b6040805192835263ffffffff91909116602083015290a1565b6060850198956112d6610ac76112d08c610f06565b93610f4a565b91160361142a576112fb92610b3c926112ee86611e3a565b6020815191012089611f20565b611400576109036112a2936113f76113f26113ed610c4e61129d9661138b61134e610a807fd95fe1258d152dc91c81b09380498adc76ed36a6079bcb2ed31eff622ae2d0f19e611349610f6b565b610f06565b6fffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffff000000000000000000000000000000006006541617600655565b61129d60a060808301926113e66113a4610c4e86611095565b6fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff000000000000000000000000000000006006549260801b16911617600655565b0135600755565b611fac565b6110a6565b93839638611223565b60046040517f128597bb000000000000000000000000000000000000000000000000000000008152fd5b60046040517fc72c8200000000000000000000000000000000000000000000000000000000008152fd5b611464909d95949392919d610f06565b8b611483610ac76002546fffffffffffffffffffffffffffffffff1690565b91160361149757611214948c600293611a5a565b60046040517fc06789fa000000000000000000000000000000000000000000000000000000008152fd5b91907f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81116101425760051b809282370190565b67ffffffffffffffff81116101925760051b60200190565b9291611518826114f5565b9161152660405193846101b3565b829481845260208094019160051b810192831161014257905b82821061154c5750505050565b8135815290830190830161153f565b9190820180921161055157565b3573ffffffffffffffffffffffffffffffffffffffff811681036101425790565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe181360301821215610142570180359067ffffffffffffffff821161014257602001918160051b3603831361014257565b3560ff811681036101425790565b906115f5826114f5565b61160260405191826101b3565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061163082946114f5565b0190602036910137565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b91908110156116795760051b0190565b61163a565b9081519160005b838110611696575050016000815290565b8060208092840101518185015201611685565b600c90610201927fffffffffffffffff00000000000000000000000000000000000000000000000061170796957fffffffff00000000000000000000000000000000000000000000000000000000604051988995602087019061167e565b93168352166004820152037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec8101855201836101b3565b90604061174e6040840184611589565b9190611759836129d3565b92600080935b8285106118255750505050508261181c61179060206117896117846118229798611095565b61254c565b9301610f06565b7fffffffffffffffff0000000000000000000000000000000000000000000000009065ffffffffffff8160081c9160081b9166ff000000ff000067ff000000ff00000067ffffffffffff000065ff000000ff00861664ff000000ff85161760101b16941691161760101c161763ffffffff67ffffffff000000008260201b169160201c161760c01b1690565b916116a9565b90565b90919293946001906118fa87600287896118c761188661187d61185c87611855611850828989611c10565b611c50565b9686611c10565b968d61187761187060209a8b810190611c7d565b90506129d3565b95611c10565b86810190611c7d565b94859391947fffff0000000000000000000000000000000000000000000000000000000000006118bc8d519b8c9a8b019061167e565b91168152019061167e565b91823701868152037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826101b3565b95019392919061175f565b61191c90939293600052600a602052604060002090565b9067ffffffffffffffff611938835467ffffffffffffffff1690565b1615610993576001820154156119f05761195190611095565b63ffffffff61196c610a8060015467ffffffffffffffff1690565b911611156119c657611992600261072a92015493604051928391602083019586916114c1565b5190200361199c57565b60046040517f6768c0aa000000000000000000000000000000000000000000000000000000008152fd5b60046040517f3d618e50000000000000000000000000000000000000000000000000000000008152fd5b60046040517f78ef3a47000000000000000000000000000000000000000000000000000000008152fd5b91908110156116795760051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4181360301821215610142570190565b91959290611a7290600052600a602052604060002090565b95611a88610c4e885463ffffffff9060601c1690565b808503611be657611ac9926fffffffffffffffffffffffffffffffff611ac16001809b015494611ab98a5460801c90565b93369161150d565b91169261200b565b9160005b818110611add5750505050505050565b611ae8818388611a1a565b606081013590611b0c8980611b008560081c8a6122d6565b5160ff86161c16141590565b611bbc5760808101611b3a610b3c84611b2484611568565b611b3160a0870187611589565b9290918d61227f565b611bbc5773ffffffffffffffffffffffffffffffffffffffff611b79610b9e610b98611b65866115dd565b95604096602088830135920135908c612307565b911603611b93575090611b8d8892866125a2565b01611acd565b600490517f8baa579f000000000000000000000000000000000000000000000000000000008152fd5b60046040517fe00153fa000000000000000000000000000000000000000000000000000000008152fd5b60046040517f1f1711da000000000000000000000000000000000000000000000000000000008152fd5b91908110156116795760051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc181360301821215610142570190565b357fffff000000000000000000000000000000000000000000000000000000000000811681036101425790565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe181360301821215610142570180359067ffffffffffffffff82116101425760200191813603831361014257565b359060208110611cdc575090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9060200360031b1b1690565b6000905b604091828201611d1d8184611589565b9050821015611e10577f6d68000000000000000000000000000000000000000000000000000000000000611d86611d6161185085611d5b8689611589565b90611c10565b7fffff0000000000000000000000000000000000000000000000000000000000001690565b14611d9657506001019150611d0d565b82611da883611d5b84611db697611589565b602094818680930190611c7d565b90501415600014611dea57600485517f7df9c486000000000000000000000000000000000000000000000000000000008152fd5b611822945091611d5b611e0192611e0a9594611589565b90810190611c7d565b90611cce565b60046040517f484ab7df000000000000000000000000000000000000000000000000000000008152fd5b60c07fff00000000000000000000000000000000000000000000000000000000000000611e66836115dd565b60f81b1691611e7a61178460208301611095565b611e8961179060608401610f06565b7fffffffffffffffff000000000000000000000000000000000000000000000000611eb961178460808601611095565b916040519660208801527fffffffff0000000000000000000000000000000000000000000000000000000080941660218801526040850135602588015216604586015216604d84015260a08101356051840152013560718201526071815261182281610197565b92906101008211611f825793600092918391905b808510611f445750505050501490565b9091929395611f54878387611669565b3583881c60011615611f775784526020525b600160408420960193929190611f34565b908452602052611f66565b60046040517f5e862a8a000000000000000000000000000000000000000000000000000000008152fd5b60006020604051611fbc81610176565b6060815201528060041c600f8216156000146120025760ff60005b16810180911161055157611fea906115eb565b9060405191611ff883610176565b8252602082015290565b60ff6001611fd7565b91909161201883516115eb565b93600091825b84811061202e5750505050505090565b816000528360205282604060002006908160081c9161204d83896122d6565b519260ff82169360019485808093831c161492831593612090575b505050612087579061207b83928a612526565b019301935b939261201e565b50930193612080565b82935061209d908d6122d6565b51901c1614833880612068565b60041b90610ff060f083169216820361055157565b600954811015612118578060041c906008548210156116795760ff612112600f61ffff9460086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3015493166120aa565b161c1690565b60046040517f4e23d035000000000000000000000000000000000000000000000000000000008152fd5b600554811015612118578060041c906004548210156116795760ff612112600f61ffff9460046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b015493166120aa565b61ffff80806001840116921682106121ab575090565b905090565b60095481101561211857600f8160041c911660ff6121e061ffff80836121d5866120aa565b161b199516926120aa565b161b90600854811015611679577ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301918254161790600860005255565b60055481101561211857600f8160041c911660ff61224261ffff80836121d5866120aa565b161b90600454811015611679577f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01918254161790600460005255565b90916118229493926040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000602082019260601b168252601481526122c381610176565b5190206001830154925460801c926125c6565b80518210156116795760209160051b010190565b60019160ff6122fe84938360081c906122d6565b5191161c161490565b916118229391612316936126a8565b91909161277d565b906000805b83518210156124715760019061233983866122d6565b517f55555555555555555555555555555555555555555555555555555555555555558082851c169116017f3333333333333333333333333333333333333333333333333333333333333333808260021c169116017f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f808260041c169116017eff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff808260081c169116017dffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff808260101c169116017bffffffff00000000ffffffff00000000ffffffff00000000ffffffff808260201c1691160177ffffffffffffffff0000000000000000ffffffffffffffff808260401c169116016fffffffffffffffffffffffffffffffff8160801c91160101910190612323565b925050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818111610551576003900481039081116105515790565b906124ba82612906565b8301809311610551576124cc90612906565b8060011b907f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116036105515780600101600111610551576001908301018092116105515761251a90612476565b808210156121ab575090565b90612549908060081c90600160ff61253e84876122d6565b5192161b17926122d6565b52565b61259b7fffffffff000000000000000000000000000000000000000000000000000000009162ff00ff63ff00ff008260081b169160081c161761ffff63ffff00008260101b169160101c161790565b60e01b1690565b90612549908060081c90600160ff6125ba84876122d6565b5192161b1916926122d6565b9392949190948082101561269d57909291906000905b8282106125ec5750505050501490565b9091929395600190819081808a16148015612692575b1561265357612612858789611669565b356000526020527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040600020985b821c9301811c019201909392916125dc565b61265e858789611669565b35906000526020527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff604060002098612641565b5083828a0114612602565b505050505050600090565b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083116127385791608094939160ff602094604051948552168484015260408301526060820152600093849182805260015afa1561272b57815173ffffffffffffffffffffffffffffffffffffffff811615612725579190565b50600190565b50604051903d90823e3d90fd5b50505050600090600390565b6005111561274e57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61278681612744565b8061278e5750565b61279781612744565b600181036127fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b61280781612744565b6002810361286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b8061287a600392612744565b1461288157565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608490fd5b806000918160801c806129c7575b508060401c806129ba575b508060201c806129ad575b508060101c806129a0575b508060081c80612993575b508060041c80612986575b508060021c80612979575b5060011c61296f575b6001821b10156118225760010190565b906001019061295f565b6002915092019138612956565b600491509201913861294b565b6008915092019138612940565b6010915092019138612935565b602091509201913861292a565b604091509201913861291f565b60809350905038612914565b63ffffffff8082116129e9576118229116612a3d565b60046040517fe809999a000000000000000000000000000000000000000000000000000000008152fd5b90600263ffffffff8093160191821161055157565b90600163ffffffff8093160191821161055157565b63ffffffff8116603f8111612a8a575060405160fa9190911b7ffc00000000000000000000000000000000000000000000000000000000000000166020820152611822816021810161072a565b613fff8111612b045750611822612acc612ab9612ab263fffffffc61072a9560021b16612a28565b61ffff1690565b60ff61ff008260081b169160081c161790565b604051928391602083017fffff00000000000000000000000000000000000000000000000000000000000060029260f01b1681520190565b633fffffff10612b8b57611822612b53612b2963fffffffc61072a9460021b16612a13565b62ff00ff63ff00ff008260081b169160081c161761ffff63ffff00008260101b169160101c161790565b604051928391602083017fffffffff0000000000000000000000000000000000000000000000000000000060049260e01b1681520190565b611822612bbf61072a9262ff00ff63ff00ff008260081b169160081c161761ffff63ffff00008260101b169160101c161790565b604051928391602083017fffffffff000000000000000000000000000000000000000000000000000000006005927f0300000000000000000000000000000000000000000000000000000000000000835260e01b166001820152019056fea2646970667358221220e2cd1966d0281ffa0812c5ec1d75ba6f38af9b0d08d2c42c796ba9d6186640a664736f6c63430008170033";
|
|
707
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
708
|
+
class BeefyClient__factory extends ethers_1.ContractFactory {
|
|
709
|
+
constructor(...args) {
|
|
710
|
+
if (isSuperArgs(args)) {
|
|
711
|
+
super(...args);
|
|
712
|
+
}
|
|
713
|
+
else {
|
|
714
|
+
super(_abi, _bytecode, args[0]);
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
getDeployTransaction(_randaoCommitDelay, _randaoCommitExpiration, _minNumRequiredSignatures, _initialBeefyBlock, _initialValidatorSet, _nextValidatorSet, overrides) {
|
|
718
|
+
return super.getDeployTransaction(_randaoCommitDelay, _randaoCommitExpiration, _minNumRequiredSignatures, _initialBeefyBlock, _initialValidatorSet, _nextValidatorSet, overrides || {});
|
|
719
|
+
}
|
|
720
|
+
deploy(_randaoCommitDelay, _randaoCommitExpiration, _minNumRequiredSignatures, _initialBeefyBlock, _initialValidatorSet, _nextValidatorSet, overrides) {
|
|
721
|
+
return super.deploy(_randaoCommitDelay, _randaoCommitExpiration, _minNumRequiredSignatures, _initialBeefyBlock, _initialValidatorSet, _nextValidatorSet, overrides || {});
|
|
722
|
+
}
|
|
723
|
+
connect(runner) {
|
|
724
|
+
return super.connect(runner);
|
|
725
|
+
}
|
|
726
|
+
static createInterface() {
|
|
727
|
+
return new ethers_1.Interface(_abi);
|
|
728
|
+
}
|
|
729
|
+
static connect(address, runner) {
|
|
730
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
exports.BeefyClient__factory = BeefyClient__factory;
|
|
734
|
+
BeefyClient__factory.bytecode = _bytecode;
|
|
735
|
+
BeefyClient__factory.abi = _abi;
|