@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";
@@ -587,6 +587,17 @@ const _abi = [
587
587
  name: "OPP_UnauthorizedAttestationType",
588
588
  type: "error",
589
589
  },
590
+ {
591
+ inputs: [
592
+ {
593
+ internalType: "AttestationType",
594
+ name: "attestationType",
595
+ type: "uint16",
596
+ },
597
+ ],
598
+ name: "OPP_UnhandledAttestationType",
599
+ type: "error",
600
+ },
590
601
  {
591
602
  inputs: [
592
603
  {
@@ -634,6 +645,11 @@ const _abi = [
634
645
  name: "OPP_WrongDestinationChain",
635
646
  type: "error",
636
647
  },
648
+ {
649
+ inputs: [],
650
+ name: "OPP_ZeroEpochDuration",
651
+ type: "error",
652
+ },
637
653
  {
638
654
  inputs: [],
639
655
  name: "OPP_ZeroTag",
@@ -740,22 +756,6 @@ const _abi = [
740
756
  name: "WIRE_DepositorKeyMismatch",
741
757
  type: "error",
742
758
  },
743
- {
744
- inputs: [
745
- {
746
- internalType: "address",
747
- name: "to",
748
- type: "address",
749
- },
750
- {
751
- internalType: "uint256",
752
- name: "amount",
753
- type: "uint256",
754
- },
755
- ],
756
- name: "WIRE_EthSendFailed",
757
- type: "error",
758
- },
759
759
  {
760
760
  inputs: [],
761
761
  name: "WIRE_GoLiveInProgress",
@@ -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
  {