@ripe-finance/sdk 1.15.2 → 1.15.3
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/ChainlinkPrices.d.ts +3 -0
- package/dist/contracts/ChainlinkPrices.d.ts.map +1 -1
- package/dist/contracts/ChainlinkPrices.js +5 -1
- package/dist/contracts/DefaultsBase.d.ts +260 -40
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +266 -35
- package/dist/contracts/MissionControl.d.ts +45 -6
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +58 -6
- package/dist/contracts/PythPrices.js +1 -1
- package/dist/contracts/RedStone.js +1 -1
- package/dist/contracts/StorkPrices.js +1 -1
- package/dist/contracts/Switchboard.js +1 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +590 -301
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +707 -277
- package/dist/contracts/SwitchboardBravo.d.ts +241 -191
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +301 -217
- package/dist/contracts/SwitchboardCharlie.d.ts +786 -28
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +1440 -470
- package/dist/contracts/SwitchboardDelta.d.ts +519 -8
- package/dist/contracts/SwitchboardDelta.d.ts.map +1 -1
- package/dist/contracts/SwitchboardDelta.js +702 -33
- package/dist/contracts/SwitchboardEcho.js +1 -1
- package/dist/contracts/UndyVaultPrices.js +1 -1
- package/dist/index.d.ts +96 -61
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -606,72 +606,6 @@ export const abi = [
|
|
|
606
606
|
anonymous: false,
|
|
607
607
|
type: 'event',
|
|
608
608
|
},
|
|
609
|
-
{
|
|
610
|
-
name: 'PendingRipeAvailableForRewardsChange',
|
|
611
|
-
inputs: [
|
|
612
|
-
{
|
|
613
|
-
name: 'amount',
|
|
614
|
-
type: 'uint256',
|
|
615
|
-
indexed: false,
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
name: 'confirmationBlock',
|
|
619
|
-
type: 'uint256',
|
|
620
|
-
indexed: false,
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
name: 'actionId',
|
|
624
|
-
type: 'uint256',
|
|
625
|
-
indexed: false,
|
|
626
|
-
},
|
|
627
|
-
],
|
|
628
|
-
anonymous: false,
|
|
629
|
-
type: 'event',
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
name: 'PendingRipeAvailableForHrChange',
|
|
633
|
-
inputs: [
|
|
634
|
-
{
|
|
635
|
-
name: 'amount',
|
|
636
|
-
type: 'uint256',
|
|
637
|
-
indexed: false,
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
name: 'confirmationBlock',
|
|
641
|
-
type: 'uint256',
|
|
642
|
-
indexed: false,
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
name: 'actionId',
|
|
646
|
-
type: 'uint256',
|
|
647
|
-
indexed: false,
|
|
648
|
-
},
|
|
649
|
-
],
|
|
650
|
-
anonymous: false,
|
|
651
|
-
type: 'event',
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
name: 'PendingRipeAvailableForBondsChange',
|
|
655
|
-
inputs: [
|
|
656
|
-
{
|
|
657
|
-
name: 'amount',
|
|
658
|
-
type: 'uint256',
|
|
659
|
-
indexed: false,
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
name: 'confirmationBlock',
|
|
663
|
-
type: 'uint256',
|
|
664
|
-
indexed: false,
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
name: 'actionId',
|
|
668
|
-
type: 'uint256',
|
|
669
|
-
indexed: false,
|
|
670
|
-
},
|
|
671
|
-
],
|
|
672
|
-
anonymous: false,
|
|
673
|
-
type: 'event',
|
|
674
|
-
},
|
|
675
609
|
{
|
|
676
610
|
name: 'PendingPriorityLiqAssetVaultsChange',
|
|
677
611
|
inputs: [
|
|
@@ -738,28 +672,6 @@ export const abi = [
|
|
|
738
672
|
anonymous: false,
|
|
739
673
|
type: 'event',
|
|
740
674
|
},
|
|
741
|
-
{
|
|
742
|
-
name: 'PendingUnderscoreRegistryChange',
|
|
743
|
-
inputs: [
|
|
744
|
-
{
|
|
745
|
-
name: 'underscoreRegistry',
|
|
746
|
-
type: 'address',
|
|
747
|
-
indexed: false,
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
name: 'confirmationBlock',
|
|
751
|
-
type: 'uint256',
|
|
752
|
-
indexed: false,
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
name: 'actionId',
|
|
756
|
-
type: 'uint256',
|
|
757
|
-
indexed: false,
|
|
758
|
-
},
|
|
759
|
-
],
|
|
760
|
-
anonymous: false,
|
|
761
|
-
type: 'event',
|
|
762
|
-
},
|
|
763
675
|
{
|
|
764
676
|
name: 'PendingCanPerformLiteAction',
|
|
765
677
|
inputs: [
|
|
@@ -787,28 +699,6 @@ export const abi = [
|
|
|
787
699
|
anonymous: false,
|
|
788
700
|
type: 'event',
|
|
789
701
|
},
|
|
790
|
-
{
|
|
791
|
-
name: 'PendingShouldCheckLastTouchChange',
|
|
792
|
-
inputs: [
|
|
793
|
-
{
|
|
794
|
-
name: 'shouldCheck',
|
|
795
|
-
type: 'bool',
|
|
796
|
-
indexed: false,
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
name: 'confirmationBlock',
|
|
800
|
-
type: 'uint256',
|
|
801
|
-
indexed: false,
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
name: 'actionId',
|
|
805
|
-
type: 'uint256',
|
|
806
|
-
indexed: false,
|
|
807
|
-
},
|
|
808
|
-
],
|
|
809
|
-
anonymous: false,
|
|
810
|
-
type: 'event',
|
|
811
|
-
},
|
|
812
702
|
{
|
|
813
703
|
name: 'PendingMaxLtvDeviationChange',
|
|
814
704
|
inputs: [
|
|
@@ -1146,42 +1036,6 @@ export const abi = [
|
|
|
1146
1036
|
anonymous: false,
|
|
1147
1037
|
type: 'event',
|
|
1148
1038
|
},
|
|
1149
|
-
{
|
|
1150
|
-
name: 'RipeAvailableForRewardsSet',
|
|
1151
|
-
inputs: [
|
|
1152
|
-
{
|
|
1153
|
-
name: 'amount',
|
|
1154
|
-
type: 'uint256',
|
|
1155
|
-
indexed: false,
|
|
1156
|
-
},
|
|
1157
|
-
],
|
|
1158
|
-
anonymous: false,
|
|
1159
|
-
type: 'event',
|
|
1160
|
-
},
|
|
1161
|
-
{
|
|
1162
|
-
name: 'RipeAvailableForHrSet',
|
|
1163
|
-
inputs: [
|
|
1164
|
-
{
|
|
1165
|
-
name: 'amount',
|
|
1166
|
-
type: 'uint256',
|
|
1167
|
-
indexed: false,
|
|
1168
|
-
},
|
|
1169
|
-
],
|
|
1170
|
-
anonymous: false,
|
|
1171
|
-
type: 'event',
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
name: 'RipeAvailableForBondsSet',
|
|
1175
|
-
inputs: [
|
|
1176
|
-
{
|
|
1177
|
-
name: 'amount',
|
|
1178
|
-
type: 'uint256',
|
|
1179
|
-
indexed: false,
|
|
1180
|
-
},
|
|
1181
|
-
],
|
|
1182
|
-
anonymous: false,
|
|
1183
|
-
type: 'event',
|
|
1184
|
-
},
|
|
1185
1039
|
{
|
|
1186
1040
|
name: 'PriorityLiqAssetVaultsSet',
|
|
1187
1041
|
inputs: [
|
|
@@ -1218,18 +1072,6 @@ export const abi = [
|
|
|
1218
1072
|
anonymous: false,
|
|
1219
1073
|
type: 'event',
|
|
1220
1074
|
},
|
|
1221
|
-
{
|
|
1222
|
-
name: 'UnderscoreRegistrySet',
|
|
1223
|
-
inputs: [
|
|
1224
|
-
{
|
|
1225
|
-
name: 'addr',
|
|
1226
|
-
type: 'address',
|
|
1227
|
-
indexed: true,
|
|
1228
|
-
},
|
|
1229
|
-
],
|
|
1230
|
-
anonymous: false,
|
|
1231
|
-
type: 'event',
|
|
1232
|
-
},
|
|
1233
1075
|
{
|
|
1234
1076
|
name: 'CanPerformLiteAction',
|
|
1235
1077
|
inputs: [
|
|
@@ -1247,18 +1089,6 @@ export const abi = [
|
|
|
1247
1089
|
anonymous: false,
|
|
1248
1090
|
type: 'event',
|
|
1249
1091
|
},
|
|
1250
|
-
{
|
|
1251
|
-
name: 'ShouldCheckLastTouchSet',
|
|
1252
|
-
inputs: [
|
|
1253
|
-
{
|
|
1254
|
-
name: 'shouldCheck',
|
|
1255
|
-
type: 'bool',
|
|
1256
|
-
indexed: false,
|
|
1257
|
-
},
|
|
1258
|
-
],
|
|
1259
|
-
anonymous: false,
|
|
1260
|
-
type: 'event',
|
|
1261
|
-
},
|
|
1262
1092
|
{
|
|
1263
1093
|
name: 'MaxLtvDeviationSet',
|
|
1264
1094
|
inputs: [
|
|
@@ -1973,6 +1803,31 @@ export const abi = [
|
|
|
1973
1803
|
},
|
|
1974
1804
|
],
|
|
1975
1805
|
},
|
|
1806
|
+
{
|
|
1807
|
+
stateMutability: 'nonpayable',
|
|
1808
|
+
type: 'function',
|
|
1809
|
+
name: 'setVaultLimits',
|
|
1810
|
+
inputs: [
|
|
1811
|
+
{
|
|
1812
|
+
name: '_perUserMaxVaults',
|
|
1813
|
+
type: 'uint256',
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
name: '_perUserMaxAssetsPerVault',
|
|
1817
|
+
type: 'uint256',
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
name: '_missionControl',
|
|
1821
|
+
type: 'address',
|
|
1822
|
+
},
|
|
1823
|
+
],
|
|
1824
|
+
outputs: [
|
|
1825
|
+
{
|
|
1826
|
+
name: '',
|
|
1827
|
+
type: 'uint256',
|
|
1828
|
+
},
|
|
1829
|
+
],
|
|
1830
|
+
},
|
|
1976
1831
|
{
|
|
1977
1832
|
stateMutability: 'nonpayable',
|
|
1978
1833
|
type: 'function',
|
|
@@ -1993,24 +1848,28 @@ export const abi = [
|
|
|
1993
1848
|
{
|
|
1994
1849
|
stateMutability: 'nonpayable',
|
|
1995
1850
|
type: 'function',
|
|
1996
|
-
name: '
|
|
1851
|
+
name: 'setStaleTime',
|
|
1997
1852
|
inputs: [
|
|
1998
1853
|
{
|
|
1999
|
-
name: '
|
|
2000
|
-
type: '
|
|
1854
|
+
name: '_staleTime',
|
|
1855
|
+
type: 'uint256',
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
name: '_missionControl',
|
|
1859
|
+
type: 'address',
|
|
2001
1860
|
},
|
|
2002
1861
|
],
|
|
2003
1862
|
outputs: [
|
|
2004
1863
|
{
|
|
2005
1864
|
name: '',
|
|
2006
|
-
type: '
|
|
1865
|
+
type: 'uint256',
|
|
2007
1866
|
},
|
|
2008
1867
|
],
|
|
2009
1868
|
},
|
|
2010
1869
|
{
|
|
2011
1870
|
stateMutability: 'nonpayable',
|
|
2012
1871
|
type: 'function',
|
|
2013
|
-
name: '
|
|
1872
|
+
name: 'setCanDeposit',
|
|
2014
1873
|
inputs: [
|
|
2015
1874
|
{
|
|
2016
1875
|
name: '_shouldEnable',
|
|
@@ -2027,12 +1886,16 @@ export const abi = [
|
|
|
2027
1886
|
{
|
|
2028
1887
|
stateMutability: 'nonpayable',
|
|
2029
1888
|
type: 'function',
|
|
2030
|
-
name: '
|
|
1889
|
+
name: 'setCanDeposit',
|
|
2031
1890
|
inputs: [
|
|
2032
1891
|
{
|
|
2033
1892
|
name: '_shouldEnable',
|
|
2034
1893
|
type: 'bool',
|
|
2035
1894
|
},
|
|
1895
|
+
{
|
|
1896
|
+
name: '_missionControl',
|
|
1897
|
+
type: 'address',
|
|
1898
|
+
},
|
|
2036
1899
|
],
|
|
2037
1900
|
outputs: [
|
|
2038
1901
|
{
|
|
@@ -2044,7 +1907,7 @@ export const abi = [
|
|
|
2044
1907
|
{
|
|
2045
1908
|
stateMutability: 'nonpayable',
|
|
2046
1909
|
type: 'function',
|
|
2047
|
-
name: '
|
|
1910
|
+
name: 'setCanWithdraw',
|
|
2048
1911
|
inputs: [
|
|
2049
1912
|
{
|
|
2050
1913
|
name: '_shouldEnable',
|
|
@@ -2061,12 +1924,16 @@ export const abi = [
|
|
|
2061
1924
|
{
|
|
2062
1925
|
stateMutability: 'nonpayable',
|
|
2063
1926
|
type: 'function',
|
|
2064
|
-
name: '
|
|
1927
|
+
name: 'setCanWithdraw',
|
|
2065
1928
|
inputs: [
|
|
2066
1929
|
{
|
|
2067
1930
|
name: '_shouldEnable',
|
|
2068
1931
|
type: 'bool',
|
|
2069
1932
|
},
|
|
1933
|
+
{
|
|
1934
|
+
name: '_missionControl',
|
|
1935
|
+
type: 'address',
|
|
1936
|
+
},
|
|
2070
1937
|
],
|
|
2071
1938
|
outputs: [
|
|
2072
1939
|
{
|
|
@@ -2078,7 +1945,7 @@ export const abi = [
|
|
|
2078
1945
|
{
|
|
2079
1946
|
stateMutability: 'nonpayable',
|
|
2080
1947
|
type: 'function',
|
|
2081
|
-
name: '
|
|
1948
|
+
name: 'setCanBorrow',
|
|
2082
1949
|
inputs: [
|
|
2083
1950
|
{
|
|
2084
1951
|
name: '_shouldEnable',
|
|
@@ -2095,12 +1962,16 @@ export const abi = [
|
|
|
2095
1962
|
{
|
|
2096
1963
|
stateMutability: 'nonpayable',
|
|
2097
1964
|
type: 'function',
|
|
2098
|
-
name: '
|
|
1965
|
+
name: 'setCanBorrow',
|
|
2099
1966
|
inputs: [
|
|
2100
1967
|
{
|
|
2101
1968
|
name: '_shouldEnable',
|
|
2102
1969
|
type: 'bool',
|
|
2103
1970
|
},
|
|
1971
|
+
{
|
|
1972
|
+
name: '_missionControl',
|
|
1973
|
+
type: 'address',
|
|
1974
|
+
},
|
|
2104
1975
|
],
|
|
2105
1976
|
outputs: [
|
|
2106
1977
|
{
|
|
@@ -2112,7 +1983,7 @@ export const abi = [
|
|
|
2112
1983
|
{
|
|
2113
1984
|
stateMutability: 'nonpayable',
|
|
2114
1985
|
type: 'function',
|
|
2115
|
-
name: '
|
|
1986
|
+
name: 'setCanRepay',
|
|
2116
1987
|
inputs: [
|
|
2117
1988
|
{
|
|
2118
1989
|
name: '_shouldEnable',
|
|
@@ -2129,12 +2000,16 @@ export const abi = [
|
|
|
2129
2000
|
{
|
|
2130
2001
|
stateMutability: 'nonpayable',
|
|
2131
2002
|
type: 'function',
|
|
2132
|
-
name: '
|
|
2003
|
+
name: 'setCanRepay',
|
|
2133
2004
|
inputs: [
|
|
2134
2005
|
{
|
|
2135
2006
|
name: '_shouldEnable',
|
|
2136
2007
|
type: 'bool',
|
|
2137
2008
|
},
|
|
2009
|
+
{
|
|
2010
|
+
name: '_missionControl',
|
|
2011
|
+
type: 'address',
|
|
2012
|
+
},
|
|
2138
2013
|
],
|
|
2139
2014
|
outputs: [
|
|
2140
2015
|
{
|
|
@@ -2146,7 +2021,7 @@ export const abi = [
|
|
|
2146
2021
|
{
|
|
2147
2022
|
stateMutability: 'nonpayable',
|
|
2148
2023
|
type: 'function',
|
|
2149
|
-
name: '
|
|
2024
|
+
name: 'setCanClaimLoot',
|
|
2150
2025
|
inputs: [
|
|
2151
2026
|
{
|
|
2152
2027
|
name: '_shouldEnable',
|
|
@@ -2163,57 +2038,355 @@ export const abi = [
|
|
|
2163
2038
|
{
|
|
2164
2039
|
stateMutability: 'nonpayable',
|
|
2165
2040
|
type: 'function',
|
|
2166
|
-
name: '
|
|
2041
|
+
name: 'setCanClaimLoot',
|
|
2167
2042
|
inputs: [
|
|
2168
2043
|
{
|
|
2169
|
-
name: '
|
|
2170
|
-
type: '
|
|
2044
|
+
name: '_shouldEnable',
|
|
2045
|
+
type: 'bool',
|
|
2171
2046
|
},
|
|
2172
2047
|
{
|
|
2173
|
-
name: '
|
|
2174
|
-
type: '
|
|
2048
|
+
name: '_missionControl',
|
|
2049
|
+
type: 'address',
|
|
2175
2050
|
},
|
|
2051
|
+
],
|
|
2052
|
+
outputs: [
|
|
2176
2053
|
{
|
|
2177
|
-
name: '
|
|
2178
|
-
type: '
|
|
2054
|
+
name: '',
|
|
2055
|
+
type: 'bool',
|
|
2179
2056
|
},
|
|
2057
|
+
],
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
stateMutability: 'nonpayable',
|
|
2061
|
+
type: 'function',
|
|
2062
|
+
name: 'setCanLiquidate',
|
|
2063
|
+
inputs: [
|
|
2180
2064
|
{
|
|
2181
|
-
name: '
|
|
2182
|
-
type: '
|
|
2065
|
+
name: '_shouldEnable',
|
|
2066
|
+
type: 'bool',
|
|
2183
2067
|
},
|
|
2184
2068
|
],
|
|
2185
2069
|
outputs: [
|
|
2186
2070
|
{
|
|
2187
2071
|
name: '',
|
|
2188
|
-
type: '
|
|
2072
|
+
type: 'bool',
|
|
2189
2073
|
},
|
|
2190
2074
|
],
|
|
2191
2075
|
},
|
|
2192
2076
|
{
|
|
2193
2077
|
stateMutability: 'nonpayable',
|
|
2194
2078
|
type: 'function',
|
|
2195
|
-
name: '
|
|
2079
|
+
name: 'setCanLiquidate',
|
|
2196
2080
|
inputs: [
|
|
2197
2081
|
{
|
|
2198
|
-
name: '
|
|
2199
|
-
type: '
|
|
2082
|
+
name: '_shouldEnable',
|
|
2083
|
+
type: 'bool',
|
|
2200
2084
|
},
|
|
2201
2085
|
{
|
|
2202
|
-
name: '
|
|
2203
|
-
type: '
|
|
2086
|
+
name: '_missionControl',
|
|
2087
|
+
type: 'address',
|
|
2204
2088
|
},
|
|
2205
2089
|
],
|
|
2206
2090
|
outputs: [
|
|
2207
2091
|
{
|
|
2208
2092
|
name: '',
|
|
2209
|
-
type: '
|
|
2093
|
+
type: 'bool',
|
|
2210
2094
|
},
|
|
2211
2095
|
],
|
|
2212
2096
|
},
|
|
2213
2097
|
{
|
|
2214
2098
|
stateMutability: 'nonpayable',
|
|
2215
2099
|
type: 'function',
|
|
2216
|
-
name: '
|
|
2100
|
+
name: 'setCanRedeemCollateral',
|
|
2101
|
+
inputs: [
|
|
2102
|
+
{
|
|
2103
|
+
name: '_shouldEnable',
|
|
2104
|
+
type: 'bool',
|
|
2105
|
+
},
|
|
2106
|
+
],
|
|
2107
|
+
outputs: [
|
|
2108
|
+
{
|
|
2109
|
+
name: '',
|
|
2110
|
+
type: 'bool',
|
|
2111
|
+
},
|
|
2112
|
+
],
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
stateMutability: 'nonpayable',
|
|
2116
|
+
type: 'function',
|
|
2117
|
+
name: 'setCanRedeemCollateral',
|
|
2118
|
+
inputs: [
|
|
2119
|
+
{
|
|
2120
|
+
name: '_shouldEnable',
|
|
2121
|
+
type: 'bool',
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
name: '_missionControl',
|
|
2125
|
+
type: 'address',
|
|
2126
|
+
},
|
|
2127
|
+
],
|
|
2128
|
+
outputs: [
|
|
2129
|
+
{
|
|
2130
|
+
name: '',
|
|
2131
|
+
type: 'bool',
|
|
2132
|
+
},
|
|
2133
|
+
],
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
stateMutability: 'nonpayable',
|
|
2137
|
+
type: 'function',
|
|
2138
|
+
name: 'setCanRedeemInStabPool',
|
|
2139
|
+
inputs: [
|
|
2140
|
+
{
|
|
2141
|
+
name: '_shouldEnable',
|
|
2142
|
+
type: 'bool',
|
|
2143
|
+
},
|
|
2144
|
+
],
|
|
2145
|
+
outputs: [
|
|
2146
|
+
{
|
|
2147
|
+
name: '',
|
|
2148
|
+
type: 'bool',
|
|
2149
|
+
},
|
|
2150
|
+
],
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
stateMutability: 'nonpayable',
|
|
2154
|
+
type: 'function',
|
|
2155
|
+
name: 'setCanRedeemInStabPool',
|
|
2156
|
+
inputs: [
|
|
2157
|
+
{
|
|
2158
|
+
name: '_shouldEnable',
|
|
2159
|
+
type: 'bool',
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
name: '_missionControl',
|
|
2163
|
+
type: 'address',
|
|
2164
|
+
},
|
|
2165
|
+
],
|
|
2166
|
+
outputs: [
|
|
2167
|
+
{
|
|
2168
|
+
name: '',
|
|
2169
|
+
type: 'bool',
|
|
2170
|
+
},
|
|
2171
|
+
],
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
stateMutability: 'nonpayable',
|
|
2175
|
+
type: 'function',
|
|
2176
|
+
name: 'setCanBuyInAuction',
|
|
2177
|
+
inputs: [
|
|
2178
|
+
{
|
|
2179
|
+
name: '_shouldEnable',
|
|
2180
|
+
type: 'bool',
|
|
2181
|
+
},
|
|
2182
|
+
],
|
|
2183
|
+
outputs: [
|
|
2184
|
+
{
|
|
2185
|
+
name: '',
|
|
2186
|
+
type: 'bool',
|
|
2187
|
+
},
|
|
2188
|
+
],
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
stateMutability: 'nonpayable',
|
|
2192
|
+
type: 'function',
|
|
2193
|
+
name: 'setCanBuyInAuction',
|
|
2194
|
+
inputs: [
|
|
2195
|
+
{
|
|
2196
|
+
name: '_shouldEnable',
|
|
2197
|
+
type: 'bool',
|
|
2198
|
+
},
|
|
2199
|
+
{
|
|
2200
|
+
name: '_missionControl',
|
|
2201
|
+
type: 'address',
|
|
2202
|
+
},
|
|
2203
|
+
],
|
|
2204
|
+
outputs: [
|
|
2205
|
+
{
|
|
2206
|
+
name: '',
|
|
2207
|
+
type: 'bool',
|
|
2208
|
+
},
|
|
2209
|
+
],
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
stateMutability: 'nonpayable',
|
|
2213
|
+
type: 'function',
|
|
2214
|
+
name: 'setCanClaimInStabPool',
|
|
2215
|
+
inputs: [
|
|
2216
|
+
{
|
|
2217
|
+
name: '_shouldEnable',
|
|
2218
|
+
type: 'bool',
|
|
2219
|
+
},
|
|
2220
|
+
],
|
|
2221
|
+
outputs: [
|
|
2222
|
+
{
|
|
2223
|
+
name: '',
|
|
2224
|
+
type: 'bool',
|
|
2225
|
+
},
|
|
2226
|
+
],
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
stateMutability: 'nonpayable',
|
|
2230
|
+
type: 'function',
|
|
2231
|
+
name: 'setCanClaimInStabPool',
|
|
2232
|
+
inputs: [
|
|
2233
|
+
{
|
|
2234
|
+
name: '_shouldEnable',
|
|
2235
|
+
type: 'bool',
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
name: '_missionControl',
|
|
2239
|
+
type: 'address',
|
|
2240
|
+
},
|
|
2241
|
+
],
|
|
2242
|
+
outputs: [
|
|
2243
|
+
{
|
|
2244
|
+
name: '',
|
|
2245
|
+
type: 'bool',
|
|
2246
|
+
},
|
|
2247
|
+
],
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
stateMutability: 'nonpayable',
|
|
2251
|
+
type: 'function',
|
|
2252
|
+
name: 'setGlobalDebtLimits',
|
|
2253
|
+
inputs: [
|
|
2254
|
+
{
|
|
2255
|
+
name: '_perUserDebtLimit',
|
|
2256
|
+
type: 'uint256',
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
name: '_globalDebtLimit',
|
|
2260
|
+
type: 'uint256',
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
name: '_minDebtAmount',
|
|
2264
|
+
type: 'uint256',
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
name: '_numAllowedBorrowers',
|
|
2268
|
+
type: 'uint256',
|
|
2269
|
+
},
|
|
2270
|
+
],
|
|
2271
|
+
outputs: [
|
|
2272
|
+
{
|
|
2273
|
+
name: '',
|
|
2274
|
+
type: 'uint256',
|
|
2275
|
+
},
|
|
2276
|
+
],
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
stateMutability: 'nonpayable',
|
|
2280
|
+
type: 'function',
|
|
2281
|
+
name: 'setGlobalDebtLimits',
|
|
2282
|
+
inputs: [
|
|
2283
|
+
{
|
|
2284
|
+
name: '_perUserDebtLimit',
|
|
2285
|
+
type: 'uint256',
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
name: '_globalDebtLimit',
|
|
2289
|
+
type: 'uint256',
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
name: '_minDebtAmount',
|
|
2293
|
+
type: 'uint256',
|
|
2294
|
+
},
|
|
2295
|
+
{
|
|
2296
|
+
name: '_numAllowedBorrowers',
|
|
2297
|
+
type: 'uint256',
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
name: '_missionControl',
|
|
2301
|
+
type: 'address',
|
|
2302
|
+
},
|
|
2303
|
+
],
|
|
2304
|
+
outputs: [
|
|
2305
|
+
{
|
|
2306
|
+
name: '',
|
|
2307
|
+
type: 'uint256',
|
|
2308
|
+
},
|
|
2309
|
+
],
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
stateMutability: 'nonpayable',
|
|
2313
|
+
type: 'function',
|
|
2314
|
+
name: 'setBorrowIntervalConfig',
|
|
2315
|
+
inputs: [
|
|
2316
|
+
{
|
|
2317
|
+
name: '_maxBorrowPerInterval',
|
|
2318
|
+
type: 'uint256',
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
name: '_numBlocksPerInterval',
|
|
2322
|
+
type: 'uint256',
|
|
2323
|
+
},
|
|
2324
|
+
],
|
|
2325
|
+
outputs: [
|
|
2326
|
+
{
|
|
2327
|
+
name: '',
|
|
2328
|
+
type: 'uint256',
|
|
2329
|
+
},
|
|
2330
|
+
],
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
stateMutability: 'nonpayable',
|
|
2334
|
+
type: 'function',
|
|
2335
|
+
name: 'setBorrowIntervalConfig',
|
|
2336
|
+
inputs: [
|
|
2337
|
+
{
|
|
2338
|
+
name: '_maxBorrowPerInterval',
|
|
2339
|
+
type: 'uint256',
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
name: '_numBlocksPerInterval',
|
|
2343
|
+
type: 'uint256',
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
name: '_missionControl',
|
|
2347
|
+
type: 'address',
|
|
2348
|
+
},
|
|
2349
|
+
],
|
|
2350
|
+
outputs: [
|
|
2351
|
+
{
|
|
2352
|
+
name: '',
|
|
2353
|
+
type: 'uint256',
|
|
2354
|
+
},
|
|
2355
|
+
],
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
stateMutability: 'nonpayable',
|
|
2359
|
+
type: 'function',
|
|
2360
|
+
name: 'setDynamicRateConfig',
|
|
2361
|
+
inputs: [
|
|
2362
|
+
{
|
|
2363
|
+
name: '_minDynamicRateBoost',
|
|
2364
|
+
type: 'uint256',
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
name: '_maxDynamicRateBoost',
|
|
2368
|
+
type: 'uint256',
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
name: '_increasePerDangerBlock',
|
|
2372
|
+
type: 'uint256',
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
name: '_maxBorrowRate',
|
|
2376
|
+
type: 'uint256',
|
|
2377
|
+
},
|
|
2378
|
+
],
|
|
2379
|
+
outputs: [
|
|
2380
|
+
{
|
|
2381
|
+
name: '',
|
|
2382
|
+
type: 'uint256',
|
|
2383
|
+
},
|
|
2384
|
+
],
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
stateMutability: 'nonpayable',
|
|
2388
|
+
type: 'function',
|
|
2389
|
+
name: 'setDynamicRateConfig',
|
|
2217
2390
|
inputs: [
|
|
2218
2391
|
{
|
|
2219
2392
|
name: '_minDynamicRateBoost',
|
|
@@ -2231,6 +2404,27 @@ export const abi = [
|
|
|
2231
2404
|
name: '_maxBorrowRate',
|
|
2232
2405
|
type: 'uint256',
|
|
2233
2406
|
},
|
|
2407
|
+
{
|
|
2408
|
+
name: '_missionControl',
|
|
2409
|
+
type: 'address',
|
|
2410
|
+
},
|
|
2411
|
+
],
|
|
2412
|
+
outputs: [
|
|
2413
|
+
{
|
|
2414
|
+
name: '',
|
|
2415
|
+
type: 'uint256',
|
|
2416
|
+
},
|
|
2417
|
+
],
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
stateMutability: 'nonpayable',
|
|
2421
|
+
type: 'function',
|
|
2422
|
+
name: 'setMaxLtvDeviation',
|
|
2423
|
+
inputs: [
|
|
2424
|
+
{
|
|
2425
|
+
name: '_newDeviation',
|
|
2426
|
+
type: 'uint256',
|
|
2427
|
+
},
|
|
2234
2428
|
],
|
|
2235
2429
|
outputs: [
|
|
2236
2430
|
{
|
|
@@ -2248,6 +2442,10 @@ export const abi = [
|
|
|
2248
2442
|
name: '_newDeviation',
|
|
2249
2443
|
type: 'uint256',
|
|
2250
2444
|
},
|
|
2445
|
+
{
|
|
2446
|
+
name: '_missionControl',
|
|
2447
|
+
type: 'address',
|
|
2448
|
+
},
|
|
2251
2449
|
],
|
|
2252
2450
|
outputs: [
|
|
2253
2451
|
{
|
|
@@ -2279,15 +2477,94 @@ export const abi = [
|
|
|
2279
2477
|
name: '',
|
|
2280
2478
|
type: 'uint256',
|
|
2281
2479
|
},
|
|
2282
|
-
],
|
|
2283
|
-
},
|
|
2284
|
-
{
|
|
2285
|
-
stateMutability: 'nonpayable',
|
|
2286
|
-
type: 'function',
|
|
2287
|
-
name: '
|
|
2288
|
-
inputs: [
|
|
2480
|
+
],
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
stateMutability: 'nonpayable',
|
|
2484
|
+
type: 'function',
|
|
2485
|
+
name: 'setKeeperConfig',
|
|
2486
|
+
inputs: [
|
|
2487
|
+
{
|
|
2488
|
+
name: '_keeperFeeRatio',
|
|
2489
|
+
type: 'uint256',
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
name: '_minKeeperFee',
|
|
2493
|
+
type: 'uint256',
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
name: '_maxKeeperFee',
|
|
2497
|
+
type: 'uint256',
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
name: '_missionControl',
|
|
2501
|
+
type: 'address',
|
|
2502
|
+
},
|
|
2503
|
+
],
|
|
2504
|
+
outputs: [
|
|
2505
|
+
{
|
|
2506
|
+
name: '',
|
|
2507
|
+
type: 'uint256',
|
|
2508
|
+
},
|
|
2509
|
+
],
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
stateMutability: 'nonpayable',
|
|
2513
|
+
type: 'function',
|
|
2514
|
+
name: 'setLtvPaybackBuffer',
|
|
2515
|
+
inputs: [
|
|
2516
|
+
{
|
|
2517
|
+
name: '_ltvPaybackBuffer',
|
|
2518
|
+
type: 'uint256',
|
|
2519
|
+
},
|
|
2520
|
+
],
|
|
2521
|
+
outputs: [
|
|
2522
|
+
{
|
|
2523
|
+
name: '',
|
|
2524
|
+
type: 'uint256',
|
|
2525
|
+
},
|
|
2526
|
+
],
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
stateMutability: 'nonpayable',
|
|
2530
|
+
type: 'function',
|
|
2531
|
+
name: 'setLtvPaybackBuffer',
|
|
2532
|
+
inputs: [
|
|
2533
|
+
{
|
|
2534
|
+
name: '_ltvPaybackBuffer',
|
|
2535
|
+
type: 'uint256',
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
name: '_missionControl',
|
|
2539
|
+
type: 'address',
|
|
2540
|
+
},
|
|
2541
|
+
],
|
|
2542
|
+
outputs: [
|
|
2543
|
+
{
|
|
2544
|
+
name: '',
|
|
2545
|
+
type: 'uint256',
|
|
2546
|
+
},
|
|
2547
|
+
],
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
stateMutability: 'nonpayable',
|
|
2551
|
+
type: 'function',
|
|
2552
|
+
name: 'setGenAuctionParams',
|
|
2553
|
+
inputs: [
|
|
2554
|
+
{
|
|
2555
|
+
name: '_startDiscount',
|
|
2556
|
+
type: 'uint256',
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
name: '_maxDiscount',
|
|
2560
|
+
type: 'uint256',
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
name: '_delay',
|
|
2564
|
+
type: 'uint256',
|
|
2565
|
+
},
|
|
2289
2566
|
{
|
|
2290
|
-
name: '
|
|
2567
|
+
name: '_duration',
|
|
2291
2568
|
type: 'uint256',
|
|
2292
2569
|
},
|
|
2293
2570
|
],
|
|
@@ -2319,6 +2596,10 @@ export const abi = [
|
|
|
2319
2596
|
name: '_duration',
|
|
2320
2597
|
type: 'uint256',
|
|
2321
2598
|
},
|
|
2599
|
+
{
|
|
2600
|
+
name: '_missionControl',
|
|
2601
|
+
type: 'address',
|
|
2602
|
+
},
|
|
2322
2603
|
],
|
|
2323
2604
|
outputs: [
|
|
2324
2605
|
{
|
|
@@ -2434,6 +2715,44 @@ export const abi = [
|
|
|
2434
2715
|
},
|
|
2435
2716
|
],
|
|
2436
2717
|
},
|
|
2718
|
+
{
|
|
2719
|
+
stateMutability: 'nonpayable',
|
|
2720
|
+
type: 'function',
|
|
2721
|
+
name: 'setIsDaowryEnabled',
|
|
2722
|
+
inputs: [
|
|
2723
|
+
{
|
|
2724
|
+
name: '_shouldEnable',
|
|
2725
|
+
type: 'bool',
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
name: '_missionControl',
|
|
2729
|
+
type: 'address',
|
|
2730
|
+
},
|
|
2731
|
+
],
|
|
2732
|
+
outputs: [
|
|
2733
|
+
{
|
|
2734
|
+
name: '',
|
|
2735
|
+
type: 'bool',
|
|
2736
|
+
},
|
|
2737
|
+
],
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
stateMutability: 'nonpayable',
|
|
2741
|
+
type: 'function',
|
|
2742
|
+
name: 'setRipePerBlock',
|
|
2743
|
+
inputs: [
|
|
2744
|
+
{
|
|
2745
|
+
name: '_ripePerBlock',
|
|
2746
|
+
type: 'uint256',
|
|
2747
|
+
},
|
|
2748
|
+
],
|
|
2749
|
+
outputs: [
|
|
2750
|
+
{
|
|
2751
|
+
name: '',
|
|
2752
|
+
type: 'uint256',
|
|
2753
|
+
},
|
|
2754
|
+
],
|
|
2755
|
+
},
|
|
2437
2756
|
{
|
|
2438
2757
|
stateMutability: 'nonpayable',
|
|
2439
2758
|
type: 'function',
|
|
@@ -2443,6 +2762,39 @@ export const abi = [
|
|
|
2443
2762
|
name: '_ripePerBlock',
|
|
2444
2763
|
type: 'uint256',
|
|
2445
2764
|
},
|
|
2765
|
+
{
|
|
2766
|
+
name: '_missionControl',
|
|
2767
|
+
type: 'address',
|
|
2768
|
+
},
|
|
2769
|
+
],
|
|
2770
|
+
outputs: [
|
|
2771
|
+
{
|
|
2772
|
+
name: '',
|
|
2773
|
+
type: 'uint256',
|
|
2774
|
+
},
|
|
2775
|
+
],
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
stateMutability: 'nonpayable',
|
|
2779
|
+
type: 'function',
|
|
2780
|
+
name: 'setRipeRewardsAllocs',
|
|
2781
|
+
inputs: [
|
|
2782
|
+
{
|
|
2783
|
+
name: '_borrowersAlloc',
|
|
2784
|
+
type: 'uint256',
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
name: '_stakersAlloc',
|
|
2788
|
+
type: 'uint256',
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
name: '_votersAlloc',
|
|
2792
|
+
type: 'uint256',
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
name: '_genDepositorsAlloc',
|
|
2796
|
+
type: 'uint256',
|
|
2797
|
+
},
|
|
2446
2798
|
],
|
|
2447
2799
|
outputs: [
|
|
2448
2800
|
{
|
|
@@ -2472,6 +2824,35 @@ export const abi = [
|
|
|
2472
2824
|
name: '_genDepositorsAlloc',
|
|
2473
2825
|
type: 'uint256',
|
|
2474
2826
|
},
|
|
2827
|
+
{
|
|
2828
|
+
name: '_missionControl',
|
|
2829
|
+
type: 'address',
|
|
2830
|
+
},
|
|
2831
|
+
],
|
|
2832
|
+
outputs: [
|
|
2833
|
+
{
|
|
2834
|
+
name: '',
|
|
2835
|
+
type: 'uint256',
|
|
2836
|
+
},
|
|
2837
|
+
],
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
stateMutability: 'nonpayable',
|
|
2841
|
+
type: 'function',
|
|
2842
|
+
name: 'setAutoStakeParams',
|
|
2843
|
+
inputs: [
|
|
2844
|
+
{
|
|
2845
|
+
name: '_autoStakeRatio',
|
|
2846
|
+
type: 'uint256',
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
name: '_autoStakeDurationRatio',
|
|
2850
|
+
type: 'uint256',
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
name: '_stabPoolRipePerDollarClaimed',
|
|
2854
|
+
type: 'uint256',
|
|
2855
|
+
},
|
|
2475
2856
|
],
|
|
2476
2857
|
outputs: [
|
|
2477
2858
|
{
|
|
@@ -2497,6 +2878,10 @@ export const abi = [
|
|
|
2497
2878
|
name: '_stabPoolRipePerDollarClaimed',
|
|
2498
2879
|
type: 'uint256',
|
|
2499
2880
|
},
|
|
2881
|
+
{
|
|
2882
|
+
name: '_missionControl',
|
|
2883
|
+
type: 'address',
|
|
2884
|
+
},
|
|
2500
2885
|
],
|
|
2501
2886
|
outputs: [
|
|
2502
2887
|
{
|
|
@@ -2525,28 +2910,42 @@ export const abi = [
|
|
|
2525
2910
|
{
|
|
2526
2911
|
stateMutability: 'nonpayable',
|
|
2527
2912
|
type: 'function',
|
|
2528
|
-
name: '
|
|
2913
|
+
name: 'setRewardsPointsEnabled',
|
|
2529
2914
|
inputs: [
|
|
2530
2915
|
{
|
|
2531
|
-
name: '
|
|
2532
|
-
type: '
|
|
2916
|
+
name: '_shouldEnable',
|
|
2917
|
+
type: 'bool',
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
name: '_missionControl',
|
|
2921
|
+
type: 'address',
|
|
2533
2922
|
},
|
|
2534
2923
|
],
|
|
2535
2924
|
outputs: [
|
|
2536
2925
|
{
|
|
2537
2926
|
name: '',
|
|
2538
|
-
type: '
|
|
2927
|
+
type: 'bool',
|
|
2539
2928
|
},
|
|
2540
2929
|
],
|
|
2541
2930
|
},
|
|
2542
2931
|
{
|
|
2543
2932
|
stateMutability: 'nonpayable',
|
|
2544
2933
|
type: 'function',
|
|
2545
|
-
name: '
|
|
2934
|
+
name: 'setPriorityLiqAssetVaults',
|
|
2546
2935
|
inputs: [
|
|
2547
2936
|
{
|
|
2548
|
-
name: '
|
|
2549
|
-
type: '
|
|
2937
|
+
name: '_priorityLiqAssetVaults',
|
|
2938
|
+
type: 'tuple[]',
|
|
2939
|
+
components: [
|
|
2940
|
+
{
|
|
2941
|
+
name: 'vaultId',
|
|
2942
|
+
type: 'uint256',
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
name: 'asset',
|
|
2946
|
+
type: 'address',
|
|
2947
|
+
},
|
|
2948
|
+
],
|
|
2550
2949
|
},
|
|
2551
2950
|
],
|
|
2552
2951
|
outputs: [
|
|
@@ -2559,11 +2958,25 @@ export const abi = [
|
|
|
2559
2958
|
{
|
|
2560
2959
|
stateMutability: 'nonpayable',
|
|
2561
2960
|
type: 'function',
|
|
2562
|
-
name: '
|
|
2961
|
+
name: 'setPriorityLiqAssetVaults',
|
|
2563
2962
|
inputs: [
|
|
2564
2963
|
{
|
|
2565
|
-
name: '
|
|
2566
|
-
type: '
|
|
2964
|
+
name: '_priorityLiqAssetVaults',
|
|
2965
|
+
type: 'tuple[]',
|
|
2966
|
+
components: [
|
|
2967
|
+
{
|
|
2968
|
+
name: 'vaultId',
|
|
2969
|
+
type: 'uint256',
|
|
2970
|
+
},
|
|
2971
|
+
{
|
|
2972
|
+
name: 'asset',
|
|
2973
|
+
type: 'address',
|
|
2974
|
+
},
|
|
2975
|
+
],
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
name: '_missionControl',
|
|
2979
|
+
type: 'address',
|
|
2567
2980
|
},
|
|
2568
2981
|
],
|
|
2569
2982
|
outputs: [
|
|
@@ -2576,10 +2989,10 @@ export const abi = [
|
|
|
2576
2989
|
{
|
|
2577
2990
|
stateMutability: 'nonpayable',
|
|
2578
2991
|
type: 'function',
|
|
2579
|
-
name: '
|
|
2992
|
+
name: 'setPriorityStabVaults',
|
|
2580
2993
|
inputs: [
|
|
2581
2994
|
{
|
|
2582
|
-
name: '
|
|
2995
|
+
name: '_priorityStabVaults',
|
|
2583
2996
|
type: 'tuple[]',
|
|
2584
2997
|
components: [
|
|
2585
2998
|
{
|
|
@@ -2619,6 +3032,10 @@ export const abi = [
|
|
|
2619
3032
|
},
|
|
2620
3033
|
],
|
|
2621
3034
|
},
|
|
3035
|
+
{
|
|
3036
|
+
name: '_missionControl',
|
|
3037
|
+
type: 'address',
|
|
3038
|
+
},
|
|
2622
3039
|
],
|
|
2623
3040
|
outputs: [
|
|
2624
3041
|
{
|
|
@@ -2647,12 +3064,37 @@ export const abi = [
|
|
|
2647
3064
|
{
|
|
2648
3065
|
stateMutability: 'nonpayable',
|
|
2649
3066
|
type: 'function',
|
|
2650
|
-
name: '
|
|
3067
|
+
name: 'setPriorityPriceSourceIds',
|
|
3068
|
+
inputs: [
|
|
3069
|
+
{
|
|
3070
|
+
name: '_priorityIds',
|
|
3071
|
+
type: 'uint256[]',
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
name: '_missionControl',
|
|
3075
|
+
type: 'address',
|
|
3076
|
+
},
|
|
3077
|
+
],
|
|
3078
|
+
outputs: [
|
|
3079
|
+
{
|
|
3080
|
+
name: '',
|
|
3081
|
+
type: 'uint256',
|
|
3082
|
+
},
|
|
3083
|
+
],
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
stateMutability: 'nonpayable',
|
|
3087
|
+
type: 'function',
|
|
3088
|
+
name: 'setCanPerformLiteAction',
|
|
2651
3089
|
inputs: [
|
|
2652
3090
|
{
|
|
2653
|
-
name: '
|
|
3091
|
+
name: '_user',
|
|
2654
3092
|
type: 'address',
|
|
2655
3093
|
},
|
|
3094
|
+
{
|
|
3095
|
+
name: '_canDo',
|
|
3096
|
+
type: 'bool',
|
|
3097
|
+
},
|
|
2656
3098
|
],
|
|
2657
3099
|
outputs: [
|
|
2658
3100
|
{
|
|
@@ -2674,6 +3116,10 @@ export const abi = [
|
|
|
2674
3116
|
name: '_canDo',
|
|
2675
3117
|
type: 'bool',
|
|
2676
3118
|
},
|
|
3119
|
+
{
|
|
3120
|
+
name: '_missionControl',
|
|
3121
|
+
type: 'address',
|
|
3122
|
+
},
|
|
2677
3123
|
],
|
|
2678
3124
|
outputs: [
|
|
2679
3125
|
{
|
|
@@ -2685,10 +3131,38 @@ export const abi = [
|
|
|
2685
3131
|
{
|
|
2686
3132
|
stateMutability: 'nonpayable',
|
|
2687
3133
|
type: 'function',
|
|
2688
|
-
name: '
|
|
3134
|
+
name: 'setRipeGovVaultConfig',
|
|
2689
3135
|
inputs: [
|
|
2690
3136
|
{
|
|
2691
|
-
name: '
|
|
3137
|
+
name: '_asset',
|
|
3138
|
+
type: 'address',
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
name: '_assetWeight',
|
|
3142
|
+
type: 'uint256',
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
name: '_shouldFreezeWhenBadDebt',
|
|
3146
|
+
type: 'bool',
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
name: '_minLockDuration',
|
|
3150
|
+
type: 'uint256',
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
name: '_maxLockDuration',
|
|
3154
|
+
type: 'uint256',
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
name: '_maxLockBoost',
|
|
3158
|
+
type: 'uint256',
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
name: '_exitFee',
|
|
3162
|
+
type: 'uint256',
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
name: '_canExit',
|
|
2692
3166
|
type: 'bool',
|
|
2693
3167
|
},
|
|
2694
3168
|
],
|
|
@@ -2736,6 +3210,10 @@ export const abi = [
|
|
|
2736
3210
|
name: '_canExit',
|
|
2737
3211
|
type: 'bool',
|
|
2738
3212
|
},
|
|
3213
|
+
{
|
|
3214
|
+
name: '_missionControl',
|
|
3215
|
+
type: 'address',
|
|
3216
|
+
},
|
|
2739
3217
|
],
|
|
2740
3218
|
outputs: [
|
|
2741
3219
|
{
|
|
@@ -3124,23 +3602,6 @@ export const abi = [
|
|
|
3124
3602
|
},
|
|
3125
3603
|
],
|
|
3126
3604
|
},
|
|
3127
|
-
{
|
|
3128
|
-
stateMutability: 'view',
|
|
3129
|
-
type: 'function',
|
|
3130
|
-
name: 'pendingUnderscoreRegistry',
|
|
3131
|
-
inputs: [
|
|
3132
|
-
{
|
|
3133
|
-
name: 'arg0',
|
|
3134
|
-
type: 'uint256',
|
|
3135
|
-
},
|
|
3136
|
-
],
|
|
3137
|
-
outputs: [
|
|
3138
|
-
{
|
|
3139
|
-
name: '',
|
|
3140
|
-
type: 'address',
|
|
3141
|
-
},
|
|
3142
|
-
],
|
|
3143
|
-
},
|
|
3144
3605
|
{
|
|
3145
3606
|
stateMutability: 'view',
|
|
3146
3607
|
type: 'function',
|
|
@@ -3168,23 +3629,6 @@ export const abi = [
|
|
|
3168
3629
|
},
|
|
3169
3630
|
],
|
|
3170
3631
|
},
|
|
3171
|
-
{
|
|
3172
|
-
stateMutability: 'view',
|
|
3173
|
-
type: 'function',
|
|
3174
|
-
name: 'pendingShouldCheckLastTouch',
|
|
3175
|
-
inputs: [
|
|
3176
|
-
{
|
|
3177
|
-
name: 'arg0',
|
|
3178
|
-
type: 'uint256',
|
|
3179
|
-
},
|
|
3180
|
-
],
|
|
3181
|
-
outputs: [
|
|
3182
|
-
{
|
|
3183
|
-
name: '',
|
|
3184
|
-
type: 'bool',
|
|
3185
|
-
},
|
|
3186
|
-
],
|
|
3187
|
-
},
|
|
3188
3632
|
{
|
|
3189
3633
|
stateMutability: 'view',
|
|
3190
3634
|
type: 'function',
|
|
@@ -3245,7 +3689,7 @@ export const abi = [
|
|
|
3245
3689
|
{
|
|
3246
3690
|
stateMutability: 'view',
|
|
3247
3691
|
type: 'function',
|
|
3248
|
-
name: '
|
|
3692
|
+
name: 'pendingMissionControl',
|
|
3249
3693
|
inputs: [
|
|
3250
3694
|
{
|
|
3251
3695
|
name: 'arg0',
|
|
@@ -3255,7 +3699,7 @@ export const abi = [
|
|
|
3255
3699
|
outputs: [
|
|
3256
3700
|
{
|
|
3257
3701
|
name: '',
|
|
3258
|
-
type: '
|
|
3702
|
+
type: 'address',
|
|
3259
3703
|
},
|
|
3260
3704
|
],
|
|
3261
3705
|
},
|
|
@@ -3315,7 +3759,7 @@ export const abi = [
|
|
|
3315
3759
|
outputs: [],
|
|
3316
3760
|
},
|
|
3317
3761
|
];
|
|
3318
|
-
export const deployAddress = '
|
|
3762
|
+
export const deployAddress = '0x48fE3A4C882a30D79d5C7f00bE083122babed9fC';
|
|
3319
3763
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
3320
3764
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
3321
3765
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -3377,11 +3821,9 @@ export const call = {
|
|
|
3377
3821
|
pendingPriorityLiqAssetVaults: (...args) => getRequest('pendingPriorityLiqAssetVaults', args),
|
|
3378
3822
|
pendingPriorityStabVaults: (...args) => getRequest('pendingPriorityStabVaults', args),
|
|
3379
3823
|
pendingPriorityPriceSourceIds: (...args) => getRequest('pendingPriorityPriceSourceIds', args),
|
|
3380
|
-
pendingUnderscoreRegistry: (...args) => getRequest('pendingUnderscoreRegistry', args),
|
|
3381
3824
|
pendingCanPerformLiteAction: (...args) => getRequest('pendingCanPerformLiteAction', args),
|
|
3382
|
-
pendingShouldCheckLastTouch: (...args) => getRequest('pendingShouldCheckLastTouch', args),
|
|
3383
3825
|
pendingRipeGovVaultConfig: (...args) => getRequest('pendingRipeGovVaultConfig', args),
|
|
3384
|
-
|
|
3826
|
+
pendingMissionControl: (...args) => getRequest('pendingMissionControl', args),
|
|
3385
3827
|
MIN_STALE_TIME: (...args) => getRequest('MIN_STALE_TIME', args),
|
|
3386
3828
|
MAX_STALE_TIME: (...args) => getRequest('MAX_STALE_TIME', args),
|
|
3387
3829
|
};
|
|
@@ -3431,15 +3873,10 @@ export const mutation = {
|
|
|
3431
3873
|
setRipeRewardsAllocs: getMutation('setRipeRewardsAllocs'),
|
|
3432
3874
|
setAutoStakeParams: getMutation('setAutoStakeParams'),
|
|
3433
3875
|
setRewardsPointsEnabled: getMutation('setRewardsPointsEnabled'),
|
|
3434
|
-
setRipeAvailableForRewards: getMutation('setRipeAvailableForRewards'),
|
|
3435
|
-
setRipeAvailableForHr: getMutation('setRipeAvailableForHr'),
|
|
3436
|
-
setRipeAvailableForBonds: getMutation('setRipeAvailableForBonds'),
|
|
3437
3876
|
setPriorityLiqAssetVaults: getMutation('setPriorityLiqAssetVaults'),
|
|
3438
3877
|
setPriorityStabVaults: getMutation('setPriorityStabVaults'),
|
|
3439
3878
|
setPriorityPriceSourceIds: getMutation('setPriorityPriceSourceIds'),
|
|
3440
|
-
setUnderscoreRegistry: getMutation('setUnderscoreRegistry'),
|
|
3441
3879
|
setCanPerformLiteAction: getMutation('setCanPerformLiteAction'),
|
|
3442
|
-
setShouldCheckLastTouch: getMutation('setShouldCheckLastTouch'),
|
|
3443
3880
|
setRipeGovVaultConfig: getMutation('setRipeGovVaultConfig'),
|
|
3444
3881
|
executePendingAction: getMutation('executePendingAction'),
|
|
3445
3882
|
cancelPendingAction: getMutation('cancelPendingAction'),
|
|
@@ -3482,11 +3919,9 @@ export function toSdk(publicClient, walletClient) {
|
|
|
3482
3919
|
pendingPriorityLiqAssetVaults: (...args) => singleQuery(publicClient, call.pendingPriorityLiqAssetVaults(...args)),
|
|
3483
3920
|
pendingPriorityStabVaults: (...args) => singleQuery(publicClient, call.pendingPriorityStabVaults(...args)),
|
|
3484
3921
|
pendingPriorityPriceSourceIds: (...args) => singleQuery(publicClient, call.pendingPriorityPriceSourceIds(...args)),
|
|
3485
|
-
pendingUnderscoreRegistry: (...args) => singleQuery(publicClient, call.pendingUnderscoreRegistry(...args)),
|
|
3486
3922
|
pendingCanPerformLiteAction: (...args) => singleQuery(publicClient, call.pendingCanPerformLiteAction(...args)),
|
|
3487
|
-
pendingShouldCheckLastTouch: (...args) => singleQuery(publicClient, call.pendingShouldCheckLastTouch(...args)),
|
|
3488
3923
|
pendingRipeGovVaultConfig: (...args) => singleQuery(publicClient, call.pendingRipeGovVaultConfig(...args)),
|
|
3489
|
-
|
|
3924
|
+
pendingMissionControl: (...args) => singleQuery(publicClient, call.pendingMissionControl(...args)),
|
|
3490
3925
|
MIN_STALE_TIME: (...args) => singleQuery(publicClient, call.MIN_STALE_TIME(...args)),
|
|
3491
3926
|
MAX_STALE_TIME: (...args) => singleQuery(publicClient, call.MAX_STALE_TIME(...args)),
|
|
3492
3927
|
// Mutations
|
|
@@ -3526,15 +3961,10 @@ export function toSdk(publicClient, walletClient) {
|
|
|
3526
3961
|
setRipeRewardsAllocs: (...args) => mutate(walletClient, mutation.setRipeRewardsAllocs)(...args),
|
|
3527
3962
|
setAutoStakeParams: (...args) => mutate(walletClient, mutation.setAutoStakeParams)(...args),
|
|
3528
3963
|
setRewardsPointsEnabled: (...args) => mutate(walletClient, mutation.setRewardsPointsEnabled)(...args),
|
|
3529
|
-
setRipeAvailableForRewards: (...args) => mutate(walletClient, mutation.setRipeAvailableForRewards)(...args),
|
|
3530
|
-
setRipeAvailableForHr: (...args) => mutate(walletClient, mutation.setRipeAvailableForHr)(...args),
|
|
3531
|
-
setRipeAvailableForBonds: (...args) => mutate(walletClient, mutation.setRipeAvailableForBonds)(...args),
|
|
3532
3964
|
setPriorityLiqAssetVaults: (...args) => mutate(walletClient, mutation.setPriorityLiqAssetVaults)(...args),
|
|
3533
3965
|
setPriorityStabVaults: (...args) => mutate(walletClient, mutation.setPriorityStabVaults)(...args),
|
|
3534
3966
|
setPriorityPriceSourceIds: (...args) => mutate(walletClient, mutation.setPriorityPriceSourceIds)(...args),
|
|
3535
|
-
setUnderscoreRegistry: (...args) => mutate(walletClient, mutation.setUnderscoreRegistry)(...args),
|
|
3536
3967
|
setCanPerformLiteAction: (...args) => mutate(walletClient, mutation.setCanPerformLiteAction)(...args),
|
|
3537
|
-
setShouldCheckLastTouch: (...args) => mutate(walletClient, mutation.setShouldCheckLastTouch)(...args),
|
|
3538
3968
|
setRipeGovVaultConfig: (...args) => mutate(walletClient, mutation.setRipeGovVaultConfig)(...args),
|
|
3539
3969
|
executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
|
|
3540
3970
|
cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
|