@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
package/abis/OPP.json CHANGED
@@ -562,6 +562,17 @@
562
562
  "name": "OPP_UnauthorizedAttestationType",
563
563
  "type": "error"
564
564
  },
565
+ {
566
+ "inputs": [
567
+ {
568
+ "internalType": "AttestationType",
569
+ "name": "attestationType",
570
+ "type": "uint16"
571
+ }
572
+ ],
573
+ "name": "OPP_UnhandledAttestationType",
574
+ "type": "error"
575
+ },
565
576
  {
566
577
  "inputs": [
567
578
  {
@@ -609,6 +620,11 @@
609
620
  "name": "OPP_WrongDestinationChain",
610
621
  "type": "error"
611
622
  },
623
+ {
624
+ "inputs": [],
625
+ "name": "OPP_ZeroEpochDuration",
626
+ "type": "error"
627
+ },
612
628
  {
613
629
  "inputs": [],
614
630
  "name": "OPP_ZeroTag",
@@ -595,6 +595,17 @@
595
595
  "name": "OPP_UnauthorizedAttestationType",
596
596
  "type": "error"
597
597
  },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "internalType": "AttestationType",
602
+ "name": "attestationType",
603
+ "type": "uint16"
604
+ }
605
+ ],
606
+ "name": "OPP_UnhandledAttestationType",
607
+ "type": "error"
608
+ },
598
609
  {
599
610
  "inputs": [
600
611
  {
@@ -642,6 +653,11 @@
642
653
  "name": "OPP_WrongDestinationChain",
643
654
  "type": "error"
644
655
  },
656
+ {
657
+ "inputs": [],
658
+ "name": "OPP_ZeroEpochDuration",
659
+ "type": "error"
660
+ },
645
661
  {
646
662
  "inputs": [],
647
663
  "name": "OPP_ZeroTag",
@@ -786,31 +802,6 @@
786
802
  "name": "AttestationHandlerSet",
787
803
  "type": "event"
788
804
  },
789
- {
790
- "anonymous": false,
791
- "inputs": [
792
- {
793
- "indexed": false,
794
- "internalType": "bytes",
795
- "name": "messageID",
796
- "type": "bytes"
797
- },
798
- {
799
- "indexed": false,
800
- "internalType": "AttestationType",
801
- "name": "attestationType",
802
- "type": "uint16"
803
- },
804
- {
805
- "indexed": false,
806
- "internalType": "uint64",
807
- "name": "sequenceNumber",
808
- "type": "uint64"
809
- }
810
- ],
811
- "name": "AttestationUnhandled",
812
- "type": "event"
813
- },
814
805
  {
815
806
  "anonymous": false,
816
807
  "inputs": [
@@ -1196,8 +1187,13 @@
1196
1187
  "outputs": [
1197
1188
  {
1198
1189
  "internalType": "address",
1199
- "name": "",
1190
+ "name": "operator",
1200
1191
  "type": "address"
1192
+ },
1193
+ {
1194
+ "internalType": "SysName",
1195
+ "name": "account",
1196
+ "type": "uint64"
1201
1197
  }
1202
1198
  ],
1203
1199
  "stateMutability": "view",
@@ -1408,15 +1404,16 @@
1408
1404
  "internalType": "bytes",
1409
1405
  "name": "data",
1410
1406
  "type": "bytes"
1411
- },
1412
- {
1413
- "internalType": "uint32",
1414
- "name": "epochIndex_",
1415
- "type": "uint32"
1416
1407
  }
1417
1408
  ],
1418
1409
  "name": "handleInternalAttestation",
1419
- "outputs": [],
1410
+ "outputs": [
1411
+ {
1412
+ "internalType": "enum OPPInboundLib.RosterProgress",
1413
+ "name": "progress",
1414
+ "type": "uint8"
1415
+ }
1416
+ ],
1420
1417
  "stateMutability": "nonpayable",
1421
1418
  "type": "function"
1422
1419
  },
@@ -1660,17 +1657,27 @@
1660
1657
  {
1661
1658
  "inputs": [
1662
1659
  {
1663
- "internalType": "bytes32",
1660
+ "internalType": "address",
1664
1661
  "name": "",
1665
- "type": "bytes32"
1662
+ "type": "address"
1666
1663
  }
1667
1664
  ],
1668
- "name": "operatorEthAddress",
1665
+ "name": "operatorAddressClaims",
1669
1666
  "outputs": [
1670
1667
  {
1671
- "internalType": "address",
1672
- "name": "",
1673
- "type": "address"
1668
+ "internalType": "uint64",
1669
+ "name": "generation",
1670
+ "type": "uint64"
1671
+ },
1672
+ {
1673
+ "internalType": "SysName",
1674
+ "name": "account",
1675
+ "type": "uint64"
1676
+ },
1677
+ {
1678
+ "internalType": "uint32",
1679
+ "name": "claimants",
1680
+ "type": "uint32"
1674
1681
  }
1675
1682
  ],
1676
1683
  "stateMutability": "view",
@@ -1679,17 +1686,17 @@
1679
1686
  {
1680
1687
  "inputs": [
1681
1688
  {
1682
- "internalType": "address",
1689
+ "internalType": "SysName",
1683
1690
  "name": "",
1684
- "type": "address"
1691
+ "type": "uint64"
1685
1692
  }
1686
1693
  ],
1687
- "name": "operatorRosterAddressDuplicateGeneration",
1694
+ "name": "operatorEthAddress",
1688
1695
  "outputs": [
1689
1696
  {
1690
- "internalType": "uint64",
1697
+ "internalType": "address",
1691
1698
  "name": "",
1692
- "type": "uint64"
1699
+ "type": "address"
1693
1700
  }
1694
1701
  ],
1695
1702
  "stateMutability": "view",
@@ -1698,9 +1705,9 @@
1698
1705
  {
1699
1706
  "inputs": [
1700
1707
  {
1701
- "internalType": "bytes32",
1708
+ "internalType": "SysName",
1702
1709
  "name": "",
1703
- "type": "bytes32"
1710
+ "type": "uint64"
1704
1711
  }
1705
1712
  ],
1706
1713
  "name": "operatorRosterEntryGeneration",
@@ -1717,9 +1724,9 @@
1717
1724
  {
1718
1725
  "inputs": [
1719
1726
  {
1720
- "internalType": "bytes32",
1727
+ "internalType": "SysName",
1721
1728
  "name": "",
1722
- "type": "bytes32"
1729
+ "type": "uint64"
1723
1730
  }
1724
1731
  ],
1725
1732
  "name": "operatorRosterEntryStatus",
@@ -1736,9 +1743,9 @@
1736
1743
  {
1737
1744
  "inputs": [
1738
1745
  {
1739
- "internalType": "bytes32",
1746
+ "internalType": "SysName",
1740
1747
  "name": "",
1741
- "type": "bytes32"
1748
+ "type": "uint64"
1742
1749
  }
1743
1750
  ],
1744
1751
  "name": "operatorRosterEntryType",
@@ -1921,6 +1928,19 @@
1921
1928
  "stateMutability": "view",
1922
1929
  "type": "function"
1923
1930
  },
1931
+ {
1932
+ "inputs": [],
1933
+ "name": "rosterEntriesApplied",
1934
+ "outputs": [
1935
+ {
1936
+ "internalType": "uint32",
1937
+ "name": "",
1938
+ "type": "uint32"
1939
+ }
1940
+ ],
1941
+ "stateMutability": "view",
1942
+ "type": "function"
1943
+ },
1924
1944
  {
1925
1945
  "inputs": [],
1926
1946
  "name": "rosterEpochIndex",
@@ -1947,6 +1967,37 @@
1947
1967
  "stateMutability": "view",
1948
1968
  "type": "function"
1949
1969
  },
1970
+ {
1971
+ "inputs": [],
1972
+ "name": "rosterSeatsSwept",
1973
+ "outputs": [
1974
+ {
1975
+ "internalType": "uint32",
1976
+ "name": "",
1977
+ "type": "uint32"
1978
+ }
1979
+ ],
1980
+ "stateMutability": "view",
1981
+ "type": "function"
1982
+ },
1983
+ {
1984
+ "inputs": [
1985
+ {
1986
+ "internalType": "bytes",
1987
+ "name": "data",
1988
+ "type": "bytes"
1989
+ },
1990
+ {
1991
+ "internalType": "uint32",
1992
+ "name": "epochIndex_",
1993
+ "type": "uint32"
1994
+ }
1995
+ ],
1996
+ "name": "seatPendingGroups",
1997
+ "outputs": [],
1998
+ "stateMutability": "nonpayable",
1999
+ "type": "function"
2000
+ },
1950
2001
  {
1951
2002
  "inputs": [
1952
2003
  {
@@ -583,6 +583,17 @@
583
583
  "name": "OPP_UnauthorizedAttestationType",
584
584
  "type": "error"
585
585
  },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "AttestationType",
590
+ "name": "attestationType",
591
+ "type": "uint16"
592
+ }
593
+ ],
594
+ "name": "OPP_UnhandledAttestationType",
595
+ "type": "error"
596
+ },
586
597
  {
587
598
  "inputs": [
588
599
  {
@@ -630,6 +641,11 @@
630
641
  "name": "OPP_WrongDestinationChain",
631
642
  "type": "error"
632
643
  },
644
+ {
645
+ "inputs": [],
646
+ "name": "OPP_ZeroEpochDuration",
647
+ "type": "error"
648
+ },
633
649
  {
634
650
  "inputs": [],
635
651
  "name": "OPP_ZeroTag",
@@ -736,22 +752,6 @@
736
752
  "name": "WIRE_DepositorKeyMismatch",
737
753
  "type": "error"
738
754
  },
739
- {
740
- "inputs": [
741
- {
742
- "internalType": "address",
743
- "name": "to",
744
- "type": "address"
745
- },
746
- {
747
- "internalType": "uint256",
748
- "name": "amount",
749
- "type": "uint256"
750
- }
751
- ],
752
- "name": "WIRE_EthSendFailed",
753
- "type": "error"
754
- },
755
755
  {
756
756
  "inputs": [],
757
757
  "name": "WIRE_GoLiveInProgress",
@@ -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
  {