@underscore-finance/sdk 1.2.5 → 1.2.7
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/DefaultsBase.d.ts +41 -15
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +44 -15
- package/dist/contracts/EarnVaultAgent.js +1 -1
- package/dist/contracts/ExtraFi.d.ts +2596 -0
- package/dist/contracts/ExtraFi.d.ts.map +1 -0
- package/dist/contracts/ExtraFi.js +3297 -0
- package/dist/contracts/LevgVaultHelper.d.ts +97 -0
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultHelper.js +132 -1
- package/dist/contracts/LootDistributor.d.ts +0 -56
- package/dist/contracts/LootDistributor.d.ts.map +1 -1
- package/dist/contracts/LootDistributor.js +1 -72
- package/dist/contracts/MissionControl.d.ts +150 -9
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +186 -10
- package/dist/contracts/RipeLego.d.ts +29 -0
- package/dist/contracts/RipeLego.d.ts.map +1 -1
- package/dist/contracts/RipeLego.js +41 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +502 -22
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +777 -124
- package/dist/contracts/UndyVirtual.d.ts +1705 -0
- package/dist/contracts/UndyVirtual.d.ts.map +1 -0
- package/dist/contracts/UndyVirtual.js +2237 -0
- package/dist/contracts/index.d.ts +2 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +2 -0
- package/dist/contracts/sdk.d.ts +4 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -1003,7 +1003,34 @@ export const abi = [
|
|
|
1003
1003
|
type: 'event',
|
|
1004
1004
|
},
|
|
1005
1005
|
{
|
|
1006
|
-
name: '
|
|
1006
|
+
name: 'PendingRipeRewardsConfigChange',
|
|
1007
|
+
inputs: [
|
|
1008
|
+
{
|
|
1009
|
+
name: 'ripeStakeRatio',
|
|
1010
|
+
type: 'uint256',
|
|
1011
|
+
indexed: false,
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
name: 'ripeLockDuration',
|
|
1015
|
+
type: 'uint256',
|
|
1016
|
+
indexed: false,
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
name: 'confirmationBlock',
|
|
1020
|
+
type: 'uint256',
|
|
1021
|
+
indexed: false,
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
name: 'actionId',
|
|
1025
|
+
type: 'uint256',
|
|
1026
|
+
indexed: false,
|
|
1027
|
+
},
|
|
1028
|
+
],
|
|
1029
|
+
anonymous: false,
|
|
1030
|
+
type: 'event',
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
name: 'RipeRewardsConfigSet',
|
|
1007
1034
|
inputs: [
|
|
1008
1035
|
{
|
|
1009
1036
|
name: 'ripeStakeRatio',
|
|
@@ -1812,15 +1839,19 @@ export const abi = [
|
|
|
1812
1839
|
{
|
|
1813
1840
|
stateMutability: 'nonpayable',
|
|
1814
1841
|
type: 'function',
|
|
1815
|
-
name: '
|
|
1842
|
+
name: 'setUserWalletTemplates',
|
|
1816
1843
|
inputs: [
|
|
1817
1844
|
{
|
|
1818
|
-
name: '
|
|
1819
|
-
type: '
|
|
1845
|
+
name: '_walletTemplate',
|
|
1846
|
+
type: 'address',
|
|
1820
1847
|
},
|
|
1821
1848
|
{
|
|
1822
|
-
name: '
|
|
1823
|
-
type: '
|
|
1849
|
+
name: '_configTemplate',
|
|
1850
|
+
type: 'address',
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
name: '_missionControl',
|
|
1854
|
+
type: 'address',
|
|
1824
1855
|
},
|
|
1825
1856
|
],
|
|
1826
1857
|
outputs: [
|
|
@@ -1833,15 +1864,15 @@ export const abi = [
|
|
|
1833
1864
|
{
|
|
1834
1865
|
stateMutability: 'nonpayable',
|
|
1835
1866
|
type: 'function',
|
|
1836
|
-
name: '
|
|
1867
|
+
name: 'setWalletCreationLimits',
|
|
1837
1868
|
inputs: [
|
|
1838
1869
|
{
|
|
1839
|
-
name: '
|
|
1870
|
+
name: '_numUserWalletsAllowed',
|
|
1840
1871
|
type: 'uint256',
|
|
1841
1872
|
},
|
|
1842
1873
|
{
|
|
1843
|
-
name: '
|
|
1844
|
-
type: '
|
|
1874
|
+
name: '_enforceCreatorWhitelist',
|
|
1875
|
+
type: 'bool',
|
|
1845
1876
|
},
|
|
1846
1877
|
],
|
|
1847
1878
|
outputs: [
|
|
@@ -1854,19 +1885,19 @@ export const abi = [
|
|
|
1854
1885
|
{
|
|
1855
1886
|
stateMutability: 'nonpayable',
|
|
1856
1887
|
type: 'function',
|
|
1857
|
-
name: '
|
|
1888
|
+
name: 'setWalletCreationLimits',
|
|
1858
1889
|
inputs: [
|
|
1859
1890
|
{
|
|
1860
|
-
name: '
|
|
1891
|
+
name: '_numUserWalletsAllowed',
|
|
1861
1892
|
type: 'uint256',
|
|
1862
1893
|
},
|
|
1863
1894
|
{
|
|
1864
|
-
name: '
|
|
1865
|
-
type: '
|
|
1895
|
+
name: '_enforceCreatorWhitelist',
|
|
1896
|
+
type: 'bool',
|
|
1866
1897
|
},
|
|
1867
1898
|
{
|
|
1868
|
-
name: '
|
|
1869
|
-
type: '
|
|
1899
|
+
name: '_missionControl',
|
|
1900
|
+
type: 'address',
|
|
1870
1901
|
},
|
|
1871
1902
|
],
|
|
1872
1903
|
outputs: [
|
|
@@ -1879,18 +1910,14 @@ export const abi = [
|
|
|
1879
1910
|
{
|
|
1880
1911
|
stateMutability: 'nonpayable',
|
|
1881
1912
|
type: 'function',
|
|
1882
|
-
name: '
|
|
1913
|
+
name: 'setKeyActionTimelockBounds',
|
|
1883
1914
|
inputs: [
|
|
1884
1915
|
{
|
|
1885
|
-
name: '
|
|
1886
|
-
type: 'uint256',
|
|
1887
|
-
},
|
|
1888
|
-
{
|
|
1889
|
-
name: '_rewardsRatio',
|
|
1916
|
+
name: '_minKeyActionTimeLock',
|
|
1890
1917
|
type: 'uint256',
|
|
1891
1918
|
},
|
|
1892
1919
|
{
|
|
1893
|
-
name: '
|
|
1920
|
+
name: '_maxKeyActionTimeLock',
|
|
1894
1921
|
type: 'uint256',
|
|
1895
1922
|
},
|
|
1896
1923
|
],
|
|
@@ -1904,26 +1931,18 @@ export const abi = [
|
|
|
1904
1931
|
{
|
|
1905
1932
|
stateMutability: 'nonpayable',
|
|
1906
1933
|
type: 'function',
|
|
1907
|
-
name: '
|
|
1934
|
+
name: 'setKeyActionTimelockBounds',
|
|
1908
1935
|
inputs: [
|
|
1909
1936
|
{
|
|
1910
|
-
name: '
|
|
1911
|
-
type: 'uint256',
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
name: '_defaultYieldPerformanceFee',
|
|
1915
|
-
type: 'uint256',
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
name: '_defaultYieldAmbassadorBonusRatio',
|
|
1937
|
+
name: '_minKeyActionTimeLock',
|
|
1919
1938
|
type: 'uint256',
|
|
1920
1939
|
},
|
|
1921
1940
|
{
|
|
1922
|
-
name: '
|
|
1941
|
+
name: '_maxKeyActionTimeLock',
|
|
1923
1942
|
type: 'uint256',
|
|
1924
1943
|
},
|
|
1925
1944
|
{
|
|
1926
|
-
name: '
|
|
1945
|
+
name: '_missionControl',
|
|
1927
1946
|
type: 'address',
|
|
1928
1947
|
},
|
|
1929
1948
|
],
|
|
@@ -1937,14 +1956,18 @@ export const abi = [
|
|
|
1937
1956
|
{
|
|
1938
1957
|
stateMutability: 'nonpayable',
|
|
1939
1958
|
type: 'function',
|
|
1940
|
-
name: '
|
|
1959
|
+
name: 'setTxFees',
|
|
1941
1960
|
inputs: [
|
|
1942
1961
|
{
|
|
1943
|
-
name: '
|
|
1944
|
-
type: '
|
|
1962
|
+
name: '_swapFee',
|
|
1963
|
+
type: 'uint256',
|
|
1945
1964
|
},
|
|
1946
1965
|
{
|
|
1947
|
-
name: '
|
|
1966
|
+
name: '_stableSwapFee',
|
|
1967
|
+
type: 'uint256',
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
name: '_rewardsFee',
|
|
1948
1971
|
type: 'uint256',
|
|
1949
1972
|
},
|
|
1950
1973
|
],
|
|
@@ -1958,56 +1981,49 @@ export const abi = [
|
|
|
1958
1981
|
{
|
|
1959
1982
|
stateMutability: 'nonpayable',
|
|
1960
1983
|
type: 'function',
|
|
1961
|
-
name: '
|
|
1984
|
+
name: 'setTxFees',
|
|
1962
1985
|
inputs: [
|
|
1963
1986
|
{
|
|
1964
|
-
name: '
|
|
1965
|
-
type: 'address',
|
|
1966
|
-
},
|
|
1967
|
-
{
|
|
1968
|
-
name: '_txFeesSwapFee',
|
|
1969
|
-
type: 'uint256',
|
|
1970
|
-
},
|
|
1971
|
-
{
|
|
1972
|
-
name: '_txFeesStableSwapFee',
|
|
1973
|
-
type: 'uint256',
|
|
1974
|
-
},
|
|
1975
|
-
{
|
|
1976
|
-
name: '_txFeesRewardsFee',
|
|
1987
|
+
name: '_swapFee',
|
|
1977
1988
|
type: 'uint256',
|
|
1978
1989
|
},
|
|
1979
1990
|
{
|
|
1980
|
-
name: '
|
|
1991
|
+
name: '_stableSwapFee',
|
|
1981
1992
|
type: 'uint256',
|
|
1982
1993
|
},
|
|
1983
1994
|
{
|
|
1984
|
-
name: '
|
|
1995
|
+
name: '_rewardsFee',
|
|
1985
1996
|
type: 'uint256',
|
|
1986
1997
|
},
|
|
1987
1998
|
{
|
|
1988
|
-
name: '
|
|
1989
|
-
type: '
|
|
1999
|
+
name: '_missionControl',
|
|
2000
|
+
type: 'address',
|
|
1990
2001
|
},
|
|
2002
|
+
],
|
|
2003
|
+
outputs: [
|
|
1991
2004
|
{
|
|
1992
|
-
name: '
|
|
2005
|
+
name: '',
|
|
1993
2006
|
type: 'uint256',
|
|
1994
2007
|
},
|
|
2008
|
+
],
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
stateMutability: 'nonpayable',
|
|
2012
|
+
type: 'function',
|
|
2013
|
+
name: 'setAmbassadorRevShare',
|
|
2014
|
+
inputs: [
|
|
1995
2015
|
{
|
|
1996
|
-
name: '
|
|
2016
|
+
name: '_swapRatio',
|
|
1997
2017
|
type: 'uint256',
|
|
1998
2018
|
},
|
|
1999
2019
|
{
|
|
2000
|
-
name: '
|
|
2020
|
+
name: '_rewardsRatio',
|
|
2001
2021
|
type: 'uint256',
|
|
2002
2022
|
},
|
|
2003
2023
|
{
|
|
2004
|
-
name: '
|
|
2024
|
+
name: '_yieldRatio',
|
|
2005
2025
|
type: 'uint256',
|
|
2006
2026
|
},
|
|
2007
|
-
{
|
|
2008
|
-
name: '_bonusAsset',
|
|
2009
|
-
type: 'address',
|
|
2010
|
-
},
|
|
2011
2027
|
],
|
|
2012
2028
|
outputs: [
|
|
2013
2029
|
{
|
|
@@ -2019,23 +2035,23 @@ export const abi = [
|
|
|
2019
2035
|
{
|
|
2020
2036
|
stateMutability: 'nonpayable',
|
|
2021
2037
|
type: 'function',
|
|
2022
|
-
name: '
|
|
2038
|
+
name: 'setAmbassadorRevShare',
|
|
2023
2039
|
inputs: [
|
|
2024
2040
|
{
|
|
2025
|
-
name: '
|
|
2026
|
-
type: '
|
|
2041
|
+
name: '_swapRatio',
|
|
2042
|
+
type: 'uint256',
|
|
2027
2043
|
},
|
|
2028
2044
|
{
|
|
2029
|
-
name: '
|
|
2045
|
+
name: '_rewardsRatio',
|
|
2030
2046
|
type: 'uint256',
|
|
2031
2047
|
},
|
|
2032
2048
|
{
|
|
2033
|
-
name: '
|
|
2049
|
+
name: '_yieldRatio',
|
|
2034
2050
|
type: 'uint256',
|
|
2035
2051
|
},
|
|
2036
2052
|
{
|
|
2037
|
-
name: '
|
|
2038
|
-
type: '
|
|
2053
|
+
name: '_missionControl',
|
|
2054
|
+
type: 'address',
|
|
2039
2055
|
},
|
|
2040
2056
|
],
|
|
2041
2057
|
outputs: [
|
|
@@ -2048,24 +2064,28 @@ export const abi = [
|
|
|
2048
2064
|
{
|
|
2049
2065
|
stateMutability: 'nonpayable',
|
|
2050
2066
|
type: 'function',
|
|
2051
|
-
name: '
|
|
2067
|
+
name: 'setDefaultYieldParams',
|
|
2052
2068
|
inputs: [
|
|
2053
2069
|
{
|
|
2054
|
-
name: '
|
|
2055
|
-
type: '
|
|
2070
|
+
name: '_defaultYieldMaxIncrease',
|
|
2071
|
+
type: 'uint256',
|
|
2056
2072
|
},
|
|
2057
2073
|
{
|
|
2058
|
-
name: '
|
|
2074
|
+
name: '_defaultYieldPerformanceFee',
|
|
2059
2075
|
type: 'uint256',
|
|
2060
2076
|
},
|
|
2061
2077
|
{
|
|
2062
|
-
name: '
|
|
2078
|
+
name: '_defaultYieldAmbassadorBonusRatio',
|
|
2063
2079
|
type: 'uint256',
|
|
2064
2080
|
},
|
|
2065
2081
|
{
|
|
2066
|
-
name: '
|
|
2082
|
+
name: '_defaultYieldBonusRatio',
|
|
2067
2083
|
type: 'uint256',
|
|
2068
2084
|
},
|
|
2085
|
+
{
|
|
2086
|
+
name: '_defaultYieldBonusAsset',
|
|
2087
|
+
type: 'address',
|
|
2088
|
+
},
|
|
2069
2089
|
],
|
|
2070
2090
|
outputs: [
|
|
2071
2091
|
{
|
|
@@ -2077,30 +2097,30 @@ export const abi = [
|
|
|
2077
2097
|
{
|
|
2078
2098
|
stateMutability: 'nonpayable',
|
|
2079
2099
|
type: 'function',
|
|
2080
|
-
name: '
|
|
2100
|
+
name: 'setDefaultYieldParams',
|
|
2081
2101
|
inputs: [
|
|
2082
2102
|
{
|
|
2083
|
-
name: '
|
|
2084
|
-
type: '
|
|
2103
|
+
name: '_defaultYieldMaxIncrease',
|
|
2104
|
+
type: 'uint256',
|
|
2085
2105
|
},
|
|
2086
2106
|
{
|
|
2087
|
-
name: '
|
|
2107
|
+
name: '_defaultYieldPerformanceFee',
|
|
2088
2108
|
type: 'uint256',
|
|
2089
2109
|
},
|
|
2090
2110
|
{
|
|
2091
|
-
name: '
|
|
2111
|
+
name: '_defaultYieldAmbassadorBonusRatio',
|
|
2092
2112
|
type: 'uint256',
|
|
2093
2113
|
},
|
|
2094
2114
|
{
|
|
2095
|
-
name: '
|
|
2115
|
+
name: '_defaultYieldBonusRatio',
|
|
2096
2116
|
type: 'uint256',
|
|
2097
2117
|
},
|
|
2098
2118
|
{
|
|
2099
|
-
name: '
|
|
2100
|
-
type: '
|
|
2119
|
+
name: '_defaultYieldBonusAsset',
|
|
2120
|
+
type: 'address',
|
|
2101
2121
|
},
|
|
2102
2122
|
{
|
|
2103
|
-
name: '
|
|
2123
|
+
name: '_missionControl',
|
|
2104
2124
|
type: 'address',
|
|
2105
2125
|
},
|
|
2106
2126
|
],
|
|
@@ -2114,15 +2134,15 @@ export const abi = [
|
|
|
2114
2134
|
{
|
|
2115
2135
|
stateMutability: 'nonpayable',
|
|
2116
2136
|
type: 'function',
|
|
2117
|
-
name: '
|
|
2137
|
+
name: 'setLootParams',
|
|
2118
2138
|
inputs: [
|
|
2119
2139
|
{
|
|
2120
|
-
name: '
|
|
2140
|
+
name: '_depositRewardsAsset',
|
|
2121
2141
|
type: 'address',
|
|
2122
2142
|
},
|
|
2123
2143
|
{
|
|
2124
|
-
name: '
|
|
2125
|
-
type: '
|
|
2144
|
+
name: '_lootClaimCoolOffPeriod',
|
|
2145
|
+
type: 'uint256',
|
|
2126
2146
|
},
|
|
2127
2147
|
],
|
|
2128
2148
|
outputs: [
|
|
@@ -2135,16 +2155,20 @@ export const abi = [
|
|
|
2135
2155
|
{
|
|
2136
2156
|
stateMutability: 'nonpayable',
|
|
2137
2157
|
type: 'function',
|
|
2138
|
-
name: '
|
|
2158
|
+
name: 'setLootParams',
|
|
2139
2159
|
inputs: [
|
|
2140
2160
|
{
|
|
2141
|
-
name: '
|
|
2161
|
+
name: '_depositRewardsAsset',
|
|
2142
2162
|
type: 'address',
|
|
2143
2163
|
},
|
|
2144
2164
|
{
|
|
2145
|
-
name: '
|
|
2165
|
+
name: '_lootClaimCoolOffPeriod',
|
|
2146
2166
|
type: 'uint256',
|
|
2147
2167
|
},
|
|
2168
|
+
{
|
|
2169
|
+
name: '_missionControl',
|
|
2170
|
+
type: 'address',
|
|
2171
|
+
},
|
|
2148
2172
|
],
|
|
2149
2173
|
outputs: [
|
|
2150
2174
|
{
|
|
@@ -2156,56 +2180,55 @@ export const abi = [
|
|
|
2156
2180
|
{
|
|
2157
2181
|
stateMutability: 'nonpayable',
|
|
2158
2182
|
type: 'function',
|
|
2159
|
-
name: '
|
|
2183
|
+
name: 'setAssetConfig',
|
|
2160
2184
|
inputs: [
|
|
2161
2185
|
{
|
|
2162
|
-
name: '
|
|
2186
|
+
name: '_asset',
|
|
2163
2187
|
type: 'address',
|
|
2164
2188
|
},
|
|
2165
2189
|
{
|
|
2166
|
-
name: '
|
|
2167
|
-
type: '
|
|
2190
|
+
name: '_txFeesSwapFee',
|
|
2191
|
+
type: 'uint256',
|
|
2168
2192
|
},
|
|
2169
2193
|
{
|
|
2170
|
-
name: '
|
|
2171
|
-
type: '
|
|
2194
|
+
name: '_txFeesStableSwapFee',
|
|
2195
|
+
type: 'uint256',
|
|
2172
2196
|
},
|
|
2173
|
-
],
|
|
2174
|
-
outputs: [
|
|
2175
2197
|
{
|
|
2176
|
-
name: '',
|
|
2198
|
+
name: '_txFeesRewardsFee',
|
|
2177
2199
|
type: 'uint256',
|
|
2178
2200
|
},
|
|
2179
|
-
],
|
|
2180
|
-
},
|
|
2181
|
-
{
|
|
2182
|
-
stateMutability: 'nonpayable',
|
|
2183
|
-
type: 'function',
|
|
2184
|
-
name: 'setManagerConfig',
|
|
2185
|
-
inputs: [
|
|
2186
2201
|
{
|
|
2187
|
-
name: '
|
|
2202
|
+
name: '_ambassadorRevShareSwapRatio',
|
|
2188
2203
|
type: 'uint256',
|
|
2189
2204
|
},
|
|
2190
2205
|
{
|
|
2191
|
-
name: '
|
|
2206
|
+
name: '_ambassadorRevShareRewardsRatio',
|
|
2192
2207
|
type: 'uint256',
|
|
2193
2208
|
},
|
|
2194
2209
|
{
|
|
2195
|
-
name: '
|
|
2196
|
-
type: '
|
|
2210
|
+
name: '_ambassadorRevShareYieldRatio',
|
|
2211
|
+
type: 'uint256',
|
|
2197
2212
|
},
|
|
2198
2213
|
{
|
|
2199
|
-
name: '
|
|
2214
|
+
name: '_maxYieldIncrease',
|
|
2200
2215
|
type: 'uint256',
|
|
2201
2216
|
},
|
|
2202
2217
|
{
|
|
2203
|
-
name: '
|
|
2218
|
+
name: '_performanceFee',
|
|
2204
2219
|
type: 'uint256',
|
|
2205
2220
|
},
|
|
2206
2221
|
{
|
|
2207
|
-
name: '
|
|
2208
|
-
type: '
|
|
2222
|
+
name: '_ambassadorBonusRatio',
|
|
2223
|
+
type: 'uint256',
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
name: '_bonusRatio',
|
|
2227
|
+
type: 'uint256',
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
name: '_bonusAsset',
|
|
2231
|
+
type: 'address',
|
|
2209
2232
|
},
|
|
2210
2233
|
],
|
|
2211
2234
|
outputs: [
|
|
@@ -2218,17 +2241,525 @@ export const abi = [
|
|
|
2218
2241
|
{
|
|
2219
2242
|
stateMutability: 'nonpayable',
|
|
2220
2243
|
type: 'function',
|
|
2221
|
-
name: '
|
|
2244
|
+
name: 'setAssetConfig',
|
|
2222
2245
|
inputs: [
|
|
2223
2246
|
{
|
|
2224
|
-
name: '
|
|
2225
|
-
type: '
|
|
2247
|
+
name: '_asset',
|
|
2248
|
+
type: 'address',
|
|
2226
2249
|
},
|
|
2227
2250
|
{
|
|
2228
|
-
name: '
|
|
2251
|
+
name: '_txFeesSwapFee',
|
|
2252
|
+
type: 'uint256',
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
name: '_txFeesStableSwapFee',
|
|
2256
|
+
type: 'uint256',
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
name: '_txFeesRewardsFee',
|
|
2260
|
+
type: 'uint256',
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
name: '_ambassadorRevShareSwapRatio',
|
|
2264
|
+
type: 'uint256',
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
name: '_ambassadorRevShareRewardsRatio',
|
|
2268
|
+
type: 'uint256',
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
name: '_ambassadorRevShareYieldRatio',
|
|
2272
|
+
type: 'uint256',
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
name: '_maxYieldIncrease',
|
|
2276
|
+
type: 'uint256',
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
name: '_performanceFee',
|
|
2280
|
+
type: 'uint256',
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
name: '_ambassadorBonusRatio',
|
|
2284
|
+
type: 'uint256',
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
name: '_bonusRatio',
|
|
2288
|
+
type: 'uint256',
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
name: '_bonusAsset',
|
|
2292
|
+
type: 'address',
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
name: '_missionControl',
|
|
2296
|
+
type: 'address',
|
|
2297
|
+
},
|
|
2298
|
+
],
|
|
2299
|
+
outputs: [
|
|
2300
|
+
{
|
|
2301
|
+
name: '',
|
|
2302
|
+
type: 'uint256',
|
|
2303
|
+
},
|
|
2304
|
+
],
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
stateMutability: 'nonpayable',
|
|
2308
|
+
type: 'function',
|
|
2309
|
+
name: 'setAssetTxFees',
|
|
2310
|
+
inputs: [
|
|
2311
|
+
{
|
|
2312
|
+
name: '_asset',
|
|
2313
|
+
type: 'address',
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
name: '_swapFee',
|
|
2317
|
+
type: 'uint256',
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
name: '_stableSwapFee',
|
|
2321
|
+
type: 'uint256',
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
name: '_rewardsFee',
|
|
2325
|
+
type: 'uint256',
|
|
2326
|
+
},
|
|
2327
|
+
],
|
|
2328
|
+
outputs: [
|
|
2329
|
+
{
|
|
2330
|
+
name: '',
|
|
2331
|
+
type: 'uint256',
|
|
2332
|
+
},
|
|
2333
|
+
],
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
stateMutability: 'nonpayable',
|
|
2337
|
+
type: 'function',
|
|
2338
|
+
name: 'setAssetTxFees',
|
|
2339
|
+
inputs: [
|
|
2340
|
+
{
|
|
2341
|
+
name: '_asset',
|
|
2342
|
+
type: 'address',
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
name: '_swapFee',
|
|
2346
|
+
type: 'uint256',
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
name: '_stableSwapFee',
|
|
2350
|
+
type: 'uint256',
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
name: '_rewardsFee',
|
|
2354
|
+
type: 'uint256',
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
name: '_missionControl',
|
|
2358
|
+
type: 'address',
|
|
2359
|
+
},
|
|
2360
|
+
],
|
|
2361
|
+
outputs: [
|
|
2362
|
+
{
|
|
2363
|
+
name: '',
|
|
2364
|
+
type: 'uint256',
|
|
2365
|
+
},
|
|
2366
|
+
],
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
stateMutability: 'nonpayable',
|
|
2370
|
+
type: 'function',
|
|
2371
|
+
name: 'setAssetAmbassadorRevShare',
|
|
2372
|
+
inputs: [
|
|
2373
|
+
{
|
|
2374
|
+
name: '_asset',
|
|
2375
|
+
type: 'address',
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
name: '_swapRatio',
|
|
2379
|
+
type: 'uint256',
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
name: '_rewardsRatio',
|
|
2383
|
+
type: 'uint256',
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
name: '_yieldRatio',
|
|
2387
|
+
type: 'uint256',
|
|
2388
|
+
},
|
|
2389
|
+
],
|
|
2390
|
+
outputs: [
|
|
2391
|
+
{
|
|
2392
|
+
name: '',
|
|
2393
|
+
type: 'uint256',
|
|
2394
|
+
},
|
|
2395
|
+
],
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
stateMutability: 'nonpayable',
|
|
2399
|
+
type: 'function',
|
|
2400
|
+
name: 'setAssetAmbassadorRevShare',
|
|
2401
|
+
inputs: [
|
|
2402
|
+
{
|
|
2403
|
+
name: '_asset',
|
|
2404
|
+
type: 'address',
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
name: '_swapRatio',
|
|
2408
|
+
type: 'uint256',
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
name: '_rewardsRatio',
|
|
2412
|
+
type: 'uint256',
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
name: '_yieldRatio',
|
|
2416
|
+
type: 'uint256',
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
name: '_missionControl',
|
|
2420
|
+
type: 'address',
|
|
2421
|
+
},
|
|
2422
|
+
],
|
|
2423
|
+
outputs: [
|
|
2424
|
+
{
|
|
2425
|
+
name: '',
|
|
2426
|
+
type: 'uint256',
|
|
2427
|
+
},
|
|
2428
|
+
],
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
stateMutability: 'nonpayable',
|
|
2432
|
+
type: 'function',
|
|
2433
|
+
name: 'setAssetYieldConfig',
|
|
2434
|
+
inputs: [
|
|
2435
|
+
{
|
|
2436
|
+
name: '_asset',
|
|
2437
|
+
type: 'address',
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
name: '_maxYieldIncrease',
|
|
2441
|
+
type: 'uint256',
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
name: '_performanceFee',
|
|
2445
|
+
type: 'uint256',
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
name: '_ambassadorBonusRatio',
|
|
2449
|
+
type: 'uint256',
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
name: '_bonusRatio',
|
|
2453
|
+
type: 'uint256',
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
name: '_bonusAsset',
|
|
2457
|
+
type: 'address',
|
|
2458
|
+
},
|
|
2459
|
+
],
|
|
2460
|
+
outputs: [
|
|
2461
|
+
{
|
|
2462
|
+
name: '',
|
|
2463
|
+
type: 'uint256',
|
|
2464
|
+
},
|
|
2465
|
+
],
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
stateMutability: 'nonpayable',
|
|
2469
|
+
type: 'function',
|
|
2470
|
+
name: 'setAssetYieldConfig',
|
|
2471
|
+
inputs: [
|
|
2472
|
+
{
|
|
2473
|
+
name: '_asset',
|
|
2474
|
+
type: 'address',
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
name: '_maxYieldIncrease',
|
|
2478
|
+
type: 'uint256',
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
name: '_performanceFee',
|
|
2482
|
+
type: 'uint256',
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
name: '_ambassadorBonusRatio',
|
|
2486
|
+
type: 'uint256',
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
name: '_bonusRatio',
|
|
2490
|
+
type: 'uint256',
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
name: '_bonusAsset',
|
|
2494
|
+
type: 'address',
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
name: '_missionControl',
|
|
2498
|
+
type: 'address',
|
|
2499
|
+
},
|
|
2500
|
+
],
|
|
2501
|
+
outputs: [
|
|
2502
|
+
{
|
|
2503
|
+
name: '',
|
|
2504
|
+
type: 'uint256',
|
|
2505
|
+
},
|
|
2506
|
+
],
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
stateMutability: 'nonpayable',
|
|
2510
|
+
type: 'function',
|
|
2511
|
+
name: 'setIsStablecoin',
|
|
2512
|
+
inputs: [
|
|
2513
|
+
{
|
|
2514
|
+
name: '_asset',
|
|
2515
|
+
type: 'address',
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
name: '_isStablecoin',
|
|
2519
|
+
type: 'bool',
|
|
2520
|
+
},
|
|
2521
|
+
],
|
|
2522
|
+
outputs: [
|
|
2523
|
+
{
|
|
2524
|
+
name: '',
|
|
2525
|
+
type: 'uint256',
|
|
2526
|
+
},
|
|
2527
|
+
],
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
stateMutability: 'nonpayable',
|
|
2531
|
+
type: 'function',
|
|
2532
|
+
name: 'setIsStablecoin',
|
|
2533
|
+
inputs: [
|
|
2534
|
+
{
|
|
2535
|
+
name: '_asset',
|
|
2536
|
+
type: 'address',
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
name: '_isStablecoin',
|
|
2540
|
+
type: 'bool',
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
name: '_missionControl',
|
|
2544
|
+
type: 'address',
|
|
2545
|
+
},
|
|
2546
|
+
],
|
|
2547
|
+
outputs: [
|
|
2548
|
+
{
|
|
2549
|
+
name: '',
|
|
2550
|
+
type: 'uint256',
|
|
2551
|
+
},
|
|
2552
|
+
],
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
stateMutability: 'nonpayable',
|
|
2556
|
+
type: 'function',
|
|
2557
|
+
name: 'setStarterAgentParams',
|
|
2558
|
+
inputs: [
|
|
2559
|
+
{
|
|
2560
|
+
name: '_startingAgent',
|
|
2561
|
+
type: 'address',
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
name: '_startingAgentActivationLength',
|
|
2565
|
+
type: 'uint256',
|
|
2566
|
+
},
|
|
2567
|
+
],
|
|
2568
|
+
outputs: [
|
|
2569
|
+
{
|
|
2570
|
+
name: '',
|
|
2571
|
+
type: 'uint256',
|
|
2572
|
+
},
|
|
2573
|
+
],
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
stateMutability: 'nonpayable',
|
|
2577
|
+
type: 'function',
|
|
2578
|
+
name: 'setStarterAgentParams',
|
|
2579
|
+
inputs: [
|
|
2580
|
+
{
|
|
2581
|
+
name: '_startingAgent',
|
|
2582
|
+
type: 'address',
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
name: '_startingAgentActivationLength',
|
|
2586
|
+
type: 'uint256',
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
name: '_missionControl',
|
|
2590
|
+
type: 'address',
|
|
2591
|
+
},
|
|
2592
|
+
],
|
|
2593
|
+
outputs: [
|
|
2594
|
+
{
|
|
2595
|
+
name: '',
|
|
2596
|
+
type: 'uint256',
|
|
2597
|
+
},
|
|
2598
|
+
],
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
stateMutability: 'nonpayable',
|
|
2602
|
+
type: 'function',
|
|
2603
|
+
name: 'setAgentWrapperSender',
|
|
2604
|
+
inputs: [
|
|
2605
|
+
{
|
|
2606
|
+
name: '_agentWrapper',
|
|
2607
|
+
type: 'address',
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
name: '_agentSender',
|
|
2611
|
+
type: 'address',
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
name: '_shouldAdd',
|
|
2615
|
+
type: 'bool',
|
|
2616
|
+
},
|
|
2617
|
+
],
|
|
2618
|
+
outputs: [
|
|
2619
|
+
{
|
|
2620
|
+
name: '',
|
|
2621
|
+
type: 'uint256',
|
|
2622
|
+
},
|
|
2623
|
+
],
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
stateMutability: 'nonpayable',
|
|
2627
|
+
type: 'function',
|
|
2628
|
+
name: 'setManagerConfig',
|
|
2629
|
+
inputs: [
|
|
2630
|
+
{
|
|
2631
|
+
name: '_managerPeriod',
|
|
2632
|
+
type: 'uint256',
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
name: '_managerActivationLength',
|
|
2636
|
+
type: 'uint256',
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
name: '_mustHaveUsdValueOnSwaps',
|
|
2640
|
+
type: 'bool',
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
name: '_maxNumSwapsPerPeriod',
|
|
2644
|
+
type: 'uint256',
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
name: '_maxSlippageOnSwaps',
|
|
2648
|
+
type: 'uint256',
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
name: '_onlyApprovedYieldOpps',
|
|
2652
|
+
type: 'bool',
|
|
2653
|
+
},
|
|
2654
|
+
],
|
|
2655
|
+
outputs: [
|
|
2656
|
+
{
|
|
2657
|
+
name: '',
|
|
2658
|
+
type: 'uint256',
|
|
2659
|
+
},
|
|
2660
|
+
],
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
stateMutability: 'nonpayable',
|
|
2664
|
+
type: 'function',
|
|
2665
|
+
name: 'setManagerConfig',
|
|
2666
|
+
inputs: [
|
|
2667
|
+
{
|
|
2668
|
+
name: '_managerPeriod',
|
|
2669
|
+
type: 'uint256',
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
name: '_managerActivationLength',
|
|
2673
|
+
type: 'uint256',
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
name: '_mustHaveUsdValueOnSwaps',
|
|
2677
|
+
type: 'bool',
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
name: '_maxNumSwapsPerPeriod',
|
|
2681
|
+
type: 'uint256',
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
name: '_maxSlippageOnSwaps',
|
|
2685
|
+
type: 'uint256',
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
name: '_onlyApprovedYieldOpps',
|
|
2689
|
+
type: 'bool',
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
name: '_missionControl',
|
|
2693
|
+
type: 'address',
|
|
2694
|
+
},
|
|
2695
|
+
],
|
|
2696
|
+
outputs: [
|
|
2697
|
+
{
|
|
2698
|
+
name: '',
|
|
2699
|
+
type: 'uint256',
|
|
2700
|
+
},
|
|
2701
|
+
],
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
stateMutability: 'nonpayable',
|
|
2705
|
+
type: 'function',
|
|
2706
|
+
name: 'setPayeeConfig',
|
|
2707
|
+
inputs: [
|
|
2708
|
+
{
|
|
2709
|
+
name: '_payeePeriod',
|
|
2710
|
+
type: 'uint256',
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
name: '_payeeActivationLength',
|
|
2714
|
+
type: 'uint256',
|
|
2715
|
+
},
|
|
2716
|
+
],
|
|
2717
|
+
outputs: [
|
|
2718
|
+
{
|
|
2719
|
+
name: '',
|
|
2720
|
+
type: 'uint256',
|
|
2721
|
+
},
|
|
2722
|
+
],
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
stateMutability: 'nonpayable',
|
|
2726
|
+
type: 'function',
|
|
2727
|
+
name: 'setPayeeConfig',
|
|
2728
|
+
inputs: [
|
|
2729
|
+
{
|
|
2730
|
+
name: '_payeePeriod',
|
|
2731
|
+
type: 'uint256',
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
name: '_payeeActivationLength',
|
|
2735
|
+
type: 'uint256',
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
name: '_missionControl',
|
|
2739
|
+
type: 'address',
|
|
2740
|
+
},
|
|
2741
|
+
],
|
|
2742
|
+
outputs: [
|
|
2743
|
+
{
|
|
2744
|
+
name: '',
|
|
2229
2745
|
type: 'uint256',
|
|
2230
2746
|
},
|
|
2231
2747
|
],
|
|
2748
|
+
},
|
|
2749
|
+
{
|
|
2750
|
+
stateMutability: 'nonpayable',
|
|
2751
|
+
type: 'function',
|
|
2752
|
+
name: 'setCanPerformSecurityAction',
|
|
2753
|
+
inputs: [
|
|
2754
|
+
{
|
|
2755
|
+
name: '_signer',
|
|
2756
|
+
type: 'address',
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
name: '_canPerform',
|
|
2760
|
+
type: 'bool',
|
|
2761
|
+
},
|
|
2762
|
+
],
|
|
2232
2763
|
outputs: [
|
|
2233
2764
|
{
|
|
2234
2765
|
name: '',
|
|
@@ -2249,6 +2780,10 @@ export const abi = [
|
|
|
2249
2780
|
name: '_canPerform',
|
|
2250
2781
|
type: 'bool',
|
|
2251
2782
|
},
|
|
2783
|
+
{
|
|
2784
|
+
name: '_missionControl',
|
|
2785
|
+
type: 'address',
|
|
2786
|
+
},
|
|
2252
2787
|
],
|
|
2253
2788
|
outputs: [
|
|
2254
2789
|
{
|
|
@@ -2273,6 +2808,42 @@ export const abi = [
|
|
|
2273
2808
|
],
|
|
2274
2809
|
outputs: [],
|
|
2275
2810
|
},
|
|
2811
|
+
{
|
|
2812
|
+
stateMutability: 'nonpayable',
|
|
2813
|
+
type: 'function',
|
|
2814
|
+
name: 'setCreatorWhitelist',
|
|
2815
|
+
inputs: [
|
|
2816
|
+
{
|
|
2817
|
+
name: '_creator',
|
|
2818
|
+
type: 'address',
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
name: '_isWhitelisted',
|
|
2822
|
+
type: 'bool',
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
name: '_missionControl',
|
|
2826
|
+
type: 'address',
|
|
2827
|
+
},
|
|
2828
|
+
],
|
|
2829
|
+
outputs: [],
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
stateMutability: 'nonpayable',
|
|
2833
|
+
type: 'function',
|
|
2834
|
+
name: 'setLockedSigner',
|
|
2835
|
+
inputs: [
|
|
2836
|
+
{
|
|
2837
|
+
name: '_signer',
|
|
2838
|
+
type: 'address',
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
name: '_isLocked',
|
|
2842
|
+
type: 'bool',
|
|
2843
|
+
},
|
|
2844
|
+
],
|
|
2845
|
+
outputs: [],
|
|
2846
|
+
},
|
|
2276
2847
|
{
|
|
2277
2848
|
stateMutability: 'nonpayable',
|
|
2278
2849
|
type: 'function',
|
|
@@ -2286,6 +2857,10 @@ export const abi = [
|
|
|
2286
2857
|
name: '_isLocked',
|
|
2287
2858
|
type: 'bool',
|
|
2288
2859
|
},
|
|
2860
|
+
{
|
|
2861
|
+
name: '_missionControl',
|
|
2862
|
+
type: 'address',
|
|
2863
|
+
},
|
|
2289
2864
|
],
|
|
2290
2865
|
outputs: [],
|
|
2291
2866
|
},
|
|
@@ -2303,7 +2878,37 @@ export const abi = [
|
|
|
2303
2878
|
type: 'uint256',
|
|
2304
2879
|
},
|
|
2305
2880
|
],
|
|
2306
|
-
outputs: [
|
|
2881
|
+
outputs: [
|
|
2882
|
+
{
|
|
2883
|
+
name: '',
|
|
2884
|
+
type: 'uint256',
|
|
2885
|
+
},
|
|
2886
|
+
],
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
stateMutability: 'nonpayable',
|
|
2890
|
+
type: 'function',
|
|
2891
|
+
name: 'setRipeRewardsConfig',
|
|
2892
|
+
inputs: [
|
|
2893
|
+
{
|
|
2894
|
+
name: '_ripeStakeRatio',
|
|
2895
|
+
type: 'uint256',
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
name: '_ripeLockDuration',
|
|
2899
|
+
type: 'uint256',
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
name: '_missionControl',
|
|
2903
|
+
type: 'address',
|
|
2904
|
+
},
|
|
2905
|
+
],
|
|
2906
|
+
outputs: [
|
|
2907
|
+
{
|
|
2908
|
+
name: '',
|
|
2909
|
+
type: 'uint256',
|
|
2910
|
+
},
|
|
2911
|
+
],
|
|
2307
2912
|
},
|
|
2308
2913
|
{
|
|
2309
2914
|
stateMutability: 'nonpayable',
|
|
@@ -2846,6 +3451,50 @@ export const abi = [
|
|
|
2846
3451
|
},
|
|
2847
3452
|
],
|
|
2848
3453
|
},
|
|
3454
|
+
{
|
|
3455
|
+
stateMutability: 'view',
|
|
3456
|
+
type: 'function',
|
|
3457
|
+
name: 'pendingRipeRewardsConfig',
|
|
3458
|
+
inputs: [
|
|
3459
|
+
{
|
|
3460
|
+
name: 'arg0',
|
|
3461
|
+
type: 'uint256',
|
|
3462
|
+
},
|
|
3463
|
+
],
|
|
3464
|
+
outputs: [
|
|
3465
|
+
{
|
|
3466
|
+
name: '',
|
|
3467
|
+
type: 'tuple',
|
|
3468
|
+
components: [
|
|
3469
|
+
{
|
|
3470
|
+
name: 'stakeRatio',
|
|
3471
|
+
type: 'uint256',
|
|
3472
|
+
},
|
|
3473
|
+
{
|
|
3474
|
+
name: 'lockDuration',
|
|
3475
|
+
type: 'uint256',
|
|
3476
|
+
},
|
|
3477
|
+
],
|
|
3478
|
+
},
|
|
3479
|
+
],
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
stateMutability: 'view',
|
|
3483
|
+
type: 'function',
|
|
3484
|
+
name: 'pendingMissionControl',
|
|
3485
|
+
inputs: [
|
|
3486
|
+
{
|
|
3487
|
+
name: 'arg0',
|
|
3488
|
+
type: 'uint256',
|
|
3489
|
+
},
|
|
3490
|
+
],
|
|
3491
|
+
outputs: [
|
|
3492
|
+
{
|
|
3493
|
+
name: '',
|
|
3494
|
+
type: 'address',
|
|
3495
|
+
},
|
|
3496
|
+
],
|
|
3497
|
+
},
|
|
2849
3498
|
{
|
|
2850
3499
|
stateMutability: 'nonpayable',
|
|
2851
3500
|
type: 'constructor',
|
|
@@ -2870,7 +3519,7 @@ export const abi = [
|
|
|
2870
3519
|
outputs: [],
|
|
2871
3520
|
},
|
|
2872
3521
|
];
|
|
2873
|
-
export const deployAddress = '
|
|
3522
|
+
export const deployAddress = '0xD63278252E4306Dc2361F0353b8C681fccb15873';
|
|
2874
3523
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
2875
3524
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
2876
3525
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -2934,6 +3583,8 @@ export const call = {
|
|
|
2934
3583
|
pendingPayeeConfig: (...args) => getRequest('pendingPayeeConfig', args),
|
|
2935
3584
|
pendingAddrToBool: (...args) => getRequest('pendingAddrToBool', args),
|
|
2936
3585
|
pendingAgentWrapperSender: (...args) => getRequest('pendingAgentWrapperSender', args),
|
|
3586
|
+
pendingRipeRewardsConfig: (...args) => getRequest('pendingRipeRewardsConfig', args),
|
|
3587
|
+
pendingMissionControl: (...args) => getRequest('pendingMissionControl', args),
|
|
2937
3588
|
};
|
|
2938
3589
|
function getMutation(functionName) {
|
|
2939
3590
|
return {
|
|
@@ -3017,6 +3668,8 @@ export function toSdk(publicClient, walletClient) {
|
|
|
3017
3668
|
pendingPayeeConfig: (...args) => singleQuery(publicClient, call.pendingPayeeConfig(...args)),
|
|
3018
3669
|
pendingAddrToBool: (...args) => singleQuery(publicClient, call.pendingAddrToBool(...args)),
|
|
3019
3670
|
pendingAgentWrapperSender: (...args) => singleQuery(publicClient, call.pendingAgentWrapperSender(...args)),
|
|
3671
|
+
pendingRipeRewardsConfig: (...args) => singleQuery(publicClient, call.pendingRipeRewardsConfig(...args)),
|
|
3672
|
+
pendingMissionControl: (...args) => singleQuery(publicClient, call.pendingMissionControl(...args)),
|
|
3020
3673
|
// Mutations
|
|
3021
3674
|
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
3022
3675
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|