@wireio/outpost-ethereum-artifacts 0.4.3 → 0.4.4

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 (37) hide show
  1. package/abis/BAR.json +83 -434
  2. package/abis/OPP.json +122 -67
  3. package/abis/OPPInbound.json +226 -367
  4. package/abis/SyndicationPool.json +83 -83
  5. package/lib/cjs/Manifest.js +53 -47
  6. package/lib/cjs/contracts/BAR.d.ts +2 -180
  7. package/lib/cjs/contracts/OPP.d.ts +13 -1
  8. package/lib/cjs/contracts/OPPInbound.d.ts +118 -196
  9. package/lib/cjs/contracts/factories/BAR__factory.d.ts +69 -341
  10. package/lib/cjs/contracts/factories/BAR__factory.js +83 -434
  11. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +188 -298
  12. package/lib/cjs/contracts/factories/OPPInbound__factory.js +226 -367
  13. package/lib/cjs/contracts/factories/OPP__factory.d.ts +99 -57
  14. package/lib/cjs/contracts/factories/OPP__factory.js +122 -67
  15. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  16. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +83 -83
  17. package/lib/esm/Manifest.js +53 -47
  18. package/lib/esm/contracts/BAR.d.ts +2 -180
  19. package/lib/esm/contracts/OPP.d.ts +13 -1
  20. package/lib/esm/contracts/OPPInbound.d.ts +118 -196
  21. package/lib/esm/contracts/factories/BAR__factory.d.ts +69 -341
  22. package/lib/esm/contracts/factories/BAR__factory.js +83 -434
  23. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +188 -298
  24. package/lib/esm/contracts/factories/OPPInbound__factory.js +226 -367
  25. package/lib/esm/contracts/factories/OPP__factory.d.ts +99 -57
  26. package/lib/esm/contracts/factories/OPP__factory.js +122 -67
  27. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  28. package/lib/esm/contracts/factories/SyndicationPool__factory.js +83 -83
  29. package/manifest.json +53 -47
  30. package/package.json +1 -1
  31. package/runtime/BAR.bin +0 -0
  32. package/runtime/DepositManager.bin +0 -0
  33. package/runtime/LiqEthToken.bin +0 -0
  34. package/runtime/OPP.bin +0 -0
  35. package/runtime/OPPInbound.bin +0 -0
  36. package/runtime/SyndicationPool.bin +0 -0
  37. 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
  {
@@ -719,22 +735,6 @@ const _abi = [
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
  {
@@ -1113,68 +1113,6 @@ const _abi = [
1113
1113
  name: "WIRE_ZeroAmount",
1114
1114
  type: "error",
1115
1115
  },
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
1116
  {
1179
1117
  anonymous: false,
1180
1118
  inputs: [
@@ -1413,65 +1351,6 @@ const _abi = [
1413
1351
  stateMutability: "view",
1414
1352
  type: "function",
1415
1353
  },
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
1354
  {
1476
1355
  inputs: [
1477
1356
  {
@@ -1512,201 +1391,6 @@ const _abi = [
1512
1391
  stateMutability: "nonpayable",
1513
1392
  type: "function",
1514
1393
  },
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
1394
  {
1711
1395
  inputs: [],
1712
1396
  name: "getSummaryAttestations",
@@ -1992,41 +1676,6 @@ const _abi = [
1992
1676
  stateMutability: "pure",
1993
1677
  type: "function",
1994
1678
  },
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
1679
  {
2031
1680
  inputs: [
2032
1681
  {