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