@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
@@ -102,100 +102,79 @@ const _abi = [
102
102
  name: "InvalidInitialization",
103
103
  type: "error",
104
104
  },
105
- {
106
- inputs: [],
107
- name: "NotInitializing",
108
- type: "error",
109
- },
110
105
  {
111
106
  inputs: [
112
107
  {
113
- internalType: "uint32",
114
- name: "nextEpochIndex",
115
- type: "uint32",
116
- },
117
- {
118
- internalType: "uint32",
119
- name: "deliveries",
120
- type: "uint32",
108
+ internalType: "uint256",
109
+ name: "position",
110
+ type: "uint256",
121
111
  },
122
112
  ],
123
- name: "OPP_BootstrapWindowClosed",
113
+ name: "MalformedEnvelope",
124
114
  type: "error",
125
115
  },
126
116
  {
127
117
  inputs: [
128
118
  {
129
- internalType: "address",
130
- name: "operator_",
131
- type: "address",
119
+ internalType: "uint256",
120
+ name: "position",
121
+ type: "uint256",
132
122
  },
133
123
  ],
134
- name: "OPP_ChunkBufferMissing",
124
+ name: "MalformedVarint",
135
125
  type: "error",
136
126
  },
137
127
  {
138
- inputs: [
139
- {
140
- internalType: "uint32",
141
- name: "epochIndex",
142
- type: "uint32",
143
- },
144
- ],
145
- name: "OPP_ChunkBufferShapeMismatch",
128
+ inputs: [],
129
+ name: "NotInitializing",
146
130
  type: "error",
147
131
  },
148
132
  {
149
133
  inputs: [
150
134
  {
151
- internalType: "uint16",
152
- name: "chunkIndex",
153
- type: "uint16",
135
+ internalType: "uint32",
136
+ name: "nextEpochIndex",
137
+ type: "uint32",
154
138
  },
155
139
  {
156
- internalType: "uint16",
157
- name: "totalChunks",
158
- type: "uint16",
140
+ internalType: "uint32",
141
+ name: "deliveries",
142
+ type: "uint32",
159
143
  },
160
144
  ],
161
- name: "OPP_ChunkIndexOutOfRange",
145
+ name: "OPP_BootstrapWindowClosed",
162
146
  type: "error",
163
147
  },
164
148
  {
165
149
  inputs: [
166
150
  {
167
- internalType: "uint16",
151
+ internalType: "bytes32",
168
152
  name: "expected",
169
- type: "uint16",
153
+ type: "bytes32",
170
154
  },
171
155
  {
172
- internalType: "uint16",
173
- name: "actual",
174
- type: "uint16",
156
+ internalType: "bytes32",
157
+ name: "found",
158
+ type: "bytes32",
175
159
  },
176
160
  ],
177
- name: "OPP_ChunkOutOfOrder",
161
+ name: "OPP_DigestMismatch",
178
162
  type: "error",
179
163
  },
180
164
  {
181
165
  inputs: [
182
- {
183
- internalType: "uint16",
184
- name: "chunkIndex",
185
- type: "uint16",
186
- },
187
166
  {
188
167
  internalType: "uint256",
189
- name: "expected",
168
+ name: "gasLeft",
190
169
  type: "uint256",
191
170
  },
192
171
  {
193
172
  internalType: "uint256",
194
- name: "actual",
173
+ name: "floor",
195
174
  type: "uint256",
196
175
  },
197
176
  ],
198
- name: "OPP_ChunkSizeMismatch",
177
+ name: "OPP_DispatchUnderfunded",
199
178
  type: "error",
200
179
  },
201
180
  {
@@ -246,6 +225,27 @@ const _abi = [
246
225
  name: "OPP_EpochHashMismatch",
247
226
  type: "error",
248
227
  },
228
+ {
229
+ inputs: [
230
+ {
231
+ internalType: "address",
232
+ name: "handler",
233
+ type: "address",
234
+ },
235
+ {
236
+ internalType: "AttestationType",
237
+ name: "attestationType",
238
+ type: "uint16",
239
+ },
240
+ {
241
+ internalType: "uint256",
242
+ name: "gasBound",
243
+ type: "uint256",
244
+ },
245
+ ],
246
+ name: "OPP_HandlerGasExhausted",
247
+ type: "error",
248
+ },
249
249
  {
250
250
  inputs: [
251
251
  {
@@ -276,17 +276,12 @@ const _abi = [
276
276
  {
277
277
  inputs: [
278
278
  {
279
- internalType: "uint16",
280
- name: "expected",
281
- type: "uint16",
282
- },
283
- {
284
- internalType: "uint16",
285
- name: "actual",
286
- type: "uint16",
279
+ internalType: "address",
280
+ name: "caller",
281
+ type: "address",
287
282
  },
288
283
  ],
289
- name: "OPP_InvalidChunkCount",
284
+ name: "OPP_InternalDispatchOnly",
290
285
  type: "error",
291
286
  },
292
287
  {
@@ -363,17 +358,6 @@ const _abi = [
363
358
  name: "OPP_NoAttestationsSent",
364
359
  type: "error",
365
360
  },
366
- {
367
- inputs: [
368
- {
369
- internalType: "address",
370
- name: "operator_",
371
- type: "address",
372
- },
373
- ],
374
- name: "OPP_NoChunkSlot",
375
- type: "error",
376
- },
377
361
  {
378
362
  inputs: [],
379
363
  name: "OPP_NoPendingAttestations",
@@ -496,6 +480,22 @@ const _abi = [
496
480
  name: "OPP_OperatorAlreadyDelivered",
497
481
  type: "error",
498
482
  },
483
+ {
484
+ inputs: [
485
+ {
486
+ internalType: "uint256",
487
+ name: "warmedWords",
488
+ type: "uint256",
489
+ },
490
+ {
491
+ internalType: "uint256",
492
+ name: "wordCount",
493
+ type: "uint256",
494
+ },
495
+ ],
496
+ name: "OPP_OutboundBankNotWarm",
497
+ type: "error",
498
+ },
499
499
  {
500
500
  inputs: [
501
501
  {
@@ -512,6 +512,22 @@ const _abi = [
512
512
  name: "OPP_OutboundMessageUnpackable",
513
513
  type: "error",
514
514
  },
515
+ {
516
+ inputs: [
517
+ {
518
+ internalType: "uint256",
519
+ name: "warmedWords",
520
+ type: "uint256",
521
+ },
522
+ {
523
+ internalType: "uint256",
524
+ name: "fromWord",
525
+ type: "uint256",
526
+ },
527
+ ],
528
+ name: "OPP_OutboundPrewarmNotContiguous",
529
+ type: "error",
530
+ },
515
531
  {
516
532
  inputs: [
517
533
  {
@@ -571,6 +587,17 @@ const _abi = [
571
587
  name: "OPP_UnauthorizedAttestationType",
572
588
  type: "error",
573
589
  },
590
+ {
591
+ inputs: [
592
+ {
593
+ internalType: "AttestationType",
594
+ name: "attestationType",
595
+ type: "uint16",
596
+ },
597
+ ],
598
+ name: "OPP_UnhandledAttestationType",
599
+ type: "error",
600
+ },
574
601
  {
575
602
  inputs: [
576
603
  {
@@ -618,6 +645,11 @@ const _abi = [
618
645
  name: "OPP_WrongDestinationChain",
619
646
  type: "error",
620
647
  },
648
+ {
649
+ inputs: [],
650
+ name: "OPP_ZeroEpochDuration",
651
+ type: "error",
652
+ },
621
653
  {
622
654
  inputs: [],
623
655
  name: "OPP_ZeroTag",
@@ -724,43 +756,11 @@ const _abi = [
724
756
  name: "WIRE_DepositorKeyMismatch",
725
757
  type: "error",
726
758
  },
727
- {
728
- inputs: [
729
- {
730
- internalType: "address",
731
- name: "to",
732
- type: "address",
733
- },
734
- {
735
- internalType: "uint256",
736
- name: "amount",
737
- type: "uint256",
738
- },
739
- ],
740
- name: "WIRE_EthSendFailed",
741
- type: "error",
742
- },
743
759
  {
744
760
  inputs: [],
745
761
  name: "WIRE_GoLiveInProgress",
746
762
  type: "error",
747
763
  },
748
- {
749
- inputs: [
750
- {
751
- internalType: "uint64",
752
- name: "initialPrincipal",
753
- type: "uint64",
754
- },
755
- {
756
- internalType: "uint64",
757
- name: "balanceDepot",
758
- type: "uint64",
759
- },
760
- ],
761
- name: "WIRE_InitialPrincipalExceedsBalance",
762
- type: "error",
763
- },
764
764
  {
765
765
  inputs: [
766
766
  {
@@ -788,6 +788,22 @@ const _abi = [
788
788
  name: "WIRE_InvalidDepositorKey",
789
789
  type: "error",
790
790
  },
791
+ {
792
+ inputs: [
793
+ {
794
+ internalType: "uint64",
795
+ name: "minimum",
796
+ type: "uint64",
797
+ },
798
+ {
799
+ internalType: "uint256",
800
+ name: "maximum",
801
+ type: "uint256",
802
+ },
803
+ ],
804
+ name: "WIRE_InvalidMinSyndication",
805
+ type: "error",
806
+ },
791
807
  {
792
808
  inputs: [
793
809
  {
@@ -1064,6 +1080,22 @@ const _abi = [
1064
1080
  name: "WIRE_SyndicationAboveMaximum",
1065
1081
  type: "error",
1066
1082
  },
1083
+ {
1084
+ inputs: [
1085
+ {
1086
+ internalType: "uint64",
1087
+ name: "amount",
1088
+ type: "uint64",
1089
+ },
1090
+ {
1091
+ internalType: "uint64",
1092
+ name: "minimum",
1093
+ type: "uint64",
1094
+ },
1095
+ ],
1096
+ name: "WIRE_SyndicationBelowMinimum",
1097
+ type: "error",
1098
+ },
1067
1099
  {
1068
1100
  inputs: [
1069
1101
  {
@@ -1177,6 +1209,50 @@ const _abi = [
1177
1209
  name: "CustodyShortfall",
1178
1210
  type: "event",
1179
1211
  },
1212
+ {
1213
+ anonymous: false,
1214
+ inputs: [
1215
+ {
1216
+ indexed: false,
1217
+ internalType: "uint32",
1218
+ name: "shortfallBps",
1219
+ type: "uint32",
1220
+ },
1221
+ ],
1222
+ name: "CustodyShortfallBpsSet",
1223
+ type: "event",
1224
+ },
1225
+ {
1226
+ anonymous: false,
1227
+ inputs: [
1228
+ {
1229
+ indexed: true,
1230
+ internalType: "uint64",
1231
+ name: "requestId",
1232
+ type: "uint64",
1233
+ },
1234
+ {
1235
+ indexed: false,
1236
+ internalType: "uint64",
1237
+ name: "postPayoutBalanceDepot",
1238
+ type: "uint64",
1239
+ },
1240
+ {
1241
+ indexed: false,
1242
+ internalType: "uint64",
1243
+ name: "totalSyndicated",
1244
+ type: "uint64",
1245
+ },
1246
+ {
1247
+ indexed: false,
1248
+ internalType: "uint32",
1249
+ name: "toleranceBps",
1250
+ type: "uint32",
1251
+ },
1252
+ ],
1253
+ name: "CustodyShortfallTolerated",
1254
+ type: "event",
1255
+ },
1180
1256
  {
1181
1257
  anonymous: false,
1182
1258
  inputs: [
@@ -1316,6 +1392,19 @@ const _abi = [
1316
1392
  name: "MaxSyndicationPerTransferSet",
1317
1393
  type: "event",
1318
1394
  },
1395
+ {
1396
+ anonymous: false,
1397
+ inputs: [
1398
+ {
1399
+ indexed: false,
1400
+ internalType: "uint64",
1401
+ name: "minimum",
1402
+ type: "uint64",
1403
+ },
1404
+ ],
1405
+ name: "MinSyndicationSet",
1406
+ type: "event",
1407
+ },
1319
1408
  {
1320
1409
  anonymous: false,
1321
1410
  inputs: [
@@ -1462,6 +1551,19 @@ const _abi = [
1462
1551
  name: "YieldRealized",
1463
1552
  type: "event",
1464
1553
  },
1554
+ {
1555
+ inputs: [],
1556
+ name: "BPS_DENOMINATOR",
1557
+ outputs: [
1558
+ {
1559
+ internalType: "uint256",
1560
+ name: "",
1561
+ type: "uint256",
1562
+ },
1563
+ ],
1564
+ stateMutability: "view",
1565
+ type: "function",
1566
+ },
1465
1567
  {
1466
1568
  inputs: [],
1467
1569
  name: "COMPRESSED_PUBKEY_LENGTH",
@@ -1501,6 +1603,19 @@ const _abi = [
1501
1603
  stateMutability: "view",
1502
1604
  type: "function",
1503
1605
  },
1606
+ {
1607
+ inputs: [],
1608
+ name: "MAX_CUSTODY_SHORTFALL_BPS",
1609
+ outputs: [
1610
+ {
1611
+ internalType: "uint32",
1612
+ name: "",
1613
+ type: "uint32",
1614
+ },
1615
+ ],
1616
+ stateMutability: "view",
1617
+ type: "function",
1618
+ },
1504
1619
  {
1505
1620
  inputs: [
1506
1621
  {
@@ -1558,6 +1673,19 @@ const _abi = [
1558
1673
  stateMutability: "view",
1559
1674
  type: "function",
1560
1675
  },
1676
+ {
1677
+ inputs: [],
1678
+ name: "custodyShortfallBps",
1679
+ outputs: [
1680
+ {
1681
+ internalType: "uint32",
1682
+ name: "",
1683
+ type: "uint32",
1684
+ },
1685
+ ],
1686
+ stateMutability: "view",
1687
+ type: "function",
1688
+ },
1561
1689
  {
1562
1690
  inputs: [
1563
1691
  {
@@ -1736,6 +1864,19 @@ const _abi = [
1736
1864
  stateMutability: "view",
1737
1865
  type: "function",
1738
1866
  },
1867
+ {
1868
+ inputs: [],
1869
+ name: "minSyndication",
1870
+ outputs: [
1871
+ {
1872
+ internalType: "uint64",
1873
+ name: "",
1874
+ type: "uint64",
1875
+ },
1876
+ ],
1877
+ stateMutability: "view",
1878
+ type: "function",
1879
+ },
1739
1880
  {
1740
1881
  inputs: [],
1741
1882
  name: "oppAddress",
@@ -1896,6 +2037,19 @@ const _abi = [
1896
2037
  stateMutability: "nonpayable",
1897
2038
  type: "function",
1898
2039
  },
2040
+ {
2041
+ inputs: [
2042
+ {
2043
+ internalType: "uint32",
2044
+ name: "shortfallBps",
2045
+ type: "uint32",
2046
+ },
2047
+ ],
2048
+ name: "setCustodyShortfallBps",
2049
+ outputs: [],
2050
+ stateMutability: "nonpayable",
2051
+ type: "function",
2052
+ },
1899
2053
  {
1900
2054
  inputs: [
1901
2055
  {
@@ -1948,6 +2102,19 @@ const _abi = [
1948
2102
  stateMutability: "nonpayable",
1949
2103
  type: "function",
1950
2104
  },
2105
+ {
2106
+ inputs: [
2107
+ {
2108
+ internalType: "uint64",
2109
+ name: "minimum",
2110
+ type: "uint64",
2111
+ },
2112
+ ],
2113
+ name: "setMinSyndication",
2114
+ outputs: [],
2115
+ stateMutability: "nonpayable",
2116
+ type: "function",
2117
+ },
1951
2118
  {
1952
2119
  inputs: [
1953
2120
  {