@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
@@ -98,100 +98,79 @@
98
98
  "name": "InvalidInitialization",
99
99
  "type": "error"
100
100
  },
101
- {
102
- "inputs": [],
103
- "name": "NotInitializing",
104
- "type": "error"
105
- },
106
101
  {
107
102
  "inputs": [
108
103
  {
109
- "internalType": "uint32",
110
- "name": "nextEpochIndex",
111
- "type": "uint32"
112
- },
113
- {
114
- "internalType": "uint32",
115
- "name": "deliveries",
116
- "type": "uint32"
104
+ "internalType": "uint256",
105
+ "name": "position",
106
+ "type": "uint256"
117
107
  }
118
108
  ],
119
- "name": "OPP_BootstrapWindowClosed",
109
+ "name": "MalformedEnvelope",
120
110
  "type": "error"
121
111
  },
122
112
  {
123
113
  "inputs": [
124
114
  {
125
- "internalType": "address",
126
- "name": "operator_",
127
- "type": "address"
115
+ "internalType": "uint256",
116
+ "name": "position",
117
+ "type": "uint256"
128
118
  }
129
119
  ],
130
- "name": "OPP_ChunkBufferMissing",
120
+ "name": "MalformedVarint",
131
121
  "type": "error"
132
122
  },
133
123
  {
134
- "inputs": [
135
- {
136
- "internalType": "uint32",
137
- "name": "epochIndex",
138
- "type": "uint32"
139
- }
140
- ],
141
- "name": "OPP_ChunkBufferShapeMismatch",
124
+ "inputs": [],
125
+ "name": "NotInitializing",
142
126
  "type": "error"
143
127
  },
144
128
  {
145
129
  "inputs": [
146
130
  {
147
- "internalType": "uint16",
148
- "name": "chunkIndex",
149
- "type": "uint16"
131
+ "internalType": "uint32",
132
+ "name": "nextEpochIndex",
133
+ "type": "uint32"
150
134
  },
151
135
  {
152
- "internalType": "uint16",
153
- "name": "totalChunks",
154
- "type": "uint16"
136
+ "internalType": "uint32",
137
+ "name": "deliveries",
138
+ "type": "uint32"
155
139
  }
156
140
  ],
157
- "name": "OPP_ChunkIndexOutOfRange",
141
+ "name": "OPP_BootstrapWindowClosed",
158
142
  "type": "error"
159
143
  },
160
144
  {
161
145
  "inputs": [
162
146
  {
163
- "internalType": "uint16",
147
+ "internalType": "bytes32",
164
148
  "name": "expected",
165
- "type": "uint16"
149
+ "type": "bytes32"
166
150
  },
167
151
  {
168
- "internalType": "uint16",
169
- "name": "actual",
170
- "type": "uint16"
152
+ "internalType": "bytes32",
153
+ "name": "found",
154
+ "type": "bytes32"
171
155
  }
172
156
  ],
173
- "name": "OPP_ChunkOutOfOrder",
157
+ "name": "OPP_DigestMismatch",
174
158
  "type": "error"
175
159
  },
176
160
  {
177
161
  "inputs": [
178
- {
179
- "internalType": "uint16",
180
- "name": "chunkIndex",
181
- "type": "uint16"
182
- },
183
162
  {
184
163
  "internalType": "uint256",
185
- "name": "expected",
164
+ "name": "gasLeft",
186
165
  "type": "uint256"
187
166
  },
188
167
  {
189
168
  "internalType": "uint256",
190
- "name": "actual",
169
+ "name": "floor",
191
170
  "type": "uint256"
192
171
  }
193
172
  ],
194
- "name": "OPP_ChunkSizeMismatch",
173
+ "name": "OPP_DispatchUnderfunded",
195
174
  "type": "error"
196
175
  },
197
176
  {
@@ -242,6 +221,27 @@
242
221
  "name": "OPP_EpochHashMismatch",
243
222
  "type": "error"
244
223
  },
224
+ {
225
+ "inputs": [
226
+ {
227
+ "internalType": "address",
228
+ "name": "handler",
229
+ "type": "address"
230
+ },
231
+ {
232
+ "internalType": "AttestationType",
233
+ "name": "attestationType",
234
+ "type": "uint16"
235
+ },
236
+ {
237
+ "internalType": "uint256",
238
+ "name": "gasBound",
239
+ "type": "uint256"
240
+ }
241
+ ],
242
+ "name": "OPP_HandlerGasExhausted",
243
+ "type": "error"
244
+ },
245
245
  {
246
246
  "inputs": [
247
247
  {
@@ -272,17 +272,12 @@
272
272
  {
273
273
  "inputs": [
274
274
  {
275
- "internalType": "uint16",
276
- "name": "expected",
277
- "type": "uint16"
278
- },
279
- {
280
- "internalType": "uint16",
281
- "name": "actual",
282
- "type": "uint16"
275
+ "internalType": "address",
276
+ "name": "caller",
277
+ "type": "address"
283
278
  }
284
279
  ],
285
- "name": "OPP_InvalidChunkCount",
280
+ "name": "OPP_InternalDispatchOnly",
286
281
  "type": "error"
287
282
  },
288
283
  {
@@ -359,17 +354,6 @@
359
354
  "name": "OPP_NoAttestationsSent",
360
355
  "type": "error"
361
356
  },
362
- {
363
- "inputs": [
364
- {
365
- "internalType": "address",
366
- "name": "operator_",
367
- "type": "address"
368
- }
369
- ],
370
- "name": "OPP_NoChunkSlot",
371
- "type": "error"
372
- },
373
357
  {
374
358
  "inputs": [],
375
359
  "name": "OPP_NoPendingAttestations",
@@ -492,6 +476,22 @@
492
476
  "name": "OPP_OperatorAlreadyDelivered",
493
477
  "type": "error"
494
478
  },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "warmedWords",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "internalType": "uint256",
488
+ "name": "wordCount",
489
+ "type": "uint256"
490
+ }
491
+ ],
492
+ "name": "OPP_OutboundBankNotWarm",
493
+ "type": "error"
494
+ },
495
495
  {
496
496
  "inputs": [
497
497
  {
@@ -508,6 +508,22 @@
508
508
  "name": "OPP_OutboundMessageUnpackable",
509
509
  "type": "error"
510
510
  },
511
+ {
512
+ "inputs": [
513
+ {
514
+ "internalType": "uint256",
515
+ "name": "warmedWords",
516
+ "type": "uint256"
517
+ },
518
+ {
519
+ "internalType": "uint256",
520
+ "name": "fromWord",
521
+ "type": "uint256"
522
+ }
523
+ ],
524
+ "name": "OPP_OutboundPrewarmNotContiguous",
525
+ "type": "error"
526
+ },
511
527
  {
512
528
  "inputs": [
513
529
  {
@@ -567,6 +583,17 @@
567
583
  "name": "OPP_UnauthorizedAttestationType",
568
584
  "type": "error"
569
585
  },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "AttestationType",
590
+ "name": "attestationType",
591
+ "type": "uint16"
592
+ }
593
+ ],
594
+ "name": "OPP_UnhandledAttestationType",
595
+ "type": "error"
596
+ },
570
597
  {
571
598
  "inputs": [
572
599
  {
@@ -614,6 +641,11 @@
614
641
  "name": "OPP_WrongDestinationChain",
615
642
  "type": "error"
616
643
  },
644
+ {
645
+ "inputs": [],
646
+ "name": "OPP_ZeroEpochDuration",
647
+ "type": "error"
648
+ },
617
649
  {
618
650
  "inputs": [],
619
651
  "name": "OPP_ZeroTag",
@@ -720,43 +752,11 @@
720
752
  "name": "WIRE_DepositorKeyMismatch",
721
753
  "type": "error"
722
754
  },
723
- {
724
- "inputs": [
725
- {
726
- "internalType": "address",
727
- "name": "to",
728
- "type": "address"
729
- },
730
- {
731
- "internalType": "uint256",
732
- "name": "amount",
733
- "type": "uint256"
734
- }
735
- ],
736
- "name": "WIRE_EthSendFailed",
737
- "type": "error"
738
- },
739
755
  {
740
756
  "inputs": [],
741
757
  "name": "WIRE_GoLiveInProgress",
742
758
  "type": "error"
743
759
  },
744
- {
745
- "inputs": [
746
- {
747
- "internalType": "uint64",
748
- "name": "initialPrincipal",
749
- "type": "uint64"
750
- },
751
- {
752
- "internalType": "uint64",
753
- "name": "balanceDepot",
754
- "type": "uint64"
755
- }
756
- ],
757
- "name": "WIRE_InitialPrincipalExceedsBalance",
758
- "type": "error"
759
- },
760
760
  {
761
761
  "inputs": [
762
762
  {
@@ -784,6 +784,22 @@
784
784
  "name": "WIRE_InvalidDepositorKey",
785
785
  "type": "error"
786
786
  },
787
+ {
788
+ "inputs": [
789
+ {
790
+ "internalType": "uint64",
791
+ "name": "minimum",
792
+ "type": "uint64"
793
+ },
794
+ {
795
+ "internalType": "uint256",
796
+ "name": "maximum",
797
+ "type": "uint256"
798
+ }
799
+ ],
800
+ "name": "WIRE_InvalidMinSyndication",
801
+ "type": "error"
802
+ },
787
803
  {
788
804
  "inputs": [
789
805
  {
@@ -1060,6 +1076,22 @@
1060
1076
  "name": "WIRE_SyndicationAboveMaximum",
1061
1077
  "type": "error"
1062
1078
  },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "uint64",
1083
+ "name": "amount",
1084
+ "type": "uint64"
1085
+ },
1086
+ {
1087
+ "internalType": "uint64",
1088
+ "name": "minimum",
1089
+ "type": "uint64"
1090
+ }
1091
+ ],
1092
+ "name": "WIRE_SyndicationBelowMinimum",
1093
+ "type": "error"
1094
+ },
1063
1095
  {
1064
1096
  "inputs": [
1065
1097
  {
@@ -1173,6 +1205,50 @@
1173
1205
  "name": "CustodyShortfall",
1174
1206
  "type": "event"
1175
1207
  },
1208
+ {
1209
+ "anonymous": false,
1210
+ "inputs": [
1211
+ {
1212
+ "indexed": false,
1213
+ "internalType": "uint32",
1214
+ "name": "shortfallBps",
1215
+ "type": "uint32"
1216
+ }
1217
+ ],
1218
+ "name": "CustodyShortfallBpsSet",
1219
+ "type": "event"
1220
+ },
1221
+ {
1222
+ "anonymous": false,
1223
+ "inputs": [
1224
+ {
1225
+ "indexed": true,
1226
+ "internalType": "uint64",
1227
+ "name": "requestId",
1228
+ "type": "uint64"
1229
+ },
1230
+ {
1231
+ "indexed": false,
1232
+ "internalType": "uint64",
1233
+ "name": "postPayoutBalanceDepot",
1234
+ "type": "uint64"
1235
+ },
1236
+ {
1237
+ "indexed": false,
1238
+ "internalType": "uint64",
1239
+ "name": "totalSyndicated",
1240
+ "type": "uint64"
1241
+ },
1242
+ {
1243
+ "indexed": false,
1244
+ "internalType": "uint32",
1245
+ "name": "toleranceBps",
1246
+ "type": "uint32"
1247
+ }
1248
+ ],
1249
+ "name": "CustodyShortfallTolerated",
1250
+ "type": "event"
1251
+ },
1176
1252
  {
1177
1253
  "anonymous": false,
1178
1254
  "inputs": [
@@ -1312,6 +1388,19 @@
1312
1388
  "name": "MaxSyndicationPerTransferSet",
1313
1389
  "type": "event"
1314
1390
  },
1391
+ {
1392
+ "anonymous": false,
1393
+ "inputs": [
1394
+ {
1395
+ "indexed": false,
1396
+ "internalType": "uint64",
1397
+ "name": "minimum",
1398
+ "type": "uint64"
1399
+ }
1400
+ ],
1401
+ "name": "MinSyndicationSet",
1402
+ "type": "event"
1403
+ },
1315
1404
  {
1316
1405
  "anonymous": false,
1317
1406
  "inputs": [
@@ -1458,6 +1547,19 @@
1458
1547
  "name": "YieldRealized",
1459
1548
  "type": "event"
1460
1549
  },
1550
+ {
1551
+ "inputs": [],
1552
+ "name": "BPS_DENOMINATOR",
1553
+ "outputs": [
1554
+ {
1555
+ "internalType": "uint256",
1556
+ "name": "",
1557
+ "type": "uint256"
1558
+ }
1559
+ ],
1560
+ "stateMutability": "view",
1561
+ "type": "function"
1562
+ },
1461
1563
  {
1462
1564
  "inputs": [],
1463
1565
  "name": "COMPRESSED_PUBKEY_LENGTH",
@@ -1497,6 +1599,19 @@
1497
1599
  "stateMutability": "view",
1498
1600
  "type": "function"
1499
1601
  },
1602
+ {
1603
+ "inputs": [],
1604
+ "name": "MAX_CUSTODY_SHORTFALL_BPS",
1605
+ "outputs": [
1606
+ {
1607
+ "internalType": "uint32",
1608
+ "name": "",
1609
+ "type": "uint32"
1610
+ }
1611
+ ],
1612
+ "stateMutability": "view",
1613
+ "type": "function"
1614
+ },
1500
1615
  {
1501
1616
  "inputs": [
1502
1617
  {
@@ -1554,6 +1669,19 @@
1554
1669
  "stateMutability": "view",
1555
1670
  "type": "function"
1556
1671
  },
1672
+ {
1673
+ "inputs": [],
1674
+ "name": "custodyShortfallBps",
1675
+ "outputs": [
1676
+ {
1677
+ "internalType": "uint32",
1678
+ "name": "",
1679
+ "type": "uint32"
1680
+ }
1681
+ ],
1682
+ "stateMutability": "view",
1683
+ "type": "function"
1684
+ },
1557
1685
  {
1558
1686
  "inputs": [
1559
1687
  {
@@ -1732,6 +1860,19 @@
1732
1860
  "stateMutability": "view",
1733
1861
  "type": "function"
1734
1862
  },
1863
+ {
1864
+ "inputs": [],
1865
+ "name": "minSyndication",
1866
+ "outputs": [
1867
+ {
1868
+ "internalType": "uint64",
1869
+ "name": "",
1870
+ "type": "uint64"
1871
+ }
1872
+ ],
1873
+ "stateMutability": "view",
1874
+ "type": "function"
1875
+ },
1735
1876
  {
1736
1877
  "inputs": [],
1737
1878
  "name": "oppAddress",
@@ -1892,6 +2033,19 @@
1892
2033
  "stateMutability": "nonpayable",
1893
2034
  "type": "function"
1894
2035
  },
2036
+ {
2037
+ "inputs": [
2038
+ {
2039
+ "internalType": "uint32",
2040
+ "name": "shortfallBps",
2041
+ "type": "uint32"
2042
+ }
2043
+ ],
2044
+ "name": "setCustodyShortfallBps",
2045
+ "outputs": [],
2046
+ "stateMutability": "nonpayable",
2047
+ "type": "function"
2048
+ },
1895
2049
  {
1896
2050
  "inputs": [
1897
2051
  {
@@ -1944,6 +2098,19 @@
1944
2098
  "stateMutability": "nonpayable",
1945
2099
  "type": "function"
1946
2100
  },
2101
+ {
2102
+ "inputs": [
2103
+ {
2104
+ "internalType": "uint64",
2105
+ "name": "minimum",
2106
+ "type": "uint64"
2107
+ }
2108
+ ],
2109
+ "name": "setMinSyndication",
2110
+ "outputs": [],
2111
+ "stateMutability": "nonpayable",
2112
+ "type": "function"
2113
+ },
1947
2114
  {
1948
2115
  "inputs": [
1949
2116
  {