@wireio/outpost-ethereum-artifacts 0.4.4 → 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 (57) hide show
  1. package/README.md +2 -4
  2. package/abis/BAR.json +48 -16
  3. package/abis/DepositManager.json +1917 -233
  4. package/abis/LiqEthToken.json +2039 -79
  5. package/abis/OPP.json +16 -0
  6. package/abis/OPPInbound.json +100 -49
  7. package/abis/SyndicationPool.json +183 -16
  8. package/abis/WithdrawalQueue.json +1926 -77
  9. package/lib/cjs/Manifest.js +48 -48
  10. package/lib/cjs/contracts/DepositManager.d.ts +80 -188
  11. package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
  12. package/lib/cjs/contracts/OPPInbound.d.ts +78 -52
  13. package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
  14. package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
  15. package/lib/cjs/contracts/factories/BAR__factory.d.ts +36 -12
  16. package/lib/cjs/contracts/factories/BAR__factory.js +48 -16
  17. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
  18. package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
  19. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  20. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
  21. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +81 -43
  22. package/lib/cjs/contracts/factories/OPPInbound__factory.js +99 -48
  23. package/lib/cjs/contracts/factories/OPP__factory.d.ts +12 -0
  24. package/lib/cjs/contracts/factories/OPP__factory.js +16 -0
  25. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +141 -12
  26. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +183 -16
  27. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  28. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  29. package/lib/esm/Manifest.js +48 -48
  30. package/lib/esm/contracts/DepositManager.d.ts +80 -188
  31. package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
  32. package/lib/esm/contracts/OPPInbound.d.ts +78 -52
  33. package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
  34. package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
  35. package/lib/esm/contracts/factories/BAR__factory.d.ts +36 -12
  36. package/lib/esm/contracts/factories/BAR__factory.js +48 -16
  37. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
  38. package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
  39. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  40. package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
  41. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +81 -43
  42. package/lib/esm/contracts/factories/OPPInbound__factory.js +99 -48
  43. package/lib/esm/contracts/factories/OPP__factory.d.ts +12 -0
  44. package/lib/esm/contracts/factories/OPP__factory.js +16 -0
  45. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +141 -12
  46. package/lib/esm/contracts/factories/SyndicationPool__factory.js +183 -16
  47. package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  48. package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  49. package/manifest.json +48 -48
  50. package/package.json +1 -1
  51. package/runtime/BAR.bin +0 -0
  52. package/runtime/DepositManager.bin +0 -0
  53. package/runtime/LiqEthToken.bin +0 -0
  54. package/runtime/OPP.bin +0 -0
  55. package/runtime/OPPInbound.bin +0 -0
  56. package/runtime/SyndicationPool.bin +0 -0
  57. package/runtime/WithdrawalQueue.bin +0 -0
@@ -437,6 +437,14 @@ export declare class SyndicationPool__factory {
437
437
  }];
438
438
  readonly name: "OPP_UnauthorizedAttestationType";
439
439
  readonly type: "error";
440
+ }, {
441
+ readonly inputs: readonly [{
442
+ readonly internalType: "AttestationType";
443
+ readonly name: "attestationType";
444
+ readonly type: "uint16";
445
+ }];
446
+ readonly name: "OPP_UnhandledAttestationType";
447
+ readonly type: "error";
440
448
  }, {
441
449
  readonly inputs: readonly [{
442
450
  readonly internalType: "uint32";
@@ -473,6 +481,10 @@ export declare class SyndicationPool__factory {
473
481
  }];
474
482
  readonly name: "OPP_WrongDestinationChain";
475
483
  readonly type: "error";
484
+ }, {
485
+ readonly inputs: readonly [];
486
+ readonly name: "OPP_ZeroEpochDuration";
487
+ readonly type: "error";
476
488
  }, {
477
489
  readonly inputs: readonly [];
478
490
  readonly name: "OPP_ZeroTag";
@@ -553,18 +565,6 @@ export declare class SyndicationPool__factory {
553
565
  }];
554
566
  readonly name: "WIRE_DepositorKeyMismatch";
555
567
  readonly type: "error";
556
- }, {
557
- readonly inputs: readonly [{
558
- readonly internalType: "address";
559
- readonly name: "to";
560
- readonly type: "address";
561
- }, {
562
- readonly internalType: "uint256";
563
- readonly name: "amount";
564
- readonly type: "uint256";
565
- }];
566
- readonly name: "WIRE_EthSendFailed";
567
- readonly type: "error";
568
568
  }, {
569
569
  readonly inputs: readonly [];
570
570
  readonly name: "WIRE_GoLiveInProgress";
@@ -589,6 +589,18 @@ export declare class SyndicationPool__factory {
589
589
  }];
590
590
  readonly name: "WIRE_InvalidDepositorKey";
591
591
  readonly type: "error";
592
+ }, {
593
+ readonly inputs: readonly [{
594
+ readonly internalType: "uint64";
595
+ readonly name: "minimum";
596
+ readonly type: "uint64";
597
+ }, {
598
+ readonly internalType: "uint256";
599
+ readonly name: "maximum";
600
+ readonly type: "uint256";
601
+ }];
602
+ readonly name: "WIRE_InvalidMinSyndication";
603
+ readonly type: "error";
592
604
  }, {
593
605
  readonly inputs: readonly [{
594
606
  readonly internalType: "uint256";
@@ -797,6 +809,18 @@ export declare class SyndicationPool__factory {
797
809
  }];
798
810
  readonly name: "WIRE_SyndicationAboveMaximum";
799
811
  readonly type: "error";
812
+ }, {
813
+ readonly inputs: readonly [{
814
+ readonly internalType: "uint64";
815
+ readonly name: "amount";
816
+ readonly type: "uint64";
817
+ }, {
818
+ readonly internalType: "uint64";
819
+ readonly name: "minimum";
820
+ readonly type: "uint64";
821
+ }];
822
+ readonly name: "WIRE_SyndicationBelowMinimum";
823
+ readonly type: "error";
800
824
  }, {
801
825
  readonly inputs: readonly [{
802
826
  readonly internalType: "uint8";
@@ -883,6 +907,41 @@ export declare class SyndicationPool__factory {
883
907
  }];
884
908
  readonly name: "CustodyShortfall";
885
909
  readonly type: "event";
910
+ }, {
911
+ readonly anonymous: false;
912
+ readonly inputs: readonly [{
913
+ readonly indexed: false;
914
+ readonly internalType: "uint32";
915
+ readonly name: "shortfallBps";
916
+ readonly type: "uint32";
917
+ }];
918
+ readonly name: "CustodyShortfallBpsSet";
919
+ readonly type: "event";
920
+ }, {
921
+ readonly anonymous: false;
922
+ readonly inputs: readonly [{
923
+ readonly indexed: true;
924
+ readonly internalType: "uint64";
925
+ readonly name: "requestId";
926
+ readonly type: "uint64";
927
+ }, {
928
+ readonly indexed: false;
929
+ readonly internalType: "uint64";
930
+ readonly name: "postPayoutBalanceDepot";
931
+ readonly type: "uint64";
932
+ }, {
933
+ readonly indexed: false;
934
+ readonly internalType: "uint64";
935
+ readonly name: "totalSyndicated";
936
+ readonly type: "uint64";
937
+ }, {
938
+ readonly indexed: false;
939
+ readonly internalType: "uint32";
940
+ readonly name: "toleranceBps";
941
+ readonly type: "uint32";
942
+ }];
943
+ readonly name: "CustodyShortfallTolerated";
944
+ readonly type: "event";
886
945
  }, {
887
946
  readonly anonymous: false;
888
947
  readonly inputs: readonly [{
@@ -993,6 +1052,16 @@ export declare class SyndicationPool__factory {
993
1052
  }];
994
1053
  readonly name: "MaxSyndicationPerTransferSet";
995
1054
  readonly type: "event";
1055
+ }, {
1056
+ readonly anonymous: false;
1057
+ readonly inputs: readonly [{
1058
+ readonly indexed: false;
1059
+ readonly internalType: "uint64";
1060
+ readonly name: "minimum";
1061
+ readonly type: "uint64";
1062
+ }];
1063
+ readonly name: "MinSyndicationSet";
1064
+ readonly type: "event";
996
1065
  }, {
997
1066
  readonly anonymous: false;
998
1067
  readonly inputs: readonly [{
@@ -1108,6 +1177,16 @@ export declare class SyndicationPool__factory {
1108
1177
  }];
1109
1178
  readonly name: "YieldRealized";
1110
1179
  readonly type: "event";
1180
+ }, {
1181
+ readonly inputs: readonly [];
1182
+ readonly name: "BPS_DENOMINATOR";
1183
+ readonly outputs: readonly [{
1184
+ readonly internalType: "uint256";
1185
+ readonly name: "";
1186
+ readonly type: "uint256";
1187
+ }];
1188
+ readonly stateMutability: "view";
1189
+ readonly type: "function";
1111
1190
  }, {
1112
1191
  readonly inputs: readonly [];
1113
1192
  readonly name: "COMPRESSED_PUBKEY_LENGTH";
@@ -1138,6 +1217,16 @@ export declare class SyndicationPool__factory {
1138
1217
  }];
1139
1218
  readonly stateMutability: "view";
1140
1219
  readonly type: "function";
1220
+ }, {
1221
+ readonly inputs: readonly [];
1222
+ readonly name: "MAX_CUSTODY_SHORTFALL_BPS";
1223
+ readonly outputs: readonly [{
1224
+ readonly internalType: "uint32";
1225
+ readonly name: "";
1226
+ readonly type: "uint32";
1227
+ }];
1228
+ readonly stateMutability: "view";
1229
+ readonly type: "function";
1141
1230
  }, {
1142
1231
  readonly inputs: readonly [{
1143
1232
  readonly internalType: "AttestationType";
@@ -1182,6 +1271,16 @@ export declare class SyndicationPool__factory {
1182
1271
  }];
1183
1272
  readonly stateMutability: "view";
1184
1273
  readonly type: "function";
1274
+ }, {
1275
+ readonly inputs: readonly [];
1276
+ readonly name: "custodyShortfallBps";
1277
+ readonly outputs: readonly [{
1278
+ readonly internalType: "uint32";
1279
+ readonly name: "";
1280
+ readonly type: "uint32";
1281
+ }];
1282
+ readonly stateMutability: "view";
1283
+ readonly type: "function";
1185
1284
  }, {
1186
1285
  readonly inputs: readonly [{
1187
1286
  readonly internalType: "uint64";
@@ -1319,6 +1418,16 @@ export declare class SyndicationPool__factory {
1319
1418
  }];
1320
1419
  readonly stateMutability: "view";
1321
1420
  readonly type: "function";
1421
+ }, {
1422
+ readonly inputs: readonly [];
1423
+ readonly name: "minSyndication";
1424
+ readonly outputs: readonly [{
1425
+ readonly internalType: "uint64";
1426
+ readonly name: "";
1427
+ readonly type: "uint64";
1428
+ }];
1429
+ readonly stateMutability: "view";
1430
+ readonly type: "function";
1322
1431
  }, {
1323
1432
  readonly inputs: readonly [];
1324
1433
  readonly name: "oppAddress";
@@ -1443,6 +1552,16 @@ export declare class SyndicationPool__factory {
1443
1552
  readonly outputs: readonly [];
1444
1553
  readonly stateMutability: "nonpayable";
1445
1554
  readonly type: "function";
1555
+ }, {
1556
+ readonly inputs: readonly [{
1557
+ readonly internalType: "uint32";
1558
+ readonly name: "shortfallBps";
1559
+ readonly type: "uint32";
1560
+ }];
1561
+ readonly name: "setCustodyShortfallBps";
1562
+ readonly outputs: readonly [];
1563
+ readonly stateMutability: "nonpayable";
1564
+ readonly type: "function";
1446
1565
  }, {
1447
1566
  readonly inputs: readonly [{
1448
1567
  readonly internalType: "address";
@@ -1483,6 +1602,16 @@ export declare class SyndicationPool__factory {
1483
1602
  readonly outputs: readonly [];
1484
1603
  readonly stateMutability: "nonpayable";
1485
1604
  readonly type: "function";
1605
+ }, {
1606
+ readonly inputs: readonly [{
1607
+ readonly internalType: "uint64";
1608
+ readonly name: "minimum";
1609
+ readonly type: "uint64";
1610
+ }];
1611
+ readonly name: "setMinSyndication";
1612
+ readonly outputs: readonly [];
1613
+ readonly stateMutability: "nonpayable";
1614
+ readonly type: "function";
1486
1615
  }, {
1487
1616
  readonly inputs: readonly [{
1488
1617
  readonly internalType: "address";
@@ -584,6 +584,17 @@ const _abi = [
584
584
  name: "OPP_UnauthorizedAttestationType",
585
585
  type: "error",
586
586
  },
587
+ {
588
+ inputs: [
589
+ {
590
+ internalType: "AttestationType",
591
+ name: "attestationType",
592
+ type: "uint16",
593
+ },
594
+ ],
595
+ name: "OPP_UnhandledAttestationType",
596
+ type: "error",
597
+ },
587
598
  {
588
599
  inputs: [
589
600
  {
@@ -631,6 +642,11 @@ const _abi = [
631
642
  name: "OPP_WrongDestinationChain",
632
643
  type: "error",
633
644
  },
645
+ {
646
+ inputs: [],
647
+ name: "OPP_ZeroEpochDuration",
648
+ type: "error",
649
+ },
634
650
  {
635
651
  inputs: [],
636
652
  name: "OPP_ZeroTag",
@@ -737,22 +753,6 @@ const _abi = [
737
753
  name: "WIRE_DepositorKeyMismatch",
738
754
  type: "error",
739
755
  },
740
- {
741
- inputs: [
742
- {
743
- internalType: "address",
744
- name: "to",
745
- type: "address",
746
- },
747
- {
748
- internalType: "uint256",
749
- name: "amount",
750
- type: "uint256",
751
- },
752
- ],
753
- name: "WIRE_EthSendFailed",
754
- type: "error",
755
- },
756
756
  {
757
757
  inputs: [],
758
758
  name: "WIRE_GoLiveInProgress",
@@ -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
  {