@wireio/outpost-ethereum-artifacts 0.2.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +1 -1
  2. package/abis/BAR.json +244 -182
  3. package/abis/OPP.json +127 -16
  4. package/abis/OPPInbound.json +343 -59
  5. package/lib/cjs/Manifest.d.ts +0 -34
  6. package/lib/cjs/Manifest.js +29 -181
  7. package/lib/cjs/contracts/BAR.d.ts +1 -9
  8. package/lib/cjs/contracts/OPPInbound.d.ts +139 -43
  9. package/lib/cjs/contracts/factories/BAR__factory.d.ts +188 -146
  10. package/lib/cjs/contracts/factories/BAR__factory.js +243 -181
  11. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +264 -48
  12. package/lib/cjs/contracts/factories/OPPInbound__factory.js +343 -59
  13. package/lib/cjs/contracts/factories/OPP__factory.d.ts +96 -12
  14. package/lib/cjs/contracts/factories/OPP__factory.js +127 -16
  15. package/lib/cjs/contracts/factories/index.d.ts +0 -2
  16. package/lib/cjs/contracts/factories/index.js +1 -5
  17. package/lib/cjs/contracts/index.d.ts +0 -4
  18. package/lib/cjs/contracts/index.js +1 -5
  19. package/lib/cjs/index.d.ts +0 -1
  20. package/lib/esm/Manifest.d.ts +0 -34
  21. package/lib/esm/Manifest.js +29 -181
  22. package/lib/esm/contracts/BAR.d.ts +1 -9
  23. package/lib/esm/contracts/OPPInbound.d.ts +139 -43
  24. package/lib/esm/contracts/factories/BAR__factory.d.ts +188 -146
  25. package/lib/esm/contracts/factories/BAR__factory.js +243 -181
  26. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +264 -48
  27. package/lib/esm/contracts/factories/OPPInbound__factory.js +343 -59
  28. package/lib/esm/contracts/factories/OPP__factory.d.ts +96 -12
  29. package/lib/esm/contracts/factories/OPP__factory.js +127 -16
  30. package/lib/esm/contracts/factories/index.d.ts +0 -2
  31. package/lib/esm/contracts/factories/index.js +0 -2
  32. package/lib/esm/contracts/index.d.ts +0 -4
  33. package/lib/esm/contracts/index.js +0 -2
  34. package/lib/esm/index.d.ts +0 -1
  35. package/manifest.json +29 -181
  36. package/package.json +1 -1
  37. package/runtime/BAR.bin +0 -0
  38. package/runtime/OPP.bin +0 -0
  39. package/runtime/OPPInbound.bin +0 -0
  40. package/abis/OperatorRegistry.json +0 -1978
  41. package/abis/ReserveManager.json +0 -2770
  42. package/lib/cjs/contracts/OperatorRegistry.d.ts +0 -592
  43. package/lib/cjs/contracts/OperatorRegistry.js +0 -2
  44. package/lib/cjs/contracts/ReserveManager.d.ts +0 -1138
  45. package/lib/cjs/contracts/ReserveManager.js +0 -2
  46. package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +0 -1517
  47. package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +0 -1991
  48. package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +0 -2146
  49. package/lib/cjs/contracts/factories/ReserveManager__factory.js +0 -2783
  50. package/lib/esm/contracts/OperatorRegistry.d.ts +0 -592
  51. package/lib/esm/contracts/OperatorRegistry.js +0 -1
  52. package/lib/esm/contracts/ReserveManager.d.ts +0 -1138
  53. package/lib/esm/contracts/ReserveManager.js +0 -1
  54. package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +0 -1517
  55. package/lib/esm/contracts/factories/OperatorRegistry__factory.js +0 -1987
  56. package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +0 -2146
  57. package/lib/esm/contracts/factories/ReserveManager__factory.js +0 -2779
  58. package/runtime/OperatorRegistry.bin +0 -0
  59. package/runtime/ReserveManager.bin +0 -0
@@ -61,6 +61,18 @@ export declare class BAR__factory {
61
61
  readonly inputs: readonly [];
62
62
  readonly name: "NotInitializing";
63
63
  readonly type: "error";
64
+ }, {
65
+ readonly inputs: readonly [{
66
+ readonly internalType: "uint32";
67
+ readonly name: "nextEpochIndex";
68
+ readonly type: "uint32";
69
+ }, {
70
+ readonly internalType: "uint32";
71
+ readonly name: "deliveries";
72
+ readonly type: "uint32";
73
+ }];
74
+ readonly name: "OPP_BootstrapWindowClosed";
75
+ readonly type: "error";
64
76
  }, {
65
77
  readonly inputs: readonly [{
66
78
  readonly internalType: "address";
@@ -173,18 +185,6 @@ export declare class BAR__factory {
173
185
  }];
174
186
  readonly name: "OPP_InboundEnvelopeStillInRetention";
175
187
  readonly type: "error";
176
- }, {
177
- readonly inputs: readonly [{
178
- readonly internalType: "uint256";
179
- readonly name: "required";
180
- readonly type: "uint256";
181
- }, {
182
- readonly internalType: "uint256";
183
- readonly name: "provided";
184
- readonly type: "uint256";
185
- }];
186
- readonly name: "OPP_InsufficientSignatureWeight";
187
- readonly type: "error";
188
188
  }, {
189
189
  readonly inputs: readonly [{
190
190
  readonly internalType: "uint16";
@@ -197,6 +197,14 @@ export declare class BAR__factory {
197
197
  }];
198
198
  readonly name: "OPP_InvalidChunkCount";
199
199
  readonly type: "error";
200
+ }, {
201
+ readonly inputs: readonly [{
202
+ readonly internalType: "string";
203
+ readonly name: "reason";
204
+ readonly type: "string";
205
+ }];
206
+ readonly name: "OPP_InvalidInitialRoster";
207
+ readonly type: "error";
200
208
  }, {
201
209
  readonly inputs: readonly [{
202
210
  readonly internalType: "address";
@@ -213,6 +221,22 @@ export declare class BAR__factory {
213
221
  readonly inputs: readonly [];
214
222
  readonly name: "OPP_InvalidRetentionConfig";
215
223
  readonly type: "error";
224
+ }, {
225
+ readonly inputs: readonly [{
226
+ readonly internalType: "uint256";
227
+ readonly name: "index";
228
+ readonly type: "uint256";
229
+ }, {
230
+ readonly internalType: "bytes32";
231
+ readonly name: "expected";
232
+ readonly type: "bytes32";
233
+ }, {
234
+ readonly internalType: "bytes32";
235
+ readonly name: "actual";
236
+ readonly type: "bytes32";
237
+ }];
238
+ readonly name: "OPP_MessageChainMismatch";
239
+ readonly type: "error";
216
240
  }, {
217
241
  readonly inputs: readonly [{
218
242
  readonly internalType: "bytes";
@@ -241,6 +265,18 @@ export declare class BAR__factory {
241
265
  readonly inputs: readonly [];
242
266
  readonly name: "OPP_NoPendingAttestations";
243
267
  readonly type: "error";
268
+ }, {
269
+ readonly inputs: readonly [{
270
+ readonly internalType: "uint256";
271
+ readonly name: "index";
272
+ readonly type: "uint256";
273
+ }, {
274
+ readonly internalType: "bytes";
275
+ readonly name: "messageId";
276
+ readonly type: "bytes";
277
+ }];
278
+ readonly name: "OPP_NonCanonicalMessageId";
279
+ readonly type: "error";
244
280
  }, {
245
281
  readonly inputs: readonly [{
246
282
  readonly internalType: "bytes";
@@ -249,6 +285,18 @@ export declare class BAR__factory {
249
285
  }];
250
286
  readonly name: "OPP_NonCanonicalPreviousEpochHash";
251
287
  readonly type: "error";
288
+ }, {
289
+ readonly inputs: readonly [{
290
+ readonly internalType: "uint256";
291
+ readonly name: "index";
292
+ readonly type: "uint256";
293
+ }, {
294
+ readonly internalType: "bytes";
295
+ readonly name: "previousMessageId";
296
+ readonly type: "bytes";
297
+ }];
298
+ readonly name: "OPP_NonCanonicalPreviousMessageId";
299
+ readonly type: "error";
252
300
  }, {
253
301
  readonly inputs: readonly [{
254
302
  readonly internalType: "uint32";
@@ -261,6 +309,22 @@ export declare class BAR__factory {
261
309
  }];
262
310
  readonly name: "OPP_NonSequentialEpoch";
263
311
  readonly type: "error";
312
+ }, {
313
+ readonly inputs: readonly [{
314
+ readonly internalType: "uint256";
315
+ readonly name: "index";
316
+ readonly type: "uint256";
317
+ }, {
318
+ readonly internalType: "uint256";
319
+ readonly name: "expected";
320
+ readonly type: "uint256";
321
+ }, {
322
+ readonly internalType: "uint256";
323
+ readonly name: "actual";
324
+ readonly type: "uint256";
325
+ }];
326
+ readonly name: "OPP_NonSequentialMessage";
327
+ readonly type: "error";
264
328
  }, {
265
329
  readonly inputs: readonly [{
266
330
  readonly internalType: "address";
@@ -345,6 +409,26 @@ export declare class BAR__factory {
345
409
  }];
346
410
  readonly name: "OPP_UnauthorizedAttestationType";
347
411
  readonly type: "error";
412
+ }, {
413
+ readonly inputs: readonly [{
414
+ readonly internalType: "uint32";
415
+ readonly name: "epochIndex";
416
+ readonly type: "uint32";
417
+ }, {
418
+ readonly internalType: "uint32";
419
+ readonly name: "rosterEpochIndex";
420
+ readonly type: "uint32";
421
+ }, {
422
+ readonly internalType: "uint32";
423
+ readonly name: "activeGroupIndex";
424
+ readonly type: "uint32";
425
+ }, {
426
+ readonly internalType: "uint32";
427
+ readonly name: "groupCount";
428
+ readonly type: "uint32";
429
+ }];
430
+ readonly name: "OPP_UnmappedEpochGroup";
431
+ readonly type: "error";
348
432
  }, {
349
433
  readonly inputs: readonly [{
350
434
  readonly internalType: "uint256";
@@ -377,6 +461,30 @@ export declare class BAR__factory {
377
461
  }];
378
462
  readonly name: "UUPSUnsupportedProxiableUUID";
379
463
  readonly type: "error";
464
+ }, {
465
+ readonly inputs: readonly [{
466
+ readonly internalType: "uint256";
467
+ readonly name: "nativeAmount";
468
+ readonly type: "uint256";
469
+ }, {
470
+ readonly internalType: "uint8";
471
+ readonly name: "nativePrecision";
472
+ readonly type: "uint8";
473
+ }];
474
+ readonly name: "WIRE_AmountBelowDepotUnit";
475
+ readonly type: "error";
476
+ }, {
477
+ readonly inputs: readonly [{
478
+ readonly internalType: "uint256";
479
+ readonly name: "provided";
480
+ readonly type: "uint256";
481
+ }, {
482
+ readonly internalType: "uint256";
483
+ readonly name: "maximum";
484
+ readonly type: "uint256";
485
+ }];
486
+ readonly name: "WIRE_AmountExceedsWireRange";
487
+ readonly type: "error";
380
488
  }, {
381
489
  readonly inputs: readonly [{
382
490
  readonly internalType: "string";
@@ -413,14 +521,6 @@ export declare class BAR__factory {
413
521
  }];
414
522
  readonly name: "WIRE_DepositorKeyMismatch";
415
523
  readonly type: "error";
416
- }, {
417
- readonly inputs: readonly [];
418
- readonly name: "WIRE_Erc20DepositValueNonZero";
419
- readonly type: "error";
420
- }, {
421
- readonly inputs: readonly [];
422
- readonly name: "WIRE_Erc20TransferFailed";
423
- readonly type: "error";
424
524
  }, {
425
525
  readonly inputs: readonly [{
426
526
  readonly internalType: "address";
@@ -433,17 +533,21 @@ export declare class BAR__factory {
433
533
  }];
434
534
  readonly name: "WIRE_EthSendFailed";
435
535
  readonly type: "error";
536
+ }, {
537
+ readonly inputs: readonly [];
538
+ readonly name: "WIRE_GoLiveInProgress";
539
+ readonly type: "error";
436
540
  }, {
437
541
  readonly inputs: readonly [{
438
542
  readonly internalType: "uint64";
439
- readonly name: "tokenCode";
543
+ readonly name: "initialPrincipal";
544
+ readonly type: "uint64";
545
+ }, {
546
+ readonly internalType: "uint64";
547
+ readonly name: "balanceDepot";
440
548
  readonly type: "uint64";
441
549
  }];
442
- readonly name: "WIRE_FeeOnTransferUnsupported";
443
- readonly type: "error";
444
- }, {
445
- readonly inputs: readonly [];
446
- readonly name: "WIRE_GoLiveInProgress";
550
+ readonly name: "WIRE_InitialPrincipalExceedsBalance";
447
551
  readonly type: "error";
448
552
  }, {
449
553
  readonly inputs: readonly [{
@@ -515,11 +619,7 @@ export declare class BAR__factory {
515
619
  readonly type: "error";
516
620
  }, {
517
621
  readonly inputs: readonly [];
518
- readonly name: "WIRE_MultipleNativeTrackedCodes";
519
- readonly type: "error";
520
- }, {
521
- readonly inputs: readonly [];
522
- readonly name: "WIRE_NativeDepositValueMismatch";
622
+ readonly name: "WIRE_LiqTokenCodeUnset";
523
623
  readonly type: "error";
524
624
  }, {
525
625
  readonly inputs: readonly [{
@@ -533,6 +633,14 @@ export declare class BAR__factory {
533
633
  }];
534
634
  readonly name: "WIRE_NoBonds";
535
635
  readonly type: "error";
636
+ }, {
637
+ readonly inputs: readonly [{
638
+ readonly internalType: "uint64";
639
+ readonly name: "requestId";
640
+ readonly type: "uint64";
641
+ }];
642
+ readonly name: "WIRE_NoPendingDesyndication";
643
+ readonly type: "error";
536
644
  }, {
537
645
  readonly inputs: readonly [];
538
646
  readonly name: "WIRE_NoPricesRecorded";
@@ -557,10 +665,6 @@ export declare class BAR__factory {
557
665
  }];
558
666
  readonly name: "WIRE_NodeTokenNotOwned";
559
667
  readonly type: "error";
560
- }, {
561
- readonly inputs: readonly [];
562
- readonly name: "WIRE_NonCanonicalUnderwriteIntentCommit";
563
- readonly type: "error";
564
668
  }, {
565
669
  readonly inputs: readonly [{
566
670
  readonly internalType: "uint256";
@@ -577,6 +681,10 @@ export declare class BAR__factory {
577
681
  }];
578
682
  readonly name: "WIRE_NotReceiptOwner";
579
683
  readonly type: "error";
684
+ }, {
685
+ readonly inputs: readonly [];
686
+ readonly name: "WIRE_OneWayToggle";
687
+ readonly type: "error";
580
688
  }, {
581
689
  readonly inputs: readonly [{
582
690
  readonly internalType: "address";
@@ -587,23 +695,39 @@ export declare class BAR__factory {
587
695
  readonly type: "error";
588
696
  }, {
589
697
  readonly inputs: readonly [];
590
- readonly name: "WIRE_OppInboundCallerUnauthorized";
698
+ readonly name: "WIRE_OutpostChainCodeUnset";
591
699
  readonly type: "error";
592
700
  }, {
593
- readonly inputs: readonly [];
594
- readonly name: "WIRE_OutpostChainCodeUnset";
701
+ readonly inputs: readonly [{
702
+ readonly internalType: "uint64";
703
+ readonly name: "requestId";
704
+ readonly type: "uint64";
705
+ }, {
706
+ readonly internalType: "string";
707
+ readonly name: "reason";
708
+ readonly type: "string";
709
+ }];
710
+ readonly name: "WIRE_PendingDesyndicationUnpayable";
595
711
  readonly type: "error";
596
712
  }, {
597
713
  readonly inputs: readonly [{
598
- readonly internalType: "bytes";
599
- readonly name: "innerRevert";
600
- readonly type: "bytes";
714
+ readonly internalType: "uint64";
715
+ readonly name: "principal";
716
+ readonly type: "uint64";
601
717
  }];
602
- readonly name: "WIRE_PermitFailed";
718
+ readonly name: "WIRE_PoolHasPrincipal";
603
719
  readonly type: "error";
604
720
  }, {
605
- readonly inputs: readonly [];
606
- readonly name: "WIRE_PrecisionOverflow";
721
+ readonly inputs: readonly [{
722
+ readonly internalType: "uint64";
723
+ readonly name: "balanceDepot";
724
+ readonly type: "uint64";
725
+ }, {
726
+ readonly internalType: "uint64";
727
+ readonly name: "principal";
728
+ readonly type: "uint64";
729
+ }];
730
+ readonly name: "WIRE_PoolUnderbacked";
607
731
  readonly type: "error";
608
732
  }, {
609
733
  readonly inputs: readonly [{
@@ -645,57 +769,17 @@ export declare class BAR__factory {
645
769
  readonly inputs: readonly [];
646
770
  readonly name: "WIRE_RefundingOnly";
647
771
  readonly type: "error";
648
- }, {
649
- readonly inputs: readonly [];
650
- readonly name: "WIRE_ReserveAlreadyExists";
651
- readonly type: "error";
652
- }, {
653
- readonly inputs: readonly [];
654
- readonly name: "WIRE_ReserveBadParam";
655
- readonly type: "error";
656
- }, {
657
- readonly inputs: readonly [];
658
- readonly name: "WIRE_ReserveCancelNotCreator";
659
- readonly type: "error";
660
- }, {
661
- readonly inputs: readonly [];
662
- readonly name: "WIRE_ReserveNotCancellable";
663
- readonly type: "error";
664
- }, {
665
- readonly inputs: readonly [];
666
- readonly name: "WIRE_SwapEmptyRecipient";
667
- readonly type: "error";
668
- }, {
669
- readonly inputs: readonly [];
670
- readonly name: "WIRE_SwapIdenticalEndpoints";
671
- readonly type: "error";
672
- }, {
673
- readonly inputs: readonly [];
674
- readonly name: "WIRE_SwapSourceNotNative";
675
- readonly type: "error";
676
- }, {
677
- readonly inputs: readonly [];
678
- readonly name: "WIRE_SwapSourceReserveUnavailable";
679
- readonly type: "error";
680
772
  }, {
681
773
  readonly inputs: readonly [{
682
- readonly internalType: "uint64";
683
- readonly name: "tokenCode";
684
- readonly type: "uint64";
774
+ readonly internalType: "uint256";
775
+ readonly name: "amount";
776
+ readonly type: "uint256";
777
+ }, {
778
+ readonly internalType: "uint256";
779
+ readonly name: "maximum";
780
+ readonly type: "uint256";
685
781
  }];
686
- readonly name: "WIRE_SwapSourceTokenNotRegistered";
687
- readonly type: "error";
688
- }, {
689
- readonly inputs: readonly [];
690
- readonly name: "WIRE_SwapUnknownSlugName";
691
- readonly type: "error";
692
- }, {
693
- readonly inputs: readonly [];
694
- readonly name: "WIRE_SwapZeroSourceAmount";
695
- readonly type: "error";
696
- }, {
697
- readonly inputs: readonly [];
698
- readonly name: "WIRE_TokenAddressUnset";
782
+ readonly name: "WIRE_SyndicationAboveMaximum";
699
783
  readonly type: "error";
700
784
  }, {
701
785
  readonly inputs: readonly [{
@@ -713,50 +797,6 @@ export declare class BAR__factory {
713
797
  }];
714
798
  readonly name: "WIRE_TokenPrecisionUnset";
715
799
  readonly type: "error";
716
- }, {
717
- readonly inputs: readonly [];
718
- readonly name: "WIRE_TrackedCodeZero";
719
- readonly type: "error";
720
- }, {
721
- readonly inputs: readonly [{
722
- readonly internalType: "uint256";
723
- readonly name: "provided";
724
- readonly type: "uint256";
725
- }, {
726
- readonly internalType: "uint256";
727
- readonly name: "maximum";
728
- readonly type: "uint256";
729
- }];
730
- readonly name: "WIRE_UnderwriteIntentCommitTooLarge";
731
- readonly type: "error";
732
- }, {
733
- readonly inputs: readonly [{
734
- readonly internalType: "address";
735
- readonly name: "caller";
736
- readonly type: "address";
737
- }, {
738
- readonly internalType: "bytes32";
739
- readonly name: "accountKey";
740
- readonly type: "bytes32";
741
- }, {
742
- readonly internalType: "address";
743
- readonly name: "rosterAddress";
744
- readonly type: "address";
745
- }, {
746
- readonly internalType: "uint64";
747
- readonly name: "entryGeneration";
748
- readonly type: "uint64";
749
- }, {
750
- readonly internalType: "uint64";
751
- readonly name: "rosterGeneration";
752
- readonly type: "uint64";
753
- }];
754
- readonly name: "WIRE_UnderwriterAccountMismatch";
755
- readonly type: "error";
756
- }, {
757
- readonly inputs: readonly [];
758
- readonly name: "WIRE_UnderwriterExternalAddressMismatch";
759
- readonly type: "error";
760
800
  }, {
761
801
  readonly inputs: readonly [{
762
802
  readonly internalType: "string";
@@ -781,6 +821,18 @@ export declare class BAR__factory {
781
821
  readonly inputs: readonly [];
782
822
  readonly name: "WIRE_WireNodesContractNotSet";
783
823
  readonly type: "error";
824
+ }, {
825
+ readonly inputs: readonly [{
826
+ readonly internalType: "uint64";
827
+ readonly name: "delta";
828
+ readonly type: "uint64";
829
+ }, {
830
+ readonly internalType: "uint64";
831
+ readonly name: "deadband";
832
+ readonly type: "uint64";
833
+ }];
834
+ readonly name: "WIRE_YieldBelowDeadband";
835
+ readonly type: "error";
784
836
  }, {
785
837
  readonly inputs: readonly [];
786
838
  readonly name: "WIRE_ZeroAmount";
@@ -1010,16 +1062,6 @@ export declare class BAR__factory {
1010
1062
  }];
1011
1063
  readonly stateMutability: "view";
1012
1064
  readonly type: "function";
1013
- }, {
1014
- readonly inputs: readonly [{
1015
- readonly internalType: "address";
1016
- readonly name: "owner";
1017
- readonly type: "address";
1018
- }];
1019
- readonly name: "__OPPEndpointManaged_init";
1020
- readonly outputs: readonly [];
1021
- readonly stateMutability: "nonpayable";
1022
- readonly type: "function";
1023
1065
  }, {
1024
1066
  readonly inputs: readonly [];
1025
1067
  readonly name: "authority";