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