@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
@@ -1,2783 +0,0 @@
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.ReserveManager__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: "EnforcedPause",
77
- type: "error",
78
- },
79
- {
80
- inputs: [],
81
- name: "ExpectedPause",
82
- type: "error",
83
- },
84
- {
85
- inputs: [],
86
- name: "FailedCall",
87
- type: "error",
88
- },
89
- {
90
- inputs: [
91
- {
92
- internalType: "uint64",
93
- name: "raw",
94
- type: "uint64",
95
- },
96
- ],
97
- name: "InvalidEnumValue",
98
- type: "error",
99
- },
100
- {
101
- inputs: [],
102
- name: "InvalidInitialization",
103
- type: "error",
104
- },
105
- {
106
- inputs: [],
107
- name: "NotInitializing",
108
- type: "error",
109
- },
110
- {
111
- inputs: [
112
- {
113
- internalType: "address",
114
- name: "operator_",
115
- type: "address",
116
- },
117
- ],
118
- name: "OPP_ChunkBufferMissing",
119
- type: "error",
120
- },
121
- {
122
- inputs: [
123
- {
124
- internalType: "uint32",
125
- name: "epochIndex",
126
- type: "uint32",
127
- },
128
- ],
129
- name: "OPP_ChunkBufferShapeMismatch",
130
- type: "error",
131
- },
132
- {
133
- inputs: [
134
- {
135
- internalType: "uint16",
136
- name: "chunkIndex",
137
- type: "uint16",
138
- },
139
- {
140
- internalType: "uint16",
141
- name: "totalChunks",
142
- type: "uint16",
143
- },
144
- ],
145
- name: "OPP_ChunkIndexOutOfRange",
146
- type: "error",
147
- },
148
- {
149
- inputs: [
150
- {
151
- internalType: "uint16",
152
- name: "expected",
153
- type: "uint16",
154
- },
155
- {
156
- internalType: "uint16",
157
- name: "actual",
158
- type: "uint16",
159
- },
160
- ],
161
- name: "OPP_ChunkOutOfOrder",
162
- type: "error",
163
- },
164
- {
165
- inputs: [
166
- {
167
- internalType: "uint16",
168
- name: "chunkIndex",
169
- type: "uint16",
170
- },
171
- {
172
- internalType: "uint256",
173
- name: "expected",
174
- type: "uint256",
175
- },
176
- {
177
- internalType: "uint256",
178
- name: "actual",
179
- type: "uint256",
180
- },
181
- ],
182
- name: "OPP_ChunkSizeMismatch",
183
- type: "error",
184
- },
185
- {
186
- inputs: [
187
- {
188
- internalType: "uint32",
189
- name: "expected",
190
- type: "uint32",
191
- },
192
- {
193
- internalType: "uint32",
194
- name: "actual",
195
- type: "uint32",
196
- },
197
- ],
198
- name: "OPP_EnvelopeEpochMismatch",
199
- type: "error",
200
- },
201
- {
202
- inputs: [
203
- {
204
- internalType: "uint256",
205
- name: "actualBytes",
206
- type: "uint256",
207
- },
208
- {
209
- internalType: "uint256",
210
- name: "maxBytes",
211
- type: "uint256",
212
- },
213
- ],
214
- name: "OPP_EnvelopeOverCap",
215
- type: "error",
216
- },
217
- {
218
- inputs: [
219
- {
220
- internalType: "bytes32",
221
- name: "expected",
222
- type: "bytes32",
223
- },
224
- {
225
- internalType: "bytes32",
226
- name: "actual",
227
- type: "bytes32",
228
- },
229
- ],
230
- name: "OPP_EpochHashMismatch",
231
- type: "error",
232
- },
233
- {
234
- inputs: [
235
- {
236
- internalType: "uint32",
237
- name: "epochIndex",
238
- type: "uint32",
239
- },
240
- ],
241
- name: "OPP_InboundEnvelopeRecordMissing",
242
- type: "error",
243
- },
244
- {
245
- inputs: [
246
- {
247
- internalType: "uint32",
248
- name: "epochIndex",
249
- type: "uint32",
250
- },
251
- {
252
- internalType: "uint32",
253
- name: "evictBoundary",
254
- type: "uint32",
255
- },
256
- ],
257
- name: "OPP_InboundEnvelopeStillInRetention",
258
- type: "error",
259
- },
260
- {
261
- inputs: [
262
- {
263
- internalType: "uint256",
264
- name: "required",
265
- type: "uint256",
266
- },
267
- {
268
- internalType: "uint256",
269
- name: "provided",
270
- type: "uint256",
271
- },
272
- ],
273
- name: "OPP_InsufficientSignatureWeight",
274
- type: "error",
275
- },
276
- {
277
- inputs: [
278
- {
279
- internalType: "uint16",
280
- name: "expected",
281
- type: "uint16",
282
- },
283
- {
284
- internalType: "uint16",
285
- name: "actual",
286
- type: "uint16",
287
- },
288
- ],
289
- name: "OPP_InvalidChunkCount",
290
- type: "error",
291
- },
292
- {
293
- inputs: [
294
- {
295
- internalType: "address",
296
- name: "caller",
297
- type: "address",
298
- },
299
- {
300
- internalType: "address",
301
- name: "expected",
302
- type: "address",
303
- },
304
- ],
305
- name: "OPP_InvalidOPPAddress",
306
- type: "error",
307
- },
308
- {
309
- inputs: [],
310
- name: "OPP_InvalidRetentionConfig",
311
- type: "error",
312
- },
313
- {
314
- inputs: [
315
- {
316
- internalType: "bytes",
317
- name: "expected",
318
- type: "bytes",
319
- },
320
- {
321
- internalType: "bytes",
322
- name: "actual",
323
- type: "bytes",
324
- },
325
- ],
326
- name: "OPP_MessageIDMismatch",
327
- type: "error",
328
- },
329
- {
330
- inputs: [],
331
- name: "OPP_NoAttestationsSent",
332
- type: "error",
333
- },
334
- {
335
- inputs: [
336
- {
337
- internalType: "address",
338
- name: "operator_",
339
- type: "address",
340
- },
341
- ],
342
- name: "OPP_NoChunkSlot",
343
- type: "error",
344
- },
345
- {
346
- inputs: [],
347
- name: "OPP_NoPendingAttestations",
348
- type: "error",
349
- },
350
- {
351
- inputs: [
352
- {
353
- internalType: "bytes",
354
- name: "previousEnvelopeHash",
355
- type: "bytes",
356
- },
357
- ],
358
- name: "OPP_NonCanonicalPreviousEpochHash",
359
- type: "error",
360
- },
361
- {
362
- inputs: [
363
- {
364
- internalType: "uint32",
365
- name: "expected",
366
- type: "uint32",
367
- },
368
- {
369
- internalType: "uint32",
370
- name: "actual",
371
- type: "uint32",
372
- },
373
- ],
374
- name: "OPP_NonSequentialEpoch",
375
- type: "error",
376
- },
377
- {
378
- inputs: [
379
- {
380
- internalType: "address",
381
- name: "caller",
382
- type: "address",
383
- },
384
- ],
385
- name: "OPP_NotActiveOperator",
386
- type: "error",
387
- },
388
- {
389
- inputs: [],
390
- name: "OPP_NotSending",
391
- type: "error",
392
- },
393
- {
394
- inputs: [],
395
- name: "OPP_OPPAddressNotSet",
396
- type: "error",
397
- },
398
- {
399
- inputs: [
400
- {
401
- internalType: "uint32",
402
- name: "epochIndex",
403
- type: "uint32",
404
- },
405
- {
406
- internalType: "address",
407
- name: "caller",
408
- type: "address",
409
- },
410
- ],
411
- name: "OPP_OperatorAlreadyDelivered",
412
- type: "error",
413
- },
414
- {
415
- inputs: [
416
- {
417
- internalType: "uint256",
418
- name: "projectedEnvelopeBytes",
419
- type: "uint256",
420
- },
421
- {
422
- internalType: "uint256",
423
- name: "maxEnvelopeBytes",
424
- type: "uint256",
425
- },
426
- ],
427
- name: "OPP_OutboundMessageUnpackable",
428
- type: "error",
429
- },
430
- {
431
- inputs: [
432
- {
433
- internalType: "uint256",
434
- name: "projectedBytes",
435
- type: "uint256",
436
- },
437
- {
438
- internalType: "uint256",
439
- name: "maxBytes",
440
- type: "uint256",
441
- },
442
- ],
443
- name: "OPP_OutboundQueueFull",
444
- type: "error",
445
- },
446
- {
447
- inputs: [
448
- {
449
- internalType: "bytes32",
450
- name: "expected",
451
- type: "bytes32",
452
- },
453
- {
454
- internalType: "bytes32",
455
- name: "actual",
456
- type: "bytes32",
457
- },
458
- ],
459
- name: "OPP_PayloadChecksumMismatch",
460
- type: "error",
461
- },
462
- {
463
- inputs: [
464
- {
465
- internalType: "uint256",
466
- name: "stack",
467
- type: "uint256",
468
- },
469
- ],
470
- name: "OPP_SendStackError",
471
- type: "error",
472
- },
473
- {
474
- inputs: [
475
- {
476
- internalType: "address",
477
- name: "sender",
478
- type: "address",
479
- },
480
- {
481
- internalType: "AttestationType",
482
- name: "attestationType",
483
- type: "uint16",
484
- },
485
- ],
486
- name: "OPP_UnauthorizedAttestationType",
487
- type: "error",
488
- },
489
- {
490
- inputs: [
491
- {
492
- internalType: "uint256",
493
- name: "expectedChainId",
494
- type: "uint256",
495
- },
496
- {
497
- internalType: "ChainKind",
498
- name: "actualKind",
499
- type: "uint8",
500
- },
501
- {
502
- internalType: "uint32",
503
- name: "actualId",
504
- type: "uint32",
505
- },
506
- ],
507
- name: "OPP_WrongDestinationChain",
508
- type: "error",
509
- },
510
- {
511
- inputs: [],
512
- name: "OPP_ZeroTag",
513
- type: "error",
514
- },
515
- {
516
- inputs: [
517
- {
518
- internalType: "address",
519
- name: "token",
520
- type: "address",
521
- },
522
- ],
523
- name: "SafeERC20FailedOperation",
524
- type: "error",
525
- },
526
- {
527
- inputs: [],
528
- name: "UUPSUnauthorizedCallContext",
529
- type: "error",
530
- },
531
- {
532
- inputs: [
533
- {
534
- internalType: "bytes32",
535
- name: "slot",
536
- type: "bytes32",
537
- },
538
- ],
539
- name: "UUPSUnsupportedProxiableUUID",
540
- type: "error",
541
- },
542
- {
543
- inputs: [
544
- {
545
- internalType: "string",
546
- name: "name",
547
- type: "string",
548
- },
549
- {
550
- internalType: "address",
551
- name: "provided",
552
- type: "address",
553
- },
554
- ],
555
- name: "WIRE_BadContractAddress",
556
- type: "error",
557
- },
558
- {
559
- inputs: [
560
- {
561
- internalType: "uint256",
562
- name: "bps",
563
- type: "uint256",
564
- },
565
- {
566
- internalType: "uint256",
567
- name: "maxBps",
568
- type: "uint256",
569
- },
570
- ],
571
- name: "WIRE_BasisPointsTooHigh",
572
- type: "error",
573
- },
574
- {
575
- inputs: [
576
- {
577
- internalType: "address",
578
- name: "derived",
579
- type: "address",
580
- },
581
- {
582
- internalType: "address",
583
- name: "caller",
584
- type: "address",
585
- },
586
- ],
587
- name: "WIRE_DepositorKeyMismatch",
588
- type: "error",
589
- },
590
- {
591
- inputs: [],
592
- name: "WIRE_Erc20DepositValueNonZero",
593
- type: "error",
594
- },
595
- {
596
- inputs: [],
597
- name: "WIRE_Erc20TransferFailed",
598
- type: "error",
599
- },
600
- {
601
- inputs: [
602
- {
603
- internalType: "address",
604
- name: "to",
605
- type: "address",
606
- },
607
- {
608
- internalType: "uint256",
609
- name: "amount",
610
- type: "uint256",
611
- },
612
- ],
613
- name: "WIRE_EthSendFailed",
614
- type: "error",
615
- },
616
- {
617
- inputs: [
618
- {
619
- internalType: "uint64",
620
- name: "tokenCode",
621
- type: "uint64",
622
- },
623
- ],
624
- name: "WIRE_FeeOnTransferUnsupported",
625
- type: "error",
626
- },
627
- {
628
- inputs: [],
629
- name: "WIRE_GoLiveInProgress",
630
- type: "error",
631
- },
632
- {
633
- inputs: [
634
- {
635
- internalType: "uint256",
636
- name: "required",
637
- type: "uint256",
638
- },
639
- {
640
- internalType: "uint256",
641
- name: "available",
642
- type: "uint256",
643
- },
644
- ],
645
- name: "WIRE_InsufficientEthBalance",
646
- type: "error",
647
- },
648
- {
649
- inputs: [
650
- {
651
- internalType: "uint256",
652
- name: "length",
653
- type: "uint256",
654
- },
655
- ],
656
- name: "WIRE_InvalidDepositorKey",
657
- type: "error",
658
- },
659
- {
660
- inputs: [
661
- {
662
- internalType: "uint256",
663
- name: "tokenId",
664
- type: "uint256",
665
- },
666
- ],
667
- name: "WIRE_InvalidNodeTier",
668
- type: "error",
669
- },
670
- {
671
- inputs: [],
672
- name: "WIRE_InvalidPrice",
673
- type: "error",
674
- },
675
- {
676
- inputs: [
677
- {
678
- internalType: "string",
679
- name: "name",
680
- type: "string",
681
- },
682
- ],
683
- name: "WIRE_InvalidWireAccountName",
684
- type: "error",
685
- },
686
- {
687
- inputs: [
688
- {
689
- internalType: "WireKeyType",
690
- name: "keyType",
691
- type: "uint8",
692
- },
693
- {
694
- internalType: "uint256",
695
- name: "keyLength",
696
- type: "uint256",
697
- },
698
- ],
699
- name: "WIRE_InvalidWireKey",
700
- type: "error",
701
- },
702
- {
703
- inputs: [
704
- {
705
- internalType: "address",
706
- name: "from",
707
- type: "address",
708
- },
709
- {
710
- internalType: "address",
711
- name: "to",
712
- type: "address",
713
- },
714
- {
715
- internalType: "uint256",
716
- name: "amount",
717
- type: "uint256",
718
- },
719
- ],
720
- name: "WIRE_LiqEthTransferFailed",
721
- type: "error",
722
- },
723
- {
724
- inputs: [],
725
- name: "WIRE_MultipleNativeTrackedCodes",
726
- type: "error",
727
- },
728
- {
729
- inputs: [],
730
- name: "WIRE_NativeDepositValueMismatch",
731
- type: "error",
732
- },
733
- {
734
- inputs: [
735
- {
736
- internalType: "address",
737
- name: "actor",
738
- type: "address",
739
- },
740
- {
741
- internalType: "OperatorType",
742
- name: "operatorType",
743
- type: "uint8",
744
- },
745
- ],
746
- name: "WIRE_NoBonds",
747
- type: "error",
748
- },
749
- {
750
- inputs: [],
751
- name: "WIRE_NoPricesRecorded",
752
- type: "error",
753
- },
754
- {
755
- inputs: [],
756
- name: "WIRE_NoYield",
757
- type: "error",
758
- },
759
- {
760
- inputs: [
761
- {
762
- internalType: "address",
763
- name: "nftAddress",
764
- type: "address",
765
- },
766
- {
767
- internalType: "uint256",
768
- name: "tokenId",
769
- type: "uint256",
770
- },
771
- {
772
- internalType: "address",
773
- name: "caller",
774
- type: "address",
775
- },
776
- ],
777
- name: "WIRE_NodeTokenNotOwned",
778
- type: "error",
779
- },
780
- {
781
- inputs: [],
782
- name: "WIRE_NonCanonicalUnderwriteIntentCommit",
783
- type: "error",
784
- },
785
- {
786
- inputs: [
787
- {
788
- internalType: "uint256",
789
- name: "receiptId",
790
- type: "uint256",
791
- },
792
- {
793
- internalType: "address",
794
- name: "owner",
795
- type: "address",
796
- },
797
- {
798
- internalType: "address",
799
- name: "caller",
800
- type: "address",
801
- },
802
- ],
803
- name: "WIRE_NotReceiptOwner",
804
- type: "error",
805
- },
806
- {
807
- inputs: [
808
- {
809
- internalType: "address",
810
- name: "caller",
811
- type: "address",
812
- },
813
- ],
814
- name: "WIRE_OnlyOPPInboundLib",
815
- type: "error",
816
- },
817
- {
818
- inputs: [],
819
- name: "WIRE_OppInboundCallerUnauthorized",
820
- type: "error",
821
- },
822
- {
823
- inputs: [],
824
- name: "WIRE_OutpostChainCodeUnset",
825
- type: "error",
826
- },
827
- {
828
- inputs: [
829
- {
830
- internalType: "bytes",
831
- name: "innerRevert",
832
- type: "bytes",
833
- },
834
- ],
835
- name: "WIRE_PermitFailed",
836
- type: "error",
837
- },
838
- {
839
- inputs: [],
840
- name: "WIRE_PrecisionOverflow",
841
- type: "error",
842
- },
843
- {
844
- inputs: [
845
- {
846
- internalType: "uint64",
847
- name: "tokenCode",
848
- type: "uint64",
849
- },
850
- ],
851
- name: "WIRE_PrecisionUnsetForRefund",
852
- type: "error",
853
- },
854
- {
855
- inputs: [
856
- {
857
- internalType: "uint256",
858
- name: "price",
859
- type: "uint256",
860
- },
861
- {
862
- internalType: "uint256",
863
- name: "minPrice",
864
- type: "uint256",
865
- },
866
- {
867
- internalType: "uint256",
868
- name: "maxPrice",
869
- type: "uint256",
870
- },
871
- ],
872
- name: "WIRE_PriceOutOfBounds",
873
- type: "error",
874
- },
875
- {
876
- inputs: [
877
- {
878
- internalType: "uint256",
879
- name: "receiptId",
880
- type: "uint256",
881
- },
882
- ],
883
- name: "WIRE_ReceiptNotWithdrawable",
884
- type: "error",
885
- },
886
- {
887
- inputs: [],
888
- name: "WIRE_RefundingInProgress",
889
- type: "error",
890
- },
891
- {
892
- inputs: [],
893
- name: "WIRE_RefundingOnly",
894
- type: "error",
895
- },
896
- {
897
- inputs: [],
898
- name: "WIRE_ReserveAlreadyExists",
899
- type: "error",
900
- },
901
- {
902
- inputs: [],
903
- name: "WIRE_ReserveBadParam",
904
- type: "error",
905
- },
906
- {
907
- inputs: [],
908
- name: "WIRE_ReserveCancelNotCreator",
909
- type: "error",
910
- },
911
- {
912
- inputs: [],
913
- name: "WIRE_ReserveNotCancellable",
914
- type: "error",
915
- },
916
- {
917
- inputs: [],
918
- name: "WIRE_SwapEmptyRecipient",
919
- type: "error",
920
- },
921
- {
922
- inputs: [],
923
- name: "WIRE_SwapIdenticalEndpoints",
924
- type: "error",
925
- },
926
- {
927
- inputs: [],
928
- name: "WIRE_SwapSourceNotNative",
929
- type: "error",
930
- },
931
- {
932
- inputs: [],
933
- name: "WIRE_SwapSourceReserveUnavailable",
934
- type: "error",
935
- },
936
- {
937
- inputs: [
938
- {
939
- internalType: "uint64",
940
- name: "tokenCode",
941
- type: "uint64",
942
- },
943
- ],
944
- name: "WIRE_SwapSourceTokenNotRegistered",
945
- type: "error",
946
- },
947
- {
948
- inputs: [],
949
- name: "WIRE_SwapUnknownSlugName",
950
- type: "error",
951
- },
952
- {
953
- inputs: [],
954
- name: "WIRE_SwapZeroSourceAmount",
955
- type: "error",
956
- },
957
- {
958
- inputs: [],
959
- name: "WIRE_TokenAddressUnset",
960
- type: "error",
961
- },
962
- {
963
- inputs: [
964
- {
965
- internalType: "uint8",
966
- name: "provided",
967
- type: "uint8",
968
- },
969
- ],
970
- name: "WIRE_TokenPrecisionOutOfRange",
971
- type: "error",
972
- },
973
- {
974
- inputs: [
975
- {
976
- internalType: "uint64",
977
- name: "tokenCode",
978
- type: "uint64",
979
- },
980
- ],
981
- name: "WIRE_TokenPrecisionUnset",
982
- type: "error",
983
- },
984
- {
985
- inputs: [],
986
- name: "WIRE_TrackedCodeZero",
987
- type: "error",
988
- },
989
- {
990
- inputs: [
991
- {
992
- internalType: "uint256",
993
- name: "provided",
994
- type: "uint256",
995
- },
996
- {
997
- internalType: "uint256",
998
- name: "maximum",
999
- type: "uint256",
1000
- },
1001
- ],
1002
- name: "WIRE_UnderwriteIntentCommitTooLarge",
1003
- type: "error",
1004
- },
1005
- {
1006
- inputs: [
1007
- {
1008
- internalType: "address",
1009
- name: "caller",
1010
- type: "address",
1011
- },
1012
- {
1013
- internalType: "bytes32",
1014
- name: "accountKey",
1015
- type: "bytes32",
1016
- },
1017
- {
1018
- internalType: "address",
1019
- name: "rosterAddress",
1020
- type: "address",
1021
- },
1022
- {
1023
- internalType: "uint64",
1024
- name: "entryGeneration",
1025
- type: "uint64",
1026
- },
1027
- {
1028
- internalType: "uint64",
1029
- name: "rosterGeneration",
1030
- type: "uint64",
1031
- },
1032
- ],
1033
- name: "WIRE_UnderwriterAccountMismatch",
1034
- type: "error",
1035
- },
1036
- {
1037
- inputs: [],
1038
- name: "WIRE_UnderwriterExternalAddressMismatch",
1039
- type: "error",
1040
- },
1041
- {
1042
- inputs: [
1043
- {
1044
- internalType: "string",
1045
- name: "reason",
1046
- type: "string",
1047
- },
1048
- ],
1049
- name: "WIRE_UnexpectedError",
1050
- type: "error",
1051
- },
1052
- {
1053
- inputs: [
1054
- {
1055
- internalType: "address",
1056
- name: "token",
1057
- type: "address",
1058
- },
1059
- {
1060
- internalType: "address",
1061
- name: "operator",
1062
- type: "address",
1063
- },
1064
- ],
1065
- name: "WIRE_UnexpectedTokenDeposit",
1066
- type: "error",
1067
- },
1068
- {
1069
- inputs: [],
1070
- name: "WIRE_WireNodesContractNotSet",
1071
- type: "error",
1072
- },
1073
- {
1074
- inputs: [],
1075
- name: "WIRE_ZeroAmount",
1076
- type: "error",
1077
- },
1078
- {
1079
- anonymous: false,
1080
- inputs: [
1081
- {
1082
- indexed: false,
1083
- internalType: "address",
1084
- name: "authority",
1085
- type: "address",
1086
- },
1087
- ],
1088
- name: "AuthorityUpdated",
1089
- type: "event",
1090
- },
1091
- {
1092
- anonymous: false,
1093
- inputs: [],
1094
- name: "BalanceSheetEmitted",
1095
- type: "event",
1096
- },
1097
- {
1098
- anonymous: false,
1099
- inputs: [
1100
- {
1101
- indexed: false,
1102
- internalType: "uint64",
1103
- name: "tokenCode",
1104
- type: "uint64",
1105
- },
1106
- {
1107
- indexed: false,
1108
- internalType: "uint64",
1109
- name: "reserveCode",
1110
- type: "uint64",
1111
- },
1112
- {
1113
- indexed: true,
1114
- internalType: "address",
1115
- name: "from",
1116
- type: "address",
1117
- },
1118
- {
1119
- indexed: false,
1120
- internalType: "uint256",
1121
- name: "amount",
1122
- type: "uint256",
1123
- },
1124
- ],
1125
- name: "Deposited",
1126
- type: "event",
1127
- },
1128
- {
1129
- anonymous: false,
1130
- inputs: [
1131
- {
1132
- indexed: false,
1133
- internalType: "uint64",
1134
- name: "version",
1135
- type: "uint64",
1136
- },
1137
- ],
1138
- name: "Initialized",
1139
- type: "event",
1140
- },
1141
- {
1142
- anonymous: false,
1143
- inputs: [
1144
- {
1145
- indexed: false,
1146
- internalType: "uint64",
1147
- name: "chainCode",
1148
- type: "uint64",
1149
- },
1150
- ],
1151
- name: "OutpostChainCodeSet",
1152
- type: "event",
1153
- },
1154
- {
1155
- anonymous: false,
1156
- inputs: [
1157
- {
1158
- indexed: false,
1159
- internalType: "address",
1160
- name: "account",
1161
- type: "address",
1162
- },
1163
- ],
1164
- name: "Paused",
1165
- type: "event",
1166
- },
1167
- {
1168
- anonymous: false,
1169
- inputs: [
1170
- {
1171
- indexed: true,
1172
- internalType: "uint64",
1173
- name: "tokenCode",
1174
- type: "uint64",
1175
- },
1176
- {
1177
- indexed: true,
1178
- internalType: "uint64",
1179
- name: "reserveCode",
1180
- type: "uint64",
1181
- },
1182
- ],
1183
- name: "ReserveActivated",
1184
- type: "event",
1185
- },
1186
- {
1187
- anonymous: false,
1188
- inputs: [
1189
- {
1190
- indexed: true,
1191
- internalType: "uint64",
1192
- name: "tokenCode",
1193
- type: "uint64",
1194
- },
1195
- {
1196
- indexed: true,
1197
- internalType: "uint64",
1198
- name: "reserveCode",
1199
- type: "uint64",
1200
- },
1201
- {
1202
- indexed: true,
1203
- internalType: "address",
1204
- name: "creator",
1205
- type: "address",
1206
- },
1207
- ],
1208
- name: "ReserveCancelRequested",
1209
- type: "event",
1210
- },
1211
- {
1212
- anonymous: false,
1213
- inputs: [
1214
- {
1215
- indexed: true,
1216
- internalType: "uint64",
1217
- name: "tokenCode",
1218
- type: "uint64",
1219
- },
1220
- {
1221
- indexed: true,
1222
- internalType: "uint64",
1223
- name: "reserveCode",
1224
- type: "uint64",
1225
- },
1226
- {
1227
- indexed: true,
1228
- internalType: "address",
1229
- name: "creator",
1230
- type: "address",
1231
- },
1232
- {
1233
- indexed: false,
1234
- internalType: "uint256",
1235
- name: "refundedAmount",
1236
- type: "uint256",
1237
- },
1238
- ],
1239
- name: "ReserveCancelled",
1240
- type: "event",
1241
- },
1242
- {
1243
- anonymous: false,
1244
- inputs: [
1245
- {
1246
- indexed: true,
1247
- internalType: "uint64",
1248
- name: "tokenCode",
1249
- type: "uint64",
1250
- },
1251
- {
1252
- indexed: true,
1253
- internalType: "uint64",
1254
- name: "reserveCode",
1255
- type: "uint64",
1256
- },
1257
- {
1258
- indexed: true,
1259
- internalType: "address",
1260
- name: "creator",
1261
- type: "address",
1262
- },
1263
- {
1264
- indexed: false,
1265
- internalType: "uint256",
1266
- name: "externalTokenAmount",
1267
- type: "uint256",
1268
- },
1269
- {
1270
- indexed: false,
1271
- internalType: "uint64",
1272
- name: "requestedWireAmount",
1273
- type: "uint64",
1274
- },
1275
- {
1276
- indexed: false,
1277
- internalType: "uint32",
1278
- name: "connectorWeightBps",
1279
- type: "uint32",
1280
- },
1281
- ],
1282
- name: "ReserveCreateRequested",
1283
- type: "event",
1284
- },
1285
- {
1286
- anonymous: false,
1287
- inputs: [
1288
- {
1289
- indexed: true,
1290
- internalType: "uint64",
1291
- name: "id",
1292
- type: "uint64",
1293
- },
1294
- {
1295
- indexed: false,
1296
- internalType: "bytes32",
1297
- name: "hash",
1298
- type: "bytes32",
1299
- },
1300
- ],
1301
- name: "SwapDeposit",
1302
- type: "event",
1303
- },
1304
- {
1305
- anonymous: false,
1306
- inputs: [
1307
- {
1308
- indexed: true,
1309
- internalType: "address",
1310
- name: "recipient",
1311
- type: "address",
1312
- },
1313
- {
1314
- indexed: false,
1315
- internalType: "uint64",
1316
- name: "tokenCode",
1317
- type: "uint64",
1318
- },
1319
- {
1320
- indexed: false,
1321
- internalType: "uint64",
1322
- name: "reserveCode",
1323
- type: "uint64",
1324
- },
1325
- {
1326
- indexed: false,
1327
- internalType: "uint256",
1328
- name: "amount",
1329
- type: "uint256",
1330
- },
1331
- {
1332
- indexed: false,
1333
- internalType: "bytes32",
1334
- name: "originalMessageId",
1335
- type: "bytes32",
1336
- },
1337
- ],
1338
- name: "SwapRemitPaid",
1339
- type: "event",
1340
- },
1341
- {
1342
- anonymous: false,
1343
- inputs: [
1344
- {
1345
- indexed: false,
1346
- internalType: "uint64",
1347
- name: "tokenCode",
1348
- type: "uint64",
1349
- },
1350
- {
1351
- indexed: false,
1352
- internalType: "uint64",
1353
- name: "reserveCode",
1354
- type: "uint64",
1355
- },
1356
- {
1357
- indexed: false,
1358
- internalType: "uint64",
1359
- name: "depotAmount",
1360
- type: "uint64",
1361
- },
1362
- {
1363
- indexed: false,
1364
- internalType: "bytes32",
1365
- name: "originalId",
1366
- type: "bytes32",
1367
- },
1368
- {
1369
- indexed: false,
1370
- internalType: "string",
1371
- name: "reason",
1372
- type: "string",
1373
- },
1374
- ],
1375
- name: "SwapRemitUnpayable",
1376
- type: "event",
1377
- },
1378
- {
1379
- anonymous: false,
1380
- inputs: [
1381
- {
1382
- indexed: true,
1383
- internalType: "address",
1384
- name: "user",
1385
- type: "address",
1386
- },
1387
- {
1388
- indexed: false,
1389
- internalType: "uint64",
1390
- name: "sourceTokenCode",
1391
- type: "uint64",
1392
- },
1393
- {
1394
- indexed: false,
1395
- internalType: "uint64",
1396
- name: "sourceReserveCode",
1397
- type: "uint64",
1398
- },
1399
- {
1400
- indexed: false,
1401
- internalType: "uint256",
1402
- name: "sourceAmount",
1403
- type: "uint256",
1404
- },
1405
- {
1406
- indexed: false,
1407
- internalType: "uint64",
1408
- name: "targetChainCode",
1409
- type: "uint64",
1410
- },
1411
- {
1412
- indexed: false,
1413
- internalType: "uint64",
1414
- name: "targetTokenCode",
1415
- type: "uint64",
1416
- },
1417
- {
1418
- indexed: false,
1419
- internalType: "uint64",
1420
- name: "targetReserveCode",
1421
- type: "uint64",
1422
- },
1423
- {
1424
- indexed: false,
1425
- internalType: "bytes",
1426
- name: "targetRecipient",
1427
- type: "bytes",
1428
- },
1429
- {
1430
- indexed: false,
1431
- internalType: "uint64",
1432
- name: "targetAmount",
1433
- type: "uint64",
1434
- },
1435
- {
1436
- indexed: false,
1437
- internalType: "uint32",
1438
- name: "targetToleranceBps",
1439
- type: "uint32",
1440
- },
1441
- ],
1442
- name: "SwapRequested",
1443
- type: "event",
1444
- },
1445
- {
1446
- anonymous: false,
1447
- inputs: [
1448
- {
1449
- indexed: true,
1450
- internalType: "address",
1451
- name: "depositor",
1452
- type: "address",
1453
- },
1454
- {
1455
- indexed: false,
1456
- internalType: "uint64",
1457
- name: "tokenCode",
1458
- type: "uint64",
1459
- },
1460
- {
1461
- indexed: false,
1462
- internalType: "uint64",
1463
- name: "reserveCode",
1464
- type: "uint64",
1465
- },
1466
- {
1467
- indexed: false,
1468
- internalType: "uint256",
1469
- name: "amount",
1470
- type: "uint256",
1471
- },
1472
- {
1473
- indexed: false,
1474
- internalType: "string",
1475
- name: "amountUnit",
1476
- type: "string",
1477
- },
1478
- {
1479
- indexed: false,
1480
- internalType: "bytes32",
1481
- name: "originalSwapMessageId",
1482
- type: "bytes32",
1483
- },
1484
- {
1485
- indexed: false,
1486
- internalType: "bytes",
1487
- name: "errData",
1488
- type: "bytes",
1489
- },
1490
- ],
1491
- name: "SwapRevertError",
1492
- type: "event",
1493
- },
1494
- {
1495
- anonymous: false,
1496
- inputs: [
1497
- {
1498
- indexed: true,
1499
- internalType: "address",
1500
- name: "depositor",
1501
- type: "address",
1502
- },
1503
- {
1504
- indexed: false,
1505
- internalType: "uint64",
1506
- name: "tokenCode",
1507
- type: "uint64",
1508
- },
1509
- {
1510
- indexed: false,
1511
- internalType: "uint64",
1512
- name: "reserveCode",
1513
- type: "uint64",
1514
- },
1515
- {
1516
- indexed: false,
1517
- internalType: "uint256",
1518
- name: "amount",
1519
- type: "uint256",
1520
- },
1521
- {
1522
- indexed: false,
1523
- internalType: "bytes32",
1524
- name: "originalSwapMessageId",
1525
- type: "bytes32",
1526
- },
1527
- {
1528
- indexed: false,
1529
- internalType: "string",
1530
- name: "reason",
1531
- type: "string",
1532
- },
1533
- ],
1534
- name: "SwapReverted",
1535
- type: "event",
1536
- },
1537
- {
1538
- anonymous: false,
1539
- inputs: [
1540
- {
1541
- indexed: false,
1542
- internalType: "uint64",
1543
- name: "tokenCode",
1544
- type: "uint64",
1545
- },
1546
- {
1547
- indexed: false,
1548
- internalType: "address",
1549
- name: "addr",
1550
- type: "address",
1551
- },
1552
- ],
1553
- name: "TokenAddressSet",
1554
- type: "event",
1555
- },
1556
- {
1557
- anonymous: false,
1558
- inputs: [],
1559
- name: "TrackedCodesUpdated",
1560
- type: "event",
1561
- },
1562
- {
1563
- anonymous: false,
1564
- inputs: [
1565
- {
1566
- indexed: false,
1567
- internalType: "address",
1568
- name: "account",
1569
- type: "address",
1570
- },
1571
- ],
1572
- name: "Unpaused",
1573
- type: "event",
1574
- },
1575
- {
1576
- anonymous: false,
1577
- inputs: [
1578
- {
1579
- indexed: true,
1580
- internalType: "address",
1581
- name: "implementation",
1582
- type: "address",
1583
- },
1584
- ],
1585
- name: "Upgraded",
1586
- type: "event",
1587
- },
1588
- {
1589
- anonymous: false,
1590
- inputs: [
1591
- {
1592
- indexed: false,
1593
- internalType: "uint64",
1594
- name: "tokenCode",
1595
- type: "uint64",
1596
- },
1597
- {
1598
- indexed: false,
1599
- internalType: "uint64",
1600
- name: "reserveCode",
1601
- type: "uint64",
1602
- },
1603
- {
1604
- indexed: true,
1605
- internalType: "address",
1606
- name: "to",
1607
- type: "address",
1608
- },
1609
- {
1610
- indexed: false,
1611
- internalType: "uint256",
1612
- name: "amount",
1613
- type: "uint256",
1614
- },
1615
- ],
1616
- name: "Withdrawn",
1617
- type: "event",
1618
- },
1619
- {
1620
- inputs: [],
1621
- name: "BALANCE_SHEET_ATTESTATION",
1622
- outputs: [
1623
- {
1624
- internalType: "AttestationType",
1625
- name: "",
1626
- type: "uint16",
1627
- },
1628
- ],
1629
- stateMutability: "view",
1630
- type: "function",
1631
- },
1632
- {
1633
- inputs: [
1634
- {
1635
- internalType: "AttestationType",
1636
- name: "attestationType",
1637
- type: "uint16",
1638
- },
1639
- {
1640
- internalType: "bytes",
1641
- name: "data",
1642
- type: "bytes",
1643
- },
1644
- ],
1645
- name: "OPPAttestationIn",
1646
- outputs: [],
1647
- stateMutability: "nonpayable",
1648
- type: "function",
1649
- },
1650
- {
1651
- inputs: [],
1652
- name: "RESERVE_CREATE_ATTESTATION",
1653
- outputs: [
1654
- {
1655
- internalType: "AttestationType",
1656
- name: "",
1657
- type: "uint16",
1658
- },
1659
- ],
1660
- stateMutability: "view",
1661
- type: "function",
1662
- },
1663
- {
1664
- inputs: [],
1665
- name: "RESERVE_CREATE_CANCEL_ATTESTATION",
1666
- outputs: [
1667
- {
1668
- internalType: "AttestationType",
1669
- name: "",
1670
- type: "uint16",
1671
- },
1672
- ],
1673
- stateMutability: "view",
1674
- type: "function",
1675
- },
1676
- {
1677
- inputs: [],
1678
- name: "SWAP_REQUEST_ATTESTATION",
1679
- outputs: [
1680
- {
1681
- internalType: "AttestationType",
1682
- name: "",
1683
- type: "uint16",
1684
- },
1685
- ],
1686
- stateMutability: "view",
1687
- type: "function",
1688
- },
1689
- {
1690
- inputs: [],
1691
- name: "UPGRADE_INTERFACE_VERSION",
1692
- outputs: [
1693
- {
1694
- internalType: "string",
1695
- name: "",
1696
- type: "string",
1697
- },
1698
- ],
1699
- stateMutability: "view",
1700
- type: "function",
1701
- },
1702
- {
1703
- inputs: [
1704
- {
1705
- internalType: "address",
1706
- name: "owner",
1707
- type: "address",
1708
- },
1709
- ],
1710
- name: "__OPPEndpointManaged_init",
1711
- outputs: [],
1712
- stateMutability: "nonpayable",
1713
- type: "function",
1714
- },
1715
- {
1716
- inputs: [
1717
- {
1718
- internalType: "address",
1719
- name: "to",
1720
- type: "address",
1721
- },
1722
- {
1723
- internalType: "uint64",
1724
- name: "tokenCode",
1725
- type: "uint64",
1726
- },
1727
- {
1728
- internalType: "uint256",
1729
- name: "amount",
1730
- type: "uint256",
1731
- },
1732
- ],
1733
- name: "_payRemit",
1734
- outputs: [],
1735
- stateMutability: "nonpayable",
1736
- type: "function",
1737
- },
1738
- {
1739
- inputs: [],
1740
- name: "authority",
1741
- outputs: [
1742
- {
1743
- internalType: "address",
1744
- name: "",
1745
- type: "address",
1746
- },
1747
- ],
1748
- stateMutability: "view",
1749
- type: "function",
1750
- },
1751
- {
1752
- inputs: [
1753
- {
1754
- internalType: "uint64",
1755
- name: "tokenCode",
1756
- type: "uint64",
1757
- },
1758
- ],
1759
- name: "balanceOf",
1760
- outputs: [
1761
- {
1762
- internalType: "uint256",
1763
- name: "",
1764
- type: "uint256",
1765
- },
1766
- ],
1767
- stateMutability: "view",
1768
- type: "function",
1769
- },
1770
- {
1771
- inputs: [
1772
- {
1773
- internalType: "uint64",
1774
- name: "tokenCode",
1775
- type: "uint64",
1776
- },
1777
- {
1778
- internalType: "uint64",
1779
- name: "reserveCode",
1780
- type: "uint64",
1781
- },
1782
- ],
1783
- name: "cancel_create_reserve",
1784
- outputs: [],
1785
- stateMutability: "nonpayable",
1786
- type: "function",
1787
- },
1788
- {
1789
- inputs: [
1790
- {
1791
- internalType: "uint64",
1792
- name: "tokenCode",
1793
- type: "uint64",
1794
- },
1795
- {
1796
- internalType: "uint64",
1797
- name: "reserveCode",
1798
- type: "uint64",
1799
- },
1800
- {
1801
- internalType: "uint256",
1802
- name: "externalTokenAmount",
1803
- type: "uint256",
1804
- },
1805
- {
1806
- internalType: "uint64",
1807
- name: "requestedWireAmount",
1808
- type: "uint64",
1809
- },
1810
- {
1811
- internalType: "uint32",
1812
- name: "connectorWeightBps",
1813
- type: "uint32",
1814
- },
1815
- {
1816
- internalType: "string",
1817
- name: "name",
1818
- type: "string",
1819
- },
1820
- {
1821
- internalType: "string",
1822
- name: "description",
1823
- type: "string",
1824
- },
1825
- {
1826
- internalType: "bool",
1827
- name: "isPrivate",
1828
- type: "bool",
1829
- },
1830
- {
1831
- internalType: "bytes",
1832
- name: "creatorPubKey",
1833
- type: "bytes",
1834
- },
1835
- ],
1836
- name: "create_reserve",
1837
- outputs: [],
1838
- stateMutability: "payable",
1839
- type: "function",
1840
- },
1841
- {
1842
- inputs: [],
1843
- name: "emitBalanceSheet",
1844
- outputs: [],
1845
- stateMutability: "nonpayable",
1846
- type: "function",
1847
- },
1848
- {
1849
- inputs: [
1850
- {
1851
- internalType: "uint64",
1852
- name: "tokenCode",
1853
- type: "uint64",
1854
- },
1855
- {
1856
- internalType: "uint64",
1857
- name: "reserveCode",
1858
- type: "uint64",
1859
- },
1860
- ],
1861
- name: "getReserve",
1862
- outputs: [
1863
- {
1864
- components: [
1865
- {
1866
- internalType: "uint64",
1867
- name: "tokenCode",
1868
- type: "uint64",
1869
- },
1870
- {
1871
- internalType: "uint64",
1872
- name: "reserveCode",
1873
- type: "uint64",
1874
- },
1875
- {
1876
- internalType: "uint256",
1877
- name: "externalTokenAmount",
1878
- type: "uint256",
1879
- },
1880
- {
1881
- internalType: "uint64",
1882
- name: "requestedWireAmount",
1883
- type: "uint64",
1884
- },
1885
- {
1886
- internalType: "uint32",
1887
- name: "connectorWeightBps",
1888
- type: "uint32",
1889
- },
1890
- {
1891
- internalType: "enum ReserveManager.LocalReserveStatus",
1892
- name: "status",
1893
- type: "uint8",
1894
- },
1895
- {
1896
- internalType: "address",
1897
- name: "creator",
1898
- type: "address",
1899
- },
1900
- {
1901
- internalType: "bool",
1902
- name: "exists",
1903
- type: "bool",
1904
- },
1905
- ],
1906
- internalType: "struct ReserveManager.ReserveRecord",
1907
- name: "",
1908
- type: "tuple",
1909
- },
1910
- ],
1911
- stateMutability: "view",
1912
- type: "function",
1913
- },
1914
- {
1915
- inputs: [],
1916
- name: "getSummaryAttestations",
1917
- outputs: [
1918
- {
1919
- components: [
1920
- {
1921
- internalType: "AttestationType",
1922
- name: "type_",
1923
- type: "uint16",
1924
- },
1925
- {
1926
- internalType: "uint32",
1927
- name: "dataSize",
1928
- type: "uint32",
1929
- },
1930
- {
1931
- internalType: "bytes",
1932
- name: "data",
1933
- type: "bytes",
1934
- },
1935
- ],
1936
- internalType: "struct AttestationEntry[]",
1937
- name: "",
1938
- type: "tuple[]",
1939
- },
1940
- ],
1941
- stateMutability: "nonpayable",
1942
- type: "function",
1943
- },
1944
- {
1945
- inputs: [
1946
- {
1947
- internalType: "address",
1948
- name: "_authority",
1949
- type: "address",
1950
- },
1951
- ],
1952
- name: "initialize",
1953
- outputs: [],
1954
- stateMutability: "nonpayable",
1955
- type: "function",
1956
- },
1957
- {
1958
- inputs: [],
1959
- name: "isConsumingScheduledOp",
1960
- outputs: [
1961
- {
1962
- internalType: "bytes4",
1963
- name: "",
1964
- type: "bytes4",
1965
- },
1966
- ],
1967
- stateMutability: "view",
1968
- type: "function",
1969
- },
1970
- {
1971
- inputs: [],
1972
- name: "nativeTokenCode",
1973
- outputs: [
1974
- {
1975
- internalType: "uint64",
1976
- name: "",
1977
- type: "uint64",
1978
- },
1979
- ],
1980
- stateMutability: "view",
1981
- type: "function",
1982
- },
1983
- {
1984
- inputs: [
1985
- {
1986
- internalType: "uint64",
1987
- name: "chainCode",
1988
- type: "uint64",
1989
- },
1990
- {
1991
- internalType: "uint64",
1992
- name: "tokenCode",
1993
- type: "uint64",
1994
- },
1995
- {
1996
- internalType: "uint64",
1997
- name: "reserveCode",
1998
- type: "uint64",
1999
- },
2000
- ],
2001
- name: "onReserveCreateCancelled",
2002
- outputs: [],
2003
- stateMutability: "nonpayable",
2004
- type: "function",
2005
- },
2006
- {
2007
- inputs: [
2008
- {
2009
- internalType: "uint64",
2010
- name: "chainCode",
2011
- type: "uint64",
2012
- },
2013
- {
2014
- internalType: "uint64",
2015
- name: "tokenCode",
2016
- type: "uint64",
2017
- },
2018
- {
2019
- internalType: "uint64",
2020
- name: "reserveCode",
2021
- type: "uint64",
2022
- },
2023
- ],
2024
- name: "onReserveReady",
2025
- outputs: [],
2026
- stateMutability: "nonpayable",
2027
- type: "function",
2028
- },
2029
- {
2030
- inputs: [
2031
- {
2032
- internalType: "address",
2033
- name: "depositor",
2034
- type: "address",
2035
- },
2036
- {
2037
- internalType: "uint64",
2038
- name: "tokenCode",
2039
- type: "uint64",
2040
- },
2041
- {
2042
- internalType: "uint64",
2043
- name: "reserveCode",
2044
- type: "uint64",
2045
- },
2046
- {
2047
- internalType: "uint64",
2048
- name: "depotAmount",
2049
- type: "uint64",
2050
- },
2051
- {
2052
- internalType: "bytes32",
2053
- name: "originalSwapMessageId",
2054
- type: "bytes32",
2055
- },
2056
- {
2057
- internalType: "string",
2058
- name: "reason",
2059
- type: "string",
2060
- },
2061
- ],
2062
- name: "onSwapRevert",
2063
- outputs: [],
2064
- stateMutability: "nonpayable",
2065
- type: "function",
2066
- },
2067
- {
2068
- inputs: [],
2069
- name: "oppAddress",
2070
- outputs: [
2071
- {
2072
- internalType: "address",
2073
- name: "",
2074
- type: "address",
2075
- },
2076
- ],
2077
- stateMutability: "view",
2078
- type: "function",
2079
- },
2080
- {
2081
- inputs: [],
2082
- name: "oppInboundAddress",
2083
- outputs: [
2084
- {
2085
- internalType: "address",
2086
- name: "",
2087
- type: "address",
2088
- },
2089
- ],
2090
- stateMutability: "view",
2091
- type: "function",
2092
- },
2093
- {
2094
- inputs: [],
2095
- name: "outpostChainCode",
2096
- outputs: [
2097
- {
2098
- internalType: "uint64",
2099
- name: "",
2100
- type: "uint64",
2101
- },
2102
- ],
2103
- stateMutability: "view",
2104
- type: "function",
2105
- },
2106
- {
2107
- inputs: [],
2108
- name: "pause",
2109
- outputs: [],
2110
- stateMutability: "nonpayable",
2111
- type: "function",
2112
- },
2113
- {
2114
- inputs: [],
2115
- name: "paused",
2116
- outputs: [
2117
- {
2118
- internalType: "bool",
2119
- name: "",
2120
- type: "bool",
2121
- },
2122
- ],
2123
- stateMutability: "view",
2124
- type: "function",
2125
- },
2126
- {
2127
- inputs: [],
2128
- name: "proxiableUUID",
2129
- outputs: [
2130
- {
2131
- internalType: "bytes32",
2132
- name: "",
2133
- type: "bytes32",
2134
- },
2135
- ],
2136
- stateMutability: "view",
2137
- type: "function",
2138
- },
2139
- {
2140
- inputs: [
2141
- {
2142
- components: [
2143
- {
2144
- internalType: "uint64",
2145
- name: "tokenCode",
2146
- type: "uint64",
2147
- },
2148
- {
2149
- internalType: "uint64",
2150
- name: "reserveCode",
2151
- type: "uint64",
2152
- },
2153
- {
2154
- internalType: "uint256",
2155
- name: "externalTokenAmount",
2156
- type: "uint256",
2157
- },
2158
- {
2159
- internalType: "uint64",
2160
- name: "requestedWireAmount",
2161
- type: "uint64",
2162
- },
2163
- {
2164
- internalType: "uint32",
2165
- name: "connectorWeightBps",
2166
- type: "uint32",
2167
- },
2168
- {
2169
- internalType: "string",
2170
- name: "name",
2171
- type: "string",
2172
- },
2173
- {
2174
- internalType: "string",
2175
- name: "description",
2176
- type: "string",
2177
- },
2178
- {
2179
- internalType: "bool",
2180
- name: "isPrivate",
2181
- type: "bool",
2182
- },
2183
- {
2184
- internalType: "bytes",
2185
- name: "creatorPubKey",
2186
- type: "bytes",
2187
- },
2188
- ],
2189
- internalType: "struct ReserveManagerLib.ReserveCreateArgs",
2190
- name: "args",
2191
- type: "tuple",
2192
- },
2193
- ],
2194
- name: "requestReserveCreateErc20WithApproval",
2195
- outputs: [],
2196
- stateMutability: "nonpayable",
2197
- type: "function",
2198
- },
2199
- {
2200
- inputs: [
2201
- {
2202
- components: [
2203
- {
2204
- internalType: "uint64",
2205
- name: "tokenCode",
2206
- type: "uint64",
2207
- },
2208
- {
2209
- internalType: "uint64",
2210
- name: "reserveCode",
2211
- type: "uint64",
2212
- },
2213
- {
2214
- internalType: "uint256",
2215
- name: "externalTokenAmount",
2216
- type: "uint256",
2217
- },
2218
- {
2219
- internalType: "uint64",
2220
- name: "requestedWireAmount",
2221
- type: "uint64",
2222
- },
2223
- {
2224
- internalType: "uint32",
2225
- name: "connectorWeightBps",
2226
- type: "uint32",
2227
- },
2228
- {
2229
- internalType: "string",
2230
- name: "name",
2231
- type: "string",
2232
- },
2233
- {
2234
- internalType: "string",
2235
- name: "description",
2236
- type: "string",
2237
- },
2238
- {
2239
- internalType: "bool",
2240
- name: "isPrivate",
2241
- type: "bool",
2242
- },
2243
- {
2244
- internalType: "bytes",
2245
- name: "creatorPubKey",
2246
- type: "bytes",
2247
- },
2248
- ],
2249
- internalType: "struct ReserveManagerLib.ReserveCreateArgs",
2250
- name: "args",
2251
- type: "tuple",
2252
- },
2253
- {
2254
- components: [
2255
- {
2256
- internalType: "uint256",
2257
- name: "deadline",
2258
- type: "uint256",
2259
- },
2260
- {
2261
- internalType: "uint8",
2262
- name: "v",
2263
- type: "uint8",
2264
- },
2265
- {
2266
- internalType: "bytes32",
2267
- name: "r",
2268
- type: "bytes32",
2269
- },
2270
- {
2271
- internalType: "bytes32",
2272
- name: "s",
2273
- type: "bytes32",
2274
- },
2275
- ],
2276
- internalType: "struct ReserveManagerLib.PermitSig",
2277
- name: "permitSig",
2278
- type: "tuple",
2279
- },
2280
- ],
2281
- name: "requestReserveCreateErc20WithPermit",
2282
- outputs: [],
2283
- stateMutability: "nonpayable",
2284
- type: "function",
2285
- },
2286
- {
2287
- inputs: [
2288
- {
2289
- internalType: "uint64",
2290
- name: "sourceTokenCode",
2291
- type: "uint64",
2292
- },
2293
- {
2294
- internalType: "uint64",
2295
- name: "sourceReserveCode",
2296
- type: "uint64",
2297
- },
2298
- {
2299
- internalType: "uint64",
2300
- name: "targetChainCode",
2301
- type: "uint64",
2302
- },
2303
- {
2304
- internalType: "uint64",
2305
- name: "targetTokenCode",
2306
- type: "uint64",
2307
- },
2308
- {
2309
- internalType: "uint64",
2310
- name: "targetReserveCode",
2311
- type: "uint64",
2312
- },
2313
- {
2314
- internalType: "bytes",
2315
- name: "targetRecipient",
2316
- type: "bytes",
2317
- },
2318
- {
2319
- internalType: "uint64",
2320
- name: "targetAmount",
2321
- type: "uint64",
2322
- },
2323
- {
2324
- internalType: "uint32",
2325
- name: "targetToleranceBps",
2326
- type: "uint32",
2327
- },
2328
- ],
2329
- name: "requestSwap",
2330
- outputs: [],
2331
- stateMutability: "payable",
2332
- type: "function",
2333
- },
2334
- {
2335
- inputs: [
2336
- {
2337
- components: [
2338
- {
2339
- internalType: "uint64",
2340
- name: "sourceTokenCode",
2341
- type: "uint64",
2342
- },
2343
- {
2344
- internalType: "uint64",
2345
- name: "sourceReserveCode",
2346
- type: "uint64",
2347
- },
2348
- {
2349
- internalType: "uint256",
2350
- name: "sourceAmount",
2351
- type: "uint256",
2352
- },
2353
- {
2354
- internalType: "uint64",
2355
- name: "targetChainCode",
2356
- type: "uint64",
2357
- },
2358
- {
2359
- internalType: "uint64",
2360
- name: "targetTokenCode",
2361
- type: "uint64",
2362
- },
2363
- {
2364
- internalType: "uint64",
2365
- name: "targetReserveCode",
2366
- type: "uint64",
2367
- },
2368
- {
2369
- internalType: "bytes",
2370
- name: "targetRecipient",
2371
- type: "bytes",
2372
- },
2373
- {
2374
- internalType: "uint64",
2375
- name: "targetAmount",
2376
- type: "uint64",
2377
- },
2378
- {
2379
- internalType: "uint32",
2380
- name: "targetToleranceBps",
2381
- type: "uint32",
2382
- },
2383
- ],
2384
- internalType: "struct ReserveManagerLib.SwapArgs",
2385
- name: "args",
2386
- type: "tuple",
2387
- },
2388
- ],
2389
- name: "requestSwapErc20WithApproval",
2390
- outputs: [],
2391
- stateMutability: "nonpayable",
2392
- type: "function",
2393
- },
2394
- {
2395
- inputs: [
2396
- {
2397
- components: [
2398
- {
2399
- internalType: "uint64",
2400
- name: "sourceTokenCode",
2401
- type: "uint64",
2402
- },
2403
- {
2404
- internalType: "uint64",
2405
- name: "sourceReserveCode",
2406
- type: "uint64",
2407
- },
2408
- {
2409
- internalType: "uint256",
2410
- name: "sourceAmount",
2411
- type: "uint256",
2412
- },
2413
- {
2414
- internalType: "uint64",
2415
- name: "targetChainCode",
2416
- type: "uint64",
2417
- },
2418
- {
2419
- internalType: "uint64",
2420
- name: "targetTokenCode",
2421
- type: "uint64",
2422
- },
2423
- {
2424
- internalType: "uint64",
2425
- name: "targetReserveCode",
2426
- type: "uint64",
2427
- },
2428
- {
2429
- internalType: "bytes",
2430
- name: "targetRecipient",
2431
- type: "bytes",
2432
- },
2433
- {
2434
- internalType: "uint64",
2435
- name: "targetAmount",
2436
- type: "uint64",
2437
- },
2438
- {
2439
- internalType: "uint32",
2440
- name: "targetToleranceBps",
2441
- type: "uint32",
2442
- },
2443
- ],
2444
- internalType: "struct ReserveManagerLib.SwapArgs",
2445
- name: "args",
2446
- type: "tuple",
2447
- },
2448
- {
2449
- components: [
2450
- {
2451
- internalType: "uint256",
2452
- name: "deadline",
2453
- type: "uint256",
2454
- },
2455
- {
2456
- internalType: "uint8",
2457
- name: "v",
2458
- type: "uint8",
2459
- },
2460
- {
2461
- internalType: "bytes32",
2462
- name: "r",
2463
- type: "bytes32",
2464
- },
2465
- {
2466
- internalType: "bytes32",
2467
- name: "s",
2468
- type: "bytes32",
2469
- },
2470
- ],
2471
- internalType: "struct ReserveManagerLib.PermitSig",
2472
- name: "permitSig",
2473
- type: "tuple",
2474
- },
2475
- ],
2476
- name: "requestSwapErc20WithPermit",
2477
- outputs: [],
2478
- stateMutability: "nonpayable",
2479
- type: "function",
2480
- },
2481
- {
2482
- inputs: [
2483
- {
2484
- internalType: "bytes32",
2485
- name: "",
2486
- type: "bytes32",
2487
- },
2488
- ],
2489
- name: "reserves",
2490
- outputs: [
2491
- {
2492
- internalType: "uint64",
2493
- name: "tokenCode",
2494
- type: "uint64",
2495
- },
2496
- {
2497
- internalType: "uint64",
2498
- name: "reserveCode",
2499
- type: "uint64",
2500
- },
2501
- {
2502
- internalType: "uint256",
2503
- name: "externalTokenAmount",
2504
- type: "uint256",
2505
- },
2506
- {
2507
- internalType: "uint64",
2508
- name: "requestedWireAmount",
2509
- type: "uint64",
2510
- },
2511
- {
2512
- internalType: "uint32",
2513
- name: "connectorWeightBps",
2514
- type: "uint32",
2515
- },
2516
- {
2517
- internalType: "enum ReserveManager.LocalReserveStatus",
2518
- name: "status",
2519
- type: "uint8",
2520
- },
2521
- {
2522
- internalType: "address",
2523
- name: "creator",
2524
- type: "address",
2525
- },
2526
- {
2527
- internalType: "bool",
2528
- name: "exists",
2529
- type: "bool",
2530
- },
2531
- ],
2532
- stateMutability: "view",
2533
- type: "function",
2534
- },
2535
- {
2536
- inputs: [
2537
- {
2538
- internalType: "address",
2539
- name: "newAuthority",
2540
- type: "address",
2541
- },
2542
- ],
2543
- name: "setAuthority",
2544
- outputs: [],
2545
- stateMutability: "nonpayable",
2546
- type: "function",
2547
- },
2548
- {
2549
- inputs: [
2550
- {
2551
- internalType: "address",
2552
- name: "_oppAddress",
2553
- type: "address",
2554
- },
2555
- {
2556
- internalType: "address",
2557
- name: "_oppInboundAddress",
2558
- type: "address",
2559
- },
2560
- ],
2561
- name: "setOPPAddresses",
2562
- outputs: [],
2563
- stateMutability: "nonpayable",
2564
- type: "function",
2565
- },
2566
- {
2567
- inputs: [
2568
- {
2569
- internalType: "uint64",
2570
- name: "chainCode",
2571
- type: "uint64",
2572
- },
2573
- ],
2574
- name: "setOutpostChainCode",
2575
- outputs: [],
2576
- stateMutability: "nonpayable",
2577
- type: "function",
2578
- },
2579
- {
2580
- inputs: [
2581
- {
2582
- components: [
2583
- {
2584
- internalType: "uint64",
2585
- name: "tokenCode",
2586
- type: "uint64",
2587
- },
2588
- {
2589
- internalType: "uint64",
2590
- name: "reserveCode",
2591
- type: "uint64",
2592
- },
2593
- {
2594
- internalType: "address",
2595
- name: "tokenAddr",
2596
- type: "address",
2597
- },
2598
- {
2599
- internalType: "uint8",
2600
- name: "precision",
2601
- type: "uint8",
2602
- },
2603
- ],
2604
- internalType: "struct ReserveManager.TrackedCodeEntry[]",
2605
- name: "entries",
2606
- type: "tuple[]",
2607
- },
2608
- ],
2609
- name: "setTrackedCodes",
2610
- outputs: [],
2611
- stateMutability: "nonpayable",
2612
- type: "function",
2613
- },
2614
- {
2615
- inputs: [],
2616
- name: "swapDepositCounter",
2617
- outputs: [
2618
- {
2619
- internalType: "uint64",
2620
- name: "",
2621
- type: "uint64",
2622
- },
2623
- ],
2624
- stateMutability: "view",
2625
- type: "function",
2626
- },
2627
- {
2628
- inputs: [
2629
- {
2630
- internalType: "uint64",
2631
- name: "",
2632
- type: "uint64",
2633
- },
2634
- ],
2635
- name: "tokenAddressesByCode",
2636
- outputs: [
2637
- {
2638
- internalType: "address",
2639
- name: "",
2640
- type: "address",
2641
- },
2642
- ],
2643
- stateMutability: "view",
2644
- type: "function",
2645
- },
2646
- {
2647
- inputs: [
2648
- {
2649
- internalType: "uint64",
2650
- name: "",
2651
- type: "uint64",
2652
- },
2653
- ],
2654
- name: "tokenPrecisionByCode",
2655
- outputs: [
2656
- {
2657
- internalType: "uint8",
2658
- name: "",
2659
- type: "uint8",
2660
- },
2661
- ],
2662
- stateMutability: "view",
2663
- type: "function",
2664
- },
2665
- {
2666
- inputs: [],
2667
- name: "trackedCodesCount",
2668
- outputs: [
2669
- {
2670
- internalType: "uint256",
2671
- name: "",
2672
- type: "uint256",
2673
- },
2674
- ],
2675
- stateMutability: "view",
2676
- type: "function",
2677
- },
2678
- {
2679
- inputs: [
2680
- {
2681
- internalType: "uint256",
2682
- name: "",
2683
- type: "uint256",
2684
- },
2685
- ],
2686
- name: "trackedReserveCodes",
2687
- outputs: [
2688
- {
2689
- internalType: "uint64",
2690
- name: "",
2691
- type: "uint64",
2692
- },
2693
- ],
2694
- stateMutability: "view",
2695
- type: "function",
2696
- },
2697
- {
2698
- inputs: [
2699
- {
2700
- internalType: "uint256",
2701
- name: "",
2702
- type: "uint256",
2703
- },
2704
- ],
2705
- name: "trackedTokenCodes",
2706
- outputs: [
2707
- {
2708
- internalType: "uint64",
2709
- name: "",
2710
- type: "uint64",
2711
- },
2712
- ],
2713
- stateMutability: "view",
2714
- type: "function",
2715
- },
2716
- {
2717
- inputs: [],
2718
- name: "unpause",
2719
- outputs: [],
2720
- stateMutability: "nonpayable",
2721
- type: "function",
2722
- },
2723
- {
2724
- inputs: [
2725
- {
2726
- internalType: "address",
2727
- name: "newImplementation",
2728
- type: "address",
2729
- },
2730
- {
2731
- internalType: "bytes",
2732
- name: "data",
2733
- type: "bytes",
2734
- },
2735
- ],
2736
- name: "upgradeToAndCall",
2737
- outputs: [],
2738
- stateMutability: "payable",
2739
- type: "function",
2740
- },
2741
- {
2742
- inputs: [
2743
- {
2744
- internalType: "uint64",
2745
- name: "tokenCode",
2746
- type: "uint64",
2747
- },
2748
- {
2749
- internalType: "uint64",
2750
- name: "reserveCode",
2751
- type: "uint64",
2752
- },
2753
- {
2754
- internalType: "uint256",
2755
- name: "amount",
2756
- type: "uint256",
2757
- },
2758
- {
2759
- internalType: "address",
2760
- name: "to",
2761
- type: "address",
2762
- },
2763
- ],
2764
- name: "withdraw",
2765
- outputs: [],
2766
- stateMutability: "nonpayable",
2767
- type: "function",
2768
- },
2769
- {
2770
- stateMutability: "payable",
2771
- type: "receive",
2772
- },
2773
- ];
2774
- class ReserveManager__factory {
2775
- static abi = _abi;
2776
- static createInterface() {
2777
- return new ethers_1.Interface(_abi);
2778
- }
2779
- static connect(address, runner) {
2780
- return new ethers_1.Contract(address, _abi, runner);
2781
- }
2782
- }
2783
- exports.ReserveManager__factory = ReserveManager__factory;