@ripe-finance/sdk 0.0.10 → 0.1.1
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.
- package/dist/contracts/BlueChipYieldPrices.d.ts +21 -0
- package/dist/contracts/BlueChipYieldPrices.d.ts.map +1 -1
- package/dist/contracts/BlueChipYieldPrices.js +26 -1
- package/dist/contracts/BondBooster.d.ts +546 -0
- package/dist/contracts/BondBooster.d.ts.map +1 -0
- package/dist/contracts/BondBooster.js +643 -0
- package/dist/contracts/BondRoom.d.ts +40 -1
- package/dist/contracts/BondRoom.d.ts.map +1 -1
- package/dist/contracts/BondRoom.js +50 -1
- package/dist/contracts/ChainlinkPrices.d.ts +21 -0
- package/dist/contracts/ChainlinkPrices.d.ts.map +1 -1
- package/dist/contracts/ChainlinkPrices.js +26 -1
- package/dist/contracts/CurvePrices.d.ts +21 -0
- package/dist/contracts/CurvePrices.d.ts.map +1 -1
- package/dist/contracts/CurvePrices.js +26 -1
- package/dist/contracts/DefaultsBase.d.ts +3 -0
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +5 -1
- package/dist/contracts/Endaoment.d.ts +1009 -732
- package/dist/contracts/Endaoment.d.ts.map +1 -1
- package/dist/contracts/Endaoment.js +1280 -880
- package/dist/contracts/PriceDesk.d.ts +21 -0
- package/dist/contracts/PriceDesk.d.ts.map +1 -1
- package/dist/contracts/PriceDesk.js +26 -1
- package/dist/contracts/PythPrices.d.ts +21 -0
- package/dist/contracts/PythPrices.d.ts.map +1 -1
- package/dist/contracts/PythPrices.js +26 -1
- package/dist/contracts/StorkPrices.d.ts +21 -0
- package/dist/contracts/StorkPrices.d.ts.map +1 -1
- package/dist/contracts/StorkPrices.js +26 -1
- package/dist/contracts/Switchboard.d.ts +21 -0
- package/dist/contracts/Switchboard.d.ts.map +1 -1
- package/dist/contracts/Switchboard.js +26 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +21 -0
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +26 -1
- package/dist/contracts/SwitchboardBravo.d.ts +21 -0
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +26 -1
- package/dist/contracts/SwitchboardCharlie.d.ts +235 -411
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +292 -527
- package/dist/contracts/SwitchboardDelta.d.ts +273 -0
- package/dist/contracts/SwitchboardDelta.d.ts.map +1 -1
- package/dist/contracts/SwitchboardDelta.js +337 -1
- package/dist/contracts/Teller.js +1 -1
- package/dist/contracts/VaultBook.d.ts +21 -0
- package/dist/contracts/VaultBook.d.ts.map +1 -1
- package/dist/contracts/VaultBook.js +26 -1
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +1 -0
- package/dist/contracts/sdk.d.ts +2 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +2 -0
- package/dist/index.d.ts +85 -22
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/package.json +1 -1
|
@@ -472,27 +472,6 @@ export declare const abi: readonly [{
|
|
|
472
472
|
}];
|
|
473
473
|
readonly anonymous: false;
|
|
474
474
|
readonly type: "event";
|
|
475
|
-
}, {
|
|
476
|
-
readonly name: "PendingSetManyTrainingWheelsAccess";
|
|
477
|
-
readonly inputs: readonly [{
|
|
478
|
-
readonly name: "addr";
|
|
479
|
-
readonly type: "address";
|
|
480
|
-
readonly indexed: true;
|
|
481
|
-
}, {
|
|
482
|
-
readonly name: "numTrainingWheels";
|
|
483
|
-
readonly type: "uint256";
|
|
484
|
-
readonly indexed: false;
|
|
485
|
-
}, {
|
|
486
|
-
readonly name: "confirmationBlock";
|
|
487
|
-
readonly type: "uint256";
|
|
488
|
-
readonly indexed: false;
|
|
489
|
-
}, {
|
|
490
|
-
readonly name: "actionId";
|
|
491
|
-
readonly type: "uint256";
|
|
492
|
-
readonly indexed: false;
|
|
493
|
-
}];
|
|
494
|
-
readonly anonymous: false;
|
|
495
|
-
readonly type: "event";
|
|
496
475
|
}, {
|
|
497
476
|
readonly name: "DebtUpdatedForUser";
|
|
498
477
|
readonly inputs: readonly [{
|
|
@@ -667,10 +646,6 @@ export declare const abi: readonly [{
|
|
|
667
646
|
readonly name: "withdrawAmount";
|
|
668
647
|
readonly type: "uint256";
|
|
669
648
|
readonly indexed: false;
|
|
670
|
-
}, {
|
|
671
|
-
readonly name: "hasVaultToken";
|
|
672
|
-
readonly type: "bool";
|
|
673
|
-
readonly indexed: false;
|
|
674
649
|
}, {
|
|
675
650
|
readonly name: "caller";
|
|
676
651
|
readonly type: "address";
|
|
@@ -713,14 +688,6 @@ export declare const abi: readonly [{
|
|
|
713
688
|
readonly name: "amount";
|
|
714
689
|
readonly type: "uint256";
|
|
715
690
|
readonly indexed: false;
|
|
716
|
-
}, {
|
|
717
|
-
readonly name: "depositLegoId";
|
|
718
|
-
readonly type: "uint256";
|
|
719
|
-
readonly indexed: false;
|
|
720
|
-
}, {
|
|
721
|
-
readonly name: "depositVault";
|
|
722
|
-
readonly type: "address";
|
|
723
|
-
readonly indexed: true;
|
|
724
691
|
}, {
|
|
725
692
|
readonly name: "caller";
|
|
726
693
|
readonly type: "address";
|
|
@@ -734,22 +701,6 @@ export declare const abi: readonly [{
|
|
|
734
701
|
readonly name: "amount";
|
|
735
702
|
readonly type: "uint256";
|
|
736
703
|
readonly indexed: false;
|
|
737
|
-
}, {
|
|
738
|
-
readonly name: "recipient";
|
|
739
|
-
readonly type: "address";
|
|
740
|
-
readonly indexed: true;
|
|
741
|
-
}, {
|
|
742
|
-
readonly name: "withdrawLegoId";
|
|
743
|
-
readonly type: "uint256";
|
|
744
|
-
readonly indexed: false;
|
|
745
|
-
}, {
|
|
746
|
-
readonly name: "withdrawVaultAddr";
|
|
747
|
-
readonly type: "address";
|
|
748
|
-
readonly indexed: true;
|
|
749
|
-
}, {
|
|
750
|
-
readonly name: "hasWithdrawVaultToken";
|
|
751
|
-
readonly type: "bool";
|
|
752
|
-
readonly indexed: false;
|
|
753
704
|
}, {
|
|
754
705
|
readonly name: "caller";
|
|
755
706
|
readonly type: "address";
|
|
@@ -763,14 +714,18 @@ export declare const abi: readonly [{
|
|
|
763
714
|
readonly name: "legoId";
|
|
764
715
|
readonly type: "uint256";
|
|
765
716
|
readonly indexed: false;
|
|
766
|
-
}, {
|
|
767
|
-
readonly name: "market";
|
|
768
|
-
readonly type: "address";
|
|
769
|
-
readonly indexed: true;
|
|
770
717
|
}, {
|
|
771
718
|
readonly name: "rewardToken";
|
|
772
719
|
readonly type: "address";
|
|
773
720
|
readonly indexed: true;
|
|
721
|
+
}, {
|
|
722
|
+
readonly name: "rewardAmount";
|
|
723
|
+
readonly type: "uint256";
|
|
724
|
+
readonly indexed: false;
|
|
725
|
+
}, {
|
|
726
|
+
readonly name: "usdValue";
|
|
727
|
+
readonly type: "uint256";
|
|
728
|
+
readonly indexed: false;
|
|
774
729
|
}, {
|
|
775
730
|
readonly name: "caller";
|
|
776
731
|
readonly type: "address";
|
|
@@ -924,14 +879,18 @@ export declare const abi: readonly [{
|
|
|
924
879
|
readonly anonymous: false;
|
|
925
880
|
readonly type: "event";
|
|
926
881
|
}, {
|
|
927
|
-
readonly name: "
|
|
882
|
+
readonly name: "TrainingWheelsAccessSet";
|
|
928
883
|
readonly inputs: readonly [{
|
|
929
|
-
readonly name: "
|
|
884
|
+
readonly name: "trainingWheels";
|
|
930
885
|
readonly type: "address";
|
|
931
886
|
readonly indexed: true;
|
|
932
887
|
}, {
|
|
933
|
-
readonly name: "
|
|
934
|
-
readonly type: "
|
|
888
|
+
readonly name: "user";
|
|
889
|
+
readonly type: "address";
|
|
890
|
+
readonly indexed: true;
|
|
891
|
+
}, {
|
|
892
|
+
readonly name: "isAllowed";
|
|
893
|
+
readonly type: "bool";
|
|
935
894
|
readonly indexed: false;
|
|
936
895
|
}];
|
|
937
896
|
readonly anonymous: false;
|
|
@@ -1026,6 +985,15 @@ export declare const abi: readonly [{
|
|
|
1026
985
|
}];
|
|
1027
986
|
readonly anonymous: false;
|
|
1028
987
|
readonly type: "event";
|
|
988
|
+
}, {
|
|
989
|
+
readonly name: "GovRelinquished";
|
|
990
|
+
readonly inputs: readonly [{
|
|
991
|
+
readonly name: "prevGov";
|
|
992
|
+
readonly type: "address";
|
|
993
|
+
readonly indexed: true;
|
|
994
|
+
}];
|
|
995
|
+
readonly anonymous: false;
|
|
996
|
+
readonly type: "event";
|
|
1029
997
|
}, {
|
|
1030
998
|
readonly name: "RipeHqSetupFinished";
|
|
1031
999
|
readonly inputs: readonly [{
|
|
@@ -1103,6 +1071,12 @@ export declare const abi: readonly [{
|
|
|
1103
1071
|
readonly name: "cancelGovernanceChange";
|
|
1104
1072
|
readonly inputs: readonly [];
|
|
1105
1073
|
readonly outputs: readonly [];
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly stateMutability: "nonpayable";
|
|
1076
|
+
readonly type: "function";
|
|
1077
|
+
readonly name: "relinquishGov";
|
|
1078
|
+
readonly inputs: readonly [];
|
|
1079
|
+
readonly outputs: readonly [];
|
|
1106
1080
|
}, {
|
|
1107
1081
|
readonly stateMutability: "nonpayable";
|
|
1108
1082
|
readonly type: "function";
|
|
@@ -1663,9 +1637,6 @@ export declare const abi: readonly [{
|
|
|
1663
1637
|
}, {
|
|
1664
1638
|
readonly name: "_asset";
|
|
1665
1639
|
readonly type: "address";
|
|
1666
|
-
}, {
|
|
1667
|
-
readonly name: "_vault";
|
|
1668
|
-
readonly type: "address";
|
|
1669
1640
|
}];
|
|
1670
1641
|
readonly outputs: readonly [{
|
|
1671
1642
|
readonly name: "";
|
|
@@ -1691,11 +1662,8 @@ export declare const abi: readonly [{
|
|
|
1691
1662
|
readonly name: "_asset";
|
|
1692
1663
|
readonly type: "address";
|
|
1693
1664
|
}, {
|
|
1694
|
-
readonly name: "
|
|
1665
|
+
readonly name: "_vaultAddr";
|
|
1695
1666
|
readonly type: "address";
|
|
1696
|
-
}, {
|
|
1697
|
-
readonly name: "_amount";
|
|
1698
|
-
readonly type: "uint256";
|
|
1699
1667
|
}];
|
|
1700
1668
|
readonly outputs: readonly [{
|
|
1701
1669
|
readonly name: "";
|
|
@@ -1713,7 +1681,7 @@ export declare const abi: readonly [{
|
|
|
1713
1681
|
}, {
|
|
1714
1682
|
readonly stateMutability: "nonpayable";
|
|
1715
1683
|
readonly type: "function";
|
|
1716
|
-
readonly name: "
|
|
1684
|
+
readonly name: "performEndaomentDeposit";
|
|
1717
1685
|
readonly inputs: readonly [{
|
|
1718
1686
|
readonly name: "_legoId";
|
|
1719
1687
|
readonly type: "uint256";
|
|
@@ -1723,10 +1691,16 @@ export declare const abi: readonly [{
|
|
|
1723
1691
|
}, {
|
|
1724
1692
|
readonly name: "_vaultAddr";
|
|
1725
1693
|
readonly type: "address";
|
|
1694
|
+
}, {
|
|
1695
|
+
readonly name: "_amount";
|
|
1696
|
+
readonly type: "uint256";
|
|
1726
1697
|
}];
|
|
1727
1698
|
readonly outputs: readonly [{
|
|
1728
1699
|
readonly name: "";
|
|
1729
1700
|
readonly type: "uint256";
|
|
1701
|
+
}, {
|
|
1702
|
+
readonly name: "";
|
|
1703
|
+
readonly type: "address";
|
|
1730
1704
|
}, {
|
|
1731
1705
|
readonly name: "";
|
|
1732
1706
|
readonly type: "uint256";
|
|
@@ -1737,7 +1711,7 @@ export declare const abi: readonly [{
|
|
|
1737
1711
|
}, {
|
|
1738
1712
|
readonly stateMutability: "nonpayable";
|
|
1739
1713
|
readonly type: "function";
|
|
1740
|
-
readonly name: "
|
|
1714
|
+
readonly name: "performEndaomentDeposit";
|
|
1741
1715
|
readonly inputs: readonly [{
|
|
1742
1716
|
readonly name: "_legoId";
|
|
1743
1717
|
readonly type: "uint256";
|
|
@@ -1748,12 +1722,18 @@ export declare const abi: readonly [{
|
|
|
1748
1722
|
readonly name: "_vaultAddr";
|
|
1749
1723
|
readonly type: "address";
|
|
1750
1724
|
}, {
|
|
1751
|
-
readonly name: "
|
|
1725
|
+
readonly name: "_amount";
|
|
1752
1726
|
readonly type: "uint256";
|
|
1727
|
+
}, {
|
|
1728
|
+
readonly name: "_extraData";
|
|
1729
|
+
readonly type: "bytes32";
|
|
1753
1730
|
}];
|
|
1754
1731
|
readonly outputs: readonly [{
|
|
1755
1732
|
readonly name: "";
|
|
1756
1733
|
readonly type: "uint256";
|
|
1734
|
+
}, {
|
|
1735
|
+
readonly name: "";
|
|
1736
|
+
readonly type: "address";
|
|
1757
1737
|
}, {
|
|
1758
1738
|
readonly name: "";
|
|
1759
1739
|
readonly type: "uint256";
|
|
@@ -1769,21 +1749,15 @@ export declare const abi: readonly [{
|
|
|
1769
1749
|
readonly name: "_legoId";
|
|
1770
1750
|
readonly type: "uint256";
|
|
1771
1751
|
}, {
|
|
1772
|
-
readonly name: "
|
|
1752
|
+
readonly name: "_vaultToken";
|
|
1773
1753
|
readonly type: "address";
|
|
1774
|
-
}, {
|
|
1775
|
-
readonly name: "_vaultAddr";
|
|
1776
|
-
readonly type: "address";
|
|
1777
|
-
}, {
|
|
1778
|
-
readonly name: "_withdrawAmount";
|
|
1779
|
-
readonly type: "uint256";
|
|
1780
|
-
}, {
|
|
1781
|
-
readonly name: "_hasVaultToken";
|
|
1782
|
-
readonly type: "bool";
|
|
1783
1754
|
}];
|
|
1784
1755
|
readonly outputs: readonly [{
|
|
1785
1756
|
readonly name: "";
|
|
1786
1757
|
readonly type: "uint256";
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly name: "";
|
|
1760
|
+
readonly type: "address";
|
|
1787
1761
|
}, {
|
|
1788
1762
|
readonly name: "";
|
|
1789
1763
|
readonly type: "uint256";
|
|
@@ -1794,22 +1768,16 @@ export declare const abi: readonly [{
|
|
|
1794
1768
|
}, {
|
|
1795
1769
|
readonly stateMutability: "nonpayable";
|
|
1796
1770
|
readonly type: "function";
|
|
1797
|
-
readonly name: "
|
|
1771
|
+
readonly name: "performEndaomentWithdraw";
|
|
1798
1772
|
readonly inputs: readonly [{
|
|
1799
|
-
readonly name: "
|
|
1773
|
+
readonly name: "_legoId";
|
|
1800
1774
|
readonly type: "uint256";
|
|
1801
1775
|
}, {
|
|
1802
|
-
readonly name: "
|
|
1803
|
-
readonly type: "address";
|
|
1804
|
-
}, {
|
|
1805
|
-
readonly name: "_fromVaultAddr";
|
|
1776
|
+
readonly name: "_vaultToken";
|
|
1806
1777
|
readonly type: "address";
|
|
1807
1778
|
}, {
|
|
1808
|
-
readonly name: "
|
|
1779
|
+
readonly name: "_amount";
|
|
1809
1780
|
readonly type: "uint256";
|
|
1810
|
-
}, {
|
|
1811
|
-
readonly name: "_toVaultAddr";
|
|
1812
|
-
readonly type: "address";
|
|
1813
1781
|
}];
|
|
1814
1782
|
readonly outputs: readonly [{
|
|
1815
1783
|
readonly name: "";
|
|
@@ -1827,25 +1795,19 @@ export declare const abi: readonly [{
|
|
|
1827
1795
|
}, {
|
|
1828
1796
|
readonly stateMutability: "nonpayable";
|
|
1829
1797
|
readonly type: "function";
|
|
1830
|
-
readonly name: "
|
|
1798
|
+
readonly name: "performEndaomentWithdraw";
|
|
1831
1799
|
readonly inputs: readonly [{
|
|
1832
|
-
readonly name: "
|
|
1800
|
+
readonly name: "_legoId";
|
|
1833
1801
|
readonly type: "uint256";
|
|
1834
1802
|
}, {
|
|
1835
|
-
readonly name: "
|
|
1836
|
-
readonly type: "address";
|
|
1837
|
-
}, {
|
|
1838
|
-
readonly name: "_fromVaultAddr";
|
|
1803
|
+
readonly name: "_vaultToken";
|
|
1839
1804
|
readonly type: "address";
|
|
1840
1805
|
}, {
|
|
1841
|
-
readonly name: "
|
|
1806
|
+
readonly name: "_amount";
|
|
1842
1807
|
readonly type: "uint256";
|
|
1843
1808
|
}, {
|
|
1844
|
-
readonly name: "
|
|
1845
|
-
readonly type: "
|
|
1846
|
-
}, {
|
|
1847
|
-
readonly name: "_fromVaultAmount";
|
|
1848
|
-
readonly type: "uint256";
|
|
1809
|
+
readonly name: "_extraData";
|
|
1810
|
+
readonly type: "bytes32";
|
|
1849
1811
|
}];
|
|
1850
1812
|
readonly outputs: readonly [{
|
|
1851
1813
|
readonly name: "";
|
|
@@ -1868,23 +1830,11 @@ export declare const abi: readonly [{
|
|
|
1868
1830
|
readonly name: "_fromLegoId";
|
|
1869
1831
|
readonly type: "uint256";
|
|
1870
1832
|
}, {
|
|
1871
|
-
readonly name: "
|
|
1872
|
-
readonly type: "address";
|
|
1873
|
-
}, {
|
|
1874
|
-
readonly name: "_fromVaultAddr";
|
|
1833
|
+
readonly name: "_fromVaultToken";
|
|
1875
1834
|
readonly type: "address";
|
|
1876
1835
|
}, {
|
|
1877
1836
|
readonly name: "_toLegoId";
|
|
1878
1837
|
readonly type: "uint256";
|
|
1879
|
-
}, {
|
|
1880
|
-
readonly name: "_toVaultAddr";
|
|
1881
|
-
readonly type: "address";
|
|
1882
|
-
}, {
|
|
1883
|
-
readonly name: "_fromVaultAmount";
|
|
1884
|
-
readonly type: "uint256";
|
|
1885
|
-
}, {
|
|
1886
|
-
readonly name: "_hasFromVaultToken";
|
|
1887
|
-
readonly type: "bool";
|
|
1888
1838
|
}];
|
|
1889
1839
|
readonly outputs: readonly [{
|
|
1890
1840
|
readonly name: "";
|
|
@@ -1900,27 +1850,21 @@ export declare const abi: readonly [{
|
|
|
1900
1850
|
readonly type: "uint256";
|
|
1901
1851
|
}];
|
|
1902
1852
|
}, {
|
|
1903
|
-
readonly stateMutability: "
|
|
1853
|
+
readonly stateMutability: "nonpayable";
|
|
1904
1854
|
readonly type: "function";
|
|
1905
|
-
readonly name: "
|
|
1906
|
-
readonly inputs: readonly [
|
|
1907
|
-
|
|
1908
|
-
readonly name: "";
|
|
1855
|
+
readonly name: "performEndaomentRebalance";
|
|
1856
|
+
readonly inputs: readonly [{
|
|
1857
|
+
readonly name: "_fromLegoId";
|
|
1909
1858
|
readonly type: "uint256";
|
|
1910
1859
|
}, {
|
|
1911
|
-
readonly name: "";
|
|
1860
|
+
readonly name: "_fromVaultToken";
|
|
1912
1861
|
readonly type: "address";
|
|
1913
1862
|
}, {
|
|
1914
|
-
readonly name: "";
|
|
1915
|
-
readonly type: "uint256";
|
|
1916
|
-
}];
|
|
1917
|
-
}, {
|
|
1918
|
-
readonly stateMutability: "payable";
|
|
1919
|
-
readonly type: "function";
|
|
1920
|
-
readonly name: "performEndaomentEthToWeth";
|
|
1921
|
-
readonly inputs: readonly [{
|
|
1922
|
-
readonly name: "_amount";
|
|
1863
|
+
readonly name: "_toLegoId";
|
|
1923
1864
|
readonly type: "uint256";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly name: "_toVaultAddr";
|
|
1867
|
+
readonly type: "address";
|
|
1924
1868
|
}];
|
|
1925
1869
|
readonly outputs: readonly [{
|
|
1926
1870
|
readonly name: "";
|
|
@@ -1931,16 +1875,28 @@ export declare const abi: readonly [{
|
|
|
1931
1875
|
}, {
|
|
1932
1876
|
readonly name: "";
|
|
1933
1877
|
readonly type: "uint256";
|
|
1878
|
+
}, {
|
|
1879
|
+
readonly name: "";
|
|
1880
|
+
readonly type: "uint256";
|
|
1934
1881
|
}];
|
|
1935
1882
|
}, {
|
|
1936
|
-
readonly stateMutability: "
|
|
1883
|
+
readonly stateMutability: "nonpayable";
|
|
1937
1884
|
readonly type: "function";
|
|
1938
|
-
readonly name: "
|
|
1885
|
+
readonly name: "performEndaomentRebalance";
|
|
1939
1886
|
readonly inputs: readonly [{
|
|
1940
|
-
readonly name: "
|
|
1887
|
+
readonly name: "_fromLegoId";
|
|
1941
1888
|
readonly type: "uint256";
|
|
1942
1889
|
}, {
|
|
1943
|
-
readonly name: "
|
|
1890
|
+
readonly name: "_fromVaultToken";
|
|
1891
|
+
readonly type: "address";
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly name: "_toLegoId";
|
|
1894
|
+
readonly type: "uint256";
|
|
1895
|
+
}, {
|
|
1896
|
+
readonly name: "_toVaultAddr";
|
|
1897
|
+
readonly type: "address";
|
|
1898
|
+
}, {
|
|
1899
|
+
readonly name: "_fromVaultAmount";
|
|
1944
1900
|
readonly type: "uint256";
|
|
1945
1901
|
}];
|
|
1946
1902
|
readonly outputs: readonly [{
|
|
@@ -1952,20 +1908,32 @@ export declare const abi: readonly [{
|
|
|
1952
1908
|
}, {
|
|
1953
1909
|
readonly name: "";
|
|
1954
1910
|
readonly type: "uint256";
|
|
1911
|
+
}, {
|
|
1912
|
+
readonly name: "";
|
|
1913
|
+
readonly type: "uint256";
|
|
1955
1914
|
}];
|
|
1956
1915
|
}, {
|
|
1957
|
-
readonly stateMutability: "
|
|
1916
|
+
readonly stateMutability: "nonpayable";
|
|
1958
1917
|
readonly type: "function";
|
|
1959
|
-
readonly name: "
|
|
1918
|
+
readonly name: "performEndaomentRebalance";
|
|
1960
1919
|
readonly inputs: readonly [{
|
|
1961
|
-
readonly name: "
|
|
1920
|
+
readonly name: "_fromLegoId";
|
|
1962
1921
|
readonly type: "uint256";
|
|
1963
1922
|
}, {
|
|
1964
|
-
readonly name: "
|
|
1923
|
+
readonly name: "_fromVaultToken";
|
|
1924
|
+
readonly type: "address";
|
|
1925
|
+
}, {
|
|
1926
|
+
readonly name: "_toLegoId";
|
|
1965
1927
|
readonly type: "uint256";
|
|
1966
1928
|
}, {
|
|
1967
|
-
readonly name: "
|
|
1929
|
+
readonly name: "_toVaultAddr";
|
|
1968
1930
|
readonly type: "address";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly name: "_fromVaultAmount";
|
|
1933
|
+
readonly type: "uint256";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "_extraData";
|
|
1936
|
+
readonly type: "bytes32";
|
|
1969
1937
|
}];
|
|
1970
1938
|
readonly outputs: readonly [{
|
|
1971
1939
|
readonly name: "";
|
|
@@ -1976,20 +1944,26 @@ export declare const abi: readonly [{
|
|
|
1976
1944
|
}, {
|
|
1977
1945
|
readonly name: "";
|
|
1978
1946
|
readonly type: "uint256";
|
|
1947
|
+
}, {
|
|
1948
|
+
readonly name: "";
|
|
1949
|
+
readonly type: "uint256";
|
|
1979
1950
|
}];
|
|
1980
1951
|
}, {
|
|
1981
|
-
readonly stateMutability: "
|
|
1952
|
+
readonly stateMutability: "payable";
|
|
1982
1953
|
readonly type: "function";
|
|
1983
|
-
readonly name: "
|
|
1954
|
+
readonly name: "performEndaomentEthToWeth";
|
|
1984
1955
|
readonly inputs: readonly [];
|
|
1985
1956
|
readonly outputs: readonly [{
|
|
1986
1957
|
readonly name: "";
|
|
1987
1958
|
readonly type: "uint256";
|
|
1959
|
+
}, {
|
|
1960
|
+
readonly name: "";
|
|
1961
|
+
readonly type: "uint256";
|
|
1988
1962
|
}];
|
|
1989
1963
|
}, {
|
|
1990
|
-
readonly stateMutability: "
|
|
1964
|
+
readonly stateMutability: "payable";
|
|
1991
1965
|
readonly type: "function";
|
|
1992
|
-
readonly name: "
|
|
1966
|
+
readonly name: "performEndaomentEthToWeth";
|
|
1993
1967
|
readonly inputs: readonly [{
|
|
1994
1968
|
readonly name: "_amount";
|
|
1995
1969
|
readonly type: "uint256";
|
|
@@ -1997,19 +1971,7 @@ export declare const abi: readonly [{
|
|
|
1997
1971
|
readonly outputs: readonly [{
|
|
1998
1972
|
readonly name: "";
|
|
1999
1973
|
readonly type: "uint256";
|
|
2000
|
-
}];
|
|
2001
|
-
}, {
|
|
2002
|
-
readonly stateMutability: "nonpayable";
|
|
2003
|
-
readonly type: "function";
|
|
2004
|
-
readonly name: "performEndaomentWethToEth";
|
|
2005
|
-
readonly inputs: readonly [{
|
|
2006
|
-
readonly name: "_amount";
|
|
2007
|
-
readonly type: "uint256";
|
|
2008
1974
|
}, {
|
|
2009
|
-
readonly name: "_recipient";
|
|
2010
|
-
readonly type: "address";
|
|
2011
|
-
}];
|
|
2012
|
-
readonly outputs: readonly [{
|
|
2013
1975
|
readonly name: "";
|
|
2014
1976
|
readonly type: "uint256";
|
|
2015
1977
|
}];
|
|
@@ -2017,17 +1979,11 @@ export declare const abi: readonly [{
|
|
|
2017
1979
|
readonly stateMutability: "nonpayable";
|
|
2018
1980
|
readonly type: "function";
|
|
2019
1981
|
readonly name: "performEndaomentWethToEth";
|
|
2020
|
-
readonly inputs: readonly [
|
|
2021
|
-
|
|
1982
|
+
readonly inputs: readonly [];
|
|
1983
|
+
readonly outputs: readonly [{
|
|
1984
|
+
readonly name: "";
|
|
2022
1985
|
readonly type: "uint256";
|
|
2023
1986
|
}, {
|
|
2024
|
-
readonly name: "_recipient";
|
|
2025
|
-
readonly type: "address";
|
|
2026
|
-
}, {
|
|
2027
|
-
readonly name: "_withdrawLegoId";
|
|
2028
|
-
readonly type: "uint256";
|
|
2029
|
-
}];
|
|
2030
|
-
readonly outputs: readonly [{
|
|
2031
1987
|
readonly name: "";
|
|
2032
1988
|
readonly type: "uint256";
|
|
2033
1989
|
}];
|
|
@@ -2038,41 +1994,11 @@ export declare const abi: readonly [{
|
|
|
2038
1994
|
readonly inputs: readonly [{
|
|
2039
1995
|
readonly name: "_amount";
|
|
2040
1996
|
readonly type: "uint256";
|
|
2041
|
-
}, {
|
|
2042
|
-
readonly name: "_recipient";
|
|
2043
|
-
readonly type: "address";
|
|
2044
|
-
}, {
|
|
2045
|
-
readonly name: "_withdrawLegoId";
|
|
2046
|
-
readonly type: "uint256";
|
|
2047
|
-
}, {
|
|
2048
|
-
readonly name: "_withdrawVaultAddr";
|
|
2049
|
-
readonly type: "address";
|
|
2050
1997
|
}];
|
|
2051
1998
|
readonly outputs: readonly [{
|
|
2052
1999
|
readonly name: "";
|
|
2053
2000
|
readonly type: "uint256";
|
|
2054
|
-
}];
|
|
2055
|
-
}, {
|
|
2056
|
-
readonly stateMutability: "nonpayable";
|
|
2057
|
-
readonly type: "function";
|
|
2058
|
-
readonly name: "performEndaomentWethToEth";
|
|
2059
|
-
readonly inputs: readonly [{
|
|
2060
|
-
readonly name: "_amount";
|
|
2061
|
-
readonly type: "uint256";
|
|
2062
|
-
}, {
|
|
2063
|
-
readonly name: "_recipient";
|
|
2064
|
-
readonly type: "address";
|
|
2065
|
-
}, {
|
|
2066
|
-
readonly name: "_withdrawLegoId";
|
|
2067
|
-
readonly type: "uint256";
|
|
2068
|
-
}, {
|
|
2069
|
-
readonly name: "_withdrawVaultAddr";
|
|
2070
|
-
readonly type: "address";
|
|
2071
2001
|
}, {
|
|
2072
|
-
readonly name: "_hasWithdrawVaultToken";
|
|
2073
|
-
readonly type: "bool";
|
|
2074
|
-
}];
|
|
2075
|
-
readonly outputs: readonly [{
|
|
2076
2002
|
readonly name: "";
|
|
2077
2003
|
readonly type: "uint256";
|
|
2078
2004
|
}];
|
|
@@ -2086,22 +2012,10 @@ export declare const abi: readonly [{
|
|
|
2086
2012
|
}];
|
|
2087
2013
|
readonly outputs: readonly [{
|
|
2088
2014
|
readonly name: "";
|
|
2089
|
-
readonly type: "bool";
|
|
2090
|
-
}];
|
|
2091
|
-
}, {
|
|
2092
|
-
readonly stateMutability: "nonpayable";
|
|
2093
|
-
readonly type: "function";
|
|
2094
|
-
readonly name: "performEndaomentClaim";
|
|
2095
|
-
readonly inputs: readonly [{
|
|
2096
|
-
readonly name: "_legoId";
|
|
2097
2015
|
readonly type: "uint256";
|
|
2098
2016
|
}, {
|
|
2099
|
-
readonly name: "_market";
|
|
2100
|
-
readonly type: "address";
|
|
2101
|
-
}];
|
|
2102
|
-
readonly outputs: readonly [{
|
|
2103
2017
|
readonly name: "";
|
|
2104
|
-
readonly type: "
|
|
2018
|
+
readonly type: "uint256";
|
|
2105
2019
|
}];
|
|
2106
2020
|
}, {
|
|
2107
2021
|
readonly stateMutability: "nonpayable";
|
|
@@ -2110,16 +2024,16 @@ export declare const abi: readonly [{
|
|
|
2110
2024
|
readonly inputs: readonly [{
|
|
2111
2025
|
readonly name: "_legoId";
|
|
2112
2026
|
readonly type: "uint256";
|
|
2113
|
-
}, {
|
|
2114
|
-
readonly name: "_market";
|
|
2115
|
-
readonly type: "address";
|
|
2116
2027
|
}, {
|
|
2117
2028
|
readonly name: "_rewardToken";
|
|
2118
2029
|
readonly type: "address";
|
|
2119
2030
|
}];
|
|
2120
2031
|
readonly outputs: readonly [{
|
|
2121
2032
|
readonly name: "";
|
|
2122
|
-
readonly type: "
|
|
2033
|
+
readonly type: "uint256";
|
|
2034
|
+
}, {
|
|
2035
|
+
readonly name: "";
|
|
2036
|
+
readonly type: "uint256";
|
|
2123
2037
|
}];
|
|
2124
2038
|
}, {
|
|
2125
2039
|
readonly stateMutability: "nonpayable";
|
|
@@ -2128,9 +2042,6 @@ export declare const abi: readonly [{
|
|
|
2128
2042
|
readonly inputs: readonly [{
|
|
2129
2043
|
readonly name: "_legoId";
|
|
2130
2044
|
readonly type: "uint256";
|
|
2131
|
-
}, {
|
|
2132
|
-
readonly name: "_market";
|
|
2133
|
-
readonly type: "address";
|
|
2134
2045
|
}, {
|
|
2135
2046
|
readonly name: "_rewardToken";
|
|
2136
2047
|
readonly type: "address";
|
|
@@ -2140,7 +2051,10 @@ export declare const abi: readonly [{
|
|
|
2140
2051
|
}];
|
|
2141
2052
|
readonly outputs: readonly [{
|
|
2142
2053
|
readonly name: "";
|
|
2143
|
-
readonly type: "
|
|
2054
|
+
readonly type: "uint256";
|
|
2055
|
+
}, {
|
|
2056
|
+
readonly name: "";
|
|
2057
|
+
readonly type: "uint256";
|
|
2144
2058
|
}];
|
|
2145
2059
|
}, {
|
|
2146
2060
|
readonly stateMutability: "nonpayable";
|
|
@@ -2149,9 +2063,6 @@ export declare const abi: readonly [{
|
|
|
2149
2063
|
readonly inputs: readonly [{
|
|
2150
2064
|
readonly name: "_legoId";
|
|
2151
2065
|
readonly type: "uint256";
|
|
2152
|
-
}, {
|
|
2153
|
-
readonly name: "_market";
|
|
2154
|
-
readonly type: "address";
|
|
2155
2066
|
}, {
|
|
2156
2067
|
readonly name: "_rewardToken";
|
|
2157
2068
|
readonly type: "address";
|
|
@@ -2159,12 +2070,15 @@ export declare const abi: readonly [{
|
|
|
2159
2070
|
readonly name: "_rewardAmount";
|
|
2160
2071
|
readonly type: "uint256";
|
|
2161
2072
|
}, {
|
|
2162
|
-
readonly name: "
|
|
2073
|
+
readonly name: "_extraData";
|
|
2163
2074
|
readonly type: "bytes32";
|
|
2164
2075
|
}];
|
|
2165
2076
|
readonly outputs: readonly [{
|
|
2166
2077
|
readonly name: "";
|
|
2167
|
-
readonly type: "
|
|
2078
|
+
readonly type: "uint256";
|
|
2079
|
+
}, {
|
|
2080
|
+
readonly name: "";
|
|
2081
|
+
readonly type: "uint256";
|
|
2168
2082
|
}];
|
|
2169
2083
|
}, {
|
|
2170
2084
|
readonly stateMutability: "nonpayable";
|
|
@@ -2180,7 +2094,7 @@ export declare const abi: readonly [{
|
|
|
2180
2094
|
readonly type: "function";
|
|
2181
2095
|
readonly name: "performEndaomentSwap";
|
|
2182
2096
|
readonly inputs: readonly [{
|
|
2183
|
-
readonly name: "
|
|
2097
|
+
readonly name: "_instructions";
|
|
2184
2098
|
readonly type: "tuple[]";
|
|
2185
2099
|
readonly components: readonly [{
|
|
2186
2100
|
readonly name: "legoId";
|
|
@@ -2210,12 +2124,6 @@ export declare const abi: readonly [{
|
|
|
2210
2124
|
readonly inputs: readonly [{
|
|
2211
2125
|
readonly name: "_legoId";
|
|
2212
2126
|
readonly type: "uint256";
|
|
2213
|
-
}, {
|
|
2214
|
-
readonly name: "_nftAddr";
|
|
2215
|
-
readonly type: "address";
|
|
2216
|
-
}, {
|
|
2217
|
-
readonly name: "_nftTokenId";
|
|
2218
|
-
readonly type: "uint256";
|
|
2219
2127
|
}, {
|
|
2220
2128
|
readonly name: "_pool";
|
|
2221
2129
|
readonly type: "address";
|
|
@@ -2237,12 +2145,6 @@ export declare const abi: readonly [{
|
|
|
2237
2145
|
readonly inputs: readonly [{
|
|
2238
2146
|
readonly name: "_legoId";
|
|
2239
2147
|
readonly type: "uint256";
|
|
2240
|
-
}, {
|
|
2241
|
-
readonly name: "_nftAddr";
|
|
2242
|
-
readonly type: "address";
|
|
2243
|
-
}, {
|
|
2244
|
-
readonly name: "_nftTokenId";
|
|
2245
|
-
readonly type: "uint256";
|
|
2246
2148
|
}, {
|
|
2247
2149
|
readonly name: "_pool";
|
|
2248
2150
|
readonly type: "address";
|
|
@@ -2267,12 +2169,6 @@ export declare const abi: readonly [{
|
|
|
2267
2169
|
readonly inputs: readonly [{
|
|
2268
2170
|
readonly name: "_legoId";
|
|
2269
2171
|
readonly type: "uint256";
|
|
2270
|
-
}, {
|
|
2271
|
-
readonly name: "_nftAddr";
|
|
2272
|
-
readonly type: "address";
|
|
2273
|
-
}, {
|
|
2274
|
-
readonly name: "_nftTokenId";
|
|
2275
|
-
readonly type: "uint256";
|
|
2276
2172
|
}, {
|
|
2277
2173
|
readonly name: "_pool";
|
|
2278
2174
|
readonly type: "address";
|
|
@@ -2300,12 +2196,6 @@ export declare const abi: readonly [{
|
|
|
2300
2196
|
readonly inputs: readonly [{
|
|
2301
2197
|
readonly name: "_legoId";
|
|
2302
2198
|
readonly type: "uint256";
|
|
2303
|
-
}, {
|
|
2304
|
-
readonly name: "_nftAddr";
|
|
2305
|
-
readonly type: "address";
|
|
2306
|
-
}, {
|
|
2307
|
-
readonly name: "_nftTokenId";
|
|
2308
|
-
readonly type: "uint256";
|
|
2309
2199
|
}, {
|
|
2310
2200
|
readonly name: "_pool";
|
|
2311
2201
|
readonly type: "address";
|
|
@@ -2322,8 +2212,8 @@ export declare const abi: readonly [{
|
|
|
2322
2212
|
readonly name: "_amountB";
|
|
2323
2213
|
readonly type: "uint256";
|
|
2324
2214
|
}, {
|
|
2325
|
-
readonly name: "
|
|
2326
|
-
readonly type: "
|
|
2215
|
+
readonly name: "_minAmountA";
|
|
2216
|
+
readonly type: "uint256";
|
|
2327
2217
|
}];
|
|
2328
2218
|
readonly outputs: readonly [{
|
|
2329
2219
|
readonly name: "";
|
|
@@ -2336,12 +2226,6 @@ export declare const abi: readonly [{
|
|
|
2336
2226
|
readonly inputs: readonly [{
|
|
2337
2227
|
readonly name: "_legoId";
|
|
2338
2228
|
readonly type: "uint256";
|
|
2339
|
-
}, {
|
|
2340
|
-
readonly name: "_nftAddr";
|
|
2341
|
-
readonly type: "address";
|
|
2342
|
-
}, {
|
|
2343
|
-
readonly name: "_nftTokenId";
|
|
2344
|
-
readonly type: "uint256";
|
|
2345
2229
|
}, {
|
|
2346
2230
|
readonly name: "_pool";
|
|
2347
2231
|
readonly type: "address";
|
|
@@ -2358,11 +2242,11 @@ export declare const abi: readonly [{
|
|
|
2358
2242
|
readonly name: "_amountB";
|
|
2359
2243
|
readonly type: "uint256";
|
|
2360
2244
|
}, {
|
|
2361
|
-
readonly name: "
|
|
2362
|
-
readonly type: "
|
|
2245
|
+
readonly name: "_minAmountA";
|
|
2246
|
+
readonly type: "uint256";
|
|
2363
2247
|
}, {
|
|
2364
|
-
readonly name: "
|
|
2365
|
-
readonly type: "
|
|
2248
|
+
readonly name: "_minAmountB";
|
|
2249
|
+
readonly type: "uint256";
|
|
2366
2250
|
}];
|
|
2367
2251
|
readonly outputs: readonly [{
|
|
2368
2252
|
readonly name: "";
|
|
@@ -2375,12 +2259,6 @@ export declare const abi: readonly [{
|
|
|
2375
2259
|
readonly inputs: readonly [{
|
|
2376
2260
|
readonly name: "_legoId";
|
|
2377
2261
|
readonly type: "uint256";
|
|
2378
|
-
}, {
|
|
2379
|
-
readonly name: "_nftAddr";
|
|
2380
|
-
readonly type: "address";
|
|
2381
|
-
}, {
|
|
2382
|
-
readonly name: "_nftTokenId";
|
|
2383
|
-
readonly type: "uint256";
|
|
2384
2262
|
}, {
|
|
2385
2263
|
readonly name: "_pool";
|
|
2386
2264
|
readonly type: "address";
|
|
@@ -2397,13 +2275,13 @@ export declare const abi: readonly [{
|
|
|
2397
2275
|
readonly name: "_amountB";
|
|
2398
2276
|
readonly type: "uint256";
|
|
2399
2277
|
}, {
|
|
2400
|
-
readonly name: "
|
|
2401
|
-
readonly type: "
|
|
2278
|
+
readonly name: "_minAmountA";
|
|
2279
|
+
readonly type: "uint256";
|
|
2402
2280
|
}, {
|
|
2403
|
-
readonly name: "
|
|
2404
|
-
readonly type: "
|
|
2281
|
+
readonly name: "_minAmountB";
|
|
2282
|
+
readonly type: "uint256";
|
|
2405
2283
|
}, {
|
|
2406
|
-
readonly name: "
|
|
2284
|
+
readonly name: "_minLpAmount";
|
|
2407
2285
|
readonly type: "uint256";
|
|
2408
2286
|
}];
|
|
2409
2287
|
readonly outputs: readonly [{
|
|
@@ -2417,12 +2295,6 @@ export declare const abi: readonly [{
|
|
|
2417
2295
|
readonly inputs: readonly [{
|
|
2418
2296
|
readonly name: "_legoId";
|
|
2419
2297
|
readonly type: "uint256";
|
|
2420
|
-
}, {
|
|
2421
|
-
readonly name: "_nftAddr";
|
|
2422
|
-
readonly type: "address";
|
|
2423
|
-
}, {
|
|
2424
|
-
readonly name: "_nftTokenId";
|
|
2425
|
-
readonly type: "uint256";
|
|
2426
2298
|
}, {
|
|
2427
2299
|
readonly name: "_pool";
|
|
2428
2300
|
readonly type: "address";
|
|
@@ -2438,18 +2310,18 @@ export declare const abi: readonly [{
|
|
|
2438
2310
|
}, {
|
|
2439
2311
|
readonly name: "_amountB";
|
|
2440
2312
|
readonly type: "uint256";
|
|
2441
|
-
}, {
|
|
2442
|
-
readonly name: "_tickLower";
|
|
2443
|
-
readonly type: "int24";
|
|
2444
|
-
}, {
|
|
2445
|
-
readonly name: "_tickUpper";
|
|
2446
|
-
readonly type: "int24";
|
|
2447
2313
|
}, {
|
|
2448
2314
|
readonly name: "_minAmountA";
|
|
2449
2315
|
readonly type: "uint256";
|
|
2450
2316
|
}, {
|
|
2451
2317
|
readonly name: "_minAmountB";
|
|
2452
2318
|
readonly type: "uint256";
|
|
2319
|
+
}, {
|
|
2320
|
+
readonly name: "_minLpAmount";
|
|
2321
|
+
readonly type: "uint256";
|
|
2322
|
+
}, {
|
|
2323
|
+
readonly name: "_extraData";
|
|
2324
|
+
readonly type: "bytes32";
|
|
2453
2325
|
}];
|
|
2454
2326
|
readonly outputs: readonly [{
|
|
2455
2327
|
readonly name: "";
|
|
@@ -2458,16 +2330,10 @@ export declare const abi: readonly [{
|
|
|
2458
2330
|
}, {
|
|
2459
2331
|
readonly stateMutability: "nonpayable";
|
|
2460
2332
|
readonly type: "function";
|
|
2461
|
-
readonly name: "
|
|
2333
|
+
readonly name: "removeLiquidityInEndaoment";
|
|
2462
2334
|
readonly inputs: readonly [{
|
|
2463
2335
|
readonly name: "_legoId";
|
|
2464
2336
|
readonly type: "uint256";
|
|
2465
|
-
}, {
|
|
2466
|
-
readonly name: "_nftAddr";
|
|
2467
|
-
readonly type: "address";
|
|
2468
|
-
}, {
|
|
2469
|
-
readonly name: "_nftTokenId";
|
|
2470
|
-
readonly type: "uint256";
|
|
2471
2337
|
}, {
|
|
2472
2338
|
readonly name: "_pool";
|
|
2473
2339
|
readonly type: "address";
|
|
@@ -2478,26 +2344,8 @@ export declare const abi: readonly [{
|
|
|
2478
2344
|
readonly name: "_tokenB";
|
|
2479
2345
|
readonly type: "address";
|
|
2480
2346
|
}, {
|
|
2481
|
-
readonly name: "
|
|
2482
|
-
readonly type: "
|
|
2483
|
-
}, {
|
|
2484
|
-
readonly name: "_amountB";
|
|
2485
|
-
readonly type: "uint256";
|
|
2486
|
-
}, {
|
|
2487
|
-
readonly name: "_tickLower";
|
|
2488
|
-
readonly type: "int24";
|
|
2489
|
-
}, {
|
|
2490
|
-
readonly name: "_tickUpper";
|
|
2491
|
-
readonly type: "int24";
|
|
2492
|
-
}, {
|
|
2493
|
-
readonly name: "_minAmountA";
|
|
2494
|
-
readonly type: "uint256";
|
|
2495
|
-
}, {
|
|
2496
|
-
readonly name: "_minAmountB";
|
|
2497
|
-
readonly type: "uint256";
|
|
2498
|
-
}, {
|
|
2499
|
-
readonly name: "_minLpAmount";
|
|
2500
|
-
readonly type: "uint256";
|
|
2347
|
+
readonly name: "_lpToken";
|
|
2348
|
+
readonly type: "address";
|
|
2501
2349
|
}];
|
|
2502
2350
|
readonly outputs: readonly [{
|
|
2503
2351
|
readonly name: "";
|
|
@@ -2510,12 +2358,6 @@ export declare const abi: readonly [{
|
|
|
2510
2358
|
readonly inputs: readonly [{
|
|
2511
2359
|
readonly name: "_legoId";
|
|
2512
2360
|
readonly type: "uint256";
|
|
2513
|
-
}, {
|
|
2514
|
-
readonly name: "_nftAddr";
|
|
2515
|
-
readonly type: "address";
|
|
2516
|
-
}, {
|
|
2517
|
-
readonly name: "_nftTokenId";
|
|
2518
|
-
readonly type: "uint256";
|
|
2519
2361
|
}, {
|
|
2520
2362
|
readonly name: "_pool";
|
|
2521
2363
|
readonly type: "address";
|
|
@@ -2525,6 +2367,12 @@ export declare const abi: readonly [{
|
|
|
2525
2367
|
}, {
|
|
2526
2368
|
readonly name: "_tokenB";
|
|
2527
2369
|
readonly type: "address";
|
|
2370
|
+
}, {
|
|
2371
|
+
readonly name: "_lpToken";
|
|
2372
|
+
readonly type: "address";
|
|
2373
|
+
}, {
|
|
2374
|
+
readonly name: "_lpAmount";
|
|
2375
|
+
readonly type: "uint256";
|
|
2528
2376
|
}];
|
|
2529
2377
|
readonly outputs: readonly [{
|
|
2530
2378
|
readonly name: "";
|
|
@@ -2537,12 +2385,6 @@ export declare const abi: readonly [{
|
|
|
2537
2385
|
readonly inputs: readonly [{
|
|
2538
2386
|
readonly name: "_legoId";
|
|
2539
2387
|
readonly type: "uint256";
|
|
2540
|
-
}, {
|
|
2541
|
-
readonly name: "_nftAddr";
|
|
2542
|
-
readonly type: "address";
|
|
2543
|
-
}, {
|
|
2544
|
-
readonly name: "_nftTokenId";
|
|
2545
|
-
readonly type: "uint256";
|
|
2546
2388
|
}, {
|
|
2547
2389
|
readonly name: "_pool";
|
|
2548
2390
|
readonly type: "address";
|
|
@@ -2553,7 +2395,13 @@ export declare const abi: readonly [{
|
|
|
2553
2395
|
readonly name: "_tokenB";
|
|
2554
2396
|
readonly type: "address";
|
|
2555
2397
|
}, {
|
|
2556
|
-
readonly name: "
|
|
2398
|
+
readonly name: "_lpToken";
|
|
2399
|
+
readonly type: "address";
|
|
2400
|
+
}, {
|
|
2401
|
+
readonly name: "_lpAmount";
|
|
2402
|
+
readonly type: "uint256";
|
|
2403
|
+
}, {
|
|
2404
|
+
readonly name: "_minAmountA";
|
|
2557
2405
|
readonly type: "uint256";
|
|
2558
2406
|
}];
|
|
2559
2407
|
readonly outputs: readonly [{
|
|
@@ -2567,12 +2415,6 @@ export declare const abi: readonly [{
|
|
|
2567
2415
|
readonly inputs: readonly [{
|
|
2568
2416
|
readonly name: "_legoId";
|
|
2569
2417
|
readonly type: "uint256";
|
|
2570
|
-
}, {
|
|
2571
|
-
readonly name: "_nftAddr";
|
|
2572
|
-
readonly type: "address";
|
|
2573
|
-
}, {
|
|
2574
|
-
readonly name: "_nftTokenId";
|
|
2575
|
-
readonly type: "uint256";
|
|
2576
2418
|
}, {
|
|
2577
2419
|
readonly name: "_pool";
|
|
2578
2420
|
readonly type: "address";
|
|
@@ -2583,11 +2425,17 @@ export declare const abi: readonly [{
|
|
|
2583
2425
|
readonly name: "_tokenB";
|
|
2584
2426
|
readonly type: "address";
|
|
2585
2427
|
}, {
|
|
2586
|
-
readonly name: "
|
|
2428
|
+
readonly name: "_lpToken";
|
|
2429
|
+
readonly type: "address";
|
|
2430
|
+
}, {
|
|
2431
|
+
readonly name: "_lpAmount";
|
|
2587
2432
|
readonly type: "uint256";
|
|
2588
2433
|
}, {
|
|
2589
2434
|
readonly name: "_minAmountA";
|
|
2590
2435
|
readonly type: "uint256";
|
|
2436
|
+
}, {
|
|
2437
|
+
readonly name: "_minAmountB";
|
|
2438
|
+
readonly type: "uint256";
|
|
2591
2439
|
}];
|
|
2592
2440
|
readonly outputs: readonly [{
|
|
2593
2441
|
readonly name: "";
|
|
@@ -2600,12 +2448,6 @@ export declare const abi: readonly [{
|
|
|
2600
2448
|
readonly inputs: readonly [{
|
|
2601
2449
|
readonly name: "_legoId";
|
|
2602
2450
|
readonly type: "uint256";
|
|
2603
|
-
}, {
|
|
2604
|
-
readonly name: "_nftAddr";
|
|
2605
|
-
readonly type: "address";
|
|
2606
|
-
}, {
|
|
2607
|
-
readonly name: "_nftTokenId";
|
|
2608
|
-
readonly type: "uint256";
|
|
2609
2451
|
}, {
|
|
2610
2452
|
readonly name: "_pool";
|
|
2611
2453
|
readonly type: "address";
|
|
@@ -2616,7 +2458,10 @@ export declare const abi: readonly [{
|
|
|
2616
2458
|
readonly name: "_tokenB";
|
|
2617
2459
|
readonly type: "address";
|
|
2618
2460
|
}, {
|
|
2619
|
-
readonly name: "
|
|
2461
|
+
readonly name: "_lpToken";
|
|
2462
|
+
readonly type: "address";
|
|
2463
|
+
}, {
|
|
2464
|
+
readonly name: "_lpAmount";
|
|
2620
2465
|
readonly type: "uint256";
|
|
2621
2466
|
}, {
|
|
2622
2467
|
readonly name: "_minAmountA";
|
|
@@ -2624,6 +2469,9 @@ export declare const abi: readonly [{
|
|
|
2624
2469
|
}, {
|
|
2625
2470
|
readonly name: "_minAmountB";
|
|
2626
2471
|
readonly type: "uint256";
|
|
2472
|
+
}, {
|
|
2473
|
+
readonly name: "_extraData";
|
|
2474
|
+
readonly type: "bytes32";
|
|
2627
2475
|
}];
|
|
2628
2476
|
readonly outputs: readonly [{
|
|
2629
2477
|
readonly name: "";
|
|
@@ -2809,10 +2657,7 @@ export declare const abi: readonly [{
|
|
|
2809
2657
|
readonly type: "bool";
|
|
2810
2658
|
}];
|
|
2811
2659
|
}];
|
|
2812
|
-
readonly outputs: readonly [
|
|
2813
|
-
readonly name: "";
|
|
2814
|
-
readonly type: "uint256";
|
|
2815
|
-
}];
|
|
2660
|
+
readonly outputs: readonly [];
|
|
2816
2661
|
}, {
|
|
2817
2662
|
readonly stateMutability: "nonpayable";
|
|
2818
2663
|
readonly type: "function";
|
|
@@ -3051,12 +2896,6 @@ export declare const abi: readonly [{
|
|
|
3051
2896
|
readonly components: readonly [{
|
|
3052
2897
|
readonly name: "legoId";
|
|
3053
2898
|
readonly type: "uint256";
|
|
3054
|
-
}, {
|
|
3055
|
-
readonly name: "nftAddr";
|
|
3056
|
-
readonly type: "address";
|
|
3057
|
-
}, {
|
|
3058
|
-
readonly name: "nftTokenId";
|
|
3059
|
-
readonly type: "uint256";
|
|
3060
2899
|
}, {
|
|
3061
2900
|
readonly name: "pool";
|
|
3062
2901
|
readonly type: "address";
|
|
@@ -3072,12 +2911,6 @@ export declare const abi: readonly [{
|
|
|
3072
2911
|
}, {
|
|
3073
2912
|
readonly name: "amountB";
|
|
3074
2913
|
readonly type: "uint256";
|
|
3075
|
-
}, {
|
|
3076
|
-
readonly name: "tickLower";
|
|
3077
|
-
readonly type: "int24";
|
|
3078
|
-
}, {
|
|
3079
|
-
readonly name: "tickUpper";
|
|
3080
|
-
readonly type: "int24";
|
|
3081
2914
|
}, {
|
|
3082
2915
|
readonly name: "minAmountA";
|
|
3083
2916
|
readonly type: "uint256";
|
|
@@ -3087,6 +2920,15 @@ export declare const abi: readonly [{
|
|
|
3087
2920
|
}, {
|
|
3088
2921
|
readonly name: "minLpAmount";
|
|
3089
2922
|
readonly type: "uint256";
|
|
2923
|
+
}, {
|
|
2924
|
+
readonly name: "extraData";
|
|
2925
|
+
readonly type: "bytes32";
|
|
2926
|
+
}, {
|
|
2927
|
+
readonly name: "lpToken";
|
|
2928
|
+
readonly type: "address";
|
|
2929
|
+
}, {
|
|
2930
|
+
readonly name: "lpAmount";
|
|
2931
|
+
readonly type: "uint256";
|
|
3090
2932
|
}];
|
|
3091
2933
|
}];
|
|
3092
2934
|
}, {
|
|
@@ -3103,12 +2945,6 @@ export declare const abi: readonly [{
|
|
|
3103
2945
|
readonly components: readonly [{
|
|
3104
2946
|
readonly name: "legoId";
|
|
3105
2947
|
readonly type: "uint256";
|
|
3106
|
-
}, {
|
|
3107
|
-
readonly name: "nftAddr";
|
|
3108
|
-
readonly type: "address";
|
|
3109
|
-
}, {
|
|
3110
|
-
readonly name: "nftTokenId";
|
|
3111
|
-
readonly type: "uint256";
|
|
3112
2948
|
}, {
|
|
3113
2949
|
readonly name: "pool";
|
|
3114
2950
|
readonly type: "address";
|
|
@@ -3119,7 +2955,10 @@ export declare const abi: readonly [{
|
|
|
3119
2955
|
readonly name: "tokenB";
|
|
3120
2956
|
readonly type: "address";
|
|
3121
2957
|
}, {
|
|
3122
|
-
readonly name: "
|
|
2958
|
+
readonly name: "amountA";
|
|
2959
|
+
readonly type: "uint256";
|
|
2960
|
+
}, {
|
|
2961
|
+
readonly name: "amountB";
|
|
3123
2962
|
readonly type: "uint256";
|
|
3124
2963
|
}, {
|
|
3125
2964
|
readonly name: "minAmountA";
|
|
@@ -3127,6 +2966,18 @@ export declare const abi: readonly [{
|
|
|
3127
2966
|
}, {
|
|
3128
2967
|
readonly name: "minAmountB";
|
|
3129
2968
|
readonly type: "uint256";
|
|
2969
|
+
}, {
|
|
2970
|
+
readonly name: "minLpAmount";
|
|
2971
|
+
readonly type: "uint256";
|
|
2972
|
+
}, {
|
|
2973
|
+
readonly name: "extraData";
|
|
2974
|
+
readonly type: "bytes32";
|
|
2975
|
+
}, {
|
|
2976
|
+
readonly name: "lpToken";
|
|
2977
|
+
readonly type: "address";
|
|
2978
|
+
}, {
|
|
2979
|
+
readonly name: "lpAmount";
|
|
2980
|
+
readonly type: "uint256";
|
|
3130
2981
|
}];
|
|
3131
2982
|
}];
|
|
3132
2983
|
}, {
|
|
@@ -3235,38 +3086,15 @@ export declare const abi: readonly [{
|
|
|
3235
3086
|
readonly name: "";
|
|
3236
3087
|
readonly type: "address";
|
|
3237
3088
|
}];
|
|
3238
|
-
}, {
|
|
3239
|
-
readonly stateMutability: "view";
|
|
3240
|
-
readonly type: "function";
|
|
3241
|
-
readonly name: "pendingTrainingWheelAccess";
|
|
3242
|
-
readonly inputs: readonly [{
|
|
3243
|
-
readonly name: "arg0";
|
|
3244
|
-
readonly type: "uint256";
|
|
3245
|
-
}];
|
|
3246
|
-
readonly outputs: readonly [{
|
|
3247
|
-
readonly name: "";
|
|
3248
|
-
readonly type: "tuple";
|
|
3249
|
-
readonly components: readonly [{
|
|
3250
|
-
readonly name: "addr";
|
|
3251
|
-
readonly type: "address";
|
|
3252
|
-
}, {
|
|
3253
|
-
readonly name: "trainingWheels";
|
|
3254
|
-
readonly type: "tuple[]";
|
|
3255
|
-
readonly components: readonly [{
|
|
3256
|
-
readonly name: "user";
|
|
3257
|
-
readonly type: "address";
|
|
3258
|
-
}, {
|
|
3259
|
-
readonly name: "isAllowed";
|
|
3260
|
-
readonly type: "bool";
|
|
3261
|
-
}];
|
|
3262
|
-
}];
|
|
3263
|
-
}];
|
|
3264
3089
|
}, {
|
|
3265
3090
|
readonly stateMutability: "nonpayable";
|
|
3266
3091
|
readonly type: "constructor";
|
|
3267
3092
|
readonly inputs: readonly [{
|
|
3268
3093
|
readonly name: "_ripeHq";
|
|
3269
3094
|
readonly type: "address";
|
|
3095
|
+
}, {
|
|
3096
|
+
readonly name: "_tempGov";
|
|
3097
|
+
readonly type: "address";
|
|
3270
3098
|
}, {
|
|
3271
3099
|
readonly name: "_minConfigTimeLock";
|
|
3272
3100
|
readonly type: "uint256";
|
|
@@ -3353,29 +3181,31 @@ export type Contract = {
|
|
|
3353
3181
|
}>;
|
|
3354
3182
|
pendingEndaoAddLiquidityActions: (arg0: bigint) => Promise<{
|
|
3355
3183
|
legoId: bigint;
|
|
3356
|
-
nftAddr: `0x${string}`;
|
|
3357
|
-
nftTokenId: bigint;
|
|
3358
3184
|
pool: `0x${string}`;
|
|
3359
3185
|
tokenA: `0x${string}`;
|
|
3360
3186
|
tokenB: `0x${string}`;
|
|
3361
3187
|
amountA: bigint;
|
|
3362
3188
|
amountB: bigint;
|
|
3363
|
-
tickLower: unknown;
|
|
3364
|
-
tickUpper: unknown;
|
|
3365
3189
|
minAmountA: bigint;
|
|
3366
3190
|
minAmountB: bigint;
|
|
3367
3191
|
minLpAmount: bigint;
|
|
3192
|
+
extraData: `0x${string}`;
|
|
3193
|
+
lpToken: `0x${string}`;
|
|
3194
|
+
lpAmount: bigint;
|
|
3368
3195
|
}>;
|
|
3369
3196
|
pendingEndaoRemoveLiquidityActions: (arg0: bigint) => Promise<{
|
|
3370
3197
|
legoId: bigint;
|
|
3371
|
-
nftAddr: `0x${string}`;
|
|
3372
|
-
nftTokenId: bigint;
|
|
3373
3198
|
pool: `0x${string}`;
|
|
3374
3199
|
tokenA: `0x${string}`;
|
|
3375
3200
|
tokenB: `0x${string}`;
|
|
3376
|
-
|
|
3201
|
+
amountA: bigint;
|
|
3202
|
+
amountB: bigint;
|
|
3377
3203
|
minAmountA: bigint;
|
|
3378
3204
|
minAmountB: bigint;
|
|
3205
|
+
minLpAmount: bigint;
|
|
3206
|
+
extraData: `0x${string}`;
|
|
3207
|
+
lpToken: `0x${string}`;
|
|
3208
|
+
lpAmount: bigint;
|
|
3379
3209
|
}>;
|
|
3380
3210
|
pendingEndaoPartnerMintActions: (arg0: bigint) => Promise<{
|
|
3381
3211
|
partner: `0x${string}`;
|
|
@@ -3400,18 +3230,12 @@ export type Contract = {
|
|
|
3400
3230
|
recipient: `0x${string}`;
|
|
3401
3231
|
}>;
|
|
3402
3232
|
pendingTrainingWheels: (arg0: bigint) => Promise<`0x${string}`>;
|
|
3403
|
-
pendingTrainingWheelAccess: (arg0: bigint) => Promise<{
|
|
3404
|
-
addr: `0x${string}`;
|
|
3405
|
-
trainingWheels: {
|
|
3406
|
-
user: `0x${string}`;
|
|
3407
|
-
isAllowed: boolean;
|
|
3408
|
-
}[];
|
|
3409
|
-
}>;
|
|
3410
3233
|
};
|
|
3411
3234
|
mutations: {
|
|
3412
3235
|
startGovernanceChange: (newGov: `0x${string}`) => Promise<void>;
|
|
3413
3236
|
confirmGovernanceChange: () => Promise<void>;
|
|
3414
3237
|
cancelGovernanceChange: () => Promise<void>;
|
|
3238
|
+
relinquishGov: () => Promise<void>;
|
|
3415
3239
|
setGovTimeLock: (numBlocks: bigint) => Promise<boolean>;
|
|
3416
3240
|
finishRipeHqSetup: (newGov: `0x${string}`, timeLock?: bigint) => Promise<boolean>;
|
|
3417
3241
|
setActionTimeLock: (newTimeLock: bigint) => Promise<boolean>;
|
|
@@ -3441,22 +3265,22 @@ export type Contract = {
|
|
|
3441
3265
|
vaultId: bigint;
|
|
3442
3266
|
asset: `0x${string}`;
|
|
3443
3267
|
}[]) => Promise<bigint>;
|
|
3444
|
-
performEndaomentDeposit: (legoId: bigint, asset: `0x${string}`,
|
|
3445
|
-
performEndaomentWithdraw: (legoId: bigint,
|
|
3446
|
-
performEndaomentRebalance: (fromLegoId: bigint,
|
|
3447
|
-
performEndaomentEthToWeth: (amount?: bigint
|
|
3448
|
-
performEndaomentWethToEth: (amount?: bigint
|
|
3449
|
-
performEndaomentClaim: (legoId: bigint,
|
|
3268
|
+
performEndaomentDeposit: (legoId: bigint, asset: `0x${string}`, vaultAddr?: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
3269
|
+
performEndaomentWithdraw: (legoId: bigint, vaultToken: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
3270
|
+
performEndaomentRebalance: (fromLegoId: bigint, fromVaultToken: `0x${string}`, toLegoId: bigint, toVaultAddr?: `0x${string}`, fromVaultAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
3271
|
+
performEndaomentEthToWeth: (amount?: bigint) => Promise<[bigint, bigint]>;
|
|
3272
|
+
performEndaomentWethToEth: (amount?: bigint) => Promise<[bigint, bigint]>;
|
|
3273
|
+
performEndaomentClaim: (legoId: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
3450
3274
|
performEndaomentStabilizer: () => Promise<boolean>;
|
|
3451
|
-
performEndaomentSwap: (
|
|
3275
|
+
performEndaomentSwap: (instructions: {
|
|
3452
3276
|
legoId: bigint;
|
|
3453
3277
|
amountIn: bigint;
|
|
3454
3278
|
minAmountOut: bigint;
|
|
3455
3279
|
tokenPath: `0x${string}`[];
|
|
3456
3280
|
poolPath: `0x${string}`[];
|
|
3457
3281
|
}[]) => Promise<bigint>;
|
|
3458
|
-
addLiquidityInEndaoment: (legoId: bigint,
|
|
3459
|
-
removeLiquidityInEndaoment: (legoId: bigint,
|
|
3282
|
+
addLiquidityInEndaoment: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, minAmountA?: bigint, minAmountB?: bigint, minLpAmount?: bigint, extraData?: `0x${string}`) => Promise<bigint>;
|
|
3283
|
+
removeLiquidityInEndaoment: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, lpToken: `0x${string}`, lpAmount?: bigint, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<bigint>;
|
|
3460
3284
|
mintPartnerLiquidityInEndaoment: (partner: `0x${string}`, asset: `0x${string}`, amount?: bigint) => Promise<bigint>;
|
|
3461
3285
|
addPartnerLiquidityInEndaoment: (legoId: bigint, pool: `0x${string}`, partner: `0x${string}`, asset: `0x${string}`, amount?: bigint, minLpAmount?: bigint) => Promise<bigint>;
|
|
3462
3286
|
repayPoolDebtInEndaoment: (pool: `0x${string}`, amount?: bigint) => Promise<bigint>;
|
|
@@ -3465,7 +3289,7 @@ export type Contract = {
|
|
|
3465
3289
|
setManyTrainingWheelsAccess: (addr: `0x${string}`, trainingWheels: {
|
|
3466
3290
|
user: `0x${string}`;
|
|
3467
3291
|
isAllowed: boolean;
|
|
3468
|
-
}[]) => Promise<
|
|
3292
|
+
}[]) => Promise<void>;
|
|
3469
3293
|
executePendingAction: (aid: bigint) => Promise<boolean>;
|
|
3470
3294
|
cancelPendingAction: (aid: bigint) => Promise<boolean>;
|
|
3471
3295
|
};
|
|
@@ -3493,7 +3317,6 @@ export type Contract = {
|
|
|
3493
3317
|
PauseManyAuctionsExecuted: (numAuctionsPaused: bigint) => Promise<void>;
|
|
3494
3318
|
BlacklistSet: (tokenAddr: `0x${string}`, addr: `0x${string}`, isBlacklisted: boolean, caller: `0x${string}`) => Promise<void>;
|
|
3495
3319
|
LockedAccountSet: (wallet: `0x${string}`, isLocked: boolean, caller: `0x${string}`) => Promise<void>;
|
|
3496
|
-
PendingSetManyTrainingWheelsAccess: (addr: `0x${string}`, numTrainingWheels: bigint, confirmationBlock: bigint, actionId: bigint) => Promise<void>;
|
|
3497
3320
|
DebtUpdatedForUser: (user: `0x${string}`, success: boolean, caller: `0x${string}`) => Promise<void>;
|
|
3498
3321
|
DebtUpdatedForManyUsers: (numUsers: bigint, caller: `0x${string}`) => Promise<void>;
|
|
3499
3322
|
LootClaimedForUser: (user: `0x${string}`, caller: `0x${string}`, shouldStake: boolean, ripeAmount: bigint) => Promise<void>;
|
|
@@ -3502,11 +3325,11 @@ export type Contract = {
|
|
|
3502
3325
|
DepositLootClaimedForAsset: (user: `0x${string}`, vaultId: bigint, asset: `0x${string}`, ripeAmount: bigint, caller: `0x${string}`) => Promise<void>;
|
|
3503
3326
|
DepositPointsUpdated: (user: `0x${string}`, vaultId: bigint, asset: `0x${string}`, caller: `0x${string}`) => Promise<void>;
|
|
3504
3327
|
EndaomentDepositPerformed: (legoId: bigint, asset: `0x${string}`, vault: `0x${string}`, amount: bigint, caller: `0x${string}`) => Promise<void>;
|
|
3505
|
-
EndaomentWithdrawalPerformed: (legoId: bigint, asset: `0x${string}`, vaultAddr: `0x${string}`, withdrawAmount: bigint,
|
|
3328
|
+
EndaomentWithdrawalPerformed: (legoId: bigint, asset: `0x${string}`, vaultAddr: `0x${string}`, withdrawAmount: bigint, caller: `0x${string}`) => Promise<void>;
|
|
3506
3329
|
EndaomentReblanacePerformed: (fromLegoId: bigint, fromAsset: `0x${string}`, fromVaultAddr: `0x${string}`, toLegoId: bigint, toVaultAddr: `0x${string}`, caller: `0x${string}`) => Promise<void>;
|
|
3507
|
-
EndaomentEthToWethPerformed: (amount: bigint,
|
|
3508
|
-
EndaomentWethToEthPerformed: (amount: bigint,
|
|
3509
|
-
EndaomentClaimPerformed: (legoId: bigint,
|
|
3330
|
+
EndaomentEthToWethPerformed: (amount: bigint, caller: `0x${string}`) => Promise<void>;
|
|
3331
|
+
EndaomentWethToEthPerformed: (amount: bigint, caller: `0x${string}`) => Promise<void>;
|
|
3332
|
+
EndaomentClaimPerformed: (legoId: bigint, rewardToken: `0x${string}`, rewardAmount: bigint, usdValue: bigint, caller: `0x${string}`) => Promise<void>;
|
|
3510
3333
|
EndaomentStabilizerPerformed: (success: boolean, caller: `0x${string}`) => Promise<void>;
|
|
3511
3334
|
EndaoSwapExecuted: (numSwapInstructions: bigint) => Promise<void>;
|
|
3512
3335
|
EndaoAddLiquidityExecuted: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`) => Promise<void>;
|
|
@@ -3516,13 +3339,14 @@ export type Contract = {
|
|
|
3516
3339
|
EndaoRepayExecuted: (pool: `0x${string}`, success: boolean) => Promise<void>;
|
|
3517
3340
|
EndaoRecoverNftExecuted: (collection: `0x${string}`, nftTokenId: bigint, recipient: `0x${string}`, success: boolean) => Promise<void>;
|
|
3518
3341
|
TrainingWheelsSet: (trainingWheels: `0x${string}`) => Promise<void>;
|
|
3519
|
-
|
|
3342
|
+
TrainingWheelsAccessSet: (trainingWheels: `0x${string}`, user: `0x${string}`, isAllowed: boolean) => Promise<void>;
|
|
3520
3343
|
GovChangeTimeLockModified: (prevTimeLock: bigint, newTimeLock: bigint) => Promise<void>;
|
|
3521
3344
|
ExpirationSet: (expiration: bigint) => Promise<void>;
|
|
3522
3345
|
ActionTimeLockSet: (newTimeLock: bigint, prevTimeLock: bigint) => Promise<void>;
|
|
3523
3346
|
GovChangeStarted: (prevGov: `0x${string}`, newGov: `0x${string}`, confirmBlock: bigint) => Promise<void>;
|
|
3524
3347
|
GovChangeConfirmed: (prevGov: `0x${string}`, newGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
3525
3348
|
GovChangeCancelled: (cancelledGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
|
|
3349
|
+
GovRelinquished: (prevGov: `0x${string}`) => Promise<void>;
|
|
3526
3350
|
RipeHqSetupFinished: (prevGov: `0x${string}`, newGov: `0x${string}`, timeLock: bigint) => Promise<void>;
|
|
3527
3351
|
};
|
|
3528
3352
|
};
|
|
@@ -3602,10 +3426,10 @@ export type SDK = {
|
|
|
3602
3426
|
pendingEndaoRepayActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoRepayActions']>) => Promise<CallReturn<'pendingEndaoRepayActions'>>;
|
|
3603
3427
|
pendingEndaoRecoverNftActions: (...args: ExtractArgs<Contract['calls']['pendingEndaoRecoverNftActions']>) => Promise<CallReturn<'pendingEndaoRecoverNftActions'>>;
|
|
3604
3428
|
pendingTrainingWheels: (...args: ExtractArgs<Contract['calls']['pendingTrainingWheels']>) => Promise<CallReturn<'pendingTrainingWheels'>>;
|
|
3605
|
-
pendingTrainingWheelAccess: (...args: ExtractArgs<Contract['calls']['pendingTrainingWheelAccess']>) => Promise<CallReturn<'pendingTrainingWheelAccess'>>;
|
|
3606
3429
|
startGovernanceChange: (...args: ExtractArgs<Contract['mutations']['startGovernanceChange']>) => Promise<Address>;
|
|
3607
3430
|
confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
|
|
3608
3431
|
cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
|
|
3432
|
+
relinquishGov: (...args: ExtractArgs<Contract['mutations']['relinquishGov']>) => Promise<Address>;
|
|
3609
3433
|
setGovTimeLock: (...args: ExtractArgs<Contract['mutations']['setGovTimeLock']>) => Promise<Address>;
|
|
3610
3434
|
finishRipeHqSetup: (...args: ExtractArgs<Contract['mutations']['finishRipeHqSetup']>) => Promise<Address>;
|
|
3611
3435
|
setActionTimeLock: (...args: ExtractArgs<Contract['mutations']['setActionTimeLock']>) => Promise<Address>;
|