@wireio/outpost-ethereum-artifacts 0.4.3 → 0.4.5

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 (61) hide show
  1. package/README.md +2 -4
  2. package/abis/BAR.json +131 -450
  3. package/abis/DepositManager.json +1917 -233
  4. package/abis/LiqEthToken.json +2039 -79
  5. package/abis/OPP.json +138 -67
  6. package/abis/OPPInbound.json +298 -388
  7. package/abis/SyndicationPool.json +266 -99
  8. package/abis/WithdrawalQueue.json +1926 -77
  9. package/lib/cjs/Manifest.js +65 -59
  10. package/lib/cjs/contracts/BAR.d.ts +2 -180
  11. package/lib/cjs/contracts/DepositManager.d.ts +80 -188
  12. package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
  13. package/lib/cjs/contracts/OPP.d.ts +13 -1
  14. package/lib/cjs/contracts/OPPInbound.d.ts +173 -225
  15. package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
  16. package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
  17. package/lib/cjs/contracts/factories/BAR__factory.d.ts +105 -353
  18. package/lib/cjs/contracts/factories/BAR__factory.js +131 -450
  19. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
  20. package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
  21. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  22. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
  23. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +246 -318
  24. package/lib/cjs/contracts/factories/OPPInbound__factory.js +296 -386
  25. package/lib/cjs/contracts/factories/OPP__factory.d.ts +111 -57
  26. package/lib/cjs/contracts/factories/OPP__factory.js +138 -67
  27. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  28. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +266 -99
  29. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  30. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  31. package/lib/esm/Manifest.js +65 -59
  32. package/lib/esm/contracts/BAR.d.ts +2 -180
  33. package/lib/esm/contracts/DepositManager.d.ts +80 -188
  34. package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
  35. package/lib/esm/contracts/OPP.d.ts +13 -1
  36. package/lib/esm/contracts/OPPInbound.d.ts +173 -225
  37. package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
  38. package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
  39. package/lib/esm/contracts/factories/BAR__factory.d.ts +105 -353
  40. package/lib/esm/contracts/factories/BAR__factory.js +131 -450
  41. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
  42. package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
  43. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  44. package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
  45. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +246 -318
  46. package/lib/esm/contracts/factories/OPPInbound__factory.js +296 -386
  47. package/lib/esm/contracts/factories/OPP__factory.d.ts +111 -57
  48. package/lib/esm/contracts/factories/OPP__factory.js +138 -67
  49. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  50. package/lib/esm/contracts/factories/SyndicationPool__factory.js +266 -99
  51. package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  52. package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  53. package/manifest.json +65 -59
  54. package/package.json +1 -1
  55. package/runtime/BAR.bin +0 -0
  56. package/runtime/DepositManager.bin +0 -0
  57. package/runtime/LiqEthToken.bin +0 -0
  58. package/runtime/OPP.bin +0 -0
  59. package/runtime/OPPInbound.bin +0 -0
  60. package/runtime/SyndicationPool.bin +0 -0
  61. package/runtime/WithdrawalQueue.bin +0 -0
@@ -81,100 +81,79 @@ const _abi = [
81
81
  name: "InvalidInitialization",
82
82
  type: "error",
83
83
  },
84
- {
85
- inputs: [],
86
- name: "NotInitializing",
87
- type: "error",
88
- },
89
84
  {
90
85
  inputs: [
91
86
  {
92
- internalType: "uint32",
93
- name: "nextEpochIndex",
94
- type: "uint32",
95
- },
96
- {
97
- internalType: "uint32",
98
- name: "deliveries",
99
- type: "uint32",
87
+ internalType: "uint256",
88
+ name: "position",
89
+ type: "uint256",
100
90
  },
101
91
  ],
102
- name: "OPP_BootstrapWindowClosed",
92
+ name: "MalformedEnvelope",
103
93
  type: "error",
104
94
  },
105
95
  {
106
96
  inputs: [
107
97
  {
108
- internalType: "address",
109
- name: "operator_",
110
- type: "address",
98
+ internalType: "uint256",
99
+ name: "position",
100
+ type: "uint256",
111
101
  },
112
102
  ],
113
- name: "OPP_ChunkBufferMissing",
103
+ name: "MalformedVarint",
114
104
  type: "error",
115
105
  },
116
106
  {
117
- inputs: [
118
- {
119
- internalType: "uint32",
120
- name: "epochIndex",
121
- type: "uint32",
122
- },
123
- ],
124
- name: "OPP_ChunkBufferShapeMismatch",
107
+ inputs: [],
108
+ name: "NotInitializing",
125
109
  type: "error",
126
110
  },
127
111
  {
128
112
  inputs: [
129
113
  {
130
- internalType: "uint16",
131
- name: "chunkIndex",
132
- type: "uint16",
114
+ internalType: "uint32",
115
+ name: "nextEpochIndex",
116
+ type: "uint32",
133
117
  },
134
118
  {
135
- internalType: "uint16",
136
- name: "totalChunks",
137
- type: "uint16",
119
+ internalType: "uint32",
120
+ name: "deliveries",
121
+ type: "uint32",
138
122
  },
139
123
  ],
140
- name: "OPP_ChunkIndexOutOfRange",
124
+ name: "OPP_BootstrapWindowClosed",
141
125
  type: "error",
142
126
  },
143
127
  {
144
128
  inputs: [
145
129
  {
146
- internalType: "uint16",
130
+ internalType: "bytes32",
147
131
  name: "expected",
148
- type: "uint16",
132
+ type: "bytes32",
149
133
  },
150
134
  {
151
- internalType: "uint16",
152
- name: "actual",
153
- type: "uint16",
135
+ internalType: "bytes32",
136
+ name: "found",
137
+ type: "bytes32",
154
138
  },
155
139
  ],
156
- name: "OPP_ChunkOutOfOrder",
140
+ name: "OPP_DigestMismatch",
157
141
  type: "error",
158
142
  },
159
143
  {
160
144
  inputs: [
161
- {
162
- internalType: "uint16",
163
- name: "chunkIndex",
164
- type: "uint16",
165
- },
166
145
  {
167
146
  internalType: "uint256",
168
- name: "expected",
147
+ name: "gasLeft",
169
148
  type: "uint256",
170
149
  },
171
150
  {
172
151
  internalType: "uint256",
173
- name: "actual",
152
+ name: "floor",
174
153
  type: "uint256",
175
154
  },
176
155
  ],
177
- name: "OPP_ChunkSizeMismatch",
156
+ name: "OPP_DispatchUnderfunded",
178
157
  type: "error",
179
158
  },
180
159
  {
@@ -225,6 +204,27 @@ const _abi = [
225
204
  name: "OPP_EpochHashMismatch",
226
205
  type: "error",
227
206
  },
207
+ {
208
+ inputs: [
209
+ {
210
+ internalType: "address",
211
+ name: "handler",
212
+ type: "address",
213
+ },
214
+ {
215
+ internalType: "AttestationType",
216
+ name: "attestationType",
217
+ type: "uint16",
218
+ },
219
+ {
220
+ internalType: "uint256",
221
+ name: "gasBound",
222
+ type: "uint256",
223
+ },
224
+ ],
225
+ name: "OPP_HandlerGasExhausted",
226
+ type: "error",
227
+ },
228
228
  {
229
229
  inputs: [
230
230
  {
@@ -255,17 +255,12 @@ const _abi = [
255
255
  {
256
256
  inputs: [
257
257
  {
258
- internalType: "uint16",
259
- name: "expected",
260
- type: "uint16",
261
- },
262
- {
263
- internalType: "uint16",
264
- name: "actual",
265
- type: "uint16",
258
+ internalType: "address",
259
+ name: "caller",
260
+ type: "address",
266
261
  },
267
262
  ],
268
- name: "OPP_InvalidChunkCount",
263
+ name: "OPP_InternalDispatchOnly",
269
264
  type: "error",
270
265
  },
271
266
  {
@@ -342,17 +337,6 @@ const _abi = [
342
337
  name: "OPP_NoAttestationsSent",
343
338
  type: "error",
344
339
  },
345
- {
346
- inputs: [
347
- {
348
- internalType: "address",
349
- name: "operator_",
350
- type: "address",
351
- },
352
- ],
353
- name: "OPP_NoChunkSlot",
354
- type: "error",
355
- },
356
340
  {
357
341
  inputs: [],
358
342
  name: "OPP_NoPendingAttestations",
@@ -475,6 +459,22 @@ const _abi = [
475
459
  name: "OPP_OperatorAlreadyDelivered",
476
460
  type: "error",
477
461
  },
462
+ {
463
+ inputs: [
464
+ {
465
+ internalType: "uint256",
466
+ name: "warmedWords",
467
+ type: "uint256",
468
+ },
469
+ {
470
+ internalType: "uint256",
471
+ name: "wordCount",
472
+ type: "uint256",
473
+ },
474
+ ],
475
+ name: "OPP_OutboundBankNotWarm",
476
+ type: "error",
477
+ },
478
478
  {
479
479
  inputs: [
480
480
  {
@@ -491,6 +491,22 @@ const _abi = [
491
491
  name: "OPP_OutboundMessageUnpackable",
492
492
  type: "error",
493
493
  },
494
+ {
495
+ inputs: [
496
+ {
497
+ internalType: "uint256",
498
+ name: "warmedWords",
499
+ type: "uint256",
500
+ },
501
+ {
502
+ internalType: "uint256",
503
+ name: "fromWord",
504
+ type: "uint256",
505
+ },
506
+ ],
507
+ name: "OPP_OutboundPrewarmNotContiguous",
508
+ type: "error",
509
+ },
494
510
  {
495
511
  inputs: [
496
512
  {
@@ -550,6 +566,17 @@ const _abi = [
550
566
  name: "OPP_UnauthorizedAttestationType",
551
567
  type: "error",
552
568
  },
569
+ {
570
+ inputs: [
571
+ {
572
+ internalType: "AttestationType",
573
+ name: "attestationType",
574
+ type: "uint16",
575
+ },
576
+ ],
577
+ name: "OPP_UnhandledAttestationType",
578
+ type: "error",
579
+ },
553
580
  {
554
581
  inputs: [
555
582
  {
@@ -597,6 +624,11 @@ const _abi = [
597
624
  name: "OPP_WrongDestinationChain",
598
625
  type: "error",
599
626
  },
627
+ {
628
+ inputs: [],
629
+ name: "OPP_ZeroEpochDuration",
630
+ type: "error",
631
+ },
600
632
  {
601
633
  inputs: [],
602
634
  name: "OPP_ZeroTag",
@@ -698,43 +730,11 @@ const _abi = [
698
730
  name: "WIRE_DepositorKeyMismatch",
699
731
  type: "error",
700
732
  },
701
- {
702
- inputs: [
703
- {
704
- internalType: "address",
705
- name: "to",
706
- type: "address",
707
- },
708
- {
709
- internalType: "uint256",
710
- name: "amount",
711
- type: "uint256",
712
- },
713
- ],
714
- name: "WIRE_EthSendFailed",
715
- type: "error",
716
- },
717
733
  {
718
734
  inputs: [],
719
735
  name: "WIRE_GoLiveInProgress",
720
736
  type: "error",
721
737
  },
722
- {
723
- inputs: [
724
- {
725
- internalType: "uint64",
726
- name: "initialPrincipal",
727
- type: "uint64",
728
- },
729
- {
730
- internalType: "uint64",
731
- name: "balanceDepot",
732
- type: "uint64",
733
- },
734
- ],
735
- name: "WIRE_InitialPrincipalExceedsBalance",
736
- type: "error",
737
- },
738
738
  {
739
739
  inputs: [
740
740
  {
@@ -762,6 +762,22 @@ const _abi = [
762
762
  name: "WIRE_InvalidDepositorKey",
763
763
  type: "error",
764
764
  },
765
+ {
766
+ inputs: [
767
+ {
768
+ internalType: "uint64",
769
+ name: "minimum",
770
+ type: "uint64",
771
+ },
772
+ {
773
+ internalType: "uint256",
774
+ name: "maximum",
775
+ type: "uint256",
776
+ },
777
+ ],
778
+ name: "WIRE_InvalidMinSyndication",
779
+ type: "error",
780
+ },
765
781
  {
766
782
  inputs: [
767
783
  {
@@ -1038,6 +1054,22 @@ const _abi = [
1038
1054
  name: "WIRE_SyndicationAboveMaximum",
1039
1055
  type: "error",
1040
1056
  },
1057
+ {
1058
+ inputs: [
1059
+ {
1060
+ internalType: "uint64",
1061
+ name: "amount",
1062
+ type: "uint64",
1063
+ },
1064
+ {
1065
+ internalType: "uint64",
1066
+ name: "minimum",
1067
+ type: "uint64",
1068
+ },
1069
+ ],
1070
+ name: "WIRE_SyndicationBelowMinimum",
1071
+ type: "error",
1072
+ },
1041
1073
  {
1042
1074
  inputs: [
1043
1075
  {
@@ -1113,68 +1145,6 @@ const _abi = [
1113
1145
  name: "WIRE_ZeroAmount",
1114
1146
  type: "error",
1115
1147
  },
1116
- {
1117
- anonymous: false,
1118
- inputs: [
1119
- {
1120
- indexed: true,
1121
- internalType: "address",
1122
- name: "actor",
1123
- type: "address",
1124
- },
1125
- {
1126
- indexed: false,
1127
- internalType: "OperatorType",
1128
- name: "operatorType",
1129
- type: "uint8",
1130
- },
1131
- {
1132
- indexed: false,
1133
- internalType: "uint64",
1134
- name: "tokenCode",
1135
- type: "uint64",
1136
- },
1137
- {
1138
- indexed: false,
1139
- internalType: "int64",
1140
- name: "amount",
1141
- type: "int64",
1142
- },
1143
- ],
1144
- name: "ActorBonded",
1145
- type: "event",
1146
- },
1147
- {
1148
- anonymous: false,
1149
- inputs: [
1150
- {
1151
- indexed: true,
1152
- internalType: "address",
1153
- name: "actor",
1154
- type: "address",
1155
- },
1156
- {
1157
- indexed: false,
1158
- internalType: "OperatorType",
1159
- name: "operatorType",
1160
- type: "uint8",
1161
- },
1162
- {
1163
- indexed: false,
1164
- internalType: "uint64",
1165
- name: "tokenCode",
1166
- type: "uint64",
1167
- },
1168
- {
1169
- indexed: false,
1170
- internalType: "int64",
1171
- name: "amount",
1172
- type: "int64",
1173
- },
1174
- ],
1175
- name: "ActorUnbonded",
1176
- type: "event",
1177
- },
1178
1148
  {
1179
1149
  anonymous: false,
1180
1150
  inputs: [
@@ -1413,65 +1383,6 @@ const _abi = [
1413
1383
  stateMutability: "view",
1414
1384
  type: "function",
1415
1385
  },
1416
- {
1417
- inputs: [
1418
- {
1419
- internalType: "address",
1420
- name: "actor",
1421
- type: "address",
1422
- },
1423
- {
1424
- internalType: "OperatorType",
1425
- name: "operatorType",
1426
- type: "uint8",
1427
- },
1428
- {
1429
- components: [
1430
- {
1431
- internalType: "uint64",
1432
- name: "tokenCode",
1433
- type: "uint64",
1434
- },
1435
- {
1436
- internalType: "int64",
1437
- name: "amount",
1438
- type: "int64",
1439
- },
1440
- ],
1441
- internalType: "struct TokenAmount",
1442
- name: "amount",
1443
- type: "tuple",
1444
- },
1445
- ],
1446
- name: "bond",
1447
- outputs: [],
1448
- stateMutability: "nonpayable",
1449
- type: "function",
1450
- },
1451
- {
1452
- inputs: [
1453
- {
1454
- internalType: "address",
1455
- name: "actor",
1456
- type: "address",
1457
- },
1458
- {
1459
- internalType: "OperatorType",
1460
- name: "operatorType",
1461
- type: "uint8",
1462
- },
1463
- ],
1464
- name: "bondCount",
1465
- outputs: [
1466
- {
1467
- internalType: "uint256",
1468
- name: "",
1469
- type: "uint256",
1470
- },
1471
- ],
1472
- stateMutability: "view",
1473
- type: "function",
1474
- },
1475
1386
  {
1476
1387
  inputs: [
1477
1388
  {
@@ -1512,201 +1423,6 @@ const _abi = [
1512
1423
  stateMutability: "nonpayable",
1513
1424
  type: "function",
1514
1425
  },
1515
- {
1516
- inputs: [
1517
- {
1518
- internalType: "address",
1519
- name: "actor",
1520
- type: "address",
1521
- },
1522
- {
1523
- internalType: "OperatorType",
1524
- name: "operatorType",
1525
- type: "uint8",
1526
- },
1527
- {
1528
- internalType: "uint256",
1529
- name: "bondIndex",
1530
- type: "uint256",
1531
- },
1532
- ],
1533
- name: "getBond",
1534
- outputs: [
1535
- {
1536
- components: [
1537
- {
1538
- internalType: "ActionType",
1539
- name: "actionType",
1540
- type: "uint8",
1541
- },
1542
- {
1543
- components: [
1544
- {
1545
- internalType: "ChainKind",
1546
- name: "kind",
1547
- type: "uint8",
1548
- },
1549
- {
1550
- internalType: "bytes",
1551
- name: "address_",
1552
- type: "bytes",
1553
- },
1554
- ],
1555
- internalType: "struct ChainAddress",
1556
- name: "opAddress",
1557
- type: "tuple",
1558
- },
1559
- {
1560
- internalType: "OperatorType",
1561
- name: "type_",
1562
- type: "uint8",
1563
- },
1564
- {
1565
- internalType: "OperatorStatus",
1566
- name: "status",
1567
- type: "uint8",
1568
- },
1569
- {
1570
- components: [
1571
- {
1572
- internalType: "uint64",
1573
- name: "tokenCode",
1574
- type: "uint64",
1575
- },
1576
- {
1577
- internalType: "int64",
1578
- name: "amount",
1579
- type: "int64",
1580
- },
1581
- ],
1582
- internalType: "struct TokenAmount",
1583
- name: "amount",
1584
- type: "tuple",
1585
- },
1586
- {
1587
- internalType: "uint64",
1588
- name: "requestId",
1589
- type: "uint64",
1590
- },
1591
- {
1592
- internalType: "uint64",
1593
- name: "chainCode",
1594
- type: "uint64",
1595
- },
1596
- {
1597
- internalType: "string",
1598
- name: "reason",
1599
- type: "string",
1600
- },
1601
- {
1602
- internalType: "uint64",
1603
- name: "reserveCode",
1604
- type: "uint64",
1605
- },
1606
- ],
1607
- internalType: "struct OperatorAction",
1608
- name: "",
1609
- type: "tuple",
1610
- },
1611
- ],
1612
- stateMutability: "view",
1613
- type: "function",
1614
- },
1615
- {
1616
- inputs: [
1617
- {
1618
- internalType: "address",
1619
- name: "actor",
1620
- type: "address",
1621
- },
1622
- {
1623
- internalType: "OperatorType",
1624
- name: "operatorType",
1625
- type: "uint8",
1626
- },
1627
- ],
1628
- name: "getBonds",
1629
- outputs: [
1630
- {
1631
- components: [
1632
- {
1633
- internalType: "ActionType",
1634
- name: "actionType",
1635
- type: "uint8",
1636
- },
1637
- {
1638
- components: [
1639
- {
1640
- internalType: "ChainKind",
1641
- name: "kind",
1642
- type: "uint8",
1643
- },
1644
- {
1645
- internalType: "bytes",
1646
- name: "address_",
1647
- type: "bytes",
1648
- },
1649
- ],
1650
- internalType: "struct ChainAddress",
1651
- name: "opAddress",
1652
- type: "tuple",
1653
- },
1654
- {
1655
- internalType: "OperatorType",
1656
- name: "type_",
1657
- type: "uint8",
1658
- },
1659
- {
1660
- internalType: "OperatorStatus",
1661
- name: "status",
1662
- type: "uint8",
1663
- },
1664
- {
1665
- components: [
1666
- {
1667
- internalType: "uint64",
1668
- name: "tokenCode",
1669
- type: "uint64",
1670
- },
1671
- {
1672
- internalType: "int64",
1673
- name: "amount",
1674
- type: "int64",
1675
- },
1676
- ],
1677
- internalType: "struct TokenAmount",
1678
- name: "amount",
1679
- type: "tuple",
1680
- },
1681
- {
1682
- internalType: "uint64",
1683
- name: "requestId",
1684
- type: "uint64",
1685
- },
1686
- {
1687
- internalType: "uint64",
1688
- name: "chainCode",
1689
- type: "uint64",
1690
- },
1691
- {
1692
- internalType: "string",
1693
- name: "reason",
1694
- type: "string",
1695
- },
1696
- {
1697
- internalType: "uint64",
1698
- name: "reserveCode",
1699
- type: "uint64",
1700
- },
1701
- ],
1702
- internalType: "struct OperatorAction[]",
1703
- name: "",
1704
- type: "tuple[]",
1705
- },
1706
- ],
1707
- stateMutability: "view",
1708
- type: "function",
1709
- },
1710
1426
  {
1711
1427
  inputs: [],
1712
1428
  name: "getSummaryAttestations",
@@ -1992,41 +1708,6 @@ const _abi = [
1992
1708
  stateMutability: "pure",
1993
1709
  type: "function",
1994
1710
  },
1995
- {
1996
- inputs: [
1997
- {
1998
- internalType: "address",
1999
- name: "actor",
2000
- type: "address",
2001
- },
2002
- {
2003
- internalType: "OperatorType",
2004
- name: "operatorType",
2005
- type: "uint8",
2006
- },
2007
- {
2008
- components: [
2009
- {
2010
- internalType: "uint64",
2011
- name: "tokenCode",
2012
- type: "uint64",
2013
- },
2014
- {
2015
- internalType: "int64",
2016
- name: "amount",
2017
- type: "int64",
2018
- },
2019
- ],
2020
- internalType: "struct TokenAmount",
2021
- name: "amount",
2022
- type: "tuple",
2023
- },
2024
- ],
2025
- name: "unbond",
2026
- outputs: [],
2027
- stateMutability: "nonpayable",
2028
- type: "function",
2029
- },
2030
1711
  {
2031
1712
  inputs: [
2032
1713
  {