@meterio/sumer-js 0.2.101 → 0.2.102

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 (67) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +146 -0
  3. package/dist/nodejs/abi.js +4137 -0
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/beramain.js +1 -1
  6. package/dist/nodejs/errorABIs.js +1207 -0
  7. package/dist/nodejs/errorABIs.js.map +1 -1
  8. package/dist/nodejs/index.d.ts +146 -0
  9. package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +974 -0
  10. package/dist/nodejs/typechain/contracts/Bera/CBeraVault.js +3 -0
  11. package/dist/nodejs/typechain/contracts/Bera/CBeraVault.js.map +1 -0
  12. package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.d.ts +20 -0
  13. package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.js +3 -0
  14. package/dist/nodejs/typechain/contracts/Bera/IPOLErrors.js.map +1 -0
  15. package/dist/nodejs/typechain/contracts/Bera/IRewardVault.d.ts +646 -0
  16. package/dist/nodejs/typechain/contracts/Bera/IRewardVault.js +3 -0
  17. package/dist/nodejs/typechain/contracts/Bera/IRewardVault.js.map +1 -0
  18. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.d.ts +161 -0
  19. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.js +3 -0
  20. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewards.js.map +1 -0
  21. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.d.ts +20 -0
  22. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.js +3 -0
  23. package/dist/nodejs/typechain/contracts/Bera/base/IStakingRewardsErrors.js.map +1 -0
  24. package/dist/nodejs/typechain/contracts/Bera/base/index.d.ts +2 -0
  25. package/dist/nodejs/typechain/contracts/Bera/base/index.js +3 -0
  26. package/dist/nodejs/typechain/contracts/Bera/base/index.js.map +1 -0
  27. package/dist/nodejs/typechain/contracts/Bera/index.d.ts +5 -0
  28. package/dist/nodejs/typechain/contracts/Bera/index.js +3 -0
  29. package/dist/nodejs/typechain/contracts/Bera/index.js.map +1 -0
  30. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +1 -0
  31. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +12 -0
  32. package/dist/nodejs/typechain/contracts/index.d.ts +2 -0
  33. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +1700 -0
  34. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +2200 -0
  35. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -0
  36. package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.d.ts +259 -0
  37. package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.js +335 -0
  38. package/dist/nodejs/typechain/factories/contracts/Bera/IPOLErrors__factory.js.map +1 -0
  39. package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.d.ts +1014 -0
  40. package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.js +1307 -0
  41. package/dist/nodejs/typechain/factories/contracts/Bera/IRewardVault__factory.js.map +1 -0
  42. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.d.ts +35 -0
  43. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.js +55 -0
  44. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewardsErrors__factory.js.map +1 -0
  45. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.d.ts +261 -0
  46. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.js +350 -0
  47. package/dist/nodejs/typechain/factories/contracts/Bera/base/IStakingRewards__factory.js.map +1 -0
  48. package/dist/nodejs/typechain/factories/contracts/Bera/base/index.d.ts +2 -0
  49. package/dist/nodejs/typechain/factories/contracts/Bera/base/index.js +11 -0
  50. package/dist/nodejs/typechain/factories/contracts/Bera/base/index.js.map +1 -0
  51. package/dist/nodejs/typechain/factories/contracts/Bera/index.d.ts +4 -0
  52. package/dist/nodejs/typechain/factories/contracts/Bera/index.js +37 -0
  53. package/dist/nodejs/typechain/factories/contracts/Bera/index.js.map +1 -0
  54. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +1 -0
  55. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +3 -1
  56. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
  57. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +6 -0
  58. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +7 -1
  59. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  60. package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
  61. package/dist/nodejs/typechain/factories/contracts/index.js +2 -1
  62. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  63. package/dist/nodejs/typechain/hardhat.d.ts +342 -0
  64. package/dist/nodejs/typechain/index.d.ts +36 -0
  65. package/dist/nodejs/typechain/index.js +39 -3
  66. package/dist/nodejs/typechain/index.js.map +1 -1
  67. package/package.json +1 -1
@@ -1560,6 +1560,1143 @@ exports.errorABIs = [
1560
1560
  "name": "ZeroAddressNotAllowed",
1561
1561
  "type": "error"
1562
1562
  },
1563
+ {
1564
+ "inputs": [],
1565
+ "name": "AmountLessThanMinIncentiveRate",
1566
+ "type": "error"
1567
+ },
1568
+ {
1569
+ "inputs": [],
1570
+ "name": "CannotRecoverIncentiveToken",
1571
+ "type": "error"
1572
+ },
1573
+ {
1574
+ "inputs": [],
1575
+ "name": "CannotRecoverRewardToken",
1576
+ "type": "error"
1577
+ },
1578
+ {
1579
+ "inputs": [],
1580
+ "name": "CannotRecoverStakingToken",
1581
+ "type": "error"
1582
+ },
1583
+ {
1584
+ "inputs": [],
1585
+ "name": "DepositNotMultipleOfGwei",
1586
+ "type": "error"
1587
+ },
1588
+ {
1589
+ "inputs": [],
1590
+ "name": "DepositValueTooHigh",
1591
+ "type": "error"
1592
+ },
1593
+ {
1594
+ "inputs": [],
1595
+ "name": "DonateAmountLessThanPayoutAmount",
1596
+ "type": "error"
1597
+ },
1598
+ {
1599
+ "inputs": [],
1600
+ "name": "IncentiveRateTooHigh",
1601
+ "type": "error"
1602
+ },
1603
+ {
1604
+ "inputs": [],
1605
+ "name": "IndexOutOfRange",
1606
+ "type": "error"
1607
+ },
1608
+ {
1609
+ "inputs": [],
1610
+ "name": "InsolventReward",
1611
+ "type": "error"
1612
+ },
1613
+ {
1614
+ "inputs": [],
1615
+ "name": "InsufficientDelegateStake",
1616
+ "type": "error"
1617
+ },
1618
+ {
1619
+ "inputs": [],
1620
+ "name": "InsufficientDeposit",
1621
+ "type": "error"
1622
+ },
1623
+ {
1624
+ "inputs": [],
1625
+ "name": "InsufficientSelfStake",
1626
+ "type": "error"
1627
+ },
1628
+ {
1629
+ "inputs": [],
1630
+ "name": "InsufficientStake",
1631
+ "type": "error"
1632
+ },
1633
+ {
1634
+ "inputs": [],
1635
+ "name": "InvalidActivateBoostDelay",
1636
+ "type": "error"
1637
+ },
1638
+ {
1639
+ "inputs": [],
1640
+ "name": "InvalidBaseRate",
1641
+ "type": "error"
1642
+ },
1643
+ {
1644
+ "inputs": [],
1645
+ "name": "InvalidBoostMultiplier",
1646
+ "type": "error"
1647
+ },
1648
+ {
1649
+ "inputs": [],
1650
+ "name": "InvalidCredentialsLength",
1651
+ "type": "error"
1652
+ },
1653
+ {
1654
+ "inputs": [],
1655
+ "name": "InvalidDropBoostDelay",
1656
+ "type": "error"
1657
+ },
1658
+ {
1659
+ "inputs": [],
1660
+ "name": "InvalidMaxIncentiveTokensCount",
1661
+ "type": "error"
1662
+ },
1663
+ {
1664
+ "inputs": [],
1665
+ "name": "InvalidMinBoostedRewardRate",
1666
+ "type": "error"
1667
+ },
1668
+ {
1669
+ "inputs": [],
1670
+ "name": "InvalidProof",
1671
+ "type": "error"
1672
+ },
1673
+ {
1674
+ "inputs": [],
1675
+ "name": "InvalidPubKeyLength",
1676
+ "type": "error"
1677
+ },
1678
+ {
1679
+ "inputs": [],
1680
+ "name": "InvalidRewardAllocationWeights",
1681
+ "type": "error"
1682
+ },
1683
+ {
1684
+ "inputs": [],
1685
+ "name": "InvalidRewardConvexity",
1686
+ "type": "error"
1687
+ },
1688
+ {
1689
+ "inputs": [],
1690
+ "name": "InvalidRewardRate",
1691
+ "type": "error"
1692
+ },
1693
+ {
1694
+ "inputs": [],
1695
+ "name": "InvalidSignatureLength",
1696
+ "type": "error"
1697
+ },
1698
+ {
1699
+ "inputs": [],
1700
+ "name": "InvalidStartBlock",
1701
+ "type": "error"
1702
+ },
1703
+ {
1704
+ "inputs": [],
1705
+ "name": "InvalidateDefaultRewardAllocation",
1706
+ "type": "error"
1707
+ },
1708
+ {
1709
+ "inputs": [],
1710
+ "name": "InvariantCheckFailed",
1711
+ "type": "error"
1712
+ },
1713
+ {
1714
+ "inputs": [],
1715
+ "name": "MaxNumWeightsPerRewardAllocationIsZero",
1716
+ "type": "error"
1717
+ },
1718
+ {
1719
+ "inputs": [],
1720
+ "name": "MinIncentiveRateIsZero",
1721
+ "type": "error"
1722
+ },
1723
+ {
1724
+ "inputs": [],
1725
+ "name": "NotAContract",
1726
+ "type": "error"
1727
+ },
1728
+ {
1729
+ "inputs": [],
1730
+ "name": "NotApprovedSender",
1731
+ "type": "error"
1732
+ },
1733
+ {
1734
+ "inputs": [],
1735
+ "name": "NotBGT",
1736
+ "type": "error"
1737
+ },
1738
+ {
1739
+ "inputs": [],
1740
+ "name": "NotBlockRewardController",
1741
+ "type": "error"
1742
+ },
1743
+ {
1744
+ "inputs": [],
1745
+ "name": "NotDelegate",
1746
+ "type": "error"
1747
+ },
1748
+ {
1749
+ "inputs": [],
1750
+ "name": "NotDistributor",
1751
+ "type": "error"
1752
+ },
1753
+ {
1754
+ "inputs": [],
1755
+ "name": "NotEnoughBalance",
1756
+ "type": "error"
1757
+ },
1758
+ {
1759
+ "inputs": [],
1760
+ "name": "NotEnoughBoostedBalance",
1761
+ "type": "error"
1762
+ },
1763
+ {
1764
+ "inputs": [],
1765
+ "name": "NotEnoughTime",
1766
+ "type": "error"
1767
+ },
1768
+ {
1769
+ "inputs": [],
1770
+ "name": "NotFactoryVault",
1771
+ "type": "error"
1772
+ },
1773
+ {
1774
+ "inputs": [],
1775
+ "name": "NotFeeCollector",
1776
+ "type": "error"
1777
+ },
1778
+ {
1779
+ "inputs": [],
1780
+ "name": "NotIncentiveManager",
1781
+ "type": "error"
1782
+ },
1783
+ {
1784
+ "inputs": [],
1785
+ "name": "NotNewOperator",
1786
+ "type": "error"
1787
+ },
1788
+ {
1789
+ "inputs": [],
1790
+ "name": "NotOperator",
1791
+ "type": "error"
1792
+ },
1793
+ {
1794
+ "inputs": [],
1795
+ "name": "NotWhitelistedVault",
1796
+ "type": "error"
1797
+ },
1798
+ {
1799
+ "inputs": [],
1800
+ "name": "OperatorAlreadySet",
1801
+ "type": "error"
1802
+ },
1803
+ {
1804
+ "inputs": [],
1805
+ "name": "PayoutAmountIsZero",
1806
+ "type": "error"
1807
+ },
1808
+ {
1809
+ "inputs": [],
1810
+ "name": "RewardAllocationAlreadyQueued",
1811
+ "type": "error"
1812
+ },
1813
+ {
1814
+ "inputs": [],
1815
+ "name": "RewardAllocationBlockDelayTooLarge",
1816
+ "type": "error"
1817
+ },
1818
+ {
1819
+ "inputs": [],
1820
+ "name": "RewardCycleNotEnded",
1821
+ "type": "error"
1822
+ },
1823
+ {
1824
+ "inputs": [],
1825
+ "name": "RewardsDurationIsZero",
1826
+ "type": "error"
1827
+ },
1828
+ {
1829
+ "inputs": [],
1830
+ "name": "StakeAmountIsZero",
1831
+ "type": "error"
1832
+ },
1833
+ {
1834
+ "inputs": [],
1835
+ "name": "TimestampAlreadyProcessed",
1836
+ "type": "error"
1837
+ },
1838
+ {
1839
+ "inputs": [],
1840
+ "name": "TokenAlreadyWhitelistedOrLimitReached",
1841
+ "type": "error"
1842
+ },
1843
+ {
1844
+ "inputs": [],
1845
+ "name": "TokenNotWhitelisted",
1846
+ "type": "error"
1847
+ },
1848
+ {
1849
+ "inputs": [],
1850
+ "name": "TooManyWeights",
1851
+ "type": "error"
1852
+ },
1853
+ {
1854
+ "inputs": [],
1855
+ "name": "TotalSupplyOverflow",
1856
+ "type": "error"
1857
+ },
1858
+ {
1859
+ "inputs": [],
1860
+ "name": "WithdrawAmountIsZero",
1861
+ "type": "error"
1862
+ },
1863
+ {
1864
+ "inputs": [],
1865
+ "name": "ZeroAddress",
1866
+ "type": "error"
1867
+ },
1868
+ {
1869
+ "inputs": [],
1870
+ "name": "ZeroOperatorOnFirstDeposit",
1871
+ "type": "error"
1872
+ },
1873
+ {
1874
+ "inputs": [],
1875
+ "name": "ZeroPercentageWeight",
1876
+ "type": "error"
1877
+ },
1878
+ {
1879
+ "inputs": [],
1880
+ "name": "AmountLessThanMinIncentiveRate",
1881
+ "type": "error"
1882
+ },
1883
+ {
1884
+ "inputs": [],
1885
+ "name": "CannotRecoverIncentiveToken",
1886
+ "type": "error"
1887
+ },
1888
+ {
1889
+ "inputs": [],
1890
+ "name": "CannotRecoverRewardToken",
1891
+ "type": "error"
1892
+ },
1893
+ {
1894
+ "inputs": [],
1895
+ "name": "CannotRecoverStakingToken",
1896
+ "type": "error"
1897
+ },
1898
+ {
1899
+ "inputs": [],
1900
+ "name": "DepositNotMultipleOfGwei",
1901
+ "type": "error"
1902
+ },
1903
+ {
1904
+ "inputs": [],
1905
+ "name": "DepositValueTooHigh",
1906
+ "type": "error"
1907
+ },
1908
+ {
1909
+ "inputs": [],
1910
+ "name": "DonateAmountLessThanPayoutAmount",
1911
+ "type": "error"
1912
+ },
1913
+ {
1914
+ "inputs": [],
1915
+ "name": "IncentiveRateTooHigh",
1916
+ "type": "error"
1917
+ },
1918
+ {
1919
+ "inputs": [],
1920
+ "name": "IndexOutOfRange",
1921
+ "type": "error"
1922
+ },
1923
+ {
1924
+ "inputs": [],
1925
+ "name": "InsolventReward",
1926
+ "type": "error"
1927
+ },
1928
+ {
1929
+ "inputs": [],
1930
+ "name": "InsufficientDelegateStake",
1931
+ "type": "error"
1932
+ },
1933
+ {
1934
+ "inputs": [],
1935
+ "name": "InsufficientDeposit",
1936
+ "type": "error"
1937
+ },
1938
+ {
1939
+ "inputs": [],
1940
+ "name": "InsufficientSelfStake",
1941
+ "type": "error"
1942
+ },
1943
+ {
1944
+ "inputs": [],
1945
+ "name": "InsufficientStake",
1946
+ "type": "error"
1947
+ },
1948
+ {
1949
+ "inputs": [],
1950
+ "name": "InvalidActivateBoostDelay",
1951
+ "type": "error"
1952
+ },
1953
+ {
1954
+ "inputs": [],
1955
+ "name": "InvalidBaseRate",
1956
+ "type": "error"
1957
+ },
1958
+ {
1959
+ "inputs": [],
1960
+ "name": "InvalidBoostMultiplier",
1961
+ "type": "error"
1962
+ },
1963
+ {
1964
+ "inputs": [],
1965
+ "name": "InvalidCredentialsLength",
1966
+ "type": "error"
1967
+ },
1968
+ {
1969
+ "inputs": [],
1970
+ "name": "InvalidDropBoostDelay",
1971
+ "type": "error"
1972
+ },
1973
+ {
1974
+ "inputs": [],
1975
+ "name": "InvalidMaxIncentiveTokensCount",
1976
+ "type": "error"
1977
+ },
1978
+ {
1979
+ "inputs": [],
1980
+ "name": "InvalidMinBoostedRewardRate",
1981
+ "type": "error"
1982
+ },
1983
+ {
1984
+ "inputs": [],
1985
+ "name": "InvalidProof",
1986
+ "type": "error"
1987
+ },
1988
+ {
1989
+ "inputs": [],
1990
+ "name": "InvalidPubKeyLength",
1991
+ "type": "error"
1992
+ },
1993
+ {
1994
+ "inputs": [],
1995
+ "name": "InvalidRewardAllocationWeights",
1996
+ "type": "error"
1997
+ },
1998
+ {
1999
+ "inputs": [],
2000
+ "name": "InvalidRewardConvexity",
2001
+ "type": "error"
2002
+ },
2003
+ {
2004
+ "inputs": [],
2005
+ "name": "InvalidRewardRate",
2006
+ "type": "error"
2007
+ },
2008
+ {
2009
+ "inputs": [],
2010
+ "name": "InvalidSignatureLength",
2011
+ "type": "error"
2012
+ },
2013
+ {
2014
+ "inputs": [],
2015
+ "name": "InvalidStartBlock",
2016
+ "type": "error"
2017
+ },
2018
+ {
2019
+ "inputs": [],
2020
+ "name": "InvalidateDefaultRewardAllocation",
2021
+ "type": "error"
2022
+ },
2023
+ {
2024
+ "inputs": [],
2025
+ "name": "InvariantCheckFailed",
2026
+ "type": "error"
2027
+ },
2028
+ {
2029
+ "inputs": [],
2030
+ "name": "MaxNumWeightsPerRewardAllocationIsZero",
2031
+ "type": "error"
2032
+ },
2033
+ {
2034
+ "inputs": [],
2035
+ "name": "MinIncentiveRateIsZero",
2036
+ "type": "error"
2037
+ },
2038
+ {
2039
+ "inputs": [],
2040
+ "name": "NotAContract",
2041
+ "type": "error"
2042
+ },
2043
+ {
2044
+ "inputs": [],
2045
+ "name": "NotApprovedSender",
2046
+ "type": "error"
2047
+ },
2048
+ {
2049
+ "inputs": [],
2050
+ "name": "NotBGT",
2051
+ "type": "error"
2052
+ },
2053
+ {
2054
+ "inputs": [],
2055
+ "name": "NotBlockRewardController",
2056
+ "type": "error"
2057
+ },
2058
+ {
2059
+ "inputs": [],
2060
+ "name": "NotDelegate",
2061
+ "type": "error"
2062
+ },
2063
+ {
2064
+ "inputs": [],
2065
+ "name": "NotDistributor",
2066
+ "type": "error"
2067
+ },
2068
+ {
2069
+ "inputs": [],
2070
+ "name": "NotEnoughBalance",
2071
+ "type": "error"
2072
+ },
2073
+ {
2074
+ "inputs": [],
2075
+ "name": "NotEnoughBoostedBalance",
2076
+ "type": "error"
2077
+ },
2078
+ {
2079
+ "inputs": [],
2080
+ "name": "NotEnoughTime",
2081
+ "type": "error"
2082
+ },
2083
+ {
2084
+ "inputs": [],
2085
+ "name": "NotFactoryVault",
2086
+ "type": "error"
2087
+ },
2088
+ {
2089
+ "inputs": [],
2090
+ "name": "NotFeeCollector",
2091
+ "type": "error"
2092
+ },
2093
+ {
2094
+ "inputs": [],
2095
+ "name": "NotIncentiveManager",
2096
+ "type": "error"
2097
+ },
2098
+ {
2099
+ "inputs": [],
2100
+ "name": "NotNewOperator",
2101
+ "type": "error"
2102
+ },
2103
+ {
2104
+ "inputs": [],
2105
+ "name": "NotOperator",
2106
+ "type": "error"
2107
+ },
2108
+ {
2109
+ "inputs": [],
2110
+ "name": "NotWhitelistedVault",
2111
+ "type": "error"
2112
+ },
2113
+ {
2114
+ "inputs": [],
2115
+ "name": "OperatorAlreadySet",
2116
+ "type": "error"
2117
+ },
2118
+ {
2119
+ "inputs": [],
2120
+ "name": "PayoutAmountIsZero",
2121
+ "type": "error"
2122
+ },
2123
+ {
2124
+ "inputs": [],
2125
+ "name": "RewardAllocationAlreadyQueued",
2126
+ "type": "error"
2127
+ },
2128
+ {
2129
+ "inputs": [],
2130
+ "name": "RewardAllocationBlockDelayTooLarge",
2131
+ "type": "error"
2132
+ },
2133
+ {
2134
+ "inputs": [],
2135
+ "name": "RewardCycleNotEnded",
2136
+ "type": "error"
2137
+ },
2138
+ {
2139
+ "inputs": [],
2140
+ "name": "RewardsDurationIsZero",
2141
+ "type": "error"
2142
+ },
2143
+ {
2144
+ "inputs": [],
2145
+ "name": "StakeAmountIsZero",
2146
+ "type": "error"
2147
+ },
2148
+ {
2149
+ "inputs": [],
2150
+ "name": "TimestampAlreadyProcessed",
2151
+ "type": "error"
2152
+ },
2153
+ {
2154
+ "inputs": [],
2155
+ "name": "TokenAlreadyWhitelistedOrLimitReached",
2156
+ "type": "error"
2157
+ },
2158
+ {
2159
+ "inputs": [],
2160
+ "name": "TokenNotWhitelisted",
2161
+ "type": "error"
2162
+ },
2163
+ {
2164
+ "inputs": [],
2165
+ "name": "TooManyWeights",
2166
+ "type": "error"
2167
+ },
2168
+ {
2169
+ "inputs": [],
2170
+ "name": "TotalSupplyOverflow",
2171
+ "type": "error"
2172
+ },
2173
+ {
2174
+ "inputs": [],
2175
+ "name": "WithdrawAmountIsZero",
2176
+ "type": "error"
2177
+ },
2178
+ {
2179
+ "inputs": [],
2180
+ "name": "ZeroAddress",
2181
+ "type": "error"
2182
+ },
2183
+ {
2184
+ "inputs": [],
2185
+ "name": "ZeroOperatorOnFirstDeposit",
2186
+ "type": "error"
2187
+ },
2188
+ {
2189
+ "inputs": [],
2190
+ "name": "ZeroPercentageWeight",
2191
+ "type": "error"
2192
+ },
2193
+ {
2194
+ "inputs": [],
2195
+ "name": "AddReservesMarketNotFresh",
2196
+ "type": "error"
2197
+ },
2198
+ {
2199
+ "inputs": [],
2200
+ "name": "AddReservesOverflow",
2201
+ "type": "error"
2202
+ },
2203
+ {
2204
+ "inputs": [],
2205
+ "name": "BorrowAndDepositBackFailed",
2206
+ "type": "error"
2207
+ },
2208
+ {
2209
+ "inputs": [],
2210
+ "name": "BorrowCapReached",
2211
+ "type": "error"
2212
+ },
2213
+ {
2214
+ "inputs": [],
2215
+ "name": "BorrowCashNotAvailable",
2216
+ "type": "error"
2217
+ },
2218
+ {
2219
+ "inputs": [],
2220
+ "name": "BorrowMarketNotFresh",
2221
+ "type": "error"
2222
+ },
2223
+ {
2224
+ "inputs": [],
2225
+ "name": "BorrowPaused",
2226
+ "type": "error"
2227
+ },
2228
+ {
2229
+ "inputs": [
2230
+ {
2231
+ "internalType": "uint256",
2232
+ "name": "usdThreshold",
2233
+ "type": "uint256"
2234
+ }
2235
+ ],
2236
+ "name": "BorrowValueMustBeLargerThanThreshold",
2237
+ "type": "error"
2238
+ },
2239
+ {
2240
+ "inputs": [],
2241
+ "name": "CantEnterPausedMarket",
2242
+ "type": "error"
2243
+ },
2244
+ {
2245
+ "inputs": [],
2246
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
2247
+ "type": "error"
2248
+ },
2249
+ {
2250
+ "inputs": [],
2251
+ "name": "CantSweepUnderlying",
2252
+ "type": "error"
2253
+ },
2254
+ {
2255
+ "inputs": [],
2256
+ "name": "ComptrollerMismatch",
2257
+ "type": "error"
2258
+ },
2259
+ {
2260
+ "inputs": [],
2261
+ "name": "EitherAssetOrDebtMustBeZero",
2262
+ "type": "error"
2263
+ },
2264
+ {
2265
+ "inputs": [
2266
+ {
2267
+ "internalType": "uint8",
2268
+ "name": "groupId",
2269
+ "type": "uint8"
2270
+ },
2271
+ {
2272
+ "internalType": "uint256",
2273
+ "name": "cDepositVal",
2274
+ "type": "uint256"
2275
+ },
2276
+ {
2277
+ "internalType": "uint256",
2278
+ "name": "suDepositVal",
2279
+ "type": "uint256"
2280
+ },
2281
+ {
2282
+ "internalType": "uint256",
2283
+ "name": "cBorrowVal",
2284
+ "type": "uint256"
2285
+ },
2286
+ {
2287
+ "internalType": "uint256",
2288
+ "name": "suBorrowVal",
2289
+ "type": "uint256"
2290
+ }
2291
+ ],
2292
+ "name": "EitherAssetOrDebtMustBeZeroInGroup",
2293
+ "type": "error"
2294
+ },
2295
+ {
2296
+ "inputs": [],
2297
+ "name": "ExpiredSignature",
2298
+ "type": "error"
2299
+ },
2300
+ {
2301
+ "inputs": [],
2302
+ "name": "InsufficientCollateral",
2303
+ "type": "error"
2304
+ },
2305
+ {
2306
+ "inputs": [],
2307
+ "name": "InsufficientShortfall",
2308
+ "type": "error"
2309
+ },
2310
+ {
2311
+ "inputs": [],
2312
+ "name": "InterMintNotAllowed",
2313
+ "type": "error"
2314
+ },
2315
+ {
2316
+ "inputs": [],
2317
+ "name": "InvalidAddress",
2318
+ "type": "error"
2319
+ },
2320
+ {
2321
+ "inputs": [],
2322
+ "name": "InvalidAmount",
2323
+ "type": "error"
2324
+ },
2325
+ {
2326
+ "inputs": [],
2327
+ "name": "InvalidBlockNumber",
2328
+ "type": "error"
2329
+ },
2330
+ {
2331
+ "inputs": [],
2332
+ "name": "InvalidCToken",
2333
+ "type": "error"
2334
+ },
2335
+ {
2336
+ "inputs": [],
2337
+ "name": "InvalidCloseFactor",
2338
+ "type": "error"
2339
+ },
2340
+ {
2341
+ "inputs": [],
2342
+ "name": "InvalidComptroller",
2343
+ "type": "error"
2344
+ },
2345
+ {
2346
+ "inputs": [],
2347
+ "name": "InvalidDiscountRate",
2348
+ "type": "error"
2349
+ },
2350
+ {
2351
+ "inputs": [],
2352
+ "name": "InvalidExchangeRate",
2353
+ "type": "error"
2354
+ },
2355
+ {
2356
+ "inputs": [],
2357
+ "name": "InvalidGroupId",
2358
+ "type": "error"
2359
+ },
2360
+ {
2361
+ "inputs": [],
2362
+ "name": "InvalidInput",
2363
+ "type": "error"
2364
+ },
2365
+ {
2366
+ "inputs": [],
2367
+ "name": "InvalidInterestRateModel",
2368
+ "type": "error"
2369
+ },
2370
+ {
2371
+ "inputs": [],
2372
+ "name": "InvalidMinSuBorrowValue",
2373
+ "type": "error"
2374
+ },
2375
+ {
2376
+ "inputs": [],
2377
+ "name": "InvalidRedeem",
2378
+ "type": "error"
2379
+ },
2380
+ {
2381
+ "inputs": [],
2382
+ "name": "InvalidReduceAmount",
2383
+ "type": "error"
2384
+ },
2385
+ {
2386
+ "inputs": [],
2387
+ "name": "InvalidReserveFactor",
2388
+ "type": "error"
2389
+ },
2390
+ {
2391
+ "inputs": [],
2392
+ "name": "InvalidSignatureForRedeemFaceValue",
2393
+ "type": "error"
2394
+ },
2395
+ {
2396
+ "inputs": [],
2397
+ "name": "InvalidSignatureLength",
2398
+ "type": "error"
2399
+ },
2400
+ {
2401
+ "inputs": [],
2402
+ "name": "InvalidSuToken",
2403
+ "type": "error"
2404
+ },
2405
+ {
2406
+ "inputs": [],
2407
+ "name": "InvalidTimestamp",
2408
+ "type": "error"
2409
+ },
2410
+ {
2411
+ "inputs": [],
2412
+ "name": "LiquidateBorrow_LiquidatorIsBorrower",
2413
+ "type": "error"
2414
+ },
2415
+ {
2416
+ "inputs": [],
2417
+ "name": "LiquidateBorrow_RepayAmountIsMax",
2418
+ "type": "error"
2419
+ },
2420
+ {
2421
+ "inputs": [],
2422
+ "name": "LiquidateBorrow_RepayAmountIsZero",
2423
+ "type": "error"
2424
+ },
2425
+ {
2426
+ "inputs": [],
2427
+ "name": "LiquidateBorrow_SeizeTooMuch",
2428
+ "type": "error"
2429
+ },
2430
+ {
2431
+ "inputs": [],
2432
+ "name": "LiquidateCollateralMarketNotFresh",
2433
+ "type": "error"
2434
+ },
2435
+ {
2436
+ "inputs": [],
2437
+ "name": "LiquidateMarketNotFresh",
2438
+ "type": "error"
2439
+ },
2440
+ {
2441
+ "inputs": [],
2442
+ "name": "MarketAlreadyListed",
2443
+ "type": "error"
2444
+ },
2445
+ {
2446
+ "inputs": [],
2447
+ "name": "MarketAlreadyUnlisted",
2448
+ "type": "error"
2449
+ },
2450
+ {
2451
+ "inputs": [],
2452
+ "name": "MarketCanOnlyInitializeOnce",
2453
+ "type": "error"
2454
+ },
2455
+ {
2456
+ "inputs": [],
2457
+ "name": "MarketNotEmpty",
2458
+ "type": "error"
2459
+ },
2460
+ {
2461
+ "inputs": [],
2462
+ "name": "MarketNotListed",
2463
+ "type": "error"
2464
+ },
2465
+ {
2466
+ "inputs": [],
2467
+ "name": "MarketPaused",
2468
+ "type": "error"
2469
+ },
2470
+ {
2471
+ "inputs": [],
2472
+ "name": "MinDelayNotReached",
2473
+ "type": "error"
2474
+ },
2475
+ {
2476
+ "inputs": [],
2477
+ "name": "MintMarketNotFresh",
2478
+ "type": "error"
2479
+ },
2480
+ {
2481
+ "inputs": [],
2482
+ "name": "MintPaused",
2483
+ "type": "error"
2484
+ },
2485
+ {
2486
+ "inputs": [],
2487
+ "name": "MintTokensCantBeZero",
2488
+ "type": "error"
2489
+ },
2490
+ {
2491
+ "inputs": [],
2492
+ "name": "NoRedemptionProvider",
2493
+ "type": "error"
2494
+ },
2495
+ {
2496
+ "inputs": [],
2497
+ "name": "NotCToken",
2498
+ "type": "error"
2499
+ },
2500
+ {
2501
+ "inputs": [],
2502
+ "name": "NotEnoughForSeize",
2503
+ "type": "error"
2504
+ },
2505
+ {
2506
+ "inputs": [],
2507
+ "name": "NotEnoughRedeemAmount",
2508
+ "type": "error"
2509
+ },
2510
+ {
2511
+ "inputs": [],
2512
+ "name": "NotEnoughRedeemTokens",
2513
+ "type": "error"
2514
+ },
2515
+ {
2516
+ "inputs": [],
2517
+ "name": "NotEnoughUnderlyingAfterRedeem",
2518
+ "type": "error"
2519
+ },
2520
+ {
2521
+ "inputs": [],
2522
+ "name": "NotEnoughUnderlyingForMint",
2523
+ "type": "error"
2524
+ },
2525
+ {
2526
+ "inputs": [],
2527
+ "name": "NotLiquidatableYet",
2528
+ "type": "error"
2529
+ },
2530
+ {
2531
+ "inputs": [],
2532
+ "name": "NotSuToken",
2533
+ "type": "error"
2534
+ },
2535
+ {
2536
+ "inputs": [],
2537
+ "name": "OnlyAdmin",
2538
+ "type": "error"
2539
+ },
2540
+ {
2541
+ "inputs": [],
2542
+ "name": "OnlyAdminOrPauser",
2543
+ "type": "error"
2544
+ },
2545
+ {
2546
+ "inputs": [],
2547
+ "name": "OnlyCToken",
2548
+ "type": "error"
2549
+ },
2550
+ {
2551
+ "inputs": [],
2552
+ "name": "OnlyListedCToken",
2553
+ "type": "error"
2554
+ },
2555
+ {
2556
+ "inputs": [],
2557
+ "name": "OnlyPausedMarketCanBeUnlisted",
2558
+ "type": "error"
2559
+ },
2560
+ {
2561
+ "inputs": [],
2562
+ "name": "OnlyPendingAdmin",
2563
+ "type": "error"
2564
+ },
2565
+ {
2566
+ "inputs": [],
2567
+ "name": "OnlyRedemptionManager",
2568
+ "type": "error"
2569
+ },
2570
+ {
2571
+ "inputs": [],
2572
+ "name": "OverThreshold",
2573
+ "type": "error"
2574
+ },
2575
+ {
2576
+ "inputs": [],
2577
+ "name": "PriceError",
2578
+ "type": "error"
2579
+ },
2580
+ {
2581
+ "inputs": [],
2582
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2583
+ "type": "error"
2584
+ },
2585
+ {
2586
+ "inputs": [],
2587
+ "name": "RedeemMarketNotFresh",
2588
+ "type": "error"
2589
+ },
2590
+ {
2591
+ "inputs": [],
2592
+ "name": "RedeemTransferOutNotPossible",
2593
+ "type": "error"
2594
+ },
2595
+ {
2596
+ "inputs": [],
2597
+ "name": "RedemptionSeizeTooMuch",
2598
+ "type": "error"
2599
+ },
2600
+ {
2601
+ "inputs": [],
2602
+ "name": "RedemptionSignerNotInitialized",
2603
+ "type": "error"
2604
+ },
2605
+ {
2606
+ "inputs": [],
2607
+ "name": "ReduceReservesCashNotAvailable",
2608
+ "type": "error"
2609
+ },
2610
+ {
2611
+ "inputs": [],
2612
+ "name": "ReduceReservesMarketNotFresh",
2613
+ "type": "error"
2614
+ },
2615
+ {
2616
+ "inputs": [],
2617
+ "name": "RepayBorrowMarketNotFresh",
2618
+ "type": "error"
2619
+ },
2620
+ {
2621
+ "inputs": [],
2622
+ "name": "SeizePaused",
2623
+ "type": "error"
2624
+ },
2625
+ {
2626
+ "inputs": [],
2627
+ "name": "Seize_LiquidatorIsBorrower",
2628
+ "type": "error"
2629
+ },
2630
+ {
2631
+ "inputs": [],
2632
+ "name": "SenderMustBeCToken",
2633
+ "type": "error"
2634
+ },
2635
+ {
2636
+ "inputs": [],
2637
+ "name": "SetInterestRateModelMarketNotFresh",
2638
+ "type": "error"
2639
+ },
2640
+ {
2641
+ "inputs": [],
2642
+ "name": "SetReservesFactorMarketNotFresh",
2643
+ "type": "error"
2644
+ },
2645
+ {
2646
+ "inputs": [],
2647
+ "name": "SupplyCapReached",
2648
+ "type": "error"
2649
+ },
2650
+ {
2651
+ "inputs": [],
2652
+ "name": "TokenInOrAmountInMustBeZero",
2653
+ "type": "error"
2654
+ },
2655
+ {
2656
+ "inputs": [],
2657
+ "name": "TokenTransferInFailed",
2658
+ "type": "error"
2659
+ },
2660
+ {
2661
+ "inputs": [],
2662
+ "name": "TokenTransferOutFailed",
2663
+ "type": "error"
2664
+ },
2665
+ {
2666
+ "inputs": [],
2667
+ "name": "TooMuchRepay",
2668
+ "type": "error"
2669
+ },
2670
+ {
2671
+ "inputs": [],
2672
+ "name": "TotalBorrowsNotZero",
2673
+ "type": "error"
2674
+ },
2675
+ {
2676
+ "inputs": [],
2677
+ "name": "TotalSupplyNotZero",
2678
+ "type": "error"
2679
+ },
2680
+ {
2681
+ "inputs": [],
2682
+ "name": "TransferNotAllowed",
2683
+ "type": "error"
2684
+ },
2685
+ {
2686
+ "inputs": [],
2687
+ "name": "TransferPaused",
2688
+ "type": "error"
2689
+ },
2690
+ {
2691
+ "inputs": [],
2692
+ "name": "UnderlyingBalanceError",
2693
+ "type": "error"
2694
+ },
2695
+ {
2696
+ "inputs": [],
2697
+ "name": "ZeroAddressNotAllowed",
2698
+ "type": "error"
2699
+ },
1563
2700
  {
1564
2701
  "inputs": [],
1565
2702
  "name": "AddReservesMarketNotFresh",
@@ -5350,6 +6487,76 @@ exports.errorABIs = [
5350
6487
  "name": "NoEnoughReward",
5351
6488
  "type": "error"
5352
6489
  },
6490
+ {
6491
+ "inputs": [],
6492
+ "name": "InsolventReward",
6493
+ "type": "error"
6494
+ },
6495
+ {
6496
+ "inputs": [],
6497
+ "name": "InsufficientStake",
6498
+ "type": "error"
6499
+ },
6500
+ {
6501
+ "inputs": [],
6502
+ "name": "RewardCycleNotEnded",
6503
+ "type": "error"
6504
+ },
6505
+ {
6506
+ "inputs": [],
6507
+ "name": "RewardsDurationIsZero",
6508
+ "type": "error"
6509
+ },
6510
+ {
6511
+ "inputs": [],
6512
+ "name": "StakeAmountIsZero",
6513
+ "type": "error"
6514
+ },
6515
+ {
6516
+ "inputs": [],
6517
+ "name": "TotalSupplyOverflow",
6518
+ "type": "error"
6519
+ },
6520
+ {
6521
+ "inputs": [],
6522
+ "name": "WithdrawAmountIsZero",
6523
+ "type": "error"
6524
+ },
6525
+ {
6526
+ "inputs": [],
6527
+ "name": "InsolventReward",
6528
+ "type": "error"
6529
+ },
6530
+ {
6531
+ "inputs": [],
6532
+ "name": "InsufficientStake",
6533
+ "type": "error"
6534
+ },
6535
+ {
6536
+ "inputs": [],
6537
+ "name": "RewardCycleNotEnded",
6538
+ "type": "error"
6539
+ },
6540
+ {
6541
+ "inputs": [],
6542
+ "name": "RewardsDurationIsZero",
6543
+ "type": "error"
6544
+ },
6545
+ {
6546
+ "inputs": [],
6547
+ "name": "StakeAmountIsZero",
6548
+ "type": "error"
6549
+ },
6550
+ {
6551
+ "inputs": [],
6552
+ "name": "TotalSupplyOverflow",
6553
+ "type": "error"
6554
+ },
6555
+ {
6556
+ "inputs": [],
6557
+ "name": "WithdrawAmountIsZero",
6558
+ "type": "error"
6559
+ },
5353
6560
  {
5354
6561
  "inputs": [],
5355
6562
  "name": "AddReservesMarketNotFresh",