@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
@@ -78,100 +78,79 @@ const _abi = [
78
78
  name: "InvalidInitialization",
79
79
  type: "error",
80
80
  },
81
- {
82
- inputs: [],
83
- name: "NotInitializing",
84
- type: "error",
85
- },
86
81
  {
87
82
  inputs: [
88
83
  {
89
- internalType: "uint32",
90
- name: "nextEpochIndex",
91
- type: "uint32",
92
- },
93
- {
94
- internalType: "uint32",
95
- name: "deliveries",
96
- type: "uint32",
84
+ internalType: "uint256",
85
+ name: "position",
86
+ type: "uint256",
97
87
  },
98
88
  ],
99
- name: "OPP_BootstrapWindowClosed",
89
+ name: "MalformedEnvelope",
100
90
  type: "error",
101
91
  },
102
92
  {
103
93
  inputs: [
104
94
  {
105
- internalType: "address",
106
- name: "operator_",
107
- type: "address",
95
+ internalType: "uint256",
96
+ name: "position",
97
+ type: "uint256",
108
98
  },
109
99
  ],
110
- name: "OPP_ChunkBufferMissing",
100
+ name: "MalformedVarint",
111
101
  type: "error",
112
102
  },
113
103
  {
114
- inputs: [
115
- {
116
- internalType: "uint32",
117
- name: "epochIndex",
118
- type: "uint32",
119
- },
120
- ],
121
- name: "OPP_ChunkBufferShapeMismatch",
104
+ inputs: [],
105
+ name: "NotInitializing",
122
106
  type: "error",
123
107
  },
124
108
  {
125
109
  inputs: [
126
110
  {
127
- internalType: "uint16",
128
- name: "chunkIndex",
129
- type: "uint16",
111
+ internalType: "uint32",
112
+ name: "nextEpochIndex",
113
+ type: "uint32",
130
114
  },
131
115
  {
132
- internalType: "uint16",
133
- name: "totalChunks",
134
- type: "uint16",
116
+ internalType: "uint32",
117
+ name: "deliveries",
118
+ type: "uint32",
135
119
  },
136
120
  ],
137
- name: "OPP_ChunkIndexOutOfRange",
121
+ name: "OPP_BootstrapWindowClosed",
138
122
  type: "error",
139
123
  },
140
124
  {
141
125
  inputs: [
142
126
  {
143
- internalType: "uint16",
127
+ internalType: "bytes32",
144
128
  name: "expected",
145
- type: "uint16",
129
+ type: "bytes32",
146
130
  },
147
131
  {
148
- internalType: "uint16",
149
- name: "actual",
150
- type: "uint16",
132
+ internalType: "bytes32",
133
+ name: "found",
134
+ type: "bytes32",
151
135
  },
152
136
  ],
153
- name: "OPP_ChunkOutOfOrder",
137
+ name: "OPP_DigestMismatch",
154
138
  type: "error",
155
139
  },
156
140
  {
157
141
  inputs: [
158
- {
159
- internalType: "uint16",
160
- name: "chunkIndex",
161
- type: "uint16",
162
- },
163
142
  {
164
143
  internalType: "uint256",
165
- name: "expected",
144
+ name: "gasLeft",
166
145
  type: "uint256",
167
146
  },
168
147
  {
169
148
  internalType: "uint256",
170
- name: "actual",
149
+ name: "floor",
171
150
  type: "uint256",
172
151
  },
173
152
  ],
174
- name: "OPP_ChunkSizeMismatch",
153
+ name: "OPP_DispatchUnderfunded",
175
154
  type: "error",
176
155
  },
177
156
  {
@@ -222,6 +201,27 @@ const _abi = [
222
201
  name: "OPP_EpochHashMismatch",
223
202
  type: "error",
224
203
  },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "address",
208
+ name: "handler",
209
+ type: "address",
210
+ },
211
+ {
212
+ internalType: "AttestationType",
213
+ name: "attestationType",
214
+ type: "uint16",
215
+ },
216
+ {
217
+ internalType: "uint256",
218
+ name: "gasBound",
219
+ type: "uint256",
220
+ },
221
+ ],
222
+ name: "OPP_HandlerGasExhausted",
223
+ type: "error",
224
+ },
225
225
  {
226
226
  inputs: [
227
227
  {
@@ -252,17 +252,12 @@ const _abi = [
252
252
  {
253
253
  inputs: [
254
254
  {
255
- internalType: "uint16",
256
- name: "expected",
257
- type: "uint16",
258
- },
259
- {
260
- internalType: "uint16",
261
- name: "actual",
262
- type: "uint16",
255
+ internalType: "address",
256
+ name: "caller",
257
+ type: "address",
263
258
  },
264
259
  ],
265
- name: "OPP_InvalidChunkCount",
260
+ name: "OPP_InternalDispatchOnly",
266
261
  type: "error",
267
262
  },
268
263
  {
@@ -339,17 +334,6 @@ const _abi = [
339
334
  name: "OPP_NoAttestationsSent",
340
335
  type: "error",
341
336
  },
342
- {
343
- inputs: [
344
- {
345
- internalType: "address",
346
- name: "operator_",
347
- type: "address",
348
- },
349
- ],
350
- name: "OPP_NoChunkSlot",
351
- type: "error",
352
- },
353
337
  {
354
338
  inputs: [],
355
339
  name: "OPP_NoPendingAttestations",
@@ -472,6 +456,22 @@ const _abi = [
472
456
  name: "OPP_OperatorAlreadyDelivered",
473
457
  type: "error",
474
458
  },
459
+ {
460
+ inputs: [
461
+ {
462
+ internalType: "uint256",
463
+ name: "warmedWords",
464
+ type: "uint256",
465
+ },
466
+ {
467
+ internalType: "uint256",
468
+ name: "wordCount",
469
+ type: "uint256",
470
+ },
471
+ ],
472
+ name: "OPP_OutboundBankNotWarm",
473
+ type: "error",
474
+ },
475
475
  {
476
476
  inputs: [
477
477
  {
@@ -488,6 +488,22 @@ const _abi = [
488
488
  name: "OPP_OutboundMessageUnpackable",
489
489
  type: "error",
490
490
  },
491
+ {
492
+ inputs: [
493
+ {
494
+ internalType: "uint256",
495
+ name: "warmedWords",
496
+ type: "uint256",
497
+ },
498
+ {
499
+ internalType: "uint256",
500
+ name: "fromWord",
501
+ type: "uint256",
502
+ },
503
+ ],
504
+ name: "OPP_OutboundPrewarmNotContiguous",
505
+ type: "error",
506
+ },
491
507
  {
492
508
  inputs: [
493
509
  {
@@ -547,6 +563,17 @@ const _abi = [
547
563
  name: "OPP_UnauthorizedAttestationType",
548
564
  type: "error",
549
565
  },
566
+ {
567
+ inputs: [
568
+ {
569
+ internalType: "AttestationType",
570
+ name: "attestationType",
571
+ type: "uint16",
572
+ },
573
+ ],
574
+ name: "OPP_UnhandledAttestationType",
575
+ type: "error",
576
+ },
550
577
  {
551
578
  inputs: [
552
579
  {
@@ -594,6 +621,11 @@ const _abi = [
594
621
  name: "OPP_WrongDestinationChain",
595
622
  type: "error",
596
623
  },
624
+ {
625
+ inputs: [],
626
+ name: "OPP_ZeroEpochDuration",
627
+ type: "error",
628
+ },
597
629
  {
598
630
  inputs: [],
599
631
  name: "OPP_ZeroTag",
@@ -695,43 +727,11 @@ const _abi = [
695
727
  name: "WIRE_DepositorKeyMismatch",
696
728
  type: "error",
697
729
  },
698
- {
699
- inputs: [
700
- {
701
- internalType: "address",
702
- name: "to",
703
- type: "address",
704
- },
705
- {
706
- internalType: "uint256",
707
- name: "amount",
708
- type: "uint256",
709
- },
710
- ],
711
- name: "WIRE_EthSendFailed",
712
- type: "error",
713
- },
714
730
  {
715
731
  inputs: [],
716
732
  name: "WIRE_GoLiveInProgress",
717
733
  type: "error",
718
734
  },
719
- {
720
- inputs: [
721
- {
722
- internalType: "uint64",
723
- name: "initialPrincipal",
724
- type: "uint64",
725
- },
726
- {
727
- internalType: "uint64",
728
- name: "balanceDepot",
729
- type: "uint64",
730
- },
731
- ],
732
- name: "WIRE_InitialPrincipalExceedsBalance",
733
- type: "error",
734
- },
735
735
  {
736
736
  inputs: [
737
737
  {
@@ -759,6 +759,22 @@ const _abi = [
759
759
  name: "WIRE_InvalidDepositorKey",
760
760
  type: "error",
761
761
  },
762
+ {
763
+ inputs: [
764
+ {
765
+ internalType: "uint64",
766
+ name: "minimum",
767
+ type: "uint64",
768
+ },
769
+ {
770
+ internalType: "uint256",
771
+ name: "maximum",
772
+ type: "uint256",
773
+ },
774
+ ],
775
+ name: "WIRE_InvalidMinSyndication",
776
+ type: "error",
777
+ },
762
778
  {
763
779
  inputs: [
764
780
  {
@@ -1035,6 +1051,22 @@ const _abi = [
1035
1051
  name: "WIRE_SyndicationAboveMaximum",
1036
1052
  type: "error",
1037
1053
  },
1054
+ {
1055
+ inputs: [
1056
+ {
1057
+ internalType: "uint64",
1058
+ name: "amount",
1059
+ type: "uint64",
1060
+ },
1061
+ {
1062
+ internalType: "uint64",
1063
+ name: "minimum",
1064
+ type: "uint64",
1065
+ },
1066
+ ],
1067
+ name: "WIRE_SyndicationBelowMinimum",
1068
+ type: "error",
1069
+ },
1038
1070
  {
1039
1071
  inputs: [
1040
1072
  {
@@ -1110,68 +1142,6 @@ const _abi = [
1110
1142
  name: "WIRE_ZeroAmount",
1111
1143
  type: "error",
1112
1144
  },
1113
- {
1114
- anonymous: false,
1115
- inputs: [
1116
- {
1117
- indexed: true,
1118
- internalType: "address",
1119
- name: "actor",
1120
- type: "address",
1121
- },
1122
- {
1123
- indexed: false,
1124
- internalType: "OperatorType",
1125
- name: "operatorType",
1126
- type: "uint8",
1127
- },
1128
- {
1129
- indexed: false,
1130
- internalType: "uint64",
1131
- name: "tokenCode",
1132
- type: "uint64",
1133
- },
1134
- {
1135
- indexed: false,
1136
- internalType: "int64",
1137
- name: "amount",
1138
- type: "int64",
1139
- },
1140
- ],
1141
- name: "ActorBonded",
1142
- type: "event",
1143
- },
1144
- {
1145
- anonymous: false,
1146
- inputs: [
1147
- {
1148
- indexed: true,
1149
- internalType: "address",
1150
- name: "actor",
1151
- type: "address",
1152
- },
1153
- {
1154
- indexed: false,
1155
- internalType: "OperatorType",
1156
- name: "operatorType",
1157
- type: "uint8",
1158
- },
1159
- {
1160
- indexed: false,
1161
- internalType: "uint64",
1162
- name: "tokenCode",
1163
- type: "uint64",
1164
- },
1165
- {
1166
- indexed: false,
1167
- internalType: "int64",
1168
- name: "amount",
1169
- type: "int64",
1170
- },
1171
- ],
1172
- name: "ActorUnbonded",
1173
- type: "event",
1174
- },
1175
1145
  {
1176
1146
  anonymous: false,
1177
1147
  inputs: [
@@ -1410,65 +1380,6 @@ const _abi = [
1410
1380
  stateMutability: "view",
1411
1381
  type: "function",
1412
1382
  },
1413
- {
1414
- inputs: [
1415
- {
1416
- internalType: "address",
1417
- name: "actor",
1418
- type: "address",
1419
- },
1420
- {
1421
- internalType: "OperatorType",
1422
- name: "operatorType",
1423
- type: "uint8",
1424
- },
1425
- {
1426
- components: [
1427
- {
1428
- internalType: "uint64",
1429
- name: "tokenCode",
1430
- type: "uint64",
1431
- },
1432
- {
1433
- internalType: "int64",
1434
- name: "amount",
1435
- type: "int64",
1436
- },
1437
- ],
1438
- internalType: "struct TokenAmount",
1439
- name: "amount",
1440
- type: "tuple",
1441
- },
1442
- ],
1443
- name: "bond",
1444
- outputs: [],
1445
- stateMutability: "nonpayable",
1446
- type: "function",
1447
- },
1448
- {
1449
- inputs: [
1450
- {
1451
- internalType: "address",
1452
- name: "actor",
1453
- type: "address",
1454
- },
1455
- {
1456
- internalType: "OperatorType",
1457
- name: "operatorType",
1458
- type: "uint8",
1459
- },
1460
- ],
1461
- name: "bondCount",
1462
- outputs: [
1463
- {
1464
- internalType: "uint256",
1465
- name: "",
1466
- type: "uint256",
1467
- },
1468
- ],
1469
- stateMutability: "view",
1470
- type: "function",
1471
- },
1472
1383
  {
1473
1384
  inputs: [
1474
1385
  {
@@ -1509,201 +1420,6 @@ const _abi = [
1509
1420
  stateMutability: "nonpayable",
1510
1421
  type: "function",
1511
1422
  },
1512
- {
1513
- inputs: [
1514
- {
1515
- internalType: "address",
1516
- name: "actor",
1517
- type: "address",
1518
- },
1519
- {
1520
- internalType: "OperatorType",
1521
- name: "operatorType",
1522
- type: "uint8",
1523
- },
1524
- {
1525
- internalType: "uint256",
1526
- name: "bondIndex",
1527
- type: "uint256",
1528
- },
1529
- ],
1530
- name: "getBond",
1531
- outputs: [
1532
- {
1533
- components: [
1534
- {
1535
- internalType: "ActionType",
1536
- name: "actionType",
1537
- type: "uint8",
1538
- },
1539
- {
1540
- components: [
1541
- {
1542
- internalType: "ChainKind",
1543
- name: "kind",
1544
- type: "uint8",
1545
- },
1546
- {
1547
- internalType: "bytes",
1548
- name: "address_",
1549
- type: "bytes",
1550
- },
1551
- ],
1552
- internalType: "struct ChainAddress",
1553
- name: "opAddress",
1554
- type: "tuple",
1555
- },
1556
- {
1557
- internalType: "OperatorType",
1558
- name: "type_",
1559
- type: "uint8",
1560
- },
1561
- {
1562
- internalType: "OperatorStatus",
1563
- name: "status",
1564
- type: "uint8",
1565
- },
1566
- {
1567
- components: [
1568
- {
1569
- internalType: "uint64",
1570
- name: "tokenCode",
1571
- type: "uint64",
1572
- },
1573
- {
1574
- internalType: "int64",
1575
- name: "amount",
1576
- type: "int64",
1577
- },
1578
- ],
1579
- internalType: "struct TokenAmount",
1580
- name: "amount",
1581
- type: "tuple",
1582
- },
1583
- {
1584
- internalType: "uint64",
1585
- name: "requestId",
1586
- type: "uint64",
1587
- },
1588
- {
1589
- internalType: "uint64",
1590
- name: "chainCode",
1591
- type: "uint64",
1592
- },
1593
- {
1594
- internalType: "string",
1595
- name: "reason",
1596
- type: "string",
1597
- },
1598
- {
1599
- internalType: "uint64",
1600
- name: "reserveCode",
1601
- type: "uint64",
1602
- },
1603
- ],
1604
- internalType: "struct OperatorAction",
1605
- name: "",
1606
- type: "tuple",
1607
- },
1608
- ],
1609
- stateMutability: "view",
1610
- type: "function",
1611
- },
1612
- {
1613
- inputs: [
1614
- {
1615
- internalType: "address",
1616
- name: "actor",
1617
- type: "address",
1618
- },
1619
- {
1620
- internalType: "OperatorType",
1621
- name: "operatorType",
1622
- type: "uint8",
1623
- },
1624
- ],
1625
- name: "getBonds",
1626
- outputs: [
1627
- {
1628
- components: [
1629
- {
1630
- internalType: "ActionType",
1631
- name: "actionType",
1632
- type: "uint8",
1633
- },
1634
- {
1635
- components: [
1636
- {
1637
- internalType: "ChainKind",
1638
- name: "kind",
1639
- type: "uint8",
1640
- },
1641
- {
1642
- internalType: "bytes",
1643
- name: "address_",
1644
- type: "bytes",
1645
- },
1646
- ],
1647
- internalType: "struct ChainAddress",
1648
- name: "opAddress",
1649
- type: "tuple",
1650
- },
1651
- {
1652
- internalType: "OperatorType",
1653
- name: "type_",
1654
- type: "uint8",
1655
- },
1656
- {
1657
- internalType: "OperatorStatus",
1658
- name: "status",
1659
- type: "uint8",
1660
- },
1661
- {
1662
- components: [
1663
- {
1664
- internalType: "uint64",
1665
- name: "tokenCode",
1666
- type: "uint64",
1667
- },
1668
- {
1669
- internalType: "int64",
1670
- name: "amount",
1671
- type: "int64",
1672
- },
1673
- ],
1674
- internalType: "struct TokenAmount",
1675
- name: "amount",
1676
- type: "tuple",
1677
- },
1678
- {
1679
- internalType: "uint64",
1680
- name: "requestId",
1681
- type: "uint64",
1682
- },
1683
- {
1684
- internalType: "uint64",
1685
- name: "chainCode",
1686
- type: "uint64",
1687
- },
1688
- {
1689
- internalType: "string",
1690
- name: "reason",
1691
- type: "string",
1692
- },
1693
- {
1694
- internalType: "uint64",
1695
- name: "reserveCode",
1696
- type: "uint64",
1697
- },
1698
- ],
1699
- internalType: "struct OperatorAction[]",
1700
- name: "",
1701
- type: "tuple[]",
1702
- },
1703
- ],
1704
- stateMutability: "view",
1705
- type: "function",
1706
- },
1707
1423
  {
1708
1424
  inputs: [],
1709
1425
  name: "getSummaryAttestations",
@@ -1989,41 +1705,6 @@ const _abi = [
1989
1705
  stateMutability: "pure",
1990
1706
  type: "function",
1991
1707
  },
1992
- {
1993
- inputs: [
1994
- {
1995
- internalType: "address",
1996
- name: "actor",
1997
- type: "address",
1998
- },
1999
- {
2000
- internalType: "OperatorType",
2001
- name: "operatorType",
2002
- type: "uint8",
2003
- },
2004
- {
2005
- components: [
2006
- {
2007
- internalType: "uint64",
2008
- name: "tokenCode",
2009
- type: "uint64",
2010
- },
2011
- {
2012
- internalType: "int64",
2013
- name: "amount",
2014
- type: "int64",
2015
- },
2016
- ],
2017
- internalType: "struct TokenAmount",
2018
- name: "amount",
2019
- type: "tuple",
2020
- },
2021
- ],
2022
- name: "unbond",
2023
- outputs: [],
2024
- stateMutability: "nonpayable",
2025
- type: "function",
2026
- },
2027
1708
  {
2028
1709
  inputs: [
2029
1710
  {