@wireio/outpost-ethereum-artifacts 0.1.1 → 0.2.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.
Files changed (75) hide show
  1. package/README.md +13 -4
  2. package/abis/BAR.json +2001 -0
  3. package/abis/IERC1155.json +299 -0
  4. package/lib/cjs/Manifest.d.ts +80 -0
  5. package/lib/cjs/Manifest.js +241 -0
  6. package/lib/cjs/contracts/BAR.d.ts +563 -0
  7. package/lib/cjs/contracts/BAR.js +2 -0
  8. package/lib/cjs/contracts/IERC1155.d.ts +232 -0
  9. package/lib/cjs/contracts/IERC1155.js +2 -0
  10. package/lib/cjs/contracts/OPP.d.ts +472 -0
  11. package/lib/cjs/contracts/OPP.js +2 -0
  12. package/lib/cjs/contracts/OPPInbound.d.ts +907 -0
  13. package/lib/cjs/contracts/OPPInbound.js +2 -0
  14. package/lib/cjs/contracts/OperatorRegistry.d.ts +592 -0
  15. package/lib/cjs/contracts/OperatorRegistry.js +2 -0
  16. package/lib/cjs/contracts/ReserveManager.d.ts +1138 -0
  17. package/lib/cjs/contracts/ReserveManager.js +2 -0
  18. package/lib/cjs/contracts/common.d.ts +50 -0
  19. package/lib/cjs/contracts/common.js +2 -0
  20. package/lib/cjs/contracts/factories/BAR__factory.d.ts +1532 -0
  21. package/lib/cjs/contracts/factories/BAR__factory.js +2014 -0
  22. package/lib/cjs/contracts/factories/IERC1155__factory.d.ts +236 -0
  23. package/lib/cjs/contracts/factories/IERC1155__factory.js +312 -0
  24. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  25. package/lib/cjs/contracts/factories/OPPInbound__factory.js +1909 -0
  26. package/lib/cjs/contracts/factories/OPP__factory.d.ts +1029 -0
  27. package/lib/cjs/contracts/factories/OPP__factory.js +1362 -0
  28. package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  29. package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +1991 -0
  30. package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  31. package/lib/cjs/contracts/factories/ReserveManager__factory.js +2783 -0
  32. package/lib/cjs/contracts/factories/index.d.ts +6 -0
  33. package/lib/cjs/contracts/factories/index.js +18 -0
  34. package/lib/cjs/contracts/index.d.ts +13 -0
  35. package/lib/cjs/contracts/index.js +49 -0
  36. package/lib/cjs/index.d.ts +3 -0
  37. package/lib/cjs/index.js +18 -0
  38. package/lib/cjs/package.json +3 -0
  39. package/lib/esm/Manifest.d.ts +80 -0
  40. package/lib/esm/Manifest.js +238 -0
  41. package/lib/esm/contracts/BAR.d.ts +563 -0
  42. package/lib/esm/contracts/BAR.js +1 -0
  43. package/lib/esm/contracts/IERC1155.d.ts +232 -0
  44. package/lib/esm/contracts/IERC1155.js +1 -0
  45. package/lib/esm/contracts/OPP.d.ts +472 -0
  46. package/lib/esm/contracts/OPP.js +1 -0
  47. package/lib/esm/contracts/OPPInbound.d.ts +907 -0
  48. package/lib/esm/contracts/OPPInbound.js +1 -0
  49. package/lib/esm/contracts/OperatorRegistry.d.ts +592 -0
  50. package/lib/esm/contracts/OperatorRegistry.js +1 -0
  51. package/lib/esm/contracts/ReserveManager.d.ts +1138 -0
  52. package/lib/esm/contracts/ReserveManager.js +1 -0
  53. package/lib/esm/contracts/common.d.ts +50 -0
  54. package/lib/esm/contracts/common.js +1 -0
  55. package/lib/esm/contracts/factories/BAR__factory.d.ts +1532 -0
  56. package/lib/esm/contracts/factories/BAR__factory.js +2010 -0
  57. package/lib/esm/contracts/factories/IERC1155__factory.d.ts +236 -0
  58. package/lib/esm/contracts/factories/IERC1155__factory.js +308 -0
  59. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  60. package/lib/esm/contracts/factories/OPPInbound__factory.js +1905 -0
  61. package/lib/esm/contracts/factories/OPP__factory.d.ts +1029 -0
  62. package/lib/esm/contracts/factories/OPP__factory.js +1358 -0
  63. package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  64. package/lib/esm/contracts/factories/OperatorRegistry__factory.js +1987 -0
  65. package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  66. package/lib/esm/contracts/factories/ReserveManager__factory.js +2779 -0
  67. package/lib/esm/contracts/factories/index.d.ts +6 -0
  68. package/lib/esm/contracts/factories/index.js +9 -0
  69. package/lib/esm/contracts/index.d.ts +13 -0
  70. package/lib/esm/contracts/index.js +7 -0
  71. package/lib/esm/index.d.ts +3 -0
  72. package/lib/esm/index.js +2 -0
  73. package/manifest.json +17 -3
  74. package/package.json +13 -1
  75. package/runtime/BAR.bin +0 -0
@@ -0,0 +1,1358 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, Interface } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "address",
10
+ name: "authority",
11
+ type: "address",
12
+ },
13
+ ],
14
+ name: "AccessManagedInvalidAuthority",
15
+ type: "error",
16
+ },
17
+ {
18
+ inputs: [
19
+ {
20
+ internalType: "address",
21
+ name: "caller",
22
+ type: "address",
23
+ },
24
+ {
25
+ internalType: "uint32",
26
+ name: "delay",
27
+ type: "uint32",
28
+ },
29
+ ],
30
+ name: "AccessManagedRequiredDelay",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "address",
37
+ name: "caller",
38
+ type: "address",
39
+ },
40
+ ],
41
+ name: "AccessManagedUnauthorized",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [
46
+ {
47
+ internalType: "address",
48
+ name: "target",
49
+ type: "address",
50
+ },
51
+ ],
52
+ name: "AddressEmptyCode",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "address",
59
+ name: "implementation",
60
+ type: "address",
61
+ },
62
+ ],
63
+ name: "ERC1967InvalidImplementation",
64
+ type: "error",
65
+ },
66
+ {
67
+ inputs: [],
68
+ name: "ERC1967NonPayable",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "FailedCall",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "InvalidInitialization",
79
+ type: "error",
80
+ },
81
+ {
82
+ inputs: [],
83
+ name: "NotInitializing",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "operator_",
91
+ type: "address",
92
+ },
93
+ ],
94
+ name: "OPP_ChunkBufferMissing",
95
+ type: "error",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "uint32",
101
+ name: "epochIndex",
102
+ type: "uint32",
103
+ },
104
+ ],
105
+ name: "OPP_ChunkBufferShapeMismatch",
106
+ type: "error",
107
+ },
108
+ {
109
+ inputs: [
110
+ {
111
+ internalType: "uint16",
112
+ name: "chunkIndex",
113
+ type: "uint16",
114
+ },
115
+ {
116
+ internalType: "uint16",
117
+ name: "totalChunks",
118
+ type: "uint16",
119
+ },
120
+ ],
121
+ name: "OPP_ChunkIndexOutOfRange",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [
126
+ {
127
+ internalType: "uint16",
128
+ name: "expected",
129
+ type: "uint16",
130
+ },
131
+ {
132
+ internalType: "uint16",
133
+ name: "actual",
134
+ type: "uint16",
135
+ },
136
+ ],
137
+ name: "OPP_ChunkOutOfOrder",
138
+ type: "error",
139
+ },
140
+ {
141
+ inputs: [
142
+ {
143
+ internalType: "uint16",
144
+ name: "chunkIndex",
145
+ type: "uint16",
146
+ },
147
+ {
148
+ internalType: "uint256",
149
+ name: "expected",
150
+ type: "uint256",
151
+ },
152
+ {
153
+ internalType: "uint256",
154
+ name: "actual",
155
+ type: "uint256",
156
+ },
157
+ ],
158
+ name: "OPP_ChunkSizeMismatch",
159
+ type: "error",
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ internalType: "uint32",
165
+ name: "expected",
166
+ type: "uint32",
167
+ },
168
+ {
169
+ internalType: "uint32",
170
+ name: "actual",
171
+ type: "uint32",
172
+ },
173
+ ],
174
+ name: "OPP_EnvelopeEpochMismatch",
175
+ type: "error",
176
+ },
177
+ {
178
+ inputs: [
179
+ {
180
+ internalType: "uint256",
181
+ name: "actualBytes",
182
+ type: "uint256",
183
+ },
184
+ {
185
+ internalType: "uint256",
186
+ name: "maxBytes",
187
+ type: "uint256",
188
+ },
189
+ ],
190
+ name: "OPP_EnvelopeOverCap",
191
+ type: "error",
192
+ },
193
+ {
194
+ inputs: [
195
+ {
196
+ internalType: "bytes32",
197
+ name: "expected",
198
+ type: "bytes32",
199
+ },
200
+ {
201
+ internalType: "bytes32",
202
+ name: "actual",
203
+ type: "bytes32",
204
+ },
205
+ ],
206
+ name: "OPP_EpochHashMismatch",
207
+ type: "error",
208
+ },
209
+ {
210
+ inputs: [
211
+ {
212
+ internalType: "uint32",
213
+ name: "epochIndex",
214
+ type: "uint32",
215
+ },
216
+ ],
217
+ name: "OPP_InboundEnvelopeRecordMissing",
218
+ type: "error",
219
+ },
220
+ {
221
+ inputs: [
222
+ {
223
+ internalType: "uint32",
224
+ name: "epochIndex",
225
+ type: "uint32",
226
+ },
227
+ {
228
+ internalType: "uint32",
229
+ name: "evictBoundary",
230
+ type: "uint32",
231
+ },
232
+ ],
233
+ name: "OPP_InboundEnvelopeStillInRetention",
234
+ type: "error",
235
+ },
236
+ {
237
+ inputs: [
238
+ {
239
+ internalType: "uint256",
240
+ name: "required",
241
+ type: "uint256",
242
+ },
243
+ {
244
+ internalType: "uint256",
245
+ name: "provided",
246
+ type: "uint256",
247
+ },
248
+ ],
249
+ name: "OPP_InsufficientSignatureWeight",
250
+ type: "error",
251
+ },
252
+ {
253
+ inputs: [
254
+ {
255
+ internalType: "uint16",
256
+ name: "expected",
257
+ type: "uint16",
258
+ },
259
+ {
260
+ internalType: "uint16",
261
+ name: "actual",
262
+ type: "uint16",
263
+ },
264
+ ],
265
+ name: "OPP_InvalidChunkCount",
266
+ type: "error",
267
+ },
268
+ {
269
+ inputs: [
270
+ {
271
+ internalType: "address",
272
+ name: "caller",
273
+ type: "address",
274
+ },
275
+ {
276
+ internalType: "address",
277
+ name: "expected",
278
+ type: "address",
279
+ },
280
+ ],
281
+ name: "OPP_InvalidOPPAddress",
282
+ type: "error",
283
+ },
284
+ {
285
+ inputs: [],
286
+ name: "OPP_InvalidRetentionConfig",
287
+ type: "error",
288
+ },
289
+ {
290
+ inputs: [
291
+ {
292
+ internalType: "bytes",
293
+ name: "expected",
294
+ type: "bytes",
295
+ },
296
+ {
297
+ internalType: "bytes",
298
+ name: "actual",
299
+ type: "bytes",
300
+ },
301
+ ],
302
+ name: "OPP_MessageIDMismatch",
303
+ type: "error",
304
+ },
305
+ {
306
+ inputs: [],
307
+ name: "OPP_NoAttestationsSent",
308
+ type: "error",
309
+ },
310
+ {
311
+ inputs: [
312
+ {
313
+ internalType: "address",
314
+ name: "operator_",
315
+ type: "address",
316
+ },
317
+ ],
318
+ name: "OPP_NoChunkSlot",
319
+ type: "error",
320
+ },
321
+ {
322
+ inputs: [],
323
+ name: "OPP_NoPendingAttestations",
324
+ type: "error",
325
+ },
326
+ {
327
+ inputs: [
328
+ {
329
+ internalType: "bytes",
330
+ name: "previousEnvelopeHash",
331
+ type: "bytes",
332
+ },
333
+ ],
334
+ name: "OPP_NonCanonicalPreviousEpochHash",
335
+ type: "error",
336
+ },
337
+ {
338
+ inputs: [
339
+ {
340
+ internalType: "uint32",
341
+ name: "expected",
342
+ type: "uint32",
343
+ },
344
+ {
345
+ internalType: "uint32",
346
+ name: "actual",
347
+ type: "uint32",
348
+ },
349
+ ],
350
+ name: "OPP_NonSequentialEpoch",
351
+ type: "error",
352
+ },
353
+ {
354
+ inputs: [
355
+ {
356
+ internalType: "address",
357
+ name: "caller",
358
+ type: "address",
359
+ },
360
+ ],
361
+ name: "OPP_NotActiveOperator",
362
+ type: "error",
363
+ },
364
+ {
365
+ inputs: [],
366
+ name: "OPP_NotSending",
367
+ type: "error",
368
+ },
369
+ {
370
+ inputs: [],
371
+ name: "OPP_OPPAddressNotSet",
372
+ type: "error",
373
+ },
374
+ {
375
+ inputs: [
376
+ {
377
+ internalType: "uint32",
378
+ name: "epochIndex",
379
+ type: "uint32",
380
+ },
381
+ {
382
+ internalType: "address",
383
+ name: "caller",
384
+ type: "address",
385
+ },
386
+ ],
387
+ name: "OPP_OperatorAlreadyDelivered",
388
+ type: "error",
389
+ },
390
+ {
391
+ inputs: [
392
+ {
393
+ internalType: "uint256",
394
+ name: "projectedEnvelopeBytes",
395
+ type: "uint256",
396
+ },
397
+ {
398
+ internalType: "uint256",
399
+ name: "maxEnvelopeBytes",
400
+ type: "uint256",
401
+ },
402
+ ],
403
+ name: "OPP_OutboundMessageUnpackable",
404
+ type: "error",
405
+ },
406
+ {
407
+ inputs: [
408
+ {
409
+ internalType: "uint256",
410
+ name: "projectedBytes",
411
+ type: "uint256",
412
+ },
413
+ {
414
+ internalType: "uint256",
415
+ name: "maxBytes",
416
+ type: "uint256",
417
+ },
418
+ ],
419
+ name: "OPP_OutboundQueueFull",
420
+ type: "error",
421
+ },
422
+ {
423
+ inputs: [
424
+ {
425
+ internalType: "bytes32",
426
+ name: "expected",
427
+ type: "bytes32",
428
+ },
429
+ {
430
+ internalType: "bytes32",
431
+ name: "actual",
432
+ type: "bytes32",
433
+ },
434
+ ],
435
+ name: "OPP_PayloadChecksumMismatch",
436
+ type: "error",
437
+ },
438
+ {
439
+ inputs: [
440
+ {
441
+ internalType: "uint256",
442
+ name: "stack",
443
+ type: "uint256",
444
+ },
445
+ ],
446
+ name: "OPP_SendStackError",
447
+ type: "error",
448
+ },
449
+ {
450
+ inputs: [
451
+ {
452
+ internalType: "address",
453
+ name: "sender",
454
+ type: "address",
455
+ },
456
+ {
457
+ internalType: "AttestationType",
458
+ name: "attestationType",
459
+ type: "uint16",
460
+ },
461
+ ],
462
+ name: "OPP_UnauthorizedAttestationType",
463
+ type: "error",
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ internalType: "uint256",
469
+ name: "expectedChainId",
470
+ type: "uint256",
471
+ },
472
+ {
473
+ internalType: "ChainKind",
474
+ name: "actualKind",
475
+ type: "uint8",
476
+ },
477
+ {
478
+ internalType: "uint32",
479
+ name: "actualId",
480
+ type: "uint32",
481
+ },
482
+ ],
483
+ name: "OPP_WrongDestinationChain",
484
+ type: "error",
485
+ },
486
+ {
487
+ inputs: [],
488
+ name: "OPP_ZeroTag",
489
+ type: "error",
490
+ },
491
+ {
492
+ inputs: [],
493
+ name: "UUPSUnauthorizedCallContext",
494
+ type: "error",
495
+ },
496
+ {
497
+ inputs: [
498
+ {
499
+ internalType: "bytes32",
500
+ name: "slot",
501
+ type: "bytes32",
502
+ },
503
+ ],
504
+ name: "UUPSUnsupportedProxiableUUID",
505
+ type: "error",
506
+ },
507
+ {
508
+ anonymous: false,
509
+ inputs: [
510
+ {
511
+ indexed: false,
512
+ internalType: "address",
513
+ name: "authority",
514
+ type: "address",
515
+ },
516
+ ],
517
+ name: "AuthorityUpdated",
518
+ type: "event",
519
+ },
520
+ {
521
+ anonymous: false,
522
+ inputs: [
523
+ {
524
+ indexed: true,
525
+ internalType: "uint32",
526
+ name: "epochIndex",
527
+ type: "uint32",
528
+ },
529
+ ],
530
+ name: "EnvelopeRetentionCatchUpPruned",
531
+ type: "event",
532
+ },
533
+ {
534
+ anonymous: false,
535
+ inputs: [
536
+ {
537
+ indexed: false,
538
+ internalType: "uint32",
539
+ name: "previousRetentionEpochs",
540
+ type: "uint32",
541
+ },
542
+ {
543
+ indexed: false,
544
+ internalType: "uint32",
545
+ name: "retentionEpochs",
546
+ type: "uint32",
547
+ },
548
+ ],
549
+ name: "EnvelopeRetentionConfigUpdated",
550
+ type: "event",
551
+ },
552
+ {
553
+ anonymous: false,
554
+ inputs: [
555
+ {
556
+ indexed: false,
557
+ internalType: "uint64",
558
+ name: "version",
559
+ type: "uint64",
560
+ },
561
+ ],
562
+ name: "Initialized",
563
+ type: "event",
564
+ },
565
+ {
566
+ anonymous: false,
567
+ inputs: [
568
+ {
569
+ indexed: false,
570
+ internalType: "bytes",
571
+ name: "data",
572
+ type: "bytes",
573
+ },
574
+ ],
575
+ name: "OPPEnvelope",
576
+ type: "event",
577
+ },
578
+ {
579
+ anonymous: false,
580
+ inputs: [
581
+ {
582
+ indexed: true,
583
+ internalType: "address",
584
+ name: "implementation",
585
+ type: "address",
586
+ },
587
+ ],
588
+ name: "Upgraded",
589
+ type: "event",
590
+ },
591
+ {
592
+ inputs: [],
593
+ name: "ENVELOPE_BASE_BYTES",
594
+ outputs: [
595
+ {
596
+ internalType: "uint256",
597
+ name: "",
598
+ type: "uint256",
599
+ },
600
+ ],
601
+ stateMutability: "view",
602
+ type: "function",
603
+ },
604
+ {
605
+ inputs: [],
606
+ name: "MAX_CHUNK_BYTES",
607
+ outputs: [
608
+ {
609
+ internalType: "uint32",
610
+ name: "",
611
+ type: "uint32",
612
+ },
613
+ ],
614
+ stateMutability: "view",
615
+ type: "function",
616
+ },
617
+ {
618
+ inputs: [],
619
+ name: "MAX_ENVELOPE_BYTES",
620
+ outputs: [
621
+ {
622
+ internalType: "uint256",
623
+ name: "",
624
+ type: "uint256",
625
+ },
626
+ ],
627
+ stateMutability: "view",
628
+ type: "function",
629
+ },
630
+ {
631
+ inputs: [],
632
+ name: "MESSAGE_ESTIMATE_OVERHEAD_BYTES",
633
+ outputs: [
634
+ {
635
+ internalType: "uint256",
636
+ name: "",
637
+ type: "uint256",
638
+ },
639
+ ],
640
+ stateMutability: "view",
641
+ type: "function",
642
+ },
643
+ {
644
+ inputs: [],
645
+ name: "OUTBOUND_WORD_COUNT",
646
+ outputs: [
647
+ {
648
+ internalType: "uint256",
649
+ name: "",
650
+ type: "uint256",
651
+ },
652
+ ],
653
+ stateMutability: "view",
654
+ type: "function",
655
+ },
656
+ {
657
+ inputs: [],
658
+ name: "UPGRADE_INTERFACE_VERSION",
659
+ outputs: [
660
+ {
661
+ internalType: "string",
662
+ name: "",
663
+ type: "string",
664
+ },
665
+ ],
666
+ stateMutability: "view",
667
+ type: "function",
668
+ },
669
+ {
670
+ inputs: [
671
+ {
672
+ internalType: "AttestationType",
673
+ name: "attestationType",
674
+ type: "uint16",
675
+ },
676
+ {
677
+ internalType: "bytes",
678
+ name: "data",
679
+ type: "bytes",
680
+ },
681
+ ],
682
+ name: "addAttestation",
683
+ outputs: [],
684
+ stateMutability: "nonpayable",
685
+ type: "function",
686
+ },
687
+ {
688
+ inputs: [
689
+ {
690
+ internalType: "uint256",
691
+ name: "",
692
+ type: "uint256",
693
+ },
694
+ ],
695
+ name: "allAuthorizedSenders",
696
+ outputs: [
697
+ {
698
+ internalType: "address",
699
+ name: "",
700
+ type: "address",
701
+ },
702
+ ],
703
+ stateMutability: "view",
704
+ type: "function",
705
+ },
706
+ {
707
+ inputs: [],
708
+ name: "authority",
709
+ outputs: [
710
+ {
711
+ internalType: "address",
712
+ name: "",
713
+ type: "address",
714
+ },
715
+ ],
716
+ stateMutability: "view",
717
+ type: "function",
718
+ },
719
+ {
720
+ inputs: [
721
+ {
722
+ internalType: "bytes32",
723
+ name: "",
724
+ type: "bytes32",
725
+ },
726
+ ],
727
+ name: "authorizedSenders",
728
+ outputs: [
729
+ {
730
+ internalType: "bool",
731
+ name: "",
732
+ type: "bool",
733
+ },
734
+ ],
735
+ stateMutability: "view",
736
+ type: "function",
737
+ },
738
+ {
739
+ inputs: [
740
+ {
741
+ internalType: "uint32",
742
+ name: "wireEpochIndex",
743
+ type: "uint32",
744
+ },
745
+ ],
746
+ name: "emitOutboundEnvelope",
747
+ outputs: [],
748
+ stateMutability: "nonpayable",
749
+ type: "function",
750
+ },
751
+ {
752
+ inputs: [
753
+ {
754
+ internalType: "uint256",
755
+ name: "tag",
756
+ type: "uint256",
757
+ },
758
+ ],
759
+ name: "enterSendMode",
760
+ outputs: [],
761
+ stateMutability: "nonpayable",
762
+ type: "function",
763
+ },
764
+ {
765
+ inputs: [
766
+ {
767
+ internalType: "uint256",
768
+ name: "tag",
769
+ type: "uint256",
770
+ },
771
+ ],
772
+ name: "exitSendMode",
773
+ outputs: [],
774
+ stateMutability: "nonpayable",
775
+ type: "function",
776
+ },
777
+ {
778
+ inputs: [],
779
+ name: "getLatestOutboundEnvelope",
780
+ outputs: [
781
+ {
782
+ internalType: "uint32",
783
+ name: "epoch_",
784
+ type: "uint32",
785
+ },
786
+ {
787
+ internalType: "bytes",
788
+ name: "data_",
789
+ type: "bytes",
790
+ },
791
+ ],
792
+ stateMutability: "view",
793
+ type: "function",
794
+ },
795
+ {
796
+ inputs: [
797
+ {
798
+ internalType: "uint32",
799
+ name: "epochIndex_",
800
+ type: "uint32",
801
+ },
802
+ ],
803
+ name: "getOutboundEnvelope",
804
+ outputs: [
805
+ {
806
+ components: [
807
+ {
808
+ internalType: "uint32",
809
+ name: "epochIndex",
810
+ type: "uint32",
811
+ },
812
+ {
813
+ internalType: "uint64",
814
+ name: "emittedAt",
815
+ type: "uint64",
816
+ },
817
+ {
818
+ internalType: "bytes32",
819
+ name: "checksum",
820
+ type: "bytes32",
821
+ },
822
+ ],
823
+ internalType: "struct OPPEnvelopeRetention.EnvelopeRecord",
824
+ name: "",
825
+ type: "tuple",
826
+ },
827
+ ],
828
+ stateMutability: "view",
829
+ type: "function",
830
+ },
831
+ {
832
+ inputs: [],
833
+ name: "inSendMode",
834
+ outputs: [
835
+ {
836
+ internalType: "bool",
837
+ name: "",
838
+ type: "bool",
839
+ },
840
+ ],
841
+ stateMutability: "view",
842
+ type: "function",
843
+ },
844
+ {
845
+ inputs: [
846
+ {
847
+ internalType: "address",
848
+ name: "_authority",
849
+ type: "address",
850
+ },
851
+ ],
852
+ name: "initialize",
853
+ outputs: [],
854
+ stateMutability: "nonpayable",
855
+ type: "function",
856
+ },
857
+ {
858
+ inputs: [],
859
+ name: "initializeOutboundQueueBytes",
860
+ outputs: [],
861
+ stateMutability: "nonpayable",
862
+ type: "function",
863
+ },
864
+ {
865
+ inputs: [],
866
+ name: "isConsumingScheduledOp",
867
+ outputs: [
868
+ {
869
+ internalType: "bytes4",
870
+ name: "",
871
+ type: "bytes4",
872
+ },
873
+ ],
874
+ stateMutability: "view",
875
+ type: "function",
876
+ },
877
+ {
878
+ inputs: [],
879
+ name: "lastMessageID",
880
+ outputs: [
881
+ {
882
+ internalType: "bytes32",
883
+ name: "",
884
+ type: "bytes32",
885
+ },
886
+ ],
887
+ stateMutability: "view",
888
+ type: "function",
889
+ },
890
+ {
891
+ inputs: [],
892
+ name: "lastMessageTimestamp",
893
+ outputs: [
894
+ {
895
+ internalType: "uint64",
896
+ name: "",
897
+ type: "uint64",
898
+ },
899
+ ],
900
+ stateMutability: "view",
901
+ type: "function",
902
+ },
903
+ {
904
+ inputs: [],
905
+ name: "latestOutboundEpoch",
906
+ outputs: [
907
+ {
908
+ internalType: "uint32",
909
+ name: "",
910
+ type: "uint32",
911
+ },
912
+ ],
913
+ stateMutability: "view",
914
+ type: "function",
915
+ },
916
+ {
917
+ inputs: [],
918
+ name: "oppInboundAddress",
919
+ outputs: [
920
+ {
921
+ internalType: "address",
922
+ name: "",
923
+ type: "address",
924
+ },
925
+ ],
926
+ stateMutability: "view",
927
+ type: "function",
928
+ },
929
+ {
930
+ inputs: [
931
+ {
932
+ internalType: "uint32",
933
+ name: "",
934
+ type: "uint32",
935
+ },
936
+ ],
937
+ name: "outboundEnvelopes",
938
+ outputs: [
939
+ {
940
+ internalType: "uint32",
941
+ name: "epochIndex",
942
+ type: "uint32",
943
+ },
944
+ {
945
+ internalType: "uint64",
946
+ name: "emittedAt",
947
+ type: "uint64",
948
+ },
949
+ {
950
+ internalType: "bytes32",
951
+ name: "checksum",
952
+ type: "bytes32",
953
+ },
954
+ ],
955
+ stateMutability: "view",
956
+ type: "function",
957
+ },
958
+ {
959
+ inputs: [],
960
+ name: "outboundLen",
961
+ outputs: [
962
+ {
963
+ internalType: "uint32",
964
+ name: "",
965
+ type: "uint32",
966
+ },
967
+ ],
968
+ stateMutability: "view",
969
+ type: "function",
970
+ },
971
+ {
972
+ inputs: [],
973
+ name: "outboundRetentionConfig",
974
+ outputs: [
975
+ {
976
+ internalType: "uint32",
977
+ name: "retentionEpochs",
978
+ type: "uint32",
979
+ },
980
+ ],
981
+ stateMutability: "view",
982
+ type: "function",
983
+ },
984
+ {
985
+ inputs: [],
986
+ name: "pendingAttestationCount",
987
+ outputs: [
988
+ {
989
+ internalType: "uint256",
990
+ name: "",
991
+ type: "uint256",
992
+ },
993
+ ],
994
+ stateMutability: "view",
995
+ type: "function",
996
+ },
997
+ {
998
+ inputs: [
999
+ {
1000
+ internalType: "uint256",
1001
+ name: "fromWord",
1002
+ type: "uint256",
1003
+ },
1004
+ {
1005
+ internalType: "uint256",
1006
+ name: "toWord",
1007
+ type: "uint256",
1008
+ },
1009
+ ],
1010
+ name: "prewarmOutbound",
1011
+ outputs: [],
1012
+ stateMutability: "nonpayable",
1013
+ type: "function",
1014
+ },
1015
+ {
1016
+ inputs: [],
1017
+ name: "proxiableUUID",
1018
+ outputs: [
1019
+ {
1020
+ internalType: "bytes32",
1021
+ name: "",
1022
+ type: "bytes32",
1023
+ },
1024
+ ],
1025
+ stateMutability: "view",
1026
+ type: "function",
1027
+ },
1028
+ {
1029
+ inputs: [
1030
+ {
1031
+ internalType: "uint32",
1032
+ name: "epochIndex_",
1033
+ type: "uint32",
1034
+ },
1035
+ ],
1036
+ name: "pruneOutboundEnvelope",
1037
+ outputs: [],
1038
+ stateMutability: "nonpayable",
1039
+ type: "function",
1040
+ },
1041
+ {
1042
+ inputs: [],
1043
+ name: "queuedEstimatedBytes",
1044
+ outputs: [
1045
+ {
1046
+ internalType: "uint256",
1047
+ name: "",
1048
+ type: "uint256",
1049
+ },
1050
+ ],
1051
+ stateMutability: "view",
1052
+ type: "function",
1053
+ },
1054
+ {
1055
+ inputs: [],
1056
+ name: "queuedMessageCount",
1057
+ outputs: [
1058
+ {
1059
+ internalType: "uint256",
1060
+ name: "",
1061
+ type: "uint256",
1062
+ },
1063
+ ],
1064
+ stateMutability: "view",
1065
+ type: "function",
1066
+ },
1067
+ {
1068
+ inputs: [],
1069
+ name: "sendModeTag",
1070
+ outputs: [
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "",
1074
+ type: "uint256",
1075
+ },
1076
+ ],
1077
+ stateMutability: "view",
1078
+ type: "function",
1079
+ },
1080
+ {
1081
+ inputs: [
1082
+ {
1083
+ components: [
1084
+ {
1085
+ components: [
1086
+ {
1087
+ components: [
1088
+ {
1089
+ internalType: "ChainKind",
1090
+ name: "kind",
1091
+ type: "uint8",
1092
+ },
1093
+ {
1094
+ internalType: "uint32",
1095
+ name: "id",
1096
+ type: "uint32",
1097
+ },
1098
+ ],
1099
+ internalType: "struct ChainId",
1100
+ name: "start",
1101
+ type: "tuple",
1102
+ },
1103
+ {
1104
+ components: [
1105
+ {
1106
+ internalType: "ChainKind",
1107
+ name: "kind",
1108
+ type: "uint8",
1109
+ },
1110
+ {
1111
+ internalType: "uint32",
1112
+ name: "id",
1113
+ type: "uint32",
1114
+ },
1115
+ ],
1116
+ internalType: "struct ChainId",
1117
+ name: "end",
1118
+ type: "tuple",
1119
+ },
1120
+ ],
1121
+ internalType: "struct Endpoints",
1122
+ name: "endpoints",
1123
+ type: "tuple",
1124
+ },
1125
+ {
1126
+ internalType: "bytes",
1127
+ name: "messageId",
1128
+ type: "bytes",
1129
+ },
1130
+ {
1131
+ internalType: "bytes",
1132
+ name: "previousMessageId",
1133
+ type: "bytes",
1134
+ },
1135
+ {
1136
+ internalType: "uint32",
1137
+ name: "payloadSize",
1138
+ type: "uint32",
1139
+ },
1140
+ {
1141
+ internalType: "bytes",
1142
+ name: "payloadChecksum",
1143
+ type: "bytes",
1144
+ },
1145
+ {
1146
+ internalType: "uint64",
1147
+ name: "timestamp",
1148
+ type: "uint64",
1149
+ },
1150
+ {
1151
+ internalType: "bytes",
1152
+ name: "headerChecksum",
1153
+ type: "bytes",
1154
+ },
1155
+ ],
1156
+ internalType: "struct MessageHeader",
1157
+ name: "header",
1158
+ type: "tuple",
1159
+ },
1160
+ {
1161
+ components: [
1162
+ {
1163
+ internalType: "uint32",
1164
+ name: "version",
1165
+ type: "uint32",
1166
+ },
1167
+ {
1168
+ components: [
1169
+ {
1170
+ internalType: "AttestationType",
1171
+ name: "type_",
1172
+ type: "uint16",
1173
+ },
1174
+ {
1175
+ internalType: "uint32",
1176
+ name: "dataSize",
1177
+ type: "uint32",
1178
+ },
1179
+ {
1180
+ internalType: "bytes",
1181
+ name: "data",
1182
+ type: "bytes",
1183
+ },
1184
+ ],
1185
+ internalType: "struct AttestationEntry[]",
1186
+ name: "attestations",
1187
+ type: "tuple[]",
1188
+ },
1189
+ ],
1190
+ internalType: "struct MessagePayload",
1191
+ name: "payload",
1192
+ type: "tuple",
1193
+ },
1194
+ ],
1195
+ name: "serializeMessage",
1196
+ outputs: [
1197
+ {
1198
+ components: [
1199
+ {
1200
+ components: [
1201
+ {
1202
+ components: [
1203
+ {
1204
+ internalType: "ChainKind",
1205
+ name: "kind",
1206
+ type: "uint8",
1207
+ },
1208
+ {
1209
+ internalType: "uint32",
1210
+ name: "id",
1211
+ type: "uint32",
1212
+ },
1213
+ ],
1214
+ internalType: "struct ChainId",
1215
+ name: "start",
1216
+ type: "tuple",
1217
+ },
1218
+ {
1219
+ components: [
1220
+ {
1221
+ internalType: "ChainKind",
1222
+ name: "kind",
1223
+ type: "uint8",
1224
+ },
1225
+ {
1226
+ internalType: "uint32",
1227
+ name: "id",
1228
+ type: "uint32",
1229
+ },
1230
+ ],
1231
+ internalType: "struct ChainId",
1232
+ name: "end",
1233
+ type: "tuple",
1234
+ },
1235
+ ],
1236
+ internalType: "struct Endpoints",
1237
+ name: "endpoints",
1238
+ type: "tuple",
1239
+ },
1240
+ {
1241
+ internalType: "bytes",
1242
+ name: "messageId",
1243
+ type: "bytes",
1244
+ },
1245
+ {
1246
+ internalType: "bytes",
1247
+ name: "previousMessageId",
1248
+ type: "bytes",
1249
+ },
1250
+ {
1251
+ internalType: "uint32",
1252
+ name: "payloadSize",
1253
+ type: "uint32",
1254
+ },
1255
+ {
1256
+ internalType: "bytes",
1257
+ name: "payloadChecksum",
1258
+ type: "bytes",
1259
+ },
1260
+ {
1261
+ internalType: "uint64",
1262
+ name: "timestamp",
1263
+ type: "uint64",
1264
+ },
1265
+ {
1266
+ internalType: "bytes",
1267
+ name: "headerChecksum",
1268
+ type: "bytes",
1269
+ },
1270
+ ],
1271
+ internalType: "struct MessageHeader",
1272
+ name: "",
1273
+ type: "tuple",
1274
+ },
1275
+ ],
1276
+ stateMutability: "pure",
1277
+ type: "function",
1278
+ },
1279
+ {
1280
+ inputs: [
1281
+ {
1282
+ internalType: "address",
1283
+ name: "newAuthority",
1284
+ type: "address",
1285
+ },
1286
+ ],
1287
+ name: "setAuthority",
1288
+ outputs: [],
1289
+ stateMutability: "nonpayable",
1290
+ type: "function",
1291
+ },
1292
+ {
1293
+ inputs: [
1294
+ {
1295
+ internalType: "uint32",
1296
+ name: "retentionEpochs",
1297
+ type: "uint32",
1298
+ },
1299
+ ],
1300
+ name: "setEnvelopeRetentionConfig",
1301
+ outputs: [],
1302
+ stateMutability: "nonpayable",
1303
+ type: "function",
1304
+ },
1305
+ {
1306
+ inputs: [
1307
+ {
1308
+ internalType: "bool",
1309
+ name: "active",
1310
+ type: "bool",
1311
+ },
1312
+ ],
1313
+ name: "setInboundDispatch",
1314
+ outputs: [],
1315
+ stateMutability: "nonpayable",
1316
+ type: "function",
1317
+ },
1318
+ {
1319
+ inputs: [
1320
+ {
1321
+ internalType: "address",
1322
+ name: "oppInbound_",
1323
+ type: "address",
1324
+ },
1325
+ ],
1326
+ name: "setOPPInbound",
1327
+ outputs: [],
1328
+ stateMutability: "nonpayable",
1329
+ type: "function",
1330
+ },
1331
+ {
1332
+ inputs: [
1333
+ {
1334
+ internalType: "address",
1335
+ name: "newImplementation",
1336
+ type: "address",
1337
+ },
1338
+ {
1339
+ internalType: "bytes",
1340
+ name: "data",
1341
+ type: "bytes",
1342
+ },
1343
+ ],
1344
+ name: "upgradeToAndCall",
1345
+ outputs: [],
1346
+ stateMutability: "payable",
1347
+ type: "function",
1348
+ },
1349
+ ];
1350
+ export class OPP__factory {
1351
+ static abi = _abi;
1352
+ static createInterface() {
1353
+ return new Interface(_abi);
1354
+ }
1355
+ static connect(address, runner) {
1356
+ return new Contract(address, _abi, runner);
1357
+ }
1358
+ }