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