@ripe-finance/sdk 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/LICENSE +41 -0
  2. package/README.md +44 -0
  3. package/dist/contracts/AddyRegistry.d.ts +1109 -0
  4. package/dist/contracts/AddyRegistry.d.ts.map +1 -0
  5. package/dist/contracts/AddyRegistry.js +1392 -0
  6. package/dist/contracts/AddyRegistry_v1.d.ts +473 -0
  7. package/dist/contracts/AddyRegistry_v1.d.ts.map +1 -0
  8. package/dist/contracts/AddyRegistry_v1.js +594 -0
  9. package/dist/contracts/AddyRegistry_v2.d.ts +1050 -0
  10. package/dist/contracts/AddyRegistry_v2.d.ts.map +1 -0
  11. package/dist/contracts/AddyRegistry_v2.js +1313 -0
  12. package/dist/contracts/Agent.d.ts +2709 -0
  13. package/dist/contracts/Agent.d.ts.map +1 -0
  14. package/dist/contracts/Agent.js +3458 -0
  15. package/dist/contracts/AgentFactory.d.ts +1665 -0
  16. package/dist/contracts/AgentFactory.d.ts.map +1 -0
  17. package/dist/contracts/AgentFactory.js +2078 -0
  18. package/dist/contracts/AgentFactory_v1.d.ts +1054 -0
  19. package/dist/contracts/AgentFactory_v1.d.ts.map +1 -0
  20. package/dist/contracts/AgentFactory_v1.js +1336 -0
  21. package/dist/contracts/AgentFactory_v2.d.ts +1275 -0
  22. package/dist/contracts/AgentFactory_v2.d.ts.map +1 -0
  23. package/dist/contracts/AgentFactory_v2.js +1609 -0
  24. package/dist/contracts/AgentTemplate.d.ts +2629 -0
  25. package/dist/contracts/AgentTemplate.d.ts.map +1 -0
  26. package/dist/contracts/AgentTemplate.js +3370 -0
  27. package/dist/contracts/Agent_v1.d.ts +2631 -0
  28. package/dist/contracts/Agent_v1.d.ts.map +1 -0
  29. package/dist/contracts/Agent_v1.js +3372 -0
  30. package/dist/contracts/Agent_v2.d.ts +2709 -0
  31. package/dist/contracts/Agent_v2.d.ts.map +1 -0
  32. package/dist/contracts/Agent_v2.js +3458 -0
  33. package/dist/contracts/AuctionHouse.d.ts +1566 -0
  34. package/dist/contracts/AuctionHouse.d.ts.map +1 -0
  35. package/dist/contracts/AuctionHouse.js +1814 -0
  36. package/dist/contracts/AuctionHouseNFT.d.ts +259 -0
  37. package/dist/contracts/AuctionHouseNFT.d.ts.map +1 -0
  38. package/dist/contracts/AuctionHouseNFT.js +295 -0
  39. package/dist/contracts/BlueChipYieldPrices.d.ts +1916 -0
  40. package/dist/contracts/BlueChipYieldPrices.d.ts.map +1 -0
  41. package/dist/contracts/BlueChipYieldPrices.js +2414 -0
  42. package/dist/contracts/Boardroom.d.ts +276 -0
  43. package/dist/contracts/Boardroom.d.ts.map +1 -0
  44. package/dist/contracts/Boardroom.js +317 -0
  45. package/dist/contracts/BondRoom.d.ts +539 -0
  46. package/dist/contracts/BondRoom.d.ts.map +1 -0
  47. package/dist/contracts/BondRoom.js +640 -0
  48. package/dist/contracts/ChainlinkFeeds.d.ts +706 -0
  49. package/dist/contracts/ChainlinkFeeds.d.ts.map +1 -0
  50. package/dist/contracts/ChainlinkFeeds.js +900 -0
  51. package/dist/contracts/ChainlinkPrices.d.ts +1594 -0
  52. package/dist/contracts/ChainlinkPrices.d.ts.map +1 -0
  53. package/dist/contracts/ChainlinkPrices.js +2023 -0
  54. package/dist/contracts/Contributor.d.ts +731 -0
  55. package/dist/contracts/Contributor.d.ts.map +1 -0
  56. package/dist/contracts/Contributor.js +896 -0
  57. package/dist/contracts/CreditEngine.d.ts +2295 -0
  58. package/dist/contracts/CreditEngine.d.ts.map +1 -0
  59. package/dist/contracts/CreditEngine.js +2662 -0
  60. package/dist/contracts/CurvePrices.d.ts +2041 -0
  61. package/dist/contracts/CurvePrices.d.ts.map +1 -0
  62. package/dist/contracts/CurvePrices.js +2523 -0
  63. package/dist/contracts/DefaultsBase.d.ts +470 -0
  64. package/dist/contracts/DefaultsBase.d.ts.map +1 -0
  65. package/dist/contracts/DefaultsBase.js +512 -0
  66. package/dist/contracts/ERC20.d.ts +271 -0
  67. package/dist/contracts/ERC20.d.ts.map +1 -0
  68. package/dist/contracts/ERC20.js +339 -0
  69. package/dist/contracts/Endaoment.d.ts +2208 -0
  70. package/dist/contracts/Endaoment.d.ts.map +1 -0
  71. package/dist/contracts/Endaoment.js +2877 -0
  72. package/dist/contracts/GreenPool.d.ts +1248 -0
  73. package/dist/contracts/GreenPool.d.ts.map +1 -0
  74. package/dist/contracts/GreenPool.js +1614 -0
  75. package/dist/contracts/GreenToken.d.ts +776 -0
  76. package/dist/contracts/GreenToken.d.ts.map +1 -0
  77. package/dist/contracts/GreenToken.js +990 -0
  78. package/dist/contracts/HumanResources.d.ts +1176 -0
  79. package/dist/contracts/HumanResources.d.ts.map +1 -0
  80. package/dist/contracts/HumanResources.js +1464 -0
  81. package/dist/contracts/Ledger.d.ts +2312 -0
  82. package/dist/contracts/Ledger.d.ts.map +1 -0
  83. package/dist/contracts/Ledger.js +2712 -0
  84. package/dist/contracts/LegoAaveV3.d.ts +1033 -0
  85. package/dist/contracts/LegoAaveV3.d.ts.map +1 -0
  86. package/dist/contracts/LegoAaveV3.js +1330 -0
  87. package/dist/contracts/LegoAeroClassic.d.ts +1204 -0
  88. package/dist/contracts/LegoAeroClassic.d.ts.map +1 -0
  89. package/dist/contracts/LegoAeroClassic.js +1546 -0
  90. package/dist/contracts/LegoAeroSlipstream.d.ts +1300 -0
  91. package/dist/contracts/LegoAeroSlipstream.d.ts.map +1 -0
  92. package/dist/contracts/LegoAeroSlipstream.js +1671 -0
  93. package/dist/contracts/LegoCommon.d.ts +164 -0
  94. package/dist/contracts/LegoCommon.d.ts.map +1 -0
  95. package/dist/contracts/LegoCommon.js +202 -0
  96. package/dist/contracts/LegoCompoundV3.d.ts +1060 -0
  97. package/dist/contracts/LegoCompoundV3.d.ts.map +1 -0
  98. package/dist/contracts/LegoCompoundV3.js +1365 -0
  99. package/dist/contracts/LegoCredit.d.ts +140 -0
  100. package/dist/contracts/LegoCredit.d.ts.map +1 -0
  101. package/dist/contracts/LegoCredit.js +179 -0
  102. package/dist/contracts/LegoCurve.d.ts +1189 -0
  103. package/dist/contracts/LegoCurve.d.ts.map +1 -0
  104. package/dist/contracts/LegoCurve.js +1519 -0
  105. package/dist/contracts/LegoDex.d.ts +587 -0
  106. package/dist/contracts/LegoDex.d.ts.map +1 -0
  107. package/dist/contracts/LegoDex.js +774 -0
  108. package/dist/contracts/LegoEuler.d.ts +1074 -0
  109. package/dist/contracts/LegoEuler.d.ts.map +1 -0
  110. package/dist/contracts/LegoEuler.js +1383 -0
  111. package/dist/contracts/LegoFluid.d.ts +1025 -0
  112. package/dist/contracts/LegoFluid.d.ts.map +1 -0
  113. package/dist/contracts/LegoFluid.js +1320 -0
  114. package/dist/contracts/LegoHelper.d.ts +1563 -0
  115. package/dist/contracts/LegoHelper.d.ts.map +1 -0
  116. package/dist/contracts/LegoHelper.js +1947 -0
  117. package/dist/contracts/LegoMoonwell.d.ts +1042 -0
  118. package/dist/contracts/LegoMoonwell.d.ts.map +1 -0
  119. package/dist/contracts/LegoMoonwell.js +1342 -0
  120. package/dist/contracts/LegoMorpho.d.ts +1074 -0
  121. package/dist/contracts/LegoMorpho.d.ts.map +1 -0
  122. package/dist/contracts/LegoMorpho.js +1383 -0
  123. package/dist/contracts/LegoRegistry.d.ts +1079 -0
  124. package/dist/contracts/LegoRegistry.d.ts.map +1 -0
  125. package/dist/contracts/LegoRegistry.js +1368 -0
  126. package/dist/contracts/LegoSky.d.ts +923 -0
  127. package/dist/contracts/LegoSky.d.ts.map +1 -0
  128. package/dist/contracts/LegoSky.js +1180 -0
  129. package/dist/contracts/LegoUniswapV2.d.ts +1204 -0
  130. package/dist/contracts/LegoUniswapV2.d.ts.map +1 -0
  131. package/dist/contracts/LegoUniswapV2.js +1546 -0
  132. package/dist/contracts/LegoUniswapV3.d.ts +1338 -0
  133. package/dist/contracts/LegoUniswapV3.d.ts.map +1 -0
  134. package/dist/contracts/LegoUniswapV3.js +1718 -0
  135. package/dist/contracts/LegoYield.d.ts +390 -0
  136. package/dist/contracts/LegoYield.d.ts.map +1 -0
  137. package/dist/contracts/LegoYield.js +511 -0
  138. package/dist/contracts/Lootbox.d.ts +1258 -0
  139. package/dist/contracts/Lootbox.d.ts.map +1 -0
  140. package/dist/contracts/Lootbox.js +1435 -0
  141. package/dist/contracts/MissionControl.d.ts +2642 -0
  142. package/dist/contracts/MissionControl.d.ts.map +1 -0
  143. package/dist/contracts/MissionControl.js +2957 -0
  144. package/dist/contracts/OracleParser.d.ts +207 -0
  145. package/dist/contracts/OracleParser.d.ts.map +1 -0
  146. package/dist/contracts/OracleParser.js +264 -0
  147. package/dist/contracts/OracleRegistry.d.ts +1221 -0
  148. package/dist/contracts/OracleRegistry.d.ts.map +1 -0
  149. package/dist/contracts/OracleRegistry.js +1562 -0
  150. package/dist/contracts/PriceDesk.d.ts +1581 -0
  151. package/dist/contracts/PriceDesk.d.ts.map +1 -0
  152. package/dist/contracts/PriceDesk.js +1993 -0
  153. package/dist/contracts/PriceSheets.d.ts +1127 -0
  154. package/dist/contracts/PriceSheets.d.ts.map +1 -0
  155. package/dist/contracts/PriceSheets.js +1383 -0
  156. package/dist/contracts/PythFeeds.d.ts +640 -0
  157. package/dist/contracts/PythFeeds.d.ts.map +1 -0
  158. package/dist/contracts/PythFeeds.js +813 -0
  159. package/dist/contracts/PythPrices.d.ts +1435 -0
  160. package/dist/contracts/PythPrices.d.ts.map +1 -0
  161. package/dist/contracts/PythPrices.js +1819 -0
  162. package/dist/contracts/RebaseErc20.d.ts +1080 -0
  163. package/dist/contracts/RebaseErc20.d.ts.map +1 -0
  164. package/dist/contracts/RebaseErc20.js +1312 -0
  165. package/dist/contracts/RipeGov.d.ts +2157 -0
  166. package/dist/contracts/RipeGov.d.ts.map +1 -0
  167. package/dist/contracts/RipeGov.js +2529 -0
  168. package/dist/contracts/RipeHq.d.ts +1612 -0
  169. package/dist/contracts/RipeHq.d.ts.map +1 -0
  170. package/dist/contracts/RipeHq.js +2029 -0
  171. package/dist/contracts/RipeToken.d.ts +776 -0
  172. package/dist/contracts/RipeToken.d.ts.map +1 -0
  173. package/dist/contracts/RipeToken.js +990 -0
  174. package/dist/contracts/SavingsGreen.d.ts +1160 -0
  175. package/dist/contracts/SavingsGreen.d.ts.map +1 -0
  176. package/dist/contracts/SavingsGreen.js +1505 -0
  177. package/dist/contracts/SimpleErc20.d.ts +1028 -0
  178. package/dist/contracts/SimpleErc20.d.ts.map +1 -0
  179. package/dist/contracts/SimpleErc20.js +1243 -0
  180. package/dist/contracts/StabilityPool.d.ts +1843 -0
  181. package/dist/contracts/StabilityPool.d.ts.map +1 -0
  182. package/dist/contracts/StabilityPool.js +2229 -0
  183. package/dist/contracts/StorkFeeds.d.ts +640 -0
  184. package/dist/contracts/StorkFeeds.d.ts.map +1 -0
  185. package/dist/contracts/StorkFeeds.js +813 -0
  186. package/dist/contracts/StorkPrices.d.ts +1435 -0
  187. package/dist/contracts/StorkPrices.d.ts.map +1 -0
  188. package/dist/contracts/StorkPrices.js +1819 -0
  189. package/dist/contracts/Switchboard.d.ts +1416 -0
  190. package/dist/contracts/Switchboard.d.ts.map +1 -0
  191. package/dist/contracts/Switchboard.js +1767 -0
  192. package/dist/contracts/SwitchboardAlpha.d.ts +2647 -0
  193. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -0
  194. package/dist/contracts/SwitchboardAlpha.js +3301 -0
  195. package/dist/contracts/SwitchboardBravo.d.ts +2833 -0
  196. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -0
  197. package/dist/contracts/SwitchboardBravo.js +3640 -0
  198. package/dist/contracts/SwitchboardCharlie.d.ts +3651 -0
  199. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -0
  200. package/dist/contracts/SwitchboardCharlie.js +4642 -0
  201. package/dist/contracts/SwitchboardDelta.d.ts +1490 -0
  202. package/dist/contracts/SwitchboardDelta.d.ts.map +1 -0
  203. package/dist/contracts/SwitchboardDelta.js +1872 -0
  204. package/dist/contracts/Teller.d.ts +2664 -0
  205. package/dist/contracts/Teller.d.ts.map +1 -0
  206. package/dist/contracts/Teller.js +3518 -0
  207. package/dist/contracts/TrainingWheels.d.ts +321 -0
  208. package/dist/contracts/TrainingWheels.d.ts.map +1 -0
  209. package/dist/contracts/TrainingWheels.js +376 -0
  210. package/dist/contracts/UserWallet.d.ts +1975 -0
  211. package/dist/contracts/UserWallet.d.ts.map +1 -0
  212. package/dist/contracts/UserWallet.js +2577 -0
  213. package/dist/contracts/UserWalletConfig.d.ts +1852 -0
  214. package/dist/contracts/UserWalletConfig.d.ts.map +1 -0
  215. package/dist/contracts/UserWalletConfig.js +2263 -0
  216. package/dist/contracts/UserWalletConfig_v1.d.ts +1400 -0
  217. package/dist/contracts/UserWalletConfig_v1.d.ts.map +1 -0
  218. package/dist/contracts/UserWalletConfig_v1.js +1676 -0
  219. package/dist/contracts/UserWalletConfig_v2.d.ts +1468 -0
  220. package/dist/contracts/UserWalletConfig_v2.d.ts.map +1 -0
  221. package/dist/contracts/UserWalletConfig_v2.js +1764 -0
  222. package/dist/contracts/UserWallet_v1.d.ts +1980 -0
  223. package/dist/contracts/UserWallet_v1.d.ts.map +1 -0
  224. package/dist/contracts/UserWallet_v1.js +2581 -0
  225. package/dist/contracts/UserWallet_v2.d.ts +1958 -0
  226. package/dist/contracts/UserWallet_v2.d.ts.map +1 -0
  227. package/dist/contracts/UserWallet_v2.js +2553 -0
  228. package/dist/contracts/VaultBook.d.ts +1416 -0
  229. package/dist/contracts/VaultBook.d.ts.map +1 -0
  230. package/dist/contracts/VaultBook.js +1767 -0
  231. package/dist/contracts/WalletConfig.d.ts +1398 -0
  232. package/dist/contracts/WalletConfig.d.ts.map +1 -0
  233. package/dist/contracts/WalletConfig.js +1674 -0
  234. package/dist/contracts/WalletFunds.d.ts +1978 -0
  235. package/dist/contracts/WalletFunds.d.ts.map +1 -0
  236. package/dist/contracts/WalletFunds.js +2579 -0
  237. package/dist/contracts/index.d.ts +37 -0
  238. package/dist/contracts/index.d.ts.map +1 -0
  239. package/dist/contracts/index.js +40 -0
  240. package/dist/contracts/sdk.d.ts +77 -0
  241. package/dist/contracts/sdk.d.ts.map +1 -0
  242. package/dist/contracts/sdk.js +80 -0
  243. package/dist/index.d.ts +2907 -0
  244. package/dist/index.d.ts.map +1 -0
  245. package/dist/index.js +317 -0
  246. package/package.json +36 -0
@@ -0,0 +1,3301 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ export const abi = [
7
+ {
8
+ name: 'PendingVaultLimitsChange',
9
+ inputs: [
10
+ {
11
+ name: 'perUserMaxVaults',
12
+ type: 'uint256',
13
+ indexed: false,
14
+ },
15
+ {
16
+ name: 'perUserMaxAssetsPerVault',
17
+ type: 'uint256',
18
+ indexed: false,
19
+ },
20
+ {
21
+ name: 'confirmationBlock',
22
+ type: 'uint256',
23
+ indexed: false,
24
+ },
25
+ {
26
+ name: 'actionId',
27
+ type: 'uint256',
28
+ indexed: false,
29
+ },
30
+ ],
31
+ anonymous: false,
32
+ type: 'event',
33
+ },
34
+ {
35
+ name: 'PendingStaleTimeChange',
36
+ inputs: [
37
+ {
38
+ name: 'priceStaleTime',
39
+ type: 'uint256',
40
+ indexed: false,
41
+ },
42
+ {
43
+ name: 'confirmationBlock',
44
+ type: 'uint256',
45
+ indexed: false,
46
+ },
47
+ {
48
+ name: 'actionId',
49
+ type: 'uint256',
50
+ indexed: false,
51
+ },
52
+ ],
53
+ anonymous: false,
54
+ type: 'event',
55
+ },
56
+ {
57
+ name: 'CanDepositSet',
58
+ inputs: [
59
+ {
60
+ name: 'canDeposit',
61
+ type: 'bool',
62
+ indexed: false,
63
+ },
64
+ {
65
+ name: 'caller',
66
+ type: 'address',
67
+ indexed: true,
68
+ },
69
+ ],
70
+ anonymous: false,
71
+ type: 'event',
72
+ },
73
+ {
74
+ name: 'CanWithdrawSet',
75
+ inputs: [
76
+ {
77
+ name: 'canWithdraw',
78
+ type: 'bool',
79
+ indexed: false,
80
+ },
81
+ {
82
+ name: 'caller',
83
+ type: 'address',
84
+ indexed: true,
85
+ },
86
+ ],
87
+ anonymous: false,
88
+ type: 'event',
89
+ },
90
+ {
91
+ name: 'CanBorrowSet',
92
+ inputs: [
93
+ {
94
+ name: 'canBorrow',
95
+ type: 'bool',
96
+ indexed: false,
97
+ },
98
+ {
99
+ name: 'caller',
100
+ type: 'address',
101
+ indexed: true,
102
+ },
103
+ ],
104
+ anonymous: false,
105
+ type: 'event',
106
+ },
107
+ {
108
+ name: 'CanRepaySet',
109
+ inputs: [
110
+ {
111
+ name: 'canRepay',
112
+ type: 'bool',
113
+ indexed: false,
114
+ },
115
+ {
116
+ name: 'caller',
117
+ type: 'address',
118
+ indexed: true,
119
+ },
120
+ ],
121
+ anonymous: false,
122
+ type: 'event',
123
+ },
124
+ {
125
+ name: 'CanClaimLootSet',
126
+ inputs: [
127
+ {
128
+ name: 'canClaimLoot',
129
+ type: 'bool',
130
+ indexed: false,
131
+ },
132
+ {
133
+ name: 'caller',
134
+ type: 'address',
135
+ indexed: true,
136
+ },
137
+ ],
138
+ anonymous: false,
139
+ type: 'event',
140
+ },
141
+ {
142
+ name: 'CanLiquidateSet',
143
+ inputs: [
144
+ {
145
+ name: 'canLiquidate',
146
+ type: 'bool',
147
+ indexed: false,
148
+ },
149
+ {
150
+ name: 'caller',
151
+ type: 'address',
152
+ indexed: true,
153
+ },
154
+ ],
155
+ anonymous: false,
156
+ type: 'event',
157
+ },
158
+ {
159
+ name: 'CanRedeemCollateralSet',
160
+ inputs: [
161
+ {
162
+ name: 'canRedeemCollateral',
163
+ type: 'bool',
164
+ indexed: false,
165
+ },
166
+ {
167
+ name: 'caller',
168
+ type: 'address',
169
+ indexed: true,
170
+ },
171
+ ],
172
+ anonymous: false,
173
+ type: 'event',
174
+ },
175
+ {
176
+ name: 'CanRedeemInStabPoolSet',
177
+ inputs: [
178
+ {
179
+ name: 'canRedeemInStabPool',
180
+ type: 'bool',
181
+ indexed: false,
182
+ },
183
+ {
184
+ name: 'caller',
185
+ type: 'address',
186
+ indexed: true,
187
+ },
188
+ ],
189
+ anonymous: false,
190
+ type: 'event',
191
+ },
192
+ {
193
+ name: 'CanBuyInAuctionSet',
194
+ inputs: [
195
+ {
196
+ name: 'canBuyInAuction',
197
+ type: 'bool',
198
+ indexed: false,
199
+ },
200
+ {
201
+ name: 'caller',
202
+ type: 'address',
203
+ indexed: true,
204
+ },
205
+ ],
206
+ anonymous: false,
207
+ type: 'event',
208
+ },
209
+ {
210
+ name: 'CanClaimInStabPoolSet',
211
+ inputs: [
212
+ {
213
+ name: 'canClaimInStabPool',
214
+ type: 'bool',
215
+ indexed: false,
216
+ },
217
+ {
218
+ name: 'caller',
219
+ type: 'address',
220
+ indexed: true,
221
+ },
222
+ ],
223
+ anonymous: false,
224
+ type: 'event',
225
+ },
226
+ {
227
+ name: 'PendingGlobalDebtLimitsChange',
228
+ inputs: [
229
+ {
230
+ name: 'perUserDebtLimit',
231
+ type: 'uint256',
232
+ indexed: false,
233
+ },
234
+ {
235
+ name: 'globalDebtLimit',
236
+ type: 'uint256',
237
+ indexed: false,
238
+ },
239
+ {
240
+ name: 'minDebtAmount',
241
+ type: 'uint256',
242
+ indexed: false,
243
+ },
244
+ {
245
+ name: 'numAllowedBorrowers',
246
+ type: 'uint256',
247
+ indexed: false,
248
+ },
249
+ {
250
+ name: 'confirmationBlock',
251
+ type: 'uint256',
252
+ indexed: false,
253
+ },
254
+ {
255
+ name: 'actionId',
256
+ type: 'uint256',
257
+ indexed: false,
258
+ },
259
+ ],
260
+ anonymous: false,
261
+ type: 'event',
262
+ },
263
+ {
264
+ name: 'PendingBorrowIntervalConfigChange',
265
+ inputs: [
266
+ {
267
+ name: 'maxBorrowPerInterval',
268
+ type: 'uint256',
269
+ indexed: false,
270
+ },
271
+ {
272
+ name: 'numBlocksPerInterval',
273
+ type: 'uint256',
274
+ indexed: false,
275
+ },
276
+ {
277
+ name: 'confirmationBlock',
278
+ type: 'uint256',
279
+ indexed: false,
280
+ },
281
+ {
282
+ name: 'actionId',
283
+ type: 'uint256',
284
+ indexed: false,
285
+ },
286
+ ],
287
+ anonymous: false,
288
+ type: 'event',
289
+ },
290
+ {
291
+ name: 'PendingDynamicRateConfigChange',
292
+ inputs: [
293
+ {
294
+ name: 'minDynamicRateBoost',
295
+ type: 'uint256',
296
+ indexed: false,
297
+ },
298
+ {
299
+ name: 'maxDynamicRateBoost',
300
+ type: 'uint256',
301
+ indexed: false,
302
+ },
303
+ {
304
+ name: 'increasePerDangerBlock',
305
+ type: 'uint256',
306
+ indexed: false,
307
+ },
308
+ {
309
+ name: 'maxBorrowRate',
310
+ type: 'uint256',
311
+ indexed: false,
312
+ },
313
+ {
314
+ name: 'confirmationBlock',
315
+ type: 'uint256',
316
+ indexed: false,
317
+ },
318
+ {
319
+ name: 'actionId',
320
+ type: 'uint256',
321
+ indexed: false,
322
+ },
323
+ ],
324
+ anonymous: false,
325
+ type: 'event',
326
+ },
327
+ {
328
+ name: 'PendingKeeperConfigChange',
329
+ inputs: [
330
+ {
331
+ name: 'keeperFeeRatio',
332
+ type: 'uint256',
333
+ indexed: false,
334
+ },
335
+ {
336
+ name: 'minKeeperFee',
337
+ type: 'uint256',
338
+ indexed: false,
339
+ },
340
+ {
341
+ name: 'maxKeeperFee',
342
+ type: 'uint256',
343
+ indexed: false,
344
+ },
345
+ {
346
+ name: 'confirmationBlock',
347
+ type: 'uint256',
348
+ indexed: false,
349
+ },
350
+ {
351
+ name: 'actionId',
352
+ type: 'uint256',
353
+ indexed: false,
354
+ },
355
+ ],
356
+ anonymous: false,
357
+ type: 'event',
358
+ },
359
+ {
360
+ name: 'PendingLtvPaybackBufferChange',
361
+ inputs: [
362
+ {
363
+ name: 'ltvPaybackBuffer',
364
+ type: 'uint256',
365
+ indexed: false,
366
+ },
367
+ {
368
+ name: 'confirmationBlock',
369
+ type: 'uint256',
370
+ indexed: false,
371
+ },
372
+ {
373
+ name: 'actionId',
374
+ type: 'uint256',
375
+ indexed: false,
376
+ },
377
+ ],
378
+ anonymous: false,
379
+ type: 'event',
380
+ },
381
+ {
382
+ name: 'PendingDefaultAuctionParamsChange',
383
+ inputs: [
384
+ {
385
+ name: 'startDiscount',
386
+ type: 'uint256',
387
+ indexed: false,
388
+ },
389
+ {
390
+ name: 'maxDiscount',
391
+ type: 'uint256',
392
+ indexed: false,
393
+ },
394
+ {
395
+ name: 'delay',
396
+ type: 'uint256',
397
+ indexed: false,
398
+ },
399
+ {
400
+ name: 'duration',
401
+ type: 'uint256',
402
+ indexed: false,
403
+ },
404
+ {
405
+ name: 'confirmationBlock',
406
+ type: 'uint256',
407
+ indexed: false,
408
+ },
409
+ {
410
+ name: 'actionId',
411
+ type: 'uint256',
412
+ indexed: false,
413
+ },
414
+ ],
415
+ anonymous: false,
416
+ type: 'event',
417
+ },
418
+ {
419
+ name: 'IsDaowryEnabledSet',
420
+ inputs: [
421
+ {
422
+ name: 'isDaowryEnabled',
423
+ type: 'bool',
424
+ indexed: false,
425
+ },
426
+ {
427
+ name: 'caller',
428
+ type: 'address',
429
+ indexed: true,
430
+ },
431
+ ],
432
+ anonymous: false,
433
+ type: 'event',
434
+ },
435
+ {
436
+ name: 'PendingRipeRewardsPerBlockChange',
437
+ inputs: [
438
+ {
439
+ name: 'ripePerBlock',
440
+ type: 'uint256',
441
+ indexed: false,
442
+ },
443
+ {
444
+ name: 'confirmationBlock',
445
+ type: 'uint256',
446
+ indexed: false,
447
+ },
448
+ {
449
+ name: 'actionId',
450
+ type: 'uint256',
451
+ indexed: false,
452
+ },
453
+ ],
454
+ anonymous: false,
455
+ type: 'event',
456
+ },
457
+ {
458
+ name: 'PendingRipeRewardsAllocsChange',
459
+ inputs: [
460
+ {
461
+ name: 'borrowersAlloc',
462
+ type: 'uint256',
463
+ indexed: false,
464
+ },
465
+ {
466
+ name: 'stakersAlloc',
467
+ type: 'uint256',
468
+ indexed: false,
469
+ },
470
+ {
471
+ name: 'votersAlloc',
472
+ type: 'uint256',
473
+ indexed: false,
474
+ },
475
+ {
476
+ name: 'genDepositorsAlloc',
477
+ type: 'uint256',
478
+ indexed: false,
479
+ },
480
+ {
481
+ name: 'confirmationBlock',
482
+ type: 'uint256',
483
+ indexed: false,
484
+ },
485
+ {
486
+ name: 'actionId',
487
+ type: 'uint256',
488
+ indexed: false,
489
+ },
490
+ ],
491
+ anonymous: false,
492
+ type: 'event',
493
+ },
494
+ {
495
+ name: 'PendingRipeRewardsAutoStakeParamsChange',
496
+ inputs: [
497
+ {
498
+ name: 'autoStakeRatio',
499
+ type: 'uint256',
500
+ indexed: false,
501
+ },
502
+ {
503
+ name: 'autoStakeDurationRatio',
504
+ type: 'uint256',
505
+ indexed: false,
506
+ },
507
+ {
508
+ name: 'stabPoolRipePerDollarClaimed',
509
+ type: 'uint256',
510
+ indexed: false,
511
+ },
512
+ {
513
+ name: 'confirmationBlock',
514
+ type: 'uint256',
515
+ indexed: false,
516
+ },
517
+ {
518
+ name: 'actionId',
519
+ type: 'uint256',
520
+ indexed: false,
521
+ },
522
+ ],
523
+ anonymous: false,
524
+ type: 'event',
525
+ },
526
+ {
527
+ name: 'RewardsPointsEnabledModified',
528
+ inputs: [
529
+ {
530
+ name: 'arePointsEnabled',
531
+ type: 'bool',
532
+ indexed: false,
533
+ },
534
+ {
535
+ name: 'caller',
536
+ type: 'address',
537
+ indexed: true,
538
+ },
539
+ ],
540
+ anonymous: false,
541
+ type: 'event',
542
+ },
543
+ {
544
+ name: 'PendingRipeAvailableForRewardsChange',
545
+ inputs: [
546
+ {
547
+ name: 'amount',
548
+ type: 'uint256',
549
+ indexed: false,
550
+ },
551
+ {
552
+ name: 'confirmationBlock',
553
+ type: 'uint256',
554
+ indexed: false,
555
+ },
556
+ {
557
+ name: 'actionId',
558
+ type: 'uint256',
559
+ indexed: false,
560
+ },
561
+ ],
562
+ anonymous: false,
563
+ type: 'event',
564
+ },
565
+ {
566
+ name: 'PendingRipeAvailableForHrChange',
567
+ inputs: [
568
+ {
569
+ name: 'amount',
570
+ type: 'uint256',
571
+ indexed: false,
572
+ },
573
+ {
574
+ name: 'confirmationBlock',
575
+ type: 'uint256',
576
+ indexed: false,
577
+ },
578
+ {
579
+ name: 'actionId',
580
+ type: 'uint256',
581
+ indexed: false,
582
+ },
583
+ ],
584
+ anonymous: false,
585
+ type: 'event',
586
+ },
587
+ {
588
+ name: 'PendingRipeAvailableForBondsChange',
589
+ inputs: [
590
+ {
591
+ name: 'amount',
592
+ type: 'uint256',
593
+ indexed: false,
594
+ },
595
+ {
596
+ name: 'confirmationBlock',
597
+ type: 'uint256',
598
+ indexed: false,
599
+ },
600
+ {
601
+ name: 'actionId',
602
+ type: 'uint256',
603
+ indexed: false,
604
+ },
605
+ ],
606
+ anonymous: false,
607
+ type: 'event',
608
+ },
609
+ {
610
+ name: 'PendingPriorityLiqAssetVaultsChange',
611
+ inputs: [
612
+ {
613
+ name: 'numPriorityLiqAssetVaults',
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: 'PendingPriorityStabVaultsChange',
633
+ inputs: [
634
+ {
635
+ name: 'numPriorityStabVaults',
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: 'PendingPriorityPriceSourceIdsChange',
655
+ inputs: [
656
+ {
657
+ name: 'numPriorityPriceSourceIds',
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
+ {
676
+ name: 'PendingUnderscoreRegistryChange',
677
+ inputs: [
678
+ {
679
+ name: 'underscoreRegistry',
680
+ type: 'address',
681
+ indexed: false,
682
+ },
683
+ {
684
+ name: 'confirmationBlock',
685
+ type: 'uint256',
686
+ indexed: false,
687
+ },
688
+ {
689
+ name: 'actionId',
690
+ type: 'uint256',
691
+ indexed: false,
692
+ },
693
+ ],
694
+ anonymous: false,
695
+ type: 'event',
696
+ },
697
+ {
698
+ name: 'PendingCanPerformLiteAction',
699
+ inputs: [
700
+ {
701
+ name: 'user',
702
+ type: 'address',
703
+ indexed: false,
704
+ },
705
+ {
706
+ name: 'canDo',
707
+ type: 'bool',
708
+ indexed: false,
709
+ },
710
+ {
711
+ name: 'confirmationBlock',
712
+ type: 'uint256',
713
+ indexed: false,
714
+ },
715
+ {
716
+ name: 'actionId',
717
+ type: 'uint256',
718
+ indexed: false,
719
+ },
720
+ ],
721
+ anonymous: false,
722
+ type: 'event',
723
+ },
724
+ {
725
+ name: 'PendingShouldCheckLastTouchChange',
726
+ inputs: [
727
+ {
728
+ name: 'shouldCheck',
729
+ type: 'bool',
730
+ indexed: false,
731
+ },
732
+ {
733
+ name: 'confirmationBlock',
734
+ type: 'uint256',
735
+ indexed: false,
736
+ },
737
+ {
738
+ name: 'actionId',
739
+ type: 'uint256',
740
+ indexed: false,
741
+ },
742
+ ],
743
+ anonymous: false,
744
+ type: 'event',
745
+ },
746
+ {
747
+ name: 'PendingMaxLtvDeviationChange',
748
+ inputs: [
749
+ {
750
+ name: 'newDeviation',
751
+ type: 'uint256',
752
+ indexed: false,
753
+ },
754
+ {
755
+ name: 'confirmationBlock',
756
+ type: 'uint256',
757
+ indexed: false,
758
+ },
759
+ {
760
+ name: 'actionId',
761
+ type: 'uint256',
762
+ indexed: false,
763
+ },
764
+ ],
765
+ anonymous: false,
766
+ type: 'event',
767
+ },
768
+ {
769
+ name: 'PendingRipeGovVaultConfigChange',
770
+ inputs: [
771
+ {
772
+ name: 'asset',
773
+ type: 'address',
774
+ indexed: false,
775
+ },
776
+ {
777
+ name: 'assetWeight',
778
+ type: 'uint256',
779
+ indexed: false,
780
+ },
781
+ {
782
+ name: 'shouldFreezeWhenBadDebt',
783
+ type: 'bool',
784
+ indexed: false,
785
+ },
786
+ {
787
+ name: 'minLockDuration',
788
+ type: 'uint256',
789
+ indexed: false,
790
+ },
791
+ {
792
+ name: 'maxLockDuration',
793
+ type: 'uint256',
794
+ indexed: false,
795
+ },
796
+ {
797
+ name: 'maxLockBoost',
798
+ type: 'uint256',
799
+ indexed: false,
800
+ },
801
+ {
802
+ name: 'canExit',
803
+ type: 'bool',
804
+ indexed: false,
805
+ },
806
+ {
807
+ name: 'exitFee',
808
+ type: 'uint256',
809
+ indexed: false,
810
+ },
811
+ {
812
+ name: 'confirmationBlock',
813
+ type: 'uint256',
814
+ indexed: false,
815
+ },
816
+ {
817
+ name: 'actionId',
818
+ type: 'uint256',
819
+ indexed: false,
820
+ },
821
+ ],
822
+ anonymous: false,
823
+ type: 'event',
824
+ },
825
+ {
826
+ name: 'VaultLimitsSet',
827
+ inputs: [
828
+ {
829
+ name: 'perUserMaxVaults',
830
+ type: 'uint256',
831
+ indexed: false,
832
+ },
833
+ {
834
+ name: 'perUserMaxAssetsPerVault',
835
+ type: 'uint256',
836
+ indexed: false,
837
+ },
838
+ ],
839
+ anonymous: false,
840
+ type: 'event',
841
+ },
842
+ {
843
+ name: 'StaleTimeSet',
844
+ inputs: [
845
+ {
846
+ name: 'staleTime',
847
+ type: 'uint256',
848
+ indexed: false,
849
+ },
850
+ ],
851
+ anonymous: false,
852
+ type: 'event',
853
+ },
854
+ {
855
+ name: 'GlobalDebtLimitsSet',
856
+ inputs: [
857
+ {
858
+ name: 'perUserDebtLimit',
859
+ type: 'uint256',
860
+ indexed: false,
861
+ },
862
+ {
863
+ name: 'globalDebtLimit',
864
+ type: 'uint256',
865
+ indexed: false,
866
+ },
867
+ {
868
+ name: 'minDebtAmount',
869
+ type: 'uint256',
870
+ indexed: false,
871
+ },
872
+ {
873
+ name: 'numAllowedBorrowers',
874
+ type: 'uint256',
875
+ indexed: false,
876
+ },
877
+ ],
878
+ anonymous: false,
879
+ type: 'event',
880
+ },
881
+ {
882
+ name: 'BorrowIntervalConfigSet',
883
+ inputs: [
884
+ {
885
+ name: 'maxBorrowPerInterval',
886
+ type: 'uint256',
887
+ indexed: false,
888
+ },
889
+ {
890
+ name: 'numBlocksPerInterval',
891
+ type: 'uint256',
892
+ indexed: false,
893
+ },
894
+ ],
895
+ anonymous: false,
896
+ type: 'event',
897
+ },
898
+ {
899
+ name: 'DynamicRateConfigSet',
900
+ inputs: [
901
+ {
902
+ name: 'minDynamicRateBoost',
903
+ type: 'uint256',
904
+ indexed: false,
905
+ },
906
+ {
907
+ name: 'maxDynamicRateBoost',
908
+ type: 'uint256',
909
+ indexed: false,
910
+ },
911
+ {
912
+ name: 'increasePerDangerBlock',
913
+ type: 'uint256',
914
+ indexed: false,
915
+ },
916
+ {
917
+ name: 'maxBorrowRate',
918
+ type: 'uint256',
919
+ indexed: false,
920
+ },
921
+ ],
922
+ anonymous: false,
923
+ type: 'event',
924
+ },
925
+ {
926
+ name: 'KeeperConfigSet',
927
+ inputs: [
928
+ {
929
+ name: 'keeperFeeRatio',
930
+ type: 'uint256',
931
+ indexed: false,
932
+ },
933
+ {
934
+ name: 'minKeeperFee',
935
+ type: 'uint256',
936
+ indexed: false,
937
+ },
938
+ {
939
+ name: 'maxKeeperFee',
940
+ type: 'uint256',
941
+ indexed: false,
942
+ },
943
+ ],
944
+ anonymous: false,
945
+ type: 'event',
946
+ },
947
+ {
948
+ name: 'LtvPaybackBufferSet',
949
+ inputs: [
950
+ {
951
+ name: 'ltvPaybackBuffer',
952
+ type: 'uint256',
953
+ indexed: false,
954
+ },
955
+ ],
956
+ anonymous: false,
957
+ type: 'event',
958
+ },
959
+ {
960
+ name: 'GenAuctionParamsSet',
961
+ inputs: [
962
+ {
963
+ name: 'startDiscount',
964
+ type: 'uint256',
965
+ indexed: false,
966
+ },
967
+ {
968
+ name: 'maxDiscount',
969
+ type: 'uint256',
970
+ indexed: false,
971
+ },
972
+ {
973
+ name: 'delay',
974
+ type: 'uint256',
975
+ indexed: false,
976
+ },
977
+ {
978
+ name: 'duration',
979
+ type: 'uint256',
980
+ indexed: false,
981
+ },
982
+ ],
983
+ anonymous: false,
984
+ type: 'event',
985
+ },
986
+ {
987
+ name: 'RipeRewardsPerBlockSet',
988
+ inputs: [
989
+ {
990
+ name: 'ripePerBlock',
991
+ type: 'uint256',
992
+ indexed: false,
993
+ },
994
+ ],
995
+ anonymous: false,
996
+ type: 'event',
997
+ },
998
+ {
999
+ name: 'RipeRewardsAllocsSet',
1000
+ inputs: [
1001
+ {
1002
+ name: 'borrowersAlloc',
1003
+ type: 'uint256',
1004
+ indexed: false,
1005
+ },
1006
+ {
1007
+ name: 'stakersAlloc',
1008
+ type: 'uint256',
1009
+ indexed: false,
1010
+ },
1011
+ {
1012
+ name: 'votersAlloc',
1013
+ type: 'uint256',
1014
+ indexed: false,
1015
+ },
1016
+ {
1017
+ name: 'genDepositorsAlloc',
1018
+ type: 'uint256',
1019
+ indexed: false,
1020
+ },
1021
+ ],
1022
+ anonymous: false,
1023
+ type: 'event',
1024
+ },
1025
+ {
1026
+ name: 'RipeRewardsAutoStakeParamsSet',
1027
+ inputs: [
1028
+ {
1029
+ name: 'autoStakeRatio',
1030
+ type: 'uint256',
1031
+ indexed: false,
1032
+ },
1033
+ {
1034
+ name: 'autoStakeDurationRatio',
1035
+ type: 'uint256',
1036
+ indexed: false,
1037
+ },
1038
+ {
1039
+ name: 'stabPoolRipePerDollarClaimed',
1040
+ type: 'uint256',
1041
+ indexed: false,
1042
+ },
1043
+ ],
1044
+ anonymous: false,
1045
+ type: 'event',
1046
+ },
1047
+ {
1048
+ name: 'RipeAvailableForRewardsSet',
1049
+ inputs: [
1050
+ {
1051
+ name: 'amount',
1052
+ type: 'uint256',
1053
+ indexed: false,
1054
+ },
1055
+ ],
1056
+ anonymous: false,
1057
+ type: 'event',
1058
+ },
1059
+ {
1060
+ name: 'RipeAvailableForHrSet',
1061
+ inputs: [
1062
+ {
1063
+ name: 'amount',
1064
+ type: 'uint256',
1065
+ indexed: false,
1066
+ },
1067
+ ],
1068
+ anonymous: false,
1069
+ type: 'event',
1070
+ },
1071
+ {
1072
+ name: 'RipeAvailableForBondsSet',
1073
+ inputs: [
1074
+ {
1075
+ name: 'amount',
1076
+ type: 'uint256',
1077
+ indexed: false,
1078
+ },
1079
+ ],
1080
+ anonymous: false,
1081
+ type: 'event',
1082
+ },
1083
+ {
1084
+ name: 'PriorityLiqAssetVaultsSet',
1085
+ inputs: [
1086
+ {
1087
+ name: 'numVaults',
1088
+ type: 'uint256',
1089
+ indexed: false,
1090
+ },
1091
+ ],
1092
+ anonymous: false,
1093
+ type: 'event',
1094
+ },
1095
+ {
1096
+ name: 'PriorityStabVaultsSet',
1097
+ inputs: [
1098
+ {
1099
+ name: 'numVaults',
1100
+ type: 'uint256',
1101
+ indexed: false,
1102
+ },
1103
+ ],
1104
+ anonymous: false,
1105
+ type: 'event',
1106
+ },
1107
+ {
1108
+ name: 'PriorityPriceSourceIdsModified',
1109
+ inputs: [
1110
+ {
1111
+ name: 'numIds',
1112
+ type: 'uint256',
1113
+ indexed: false,
1114
+ },
1115
+ ],
1116
+ anonymous: false,
1117
+ type: 'event',
1118
+ },
1119
+ {
1120
+ name: 'UnderscoreRegistrySet',
1121
+ inputs: [
1122
+ {
1123
+ name: 'addr',
1124
+ type: 'address',
1125
+ indexed: true,
1126
+ },
1127
+ ],
1128
+ anonymous: false,
1129
+ type: 'event',
1130
+ },
1131
+ {
1132
+ name: 'CanPerformLiteAction',
1133
+ inputs: [
1134
+ {
1135
+ name: 'user',
1136
+ type: 'address',
1137
+ indexed: true,
1138
+ },
1139
+ {
1140
+ name: 'canDo',
1141
+ type: 'bool',
1142
+ indexed: false,
1143
+ },
1144
+ ],
1145
+ anonymous: false,
1146
+ type: 'event',
1147
+ },
1148
+ {
1149
+ name: 'ShouldCheckLastTouchSet',
1150
+ inputs: [
1151
+ {
1152
+ name: 'shouldCheck',
1153
+ type: 'bool',
1154
+ indexed: false,
1155
+ },
1156
+ ],
1157
+ anonymous: false,
1158
+ type: 'event',
1159
+ },
1160
+ {
1161
+ name: 'MaxLtvDeviationSet',
1162
+ inputs: [
1163
+ {
1164
+ name: 'newDeviation',
1165
+ type: 'uint256',
1166
+ indexed: false,
1167
+ },
1168
+ ],
1169
+ anonymous: false,
1170
+ type: 'event',
1171
+ },
1172
+ {
1173
+ name: 'RipeGovVaultConfigSet',
1174
+ inputs: [
1175
+ {
1176
+ name: 'asset',
1177
+ type: 'address',
1178
+ indexed: false,
1179
+ },
1180
+ {
1181
+ name: 'assetWeight',
1182
+ type: 'uint256',
1183
+ indexed: false,
1184
+ },
1185
+ {
1186
+ name: 'shouldFreezeWhenBadDebt',
1187
+ type: 'bool',
1188
+ indexed: false,
1189
+ },
1190
+ {
1191
+ name: 'minLockDuration',
1192
+ type: 'uint256',
1193
+ indexed: false,
1194
+ },
1195
+ {
1196
+ name: 'maxLockDuration',
1197
+ type: 'uint256',
1198
+ indexed: false,
1199
+ },
1200
+ {
1201
+ name: 'maxLockBoost',
1202
+ type: 'uint256',
1203
+ indexed: false,
1204
+ },
1205
+ {
1206
+ name: 'canExit',
1207
+ type: 'bool',
1208
+ indexed: false,
1209
+ },
1210
+ {
1211
+ name: 'exitFee',
1212
+ type: 'uint256',
1213
+ indexed: false,
1214
+ },
1215
+ ],
1216
+ anonymous: false,
1217
+ type: 'event',
1218
+ },
1219
+ {
1220
+ name: 'GovChangeTimeLockModified',
1221
+ inputs: [
1222
+ {
1223
+ name: 'prevTimeLock',
1224
+ type: 'uint256',
1225
+ indexed: false,
1226
+ },
1227
+ {
1228
+ name: 'newTimeLock',
1229
+ type: 'uint256',
1230
+ indexed: false,
1231
+ },
1232
+ ],
1233
+ anonymous: false,
1234
+ type: 'event',
1235
+ },
1236
+ {
1237
+ name: 'ExpirationSet',
1238
+ inputs: [
1239
+ {
1240
+ name: 'expiration',
1241
+ type: 'uint256',
1242
+ indexed: false,
1243
+ },
1244
+ ],
1245
+ anonymous: false,
1246
+ type: 'event',
1247
+ },
1248
+ {
1249
+ name: 'ActionTimeLockSet',
1250
+ inputs: [
1251
+ {
1252
+ name: 'newTimeLock',
1253
+ type: 'uint256',
1254
+ indexed: false,
1255
+ },
1256
+ {
1257
+ name: 'prevTimeLock',
1258
+ type: 'uint256',
1259
+ indexed: false,
1260
+ },
1261
+ ],
1262
+ anonymous: false,
1263
+ type: 'event',
1264
+ },
1265
+ {
1266
+ name: 'GovChangeStarted',
1267
+ inputs: [
1268
+ {
1269
+ name: 'prevGov',
1270
+ type: 'address',
1271
+ indexed: true,
1272
+ },
1273
+ {
1274
+ name: 'newGov',
1275
+ type: 'address',
1276
+ indexed: true,
1277
+ },
1278
+ {
1279
+ name: 'confirmBlock',
1280
+ type: 'uint256',
1281
+ indexed: false,
1282
+ },
1283
+ ],
1284
+ anonymous: false,
1285
+ type: 'event',
1286
+ },
1287
+ {
1288
+ name: 'GovChangeConfirmed',
1289
+ inputs: [
1290
+ {
1291
+ name: 'prevGov',
1292
+ type: 'address',
1293
+ indexed: true,
1294
+ },
1295
+ {
1296
+ name: 'newGov',
1297
+ type: 'address',
1298
+ indexed: true,
1299
+ },
1300
+ {
1301
+ name: 'initiatedBlock',
1302
+ type: 'uint256',
1303
+ indexed: false,
1304
+ },
1305
+ {
1306
+ name: 'confirmBlock',
1307
+ type: 'uint256',
1308
+ indexed: false,
1309
+ },
1310
+ ],
1311
+ anonymous: false,
1312
+ type: 'event',
1313
+ },
1314
+ {
1315
+ name: 'GovChangeCancelled',
1316
+ inputs: [
1317
+ {
1318
+ name: 'cancelledGov',
1319
+ type: 'address',
1320
+ indexed: true,
1321
+ },
1322
+ {
1323
+ name: 'initiatedBlock',
1324
+ type: 'uint256',
1325
+ indexed: false,
1326
+ },
1327
+ {
1328
+ name: 'confirmBlock',
1329
+ type: 'uint256',
1330
+ indexed: false,
1331
+ },
1332
+ ],
1333
+ anonymous: false,
1334
+ type: 'event',
1335
+ },
1336
+ {
1337
+ name: 'RipeHqSetupFinished',
1338
+ inputs: [
1339
+ {
1340
+ name: 'prevGov',
1341
+ type: 'address',
1342
+ indexed: true,
1343
+ },
1344
+ {
1345
+ name: 'newGov',
1346
+ type: 'address',
1347
+ indexed: true,
1348
+ },
1349
+ {
1350
+ name: 'timeLock',
1351
+ type: 'uint256',
1352
+ indexed: false,
1353
+ },
1354
+ ],
1355
+ anonymous: false,
1356
+ type: 'event',
1357
+ },
1358
+ {
1359
+ stateMutability: 'view',
1360
+ type: 'function',
1361
+ name: 'getRipeHqFromGov',
1362
+ inputs: [],
1363
+ outputs: [
1364
+ {
1365
+ name: '',
1366
+ type: 'address',
1367
+ },
1368
+ ],
1369
+ },
1370
+ {
1371
+ stateMutability: 'view',
1372
+ type: 'function',
1373
+ name: 'canGovern',
1374
+ inputs: [
1375
+ {
1376
+ name: '_addr',
1377
+ type: 'address',
1378
+ },
1379
+ ],
1380
+ outputs: [
1381
+ {
1382
+ name: '',
1383
+ type: 'bool',
1384
+ },
1385
+ ],
1386
+ },
1387
+ {
1388
+ stateMutability: 'view',
1389
+ type: 'function',
1390
+ name: 'getGovernors',
1391
+ inputs: [],
1392
+ outputs: [
1393
+ {
1394
+ name: '',
1395
+ type: 'address[]',
1396
+ },
1397
+ ],
1398
+ },
1399
+ {
1400
+ stateMutability: 'view',
1401
+ type: 'function',
1402
+ name: 'hasPendingGovChange',
1403
+ inputs: [],
1404
+ outputs: [
1405
+ {
1406
+ name: '',
1407
+ type: 'bool',
1408
+ },
1409
+ ],
1410
+ },
1411
+ {
1412
+ stateMutability: 'nonpayable',
1413
+ type: 'function',
1414
+ name: 'startGovernanceChange',
1415
+ inputs: [
1416
+ {
1417
+ name: '_newGov',
1418
+ type: 'address',
1419
+ },
1420
+ ],
1421
+ outputs: [],
1422
+ },
1423
+ {
1424
+ stateMutability: 'nonpayable',
1425
+ type: 'function',
1426
+ name: 'confirmGovernanceChange',
1427
+ inputs: [],
1428
+ outputs: [],
1429
+ },
1430
+ {
1431
+ stateMutability: 'nonpayable',
1432
+ type: 'function',
1433
+ name: 'cancelGovernanceChange',
1434
+ inputs: [],
1435
+ outputs: [],
1436
+ },
1437
+ {
1438
+ stateMutability: 'nonpayable',
1439
+ type: 'function',
1440
+ name: 'setGovTimeLock',
1441
+ inputs: [
1442
+ {
1443
+ name: '_numBlocks',
1444
+ type: 'uint256',
1445
+ },
1446
+ ],
1447
+ outputs: [
1448
+ {
1449
+ name: '',
1450
+ type: 'bool',
1451
+ },
1452
+ ],
1453
+ },
1454
+ {
1455
+ stateMutability: 'view',
1456
+ type: 'function',
1457
+ name: 'isValidGovTimeLock',
1458
+ inputs: [
1459
+ {
1460
+ name: '_newTimeLock',
1461
+ type: 'uint256',
1462
+ },
1463
+ ],
1464
+ outputs: [
1465
+ {
1466
+ name: '',
1467
+ type: 'bool',
1468
+ },
1469
+ ],
1470
+ },
1471
+ {
1472
+ stateMutability: 'view',
1473
+ type: 'function',
1474
+ name: 'minGovChangeTimeLock',
1475
+ inputs: [],
1476
+ outputs: [
1477
+ {
1478
+ name: '',
1479
+ type: 'uint256',
1480
+ },
1481
+ ],
1482
+ },
1483
+ {
1484
+ stateMutability: 'view',
1485
+ type: 'function',
1486
+ name: 'maxGovChangeTimeLock',
1487
+ inputs: [],
1488
+ outputs: [
1489
+ {
1490
+ name: '',
1491
+ type: 'uint256',
1492
+ },
1493
+ ],
1494
+ },
1495
+ {
1496
+ stateMutability: 'nonpayable',
1497
+ type: 'function',
1498
+ name: 'finishRipeHqSetup',
1499
+ inputs: [
1500
+ {
1501
+ name: '_newGov',
1502
+ type: 'address',
1503
+ },
1504
+ ],
1505
+ outputs: [
1506
+ {
1507
+ name: '',
1508
+ type: 'bool',
1509
+ },
1510
+ ],
1511
+ },
1512
+ {
1513
+ stateMutability: 'nonpayable',
1514
+ type: 'function',
1515
+ name: 'finishRipeHqSetup',
1516
+ inputs: [
1517
+ {
1518
+ name: '_newGov',
1519
+ type: 'address',
1520
+ },
1521
+ {
1522
+ name: '_timeLock',
1523
+ type: 'uint256',
1524
+ },
1525
+ ],
1526
+ outputs: [
1527
+ {
1528
+ name: '',
1529
+ type: 'bool',
1530
+ },
1531
+ ],
1532
+ },
1533
+ {
1534
+ stateMutability: 'view',
1535
+ type: 'function',
1536
+ name: 'governance',
1537
+ inputs: [],
1538
+ outputs: [
1539
+ {
1540
+ name: '',
1541
+ type: 'address',
1542
+ },
1543
+ ],
1544
+ },
1545
+ {
1546
+ stateMutability: 'view',
1547
+ type: 'function',
1548
+ name: 'pendingGov',
1549
+ inputs: [],
1550
+ outputs: [
1551
+ {
1552
+ name: '',
1553
+ type: 'tuple',
1554
+ components: [
1555
+ {
1556
+ name: 'newGov',
1557
+ type: 'address',
1558
+ },
1559
+ {
1560
+ name: 'initiatedBlock',
1561
+ type: 'uint256',
1562
+ },
1563
+ {
1564
+ name: 'confirmBlock',
1565
+ type: 'uint256',
1566
+ },
1567
+ ],
1568
+ },
1569
+ ],
1570
+ },
1571
+ {
1572
+ stateMutability: 'view',
1573
+ type: 'function',
1574
+ name: 'numGovChanges',
1575
+ inputs: [],
1576
+ outputs: [
1577
+ {
1578
+ name: '',
1579
+ type: 'uint256',
1580
+ },
1581
+ ],
1582
+ },
1583
+ {
1584
+ stateMutability: 'view',
1585
+ type: 'function',
1586
+ name: 'govChangeTimeLock',
1587
+ inputs: [],
1588
+ outputs: [
1589
+ {
1590
+ name: '',
1591
+ type: 'uint256',
1592
+ },
1593
+ ],
1594
+ },
1595
+ {
1596
+ stateMutability: 'view',
1597
+ type: 'function',
1598
+ name: 'canConfirmAction',
1599
+ inputs: [
1600
+ {
1601
+ name: '_actionId',
1602
+ type: 'uint256',
1603
+ },
1604
+ ],
1605
+ outputs: [
1606
+ {
1607
+ name: '',
1608
+ type: 'bool',
1609
+ },
1610
+ ],
1611
+ },
1612
+ {
1613
+ stateMutability: 'view',
1614
+ type: 'function',
1615
+ name: 'isExpired',
1616
+ inputs: [
1617
+ {
1618
+ name: '_actionId',
1619
+ type: 'uint256',
1620
+ },
1621
+ ],
1622
+ outputs: [
1623
+ {
1624
+ name: '',
1625
+ type: 'bool',
1626
+ },
1627
+ ],
1628
+ },
1629
+ {
1630
+ stateMutability: 'view',
1631
+ type: 'function',
1632
+ name: 'hasPendingAction',
1633
+ inputs: [
1634
+ {
1635
+ name: '_actionId',
1636
+ type: 'uint256',
1637
+ },
1638
+ ],
1639
+ outputs: [
1640
+ {
1641
+ name: '',
1642
+ type: 'bool',
1643
+ },
1644
+ ],
1645
+ },
1646
+ {
1647
+ stateMutability: 'view',
1648
+ type: 'function',
1649
+ name: 'getActionConfirmationBlock',
1650
+ inputs: [
1651
+ {
1652
+ name: '_actionId',
1653
+ type: 'uint256',
1654
+ },
1655
+ ],
1656
+ outputs: [
1657
+ {
1658
+ name: '',
1659
+ type: 'uint256',
1660
+ },
1661
+ ],
1662
+ },
1663
+ {
1664
+ stateMutability: 'nonpayable',
1665
+ type: 'function',
1666
+ name: 'setActionTimeLock',
1667
+ inputs: [
1668
+ {
1669
+ name: '_newTimeLock',
1670
+ type: 'uint256',
1671
+ },
1672
+ ],
1673
+ outputs: [
1674
+ {
1675
+ name: '',
1676
+ type: 'bool',
1677
+ },
1678
+ ],
1679
+ },
1680
+ {
1681
+ stateMutability: 'view',
1682
+ type: 'function',
1683
+ name: 'isValidActionTimeLock',
1684
+ inputs: [
1685
+ {
1686
+ name: '_newTimeLock',
1687
+ type: 'uint256',
1688
+ },
1689
+ ],
1690
+ outputs: [
1691
+ {
1692
+ name: '',
1693
+ type: 'bool',
1694
+ },
1695
+ ],
1696
+ },
1697
+ {
1698
+ stateMutability: 'view',
1699
+ type: 'function',
1700
+ name: 'minActionTimeLock',
1701
+ inputs: [],
1702
+ outputs: [
1703
+ {
1704
+ name: '',
1705
+ type: 'uint256',
1706
+ },
1707
+ ],
1708
+ },
1709
+ {
1710
+ stateMutability: 'view',
1711
+ type: 'function',
1712
+ name: 'maxActionTimeLock',
1713
+ inputs: [],
1714
+ outputs: [
1715
+ {
1716
+ name: '',
1717
+ type: 'uint256',
1718
+ },
1719
+ ],
1720
+ },
1721
+ {
1722
+ stateMutability: 'nonpayable',
1723
+ type: 'function',
1724
+ name: 'setExpiration',
1725
+ inputs: [
1726
+ {
1727
+ name: '_expiration',
1728
+ type: 'uint256',
1729
+ },
1730
+ ],
1731
+ outputs: [
1732
+ {
1733
+ name: '',
1734
+ type: 'bool',
1735
+ },
1736
+ ],
1737
+ },
1738
+ {
1739
+ stateMutability: 'nonpayable',
1740
+ type: 'function',
1741
+ name: 'setActionTimeLockAfterSetup',
1742
+ inputs: [],
1743
+ outputs: [
1744
+ {
1745
+ name: '',
1746
+ type: 'bool',
1747
+ },
1748
+ ],
1749
+ },
1750
+ {
1751
+ stateMutability: 'nonpayable',
1752
+ type: 'function',
1753
+ name: 'setActionTimeLockAfterSetup',
1754
+ inputs: [
1755
+ {
1756
+ name: '_newTimeLock',
1757
+ type: 'uint256',
1758
+ },
1759
+ ],
1760
+ outputs: [
1761
+ {
1762
+ name: '',
1763
+ type: 'bool',
1764
+ },
1765
+ ],
1766
+ },
1767
+ {
1768
+ stateMutability: 'view',
1769
+ type: 'function',
1770
+ name: 'pendingActions',
1771
+ inputs: [
1772
+ {
1773
+ name: 'arg0',
1774
+ type: 'uint256',
1775
+ },
1776
+ ],
1777
+ outputs: [
1778
+ {
1779
+ name: '',
1780
+ type: 'tuple',
1781
+ components: [
1782
+ {
1783
+ name: 'initiatedBlock',
1784
+ type: 'uint256',
1785
+ },
1786
+ {
1787
+ name: 'confirmBlock',
1788
+ type: 'uint256',
1789
+ },
1790
+ {
1791
+ name: 'expiration',
1792
+ type: 'uint256',
1793
+ },
1794
+ ],
1795
+ },
1796
+ ],
1797
+ },
1798
+ {
1799
+ stateMutability: 'view',
1800
+ type: 'function',
1801
+ name: 'actionId',
1802
+ inputs: [],
1803
+ outputs: [
1804
+ {
1805
+ name: '',
1806
+ type: 'uint256',
1807
+ },
1808
+ ],
1809
+ },
1810
+ {
1811
+ stateMutability: 'view',
1812
+ type: 'function',
1813
+ name: 'actionTimeLock',
1814
+ inputs: [],
1815
+ outputs: [
1816
+ {
1817
+ name: '',
1818
+ type: 'uint256',
1819
+ },
1820
+ ],
1821
+ },
1822
+ {
1823
+ stateMutability: 'view',
1824
+ type: 'function',
1825
+ name: 'expiration',
1826
+ inputs: [],
1827
+ outputs: [
1828
+ {
1829
+ name: '',
1830
+ type: 'uint256',
1831
+ },
1832
+ ],
1833
+ },
1834
+ {
1835
+ stateMutability: 'nonpayable',
1836
+ type: 'function',
1837
+ name: 'setVaultLimits',
1838
+ inputs: [
1839
+ {
1840
+ name: '_perUserMaxVaults',
1841
+ type: 'uint256',
1842
+ },
1843
+ {
1844
+ name: '_perUserMaxAssetsPerVault',
1845
+ type: 'uint256',
1846
+ },
1847
+ ],
1848
+ outputs: [
1849
+ {
1850
+ name: '',
1851
+ type: 'uint256',
1852
+ },
1853
+ ],
1854
+ },
1855
+ {
1856
+ stateMutability: 'nonpayable',
1857
+ type: 'function',
1858
+ name: 'setStaleTime',
1859
+ inputs: [
1860
+ {
1861
+ name: '_staleTime',
1862
+ type: 'uint256',
1863
+ },
1864
+ ],
1865
+ outputs: [
1866
+ {
1867
+ name: '',
1868
+ type: 'uint256',
1869
+ },
1870
+ ],
1871
+ },
1872
+ {
1873
+ stateMutability: 'nonpayable',
1874
+ type: 'function',
1875
+ name: 'setCanDeposit',
1876
+ inputs: [
1877
+ {
1878
+ name: '_shouldEnable',
1879
+ type: 'bool',
1880
+ },
1881
+ ],
1882
+ outputs: [
1883
+ {
1884
+ name: '',
1885
+ type: 'bool',
1886
+ },
1887
+ ],
1888
+ },
1889
+ {
1890
+ stateMutability: 'nonpayable',
1891
+ type: 'function',
1892
+ name: 'setCanWithdraw',
1893
+ inputs: [
1894
+ {
1895
+ name: '_shouldEnable',
1896
+ type: 'bool',
1897
+ },
1898
+ ],
1899
+ outputs: [
1900
+ {
1901
+ name: '',
1902
+ type: 'bool',
1903
+ },
1904
+ ],
1905
+ },
1906
+ {
1907
+ stateMutability: 'nonpayable',
1908
+ type: 'function',
1909
+ name: 'setCanBorrow',
1910
+ inputs: [
1911
+ {
1912
+ name: '_shouldEnable',
1913
+ type: 'bool',
1914
+ },
1915
+ ],
1916
+ outputs: [
1917
+ {
1918
+ name: '',
1919
+ type: 'bool',
1920
+ },
1921
+ ],
1922
+ },
1923
+ {
1924
+ stateMutability: 'nonpayable',
1925
+ type: 'function',
1926
+ name: 'setCanRepay',
1927
+ inputs: [
1928
+ {
1929
+ name: '_shouldEnable',
1930
+ type: 'bool',
1931
+ },
1932
+ ],
1933
+ outputs: [
1934
+ {
1935
+ name: '',
1936
+ type: 'bool',
1937
+ },
1938
+ ],
1939
+ },
1940
+ {
1941
+ stateMutability: 'nonpayable',
1942
+ type: 'function',
1943
+ name: 'setCanClaimLoot',
1944
+ inputs: [
1945
+ {
1946
+ name: '_shouldEnable',
1947
+ type: 'bool',
1948
+ },
1949
+ ],
1950
+ outputs: [
1951
+ {
1952
+ name: '',
1953
+ type: 'bool',
1954
+ },
1955
+ ],
1956
+ },
1957
+ {
1958
+ stateMutability: 'nonpayable',
1959
+ type: 'function',
1960
+ name: 'setCanLiquidate',
1961
+ inputs: [
1962
+ {
1963
+ name: '_shouldEnable',
1964
+ type: 'bool',
1965
+ },
1966
+ ],
1967
+ outputs: [
1968
+ {
1969
+ name: '',
1970
+ type: 'bool',
1971
+ },
1972
+ ],
1973
+ },
1974
+ {
1975
+ stateMutability: 'nonpayable',
1976
+ type: 'function',
1977
+ name: 'setCanRedeemCollateral',
1978
+ inputs: [
1979
+ {
1980
+ name: '_shouldEnable',
1981
+ type: 'bool',
1982
+ },
1983
+ ],
1984
+ outputs: [
1985
+ {
1986
+ name: '',
1987
+ type: 'bool',
1988
+ },
1989
+ ],
1990
+ },
1991
+ {
1992
+ stateMutability: 'nonpayable',
1993
+ type: 'function',
1994
+ name: 'setCanRedeemInStabPool',
1995
+ inputs: [
1996
+ {
1997
+ name: '_shouldEnable',
1998
+ type: 'bool',
1999
+ },
2000
+ ],
2001
+ outputs: [
2002
+ {
2003
+ name: '',
2004
+ type: 'bool',
2005
+ },
2006
+ ],
2007
+ },
2008
+ {
2009
+ stateMutability: 'nonpayable',
2010
+ type: 'function',
2011
+ name: 'setCanBuyInAuction',
2012
+ inputs: [
2013
+ {
2014
+ name: '_shouldEnable',
2015
+ type: 'bool',
2016
+ },
2017
+ ],
2018
+ outputs: [
2019
+ {
2020
+ name: '',
2021
+ type: 'bool',
2022
+ },
2023
+ ],
2024
+ },
2025
+ {
2026
+ stateMutability: 'nonpayable',
2027
+ type: 'function',
2028
+ name: 'setCanClaimInStabPool',
2029
+ inputs: [
2030
+ {
2031
+ name: '_shouldEnable',
2032
+ type: 'bool',
2033
+ },
2034
+ ],
2035
+ outputs: [
2036
+ {
2037
+ name: '',
2038
+ type: 'bool',
2039
+ },
2040
+ ],
2041
+ },
2042
+ {
2043
+ stateMutability: 'nonpayable',
2044
+ type: 'function',
2045
+ name: 'setGlobalDebtLimits',
2046
+ inputs: [
2047
+ {
2048
+ name: '_perUserDebtLimit',
2049
+ type: 'uint256',
2050
+ },
2051
+ {
2052
+ name: '_globalDebtLimit',
2053
+ type: 'uint256',
2054
+ },
2055
+ {
2056
+ name: '_minDebtAmount',
2057
+ type: 'uint256',
2058
+ },
2059
+ {
2060
+ name: '_numAllowedBorrowers',
2061
+ type: 'uint256',
2062
+ },
2063
+ ],
2064
+ outputs: [
2065
+ {
2066
+ name: '',
2067
+ type: 'uint256',
2068
+ },
2069
+ ],
2070
+ },
2071
+ {
2072
+ stateMutability: 'nonpayable',
2073
+ type: 'function',
2074
+ name: 'setBorrowIntervalConfig',
2075
+ inputs: [
2076
+ {
2077
+ name: '_maxBorrowPerInterval',
2078
+ type: 'uint256',
2079
+ },
2080
+ {
2081
+ name: '_numBlocksPerInterval',
2082
+ type: 'uint256',
2083
+ },
2084
+ ],
2085
+ outputs: [
2086
+ {
2087
+ name: '',
2088
+ type: 'uint256',
2089
+ },
2090
+ ],
2091
+ },
2092
+ {
2093
+ stateMutability: 'nonpayable',
2094
+ type: 'function',
2095
+ name: 'setDynamicRateConfig',
2096
+ inputs: [
2097
+ {
2098
+ name: '_minDynamicRateBoost',
2099
+ type: 'uint256',
2100
+ },
2101
+ {
2102
+ name: '_maxDynamicRateBoost',
2103
+ type: 'uint256',
2104
+ },
2105
+ {
2106
+ name: '_increasePerDangerBlock',
2107
+ type: 'uint256',
2108
+ },
2109
+ {
2110
+ name: '_maxBorrowRate',
2111
+ type: 'uint256',
2112
+ },
2113
+ ],
2114
+ outputs: [
2115
+ {
2116
+ name: '',
2117
+ type: 'uint256',
2118
+ },
2119
+ ],
2120
+ },
2121
+ {
2122
+ stateMutability: 'nonpayable',
2123
+ type: 'function',
2124
+ name: 'setMaxLtvDeviation',
2125
+ inputs: [
2126
+ {
2127
+ name: '_newDeviation',
2128
+ type: 'uint256',
2129
+ },
2130
+ ],
2131
+ outputs: [
2132
+ {
2133
+ name: '',
2134
+ type: 'uint256',
2135
+ },
2136
+ ],
2137
+ },
2138
+ {
2139
+ stateMutability: 'nonpayable',
2140
+ type: 'function',
2141
+ name: 'setKeeperConfig',
2142
+ inputs: [
2143
+ {
2144
+ name: '_keeperFeeRatio',
2145
+ type: 'uint256',
2146
+ },
2147
+ {
2148
+ name: '_minKeeperFee',
2149
+ type: 'uint256',
2150
+ },
2151
+ {
2152
+ name: '_maxKeeperFee',
2153
+ type: 'uint256',
2154
+ },
2155
+ ],
2156
+ outputs: [
2157
+ {
2158
+ name: '',
2159
+ type: 'uint256',
2160
+ },
2161
+ ],
2162
+ },
2163
+ {
2164
+ stateMutability: 'nonpayable',
2165
+ type: 'function',
2166
+ name: 'setLtvPaybackBuffer',
2167
+ inputs: [
2168
+ {
2169
+ name: '_ltvPaybackBuffer',
2170
+ type: 'uint256',
2171
+ },
2172
+ ],
2173
+ outputs: [
2174
+ {
2175
+ name: '',
2176
+ type: 'uint256',
2177
+ },
2178
+ ],
2179
+ },
2180
+ {
2181
+ stateMutability: 'nonpayable',
2182
+ type: 'function',
2183
+ name: 'setGenAuctionParams',
2184
+ inputs: [
2185
+ {
2186
+ name: '_startDiscount',
2187
+ type: 'uint256',
2188
+ },
2189
+ {
2190
+ name: '_maxDiscount',
2191
+ type: 'uint256',
2192
+ },
2193
+ {
2194
+ name: '_delay',
2195
+ type: 'uint256',
2196
+ },
2197
+ {
2198
+ name: '_duration',
2199
+ type: 'uint256',
2200
+ },
2201
+ ],
2202
+ outputs: [
2203
+ {
2204
+ name: '',
2205
+ type: 'uint256',
2206
+ },
2207
+ ],
2208
+ },
2209
+ {
2210
+ stateMutability: 'view',
2211
+ type: 'function',
2212
+ name: 'areValidAuctionParams',
2213
+ inputs: [
2214
+ {
2215
+ name: '_params',
2216
+ type: 'tuple',
2217
+ components: [
2218
+ {
2219
+ name: 'hasParams',
2220
+ type: 'bool',
2221
+ },
2222
+ {
2223
+ name: 'startDiscount',
2224
+ type: 'uint256',
2225
+ },
2226
+ {
2227
+ name: 'maxDiscount',
2228
+ type: 'uint256',
2229
+ },
2230
+ {
2231
+ name: 'delay',
2232
+ type: 'uint256',
2233
+ },
2234
+ {
2235
+ name: 'duration',
2236
+ type: 'uint256',
2237
+ },
2238
+ ],
2239
+ },
2240
+ ],
2241
+ outputs: [
2242
+ {
2243
+ name: '',
2244
+ type: 'bool',
2245
+ },
2246
+ ],
2247
+ },
2248
+ {
2249
+ stateMutability: 'nonpayable',
2250
+ type: 'function',
2251
+ name: 'setIsDaowryEnabled',
2252
+ inputs: [
2253
+ {
2254
+ name: '_shouldEnable',
2255
+ type: 'bool',
2256
+ },
2257
+ ],
2258
+ outputs: [
2259
+ {
2260
+ name: '',
2261
+ type: 'bool',
2262
+ },
2263
+ ],
2264
+ },
2265
+ {
2266
+ stateMutability: 'nonpayable',
2267
+ type: 'function',
2268
+ name: 'setRipePerBlock',
2269
+ inputs: [
2270
+ {
2271
+ name: '_ripePerBlock',
2272
+ type: 'uint256',
2273
+ },
2274
+ ],
2275
+ outputs: [
2276
+ {
2277
+ name: '',
2278
+ type: 'uint256',
2279
+ },
2280
+ ],
2281
+ },
2282
+ {
2283
+ stateMutability: 'nonpayable',
2284
+ type: 'function',
2285
+ name: 'setRipeRewardsAllocs',
2286
+ inputs: [
2287
+ {
2288
+ name: '_borrowersAlloc',
2289
+ type: 'uint256',
2290
+ },
2291
+ {
2292
+ name: '_stakersAlloc',
2293
+ type: 'uint256',
2294
+ },
2295
+ {
2296
+ name: '_votersAlloc',
2297
+ type: 'uint256',
2298
+ },
2299
+ {
2300
+ name: '_genDepositorsAlloc',
2301
+ type: 'uint256',
2302
+ },
2303
+ ],
2304
+ outputs: [
2305
+ {
2306
+ name: '',
2307
+ type: 'uint256',
2308
+ },
2309
+ ],
2310
+ },
2311
+ {
2312
+ stateMutability: 'nonpayable',
2313
+ type: 'function',
2314
+ name: 'setAutoStakeParams',
2315
+ inputs: [
2316
+ {
2317
+ name: '_autoStakeRatio',
2318
+ type: 'uint256',
2319
+ },
2320
+ {
2321
+ name: '_autoStakeDurationRatio',
2322
+ type: 'uint256',
2323
+ },
2324
+ {
2325
+ name: '_stabPoolRipePerDollarClaimed',
2326
+ type: 'uint256',
2327
+ },
2328
+ ],
2329
+ outputs: [
2330
+ {
2331
+ name: '',
2332
+ type: 'uint256',
2333
+ },
2334
+ ],
2335
+ },
2336
+ {
2337
+ stateMutability: 'nonpayable',
2338
+ type: 'function',
2339
+ name: 'setRewardsPointsEnabled',
2340
+ inputs: [
2341
+ {
2342
+ name: '_shouldEnable',
2343
+ type: 'bool',
2344
+ },
2345
+ ],
2346
+ outputs: [
2347
+ {
2348
+ name: '',
2349
+ type: 'bool',
2350
+ },
2351
+ ],
2352
+ },
2353
+ {
2354
+ stateMutability: 'nonpayable',
2355
+ type: 'function',
2356
+ name: 'setRipeAvailableForRewards',
2357
+ inputs: [
2358
+ {
2359
+ name: '_amount',
2360
+ type: 'uint256',
2361
+ },
2362
+ ],
2363
+ outputs: [
2364
+ {
2365
+ name: '',
2366
+ type: 'uint256',
2367
+ },
2368
+ ],
2369
+ },
2370
+ {
2371
+ stateMutability: 'nonpayable',
2372
+ type: 'function',
2373
+ name: 'setRipeAvailableForHr',
2374
+ inputs: [
2375
+ {
2376
+ name: '_amount',
2377
+ type: 'uint256',
2378
+ },
2379
+ ],
2380
+ outputs: [
2381
+ {
2382
+ name: '',
2383
+ type: 'uint256',
2384
+ },
2385
+ ],
2386
+ },
2387
+ {
2388
+ stateMutability: 'nonpayable',
2389
+ type: 'function',
2390
+ name: 'setRipeAvailableForBonds',
2391
+ inputs: [
2392
+ {
2393
+ name: '_amount',
2394
+ type: 'uint256',
2395
+ },
2396
+ ],
2397
+ outputs: [
2398
+ {
2399
+ name: '',
2400
+ type: 'uint256',
2401
+ },
2402
+ ],
2403
+ },
2404
+ {
2405
+ stateMutability: 'nonpayable',
2406
+ type: 'function',
2407
+ name: 'setPriorityLiqAssetVaults',
2408
+ inputs: [
2409
+ {
2410
+ name: '_priorityLiqAssetVaults',
2411
+ type: 'tuple[]',
2412
+ components: [
2413
+ {
2414
+ name: 'vaultId',
2415
+ type: 'uint256',
2416
+ },
2417
+ {
2418
+ name: 'asset',
2419
+ type: 'address',
2420
+ },
2421
+ ],
2422
+ },
2423
+ ],
2424
+ outputs: [
2425
+ {
2426
+ name: '',
2427
+ type: 'uint256',
2428
+ },
2429
+ ],
2430
+ },
2431
+ {
2432
+ stateMutability: 'nonpayable',
2433
+ type: 'function',
2434
+ name: 'setPriorityStabVaults',
2435
+ inputs: [
2436
+ {
2437
+ name: '_priorityStabVaults',
2438
+ type: 'tuple[]',
2439
+ components: [
2440
+ {
2441
+ name: 'vaultId',
2442
+ type: 'uint256',
2443
+ },
2444
+ {
2445
+ name: 'asset',
2446
+ type: 'address',
2447
+ },
2448
+ ],
2449
+ },
2450
+ ],
2451
+ outputs: [
2452
+ {
2453
+ name: '',
2454
+ type: 'uint256',
2455
+ },
2456
+ ],
2457
+ },
2458
+ {
2459
+ stateMutability: 'nonpayable',
2460
+ type: 'function',
2461
+ name: 'setPriorityPriceSourceIds',
2462
+ inputs: [
2463
+ {
2464
+ name: '_priorityIds',
2465
+ type: 'uint256[]',
2466
+ },
2467
+ ],
2468
+ outputs: [
2469
+ {
2470
+ name: '',
2471
+ type: 'uint256',
2472
+ },
2473
+ ],
2474
+ },
2475
+ {
2476
+ stateMutability: 'nonpayable',
2477
+ type: 'function',
2478
+ name: 'setUnderscoreRegistry',
2479
+ inputs: [
2480
+ {
2481
+ name: '_underscoreRegistry',
2482
+ type: 'address',
2483
+ },
2484
+ ],
2485
+ outputs: [
2486
+ {
2487
+ name: '',
2488
+ type: 'uint256',
2489
+ },
2490
+ ],
2491
+ },
2492
+ {
2493
+ stateMutability: 'nonpayable',
2494
+ type: 'function',
2495
+ name: 'setCanPerformLiteAction',
2496
+ inputs: [
2497
+ {
2498
+ name: '_user',
2499
+ type: 'address',
2500
+ },
2501
+ {
2502
+ name: '_canDo',
2503
+ type: 'bool',
2504
+ },
2505
+ ],
2506
+ outputs: [
2507
+ {
2508
+ name: '',
2509
+ type: 'uint256',
2510
+ },
2511
+ ],
2512
+ },
2513
+ {
2514
+ stateMutability: 'nonpayable',
2515
+ type: 'function',
2516
+ name: 'setShouldCheckLastTouch',
2517
+ inputs: [
2518
+ {
2519
+ name: '_shouldCheck',
2520
+ type: 'bool',
2521
+ },
2522
+ ],
2523
+ outputs: [
2524
+ {
2525
+ name: '',
2526
+ type: 'uint256',
2527
+ },
2528
+ ],
2529
+ },
2530
+ {
2531
+ stateMutability: 'nonpayable',
2532
+ type: 'function',
2533
+ name: 'setRipeGovVaultConfig',
2534
+ inputs: [
2535
+ {
2536
+ name: '_asset',
2537
+ type: 'address',
2538
+ },
2539
+ {
2540
+ name: '_assetWeight',
2541
+ type: 'uint256',
2542
+ },
2543
+ {
2544
+ name: '_shouldFreezeWhenBadDebt',
2545
+ type: 'bool',
2546
+ },
2547
+ {
2548
+ name: '_minLockDuration',
2549
+ type: 'uint256',
2550
+ },
2551
+ {
2552
+ name: '_maxLockDuration',
2553
+ type: 'uint256',
2554
+ },
2555
+ {
2556
+ name: '_maxLockBoost',
2557
+ type: 'uint256',
2558
+ },
2559
+ {
2560
+ name: '_exitFee',
2561
+ type: 'uint256',
2562
+ },
2563
+ {
2564
+ name: '_canExit',
2565
+ type: 'bool',
2566
+ },
2567
+ ],
2568
+ outputs: [
2569
+ {
2570
+ name: '',
2571
+ type: 'uint256',
2572
+ },
2573
+ ],
2574
+ },
2575
+ {
2576
+ stateMutability: 'nonpayable',
2577
+ type: 'function',
2578
+ name: 'executePendingAction',
2579
+ inputs: [
2580
+ {
2581
+ name: '_aid',
2582
+ type: 'uint256',
2583
+ },
2584
+ ],
2585
+ outputs: [
2586
+ {
2587
+ name: '',
2588
+ type: 'bool',
2589
+ },
2590
+ ],
2591
+ },
2592
+ {
2593
+ stateMutability: 'nonpayable',
2594
+ type: 'function',
2595
+ name: 'cancelPendingAction',
2596
+ inputs: [
2597
+ {
2598
+ name: '_aid',
2599
+ type: 'uint256',
2600
+ },
2601
+ ],
2602
+ outputs: [
2603
+ {
2604
+ name: '',
2605
+ type: 'bool',
2606
+ },
2607
+ ],
2608
+ },
2609
+ {
2610
+ stateMutability: 'view',
2611
+ type: 'function',
2612
+ name: 'actionType',
2613
+ inputs: [
2614
+ {
2615
+ name: 'arg0',
2616
+ type: 'uint256',
2617
+ },
2618
+ ],
2619
+ outputs: [
2620
+ {
2621
+ name: '',
2622
+ type: 'uint256',
2623
+ },
2624
+ ],
2625
+ },
2626
+ {
2627
+ stateMutability: 'view',
2628
+ type: 'function',
2629
+ name: 'pendingRipeRewardsConfig',
2630
+ inputs: [
2631
+ {
2632
+ name: 'arg0',
2633
+ type: 'uint256',
2634
+ },
2635
+ ],
2636
+ outputs: [
2637
+ {
2638
+ name: '',
2639
+ type: 'tuple',
2640
+ components: [
2641
+ {
2642
+ name: 'arePointsEnabled',
2643
+ type: 'bool',
2644
+ },
2645
+ {
2646
+ name: 'ripePerBlock',
2647
+ type: 'uint256',
2648
+ },
2649
+ {
2650
+ name: 'borrowersAlloc',
2651
+ type: 'uint256',
2652
+ },
2653
+ {
2654
+ name: 'stakersAlloc',
2655
+ type: 'uint256',
2656
+ },
2657
+ {
2658
+ name: 'votersAlloc',
2659
+ type: 'uint256',
2660
+ },
2661
+ {
2662
+ name: 'genDepositorsAlloc',
2663
+ type: 'uint256',
2664
+ },
2665
+ {
2666
+ name: 'autoStakeRatio',
2667
+ type: 'uint256',
2668
+ },
2669
+ {
2670
+ name: 'autoStakeDurationRatio',
2671
+ type: 'uint256',
2672
+ },
2673
+ {
2674
+ name: 'stabPoolRipePerDollarClaimed',
2675
+ type: 'uint256',
2676
+ },
2677
+ ],
2678
+ },
2679
+ ],
2680
+ },
2681
+ {
2682
+ stateMutability: 'view',
2683
+ type: 'function',
2684
+ name: 'pendingGeneralConfig',
2685
+ inputs: [
2686
+ {
2687
+ name: 'arg0',
2688
+ type: 'uint256',
2689
+ },
2690
+ ],
2691
+ outputs: [
2692
+ {
2693
+ name: '',
2694
+ type: 'tuple',
2695
+ components: [
2696
+ {
2697
+ name: 'perUserMaxVaults',
2698
+ type: 'uint256',
2699
+ },
2700
+ {
2701
+ name: 'perUserMaxAssetsPerVault',
2702
+ type: 'uint256',
2703
+ },
2704
+ {
2705
+ name: 'priceStaleTime',
2706
+ type: 'uint256',
2707
+ },
2708
+ ],
2709
+ },
2710
+ ],
2711
+ },
2712
+ {
2713
+ stateMutability: 'view',
2714
+ type: 'function',
2715
+ name: 'pendingDebtConfig',
2716
+ inputs: [
2717
+ {
2718
+ name: 'arg0',
2719
+ type: 'uint256',
2720
+ },
2721
+ ],
2722
+ outputs: [
2723
+ {
2724
+ name: '',
2725
+ type: 'tuple',
2726
+ components: [
2727
+ {
2728
+ name: 'perUserDebtLimit',
2729
+ type: 'uint256',
2730
+ },
2731
+ {
2732
+ name: 'globalDebtLimit',
2733
+ type: 'uint256',
2734
+ },
2735
+ {
2736
+ name: 'minDebtAmount',
2737
+ type: 'uint256',
2738
+ },
2739
+ {
2740
+ name: 'numAllowedBorrowers',
2741
+ type: 'uint256',
2742
+ },
2743
+ {
2744
+ name: 'maxBorrowPerInterval',
2745
+ type: 'uint256',
2746
+ },
2747
+ {
2748
+ name: 'numBlocksPerInterval',
2749
+ type: 'uint256',
2750
+ },
2751
+ {
2752
+ name: 'minDynamicRateBoost',
2753
+ type: 'uint256',
2754
+ },
2755
+ {
2756
+ name: 'maxDynamicRateBoost',
2757
+ type: 'uint256',
2758
+ },
2759
+ {
2760
+ name: 'increasePerDangerBlock',
2761
+ type: 'uint256',
2762
+ },
2763
+ {
2764
+ name: 'maxBorrowRate',
2765
+ type: 'uint256',
2766
+ },
2767
+ {
2768
+ name: 'maxLtvDeviation',
2769
+ type: 'uint256',
2770
+ },
2771
+ {
2772
+ name: 'keeperFeeRatio',
2773
+ type: 'uint256',
2774
+ },
2775
+ {
2776
+ name: 'minKeeperFee',
2777
+ type: 'uint256',
2778
+ },
2779
+ {
2780
+ name: 'maxKeeperFee',
2781
+ type: 'uint256',
2782
+ },
2783
+ {
2784
+ name: 'isDaowryEnabled',
2785
+ type: 'bool',
2786
+ },
2787
+ {
2788
+ name: 'ltvPaybackBuffer',
2789
+ type: 'uint256',
2790
+ },
2791
+ {
2792
+ name: 'genAuctionParams',
2793
+ type: 'tuple',
2794
+ components: [
2795
+ {
2796
+ name: 'hasParams',
2797
+ type: 'bool',
2798
+ },
2799
+ {
2800
+ name: 'startDiscount',
2801
+ type: 'uint256',
2802
+ },
2803
+ {
2804
+ name: 'maxDiscount',
2805
+ type: 'uint256',
2806
+ },
2807
+ {
2808
+ name: 'delay',
2809
+ type: 'uint256',
2810
+ },
2811
+ {
2812
+ name: 'duration',
2813
+ type: 'uint256',
2814
+ },
2815
+ ],
2816
+ },
2817
+ ],
2818
+ },
2819
+ ],
2820
+ },
2821
+ {
2822
+ stateMutability: 'view',
2823
+ type: 'function',
2824
+ name: 'pendingPriorityLiqAssetVaults',
2825
+ inputs: [
2826
+ {
2827
+ name: 'arg0',
2828
+ type: 'uint256',
2829
+ },
2830
+ {
2831
+ name: 'arg1',
2832
+ type: 'uint256',
2833
+ },
2834
+ ],
2835
+ outputs: [
2836
+ {
2837
+ name: '',
2838
+ type: 'tuple',
2839
+ components: [
2840
+ {
2841
+ name: 'vaultId',
2842
+ type: 'uint256',
2843
+ },
2844
+ {
2845
+ name: 'asset',
2846
+ type: 'address',
2847
+ },
2848
+ ],
2849
+ },
2850
+ ],
2851
+ },
2852
+ {
2853
+ stateMutability: 'view',
2854
+ type: 'function',
2855
+ name: 'pendingPriorityStabVaults',
2856
+ inputs: [
2857
+ {
2858
+ name: 'arg0',
2859
+ type: 'uint256',
2860
+ },
2861
+ {
2862
+ name: 'arg1',
2863
+ type: 'uint256',
2864
+ },
2865
+ ],
2866
+ outputs: [
2867
+ {
2868
+ name: '',
2869
+ type: 'tuple',
2870
+ components: [
2871
+ {
2872
+ name: 'vaultId',
2873
+ type: 'uint256',
2874
+ },
2875
+ {
2876
+ name: 'asset',
2877
+ type: 'address',
2878
+ },
2879
+ ],
2880
+ },
2881
+ ],
2882
+ },
2883
+ {
2884
+ stateMutability: 'view',
2885
+ type: 'function',
2886
+ name: 'pendingPriorityPriceSourceIds',
2887
+ inputs: [
2888
+ {
2889
+ name: 'arg0',
2890
+ type: 'uint256',
2891
+ },
2892
+ {
2893
+ name: 'arg1',
2894
+ type: 'uint256',
2895
+ },
2896
+ ],
2897
+ outputs: [
2898
+ {
2899
+ name: '',
2900
+ type: 'uint256',
2901
+ },
2902
+ ],
2903
+ },
2904
+ {
2905
+ stateMutability: 'view',
2906
+ type: 'function',
2907
+ name: 'pendingUnderscoreRegistry',
2908
+ inputs: [
2909
+ {
2910
+ name: 'arg0',
2911
+ type: 'uint256',
2912
+ },
2913
+ ],
2914
+ outputs: [
2915
+ {
2916
+ name: '',
2917
+ type: 'address',
2918
+ },
2919
+ ],
2920
+ },
2921
+ {
2922
+ stateMutability: 'view',
2923
+ type: 'function',
2924
+ name: 'pendingCanPerformLiteAction',
2925
+ inputs: [
2926
+ {
2927
+ name: 'arg0',
2928
+ type: 'uint256',
2929
+ },
2930
+ ],
2931
+ outputs: [
2932
+ {
2933
+ name: '',
2934
+ type: 'tuple',
2935
+ components: [
2936
+ {
2937
+ name: 'user',
2938
+ type: 'address',
2939
+ },
2940
+ {
2941
+ name: 'canDo',
2942
+ type: 'bool',
2943
+ },
2944
+ ],
2945
+ },
2946
+ ],
2947
+ },
2948
+ {
2949
+ stateMutability: 'view',
2950
+ type: 'function',
2951
+ name: 'pendingShouldCheckLastTouch',
2952
+ inputs: [
2953
+ {
2954
+ name: 'arg0',
2955
+ type: 'uint256',
2956
+ },
2957
+ ],
2958
+ outputs: [
2959
+ {
2960
+ name: '',
2961
+ type: 'bool',
2962
+ },
2963
+ ],
2964
+ },
2965
+ {
2966
+ stateMutability: 'view',
2967
+ type: 'function',
2968
+ name: 'pendingRipeGovVaultConfig',
2969
+ inputs: [
2970
+ {
2971
+ name: 'arg0',
2972
+ type: 'uint256',
2973
+ },
2974
+ ],
2975
+ outputs: [
2976
+ {
2977
+ name: '',
2978
+ type: 'tuple',
2979
+ components: [
2980
+ {
2981
+ name: 'asset',
2982
+ type: 'address',
2983
+ },
2984
+ {
2985
+ name: 'assetWeight',
2986
+ type: 'uint256',
2987
+ },
2988
+ {
2989
+ name: 'shouldFreezeWhenBadDebt',
2990
+ type: 'bool',
2991
+ },
2992
+ {
2993
+ name: 'lockTerms',
2994
+ type: 'tuple',
2995
+ components: [
2996
+ {
2997
+ name: 'minLockDuration',
2998
+ type: 'uint256',
2999
+ },
3000
+ {
3001
+ name: 'maxLockDuration',
3002
+ type: 'uint256',
3003
+ },
3004
+ {
3005
+ name: 'maxLockBoost',
3006
+ type: 'uint256',
3007
+ },
3008
+ {
3009
+ name: 'canExit',
3010
+ type: 'bool',
3011
+ },
3012
+ {
3013
+ name: 'exitFee',
3014
+ type: 'uint256',
3015
+ },
3016
+ ],
3017
+ },
3018
+ ],
3019
+ },
3020
+ ],
3021
+ },
3022
+ {
3023
+ stateMutability: 'view',
3024
+ type: 'function',
3025
+ name: 'pendingRipeAvailable',
3026
+ inputs: [
3027
+ {
3028
+ name: 'arg0',
3029
+ type: 'uint256',
3030
+ },
3031
+ ],
3032
+ outputs: [
3033
+ {
3034
+ name: '',
3035
+ type: 'uint256',
3036
+ },
3037
+ ],
3038
+ },
3039
+ {
3040
+ stateMutability: 'view',
3041
+ type: 'function',
3042
+ name: 'MIN_STALE_TIME',
3043
+ inputs: [],
3044
+ outputs: [
3045
+ {
3046
+ name: '',
3047
+ type: 'uint256',
3048
+ },
3049
+ ],
3050
+ },
3051
+ {
3052
+ stateMutability: 'view',
3053
+ type: 'function',
3054
+ name: 'MAX_STALE_TIME',
3055
+ inputs: [],
3056
+ outputs: [
3057
+ {
3058
+ name: '',
3059
+ type: 'uint256',
3060
+ },
3061
+ ],
3062
+ },
3063
+ {
3064
+ stateMutability: 'nonpayable',
3065
+ type: 'constructor',
3066
+ inputs: [
3067
+ {
3068
+ name: '_ripeHq',
3069
+ type: 'address',
3070
+ },
3071
+ {
3072
+ name: '_minStaleTime',
3073
+ type: 'uint256',
3074
+ },
3075
+ {
3076
+ name: '_maxStaleTime',
3077
+ type: 'uint256',
3078
+ },
3079
+ {
3080
+ name: '_minConfigTimeLock',
3081
+ type: 'uint256',
3082
+ },
3083
+ {
3084
+ name: '_maxConfigTimeLock',
3085
+ type: 'uint256',
3086
+ },
3087
+ ],
3088
+ outputs: [],
3089
+ },
3090
+ ];
3091
+ export const deployAddress = '0x88792a8C08dbE316bE6fe1778a00D461ABaBa92D';
3092
+ function getRequest(method, args, contractAddressOrOptions) {
3093
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
3094
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
3095
+ const call = {
3096
+ contractName: 'SwitchboardAlpha',
3097
+ method,
3098
+ args,
3099
+ address,
3100
+ deployAddress,
3101
+ defaultValue,
3102
+ getAbi: () => abi,
3103
+ with: (options) => {
3104
+ call.address = options.contractAddress;
3105
+ call.defaultValue = options.defaultValue;
3106
+ return call;
3107
+ },
3108
+ defaultTo: (defaultValue) => {
3109
+ call.defaultValue = defaultValue;
3110
+ return call;
3111
+ },
3112
+ at: (address) => {
3113
+ call.address = address;
3114
+ return call;
3115
+ },
3116
+ };
3117
+ return call;
3118
+ }
3119
+ export const call = {
3120
+ getRipeHqFromGov: (...args) => getRequest('getRipeHqFromGov', args),
3121
+ canGovern: (...args) => getRequest('canGovern', args),
3122
+ getGovernors: (...args) => getRequest('getGovernors', args),
3123
+ hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
3124
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
3125
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
3126
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
3127
+ governance: (...args) => getRequest('governance', args),
3128
+ pendingGov: (...args) => getRequest('pendingGov', args),
3129
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
3130
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
3131
+ canConfirmAction: (...args) => getRequest('canConfirmAction', args),
3132
+ isExpired: (...args) => getRequest('isExpired', args),
3133
+ hasPendingAction: (...args) => getRequest('hasPendingAction', args),
3134
+ getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
3135
+ isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
3136
+ minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
3137
+ maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
3138
+ pendingActions: (...args) => getRequest('pendingActions', args),
3139
+ actionId: (...args) => getRequest('actionId', args),
3140
+ actionTimeLock: (...args) => getRequest('actionTimeLock', args),
3141
+ expiration: (...args) => getRequest('expiration', args),
3142
+ areValidAuctionParams: (...args) => getRequest('areValidAuctionParams', args),
3143
+ actionType: (...args) => getRequest('actionType', args),
3144
+ pendingRipeRewardsConfig: (...args) => getRequest('pendingRipeRewardsConfig', args),
3145
+ pendingGeneralConfig: (...args) => getRequest('pendingGeneralConfig', args),
3146
+ pendingDebtConfig: (...args) => getRequest('pendingDebtConfig', args),
3147
+ pendingPriorityLiqAssetVaults: (...args) => getRequest('pendingPriorityLiqAssetVaults', args),
3148
+ pendingPriorityStabVaults: (...args) => getRequest('pendingPriorityStabVaults', args),
3149
+ pendingPriorityPriceSourceIds: (...args) => getRequest('pendingPriorityPriceSourceIds', args),
3150
+ pendingUnderscoreRegistry: (...args) => getRequest('pendingUnderscoreRegistry', args),
3151
+ pendingCanPerformLiteAction: (...args) => getRequest('pendingCanPerformLiteAction', args),
3152
+ pendingShouldCheckLastTouch: (...args) => getRequest('pendingShouldCheckLastTouch', args),
3153
+ pendingRipeGovVaultConfig: (...args) => getRequest('pendingRipeGovVaultConfig', args),
3154
+ pendingRipeAvailable: (...args) => getRequest('pendingRipeAvailable', args),
3155
+ MIN_STALE_TIME: (...args) => getRequest('MIN_STALE_TIME', args),
3156
+ MAX_STALE_TIME: (...args) => getRequest('MAX_STALE_TIME', args),
3157
+ };
3158
+ function getMutation(functionName) {
3159
+ return {
3160
+ contractName: 'SwitchboardAlpha',
3161
+ functionName,
3162
+ deployAddress,
3163
+ argsType: undefined,
3164
+ getAbi: () => abi,
3165
+ };
3166
+ }
3167
+ export const mutation = {
3168
+ startGovernanceChange: getMutation('startGovernanceChange'),
3169
+ confirmGovernanceChange: getMutation('confirmGovernanceChange'),
3170
+ cancelGovernanceChange: getMutation('cancelGovernanceChange'),
3171
+ setGovTimeLock: getMutation('setGovTimeLock'),
3172
+ finishRipeHqSetup: getMutation('finishRipeHqSetup'),
3173
+ setActionTimeLock: getMutation('setActionTimeLock'),
3174
+ setExpiration: getMutation('setExpiration'),
3175
+ setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
3176
+ setVaultLimits: getMutation('setVaultLimits'),
3177
+ setStaleTime: getMutation('setStaleTime'),
3178
+ setCanDeposit: getMutation('setCanDeposit'),
3179
+ setCanWithdraw: getMutation('setCanWithdraw'),
3180
+ setCanBorrow: getMutation('setCanBorrow'),
3181
+ setCanRepay: getMutation('setCanRepay'),
3182
+ setCanClaimLoot: getMutation('setCanClaimLoot'),
3183
+ setCanLiquidate: getMutation('setCanLiquidate'),
3184
+ setCanRedeemCollateral: getMutation('setCanRedeemCollateral'),
3185
+ setCanRedeemInStabPool: getMutation('setCanRedeemInStabPool'),
3186
+ setCanBuyInAuction: getMutation('setCanBuyInAuction'),
3187
+ setCanClaimInStabPool: getMutation('setCanClaimInStabPool'),
3188
+ setGlobalDebtLimits: getMutation('setGlobalDebtLimits'),
3189
+ setBorrowIntervalConfig: getMutation('setBorrowIntervalConfig'),
3190
+ setDynamicRateConfig: getMutation('setDynamicRateConfig'),
3191
+ setMaxLtvDeviation: getMutation('setMaxLtvDeviation'),
3192
+ setKeeperConfig: getMutation('setKeeperConfig'),
3193
+ setLtvPaybackBuffer: getMutation('setLtvPaybackBuffer'),
3194
+ setGenAuctionParams: getMutation('setGenAuctionParams'),
3195
+ setIsDaowryEnabled: getMutation('setIsDaowryEnabled'),
3196
+ setRipePerBlock: getMutation('setRipePerBlock'),
3197
+ setRipeRewardsAllocs: getMutation('setRipeRewardsAllocs'),
3198
+ setAutoStakeParams: getMutation('setAutoStakeParams'),
3199
+ setRewardsPointsEnabled: getMutation('setRewardsPointsEnabled'),
3200
+ setRipeAvailableForRewards: getMutation('setRipeAvailableForRewards'),
3201
+ setRipeAvailableForHr: getMutation('setRipeAvailableForHr'),
3202
+ setRipeAvailableForBonds: getMutation('setRipeAvailableForBonds'),
3203
+ setPriorityLiqAssetVaults: getMutation('setPriorityLiqAssetVaults'),
3204
+ setPriorityStabVaults: getMutation('setPriorityStabVaults'),
3205
+ setPriorityPriceSourceIds: getMutation('setPriorityPriceSourceIds'),
3206
+ setUnderscoreRegistry: getMutation('setUnderscoreRegistry'),
3207
+ setCanPerformLiteAction: getMutation('setCanPerformLiteAction'),
3208
+ setShouldCheckLastTouch: getMutation('setShouldCheckLastTouch'),
3209
+ setRipeGovVaultConfig: getMutation('setRipeGovVaultConfig'),
3210
+ executePendingAction: getMutation('executePendingAction'),
3211
+ cancelPendingAction: getMutation('cancelPendingAction'),
3212
+ };
3213
+ export function toSdk(publicClient, walletClient) {
3214
+ return {
3215
+ deployAddress,
3216
+ abi,
3217
+ // Queries
3218
+ getRipeHqFromGov: (...args) => singleQuery(publicClient, call.getRipeHqFromGov(...args)),
3219
+ canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
3220
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
3221
+ hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
3222
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
3223
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
3224
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
3225
+ governance: (...args) => singleQuery(publicClient, call.governance(...args)),
3226
+ pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
3227
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
3228
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
3229
+ canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
3230
+ isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
3231
+ hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
3232
+ getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
3233
+ isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
3234
+ minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
3235
+ maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
3236
+ pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
3237
+ actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
3238
+ actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
3239
+ expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
3240
+ areValidAuctionParams: (...args) => singleQuery(publicClient, call.areValidAuctionParams(...args)),
3241
+ actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
3242
+ pendingRipeRewardsConfig: (...args) => singleQuery(publicClient, call.pendingRipeRewardsConfig(...args)),
3243
+ pendingGeneralConfig: (...args) => singleQuery(publicClient, call.pendingGeneralConfig(...args)),
3244
+ pendingDebtConfig: (...args) => singleQuery(publicClient, call.pendingDebtConfig(...args)),
3245
+ pendingPriorityLiqAssetVaults: (...args) => singleQuery(publicClient, call.pendingPriorityLiqAssetVaults(...args)),
3246
+ pendingPriorityStabVaults: (...args) => singleQuery(publicClient, call.pendingPriorityStabVaults(...args)),
3247
+ pendingPriorityPriceSourceIds: (...args) => singleQuery(publicClient, call.pendingPriorityPriceSourceIds(...args)),
3248
+ pendingUnderscoreRegistry: (...args) => singleQuery(publicClient, call.pendingUnderscoreRegistry(...args)),
3249
+ pendingCanPerformLiteAction: (...args) => singleQuery(publicClient, call.pendingCanPerformLiteAction(...args)),
3250
+ pendingShouldCheckLastTouch: (...args) => singleQuery(publicClient, call.pendingShouldCheckLastTouch(...args)),
3251
+ pendingRipeGovVaultConfig: (...args) => singleQuery(publicClient, call.pendingRipeGovVaultConfig(...args)),
3252
+ pendingRipeAvailable: (...args) => singleQuery(publicClient, call.pendingRipeAvailable(...args)),
3253
+ MIN_STALE_TIME: (...args) => singleQuery(publicClient, call.MIN_STALE_TIME(...args)),
3254
+ MAX_STALE_TIME: (...args) => singleQuery(publicClient, call.MAX_STALE_TIME(...args)),
3255
+ // Mutations
3256
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
3257
+ confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
3258
+ cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
3259
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
3260
+ finishRipeHqSetup: (...args) => mutate(walletClient, mutation.finishRipeHqSetup)(...args),
3261
+ setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
3262
+ setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
3263
+ setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
3264
+ setVaultLimits: (...args) => mutate(walletClient, mutation.setVaultLimits)(...args),
3265
+ setStaleTime: (...args) => mutate(walletClient, mutation.setStaleTime)(...args),
3266
+ setCanDeposit: (...args) => mutate(walletClient, mutation.setCanDeposit)(...args),
3267
+ setCanWithdraw: (...args) => mutate(walletClient, mutation.setCanWithdraw)(...args),
3268
+ setCanBorrow: (...args) => mutate(walletClient, mutation.setCanBorrow)(...args),
3269
+ setCanRepay: (...args) => mutate(walletClient, mutation.setCanRepay)(...args),
3270
+ setCanClaimLoot: (...args) => mutate(walletClient, mutation.setCanClaimLoot)(...args),
3271
+ setCanLiquidate: (...args) => mutate(walletClient, mutation.setCanLiquidate)(...args),
3272
+ setCanRedeemCollateral: (...args) => mutate(walletClient, mutation.setCanRedeemCollateral)(...args),
3273
+ setCanRedeemInStabPool: (...args) => mutate(walletClient, mutation.setCanRedeemInStabPool)(...args),
3274
+ setCanBuyInAuction: (...args) => mutate(walletClient, mutation.setCanBuyInAuction)(...args),
3275
+ setCanClaimInStabPool: (...args) => mutate(walletClient, mutation.setCanClaimInStabPool)(...args),
3276
+ setGlobalDebtLimits: (...args) => mutate(walletClient, mutation.setGlobalDebtLimits)(...args),
3277
+ setBorrowIntervalConfig: (...args) => mutate(walletClient, mutation.setBorrowIntervalConfig)(...args),
3278
+ setDynamicRateConfig: (...args) => mutate(walletClient, mutation.setDynamicRateConfig)(...args),
3279
+ setMaxLtvDeviation: (...args) => mutate(walletClient, mutation.setMaxLtvDeviation)(...args),
3280
+ setKeeperConfig: (...args) => mutate(walletClient, mutation.setKeeperConfig)(...args),
3281
+ setLtvPaybackBuffer: (...args) => mutate(walletClient, mutation.setLtvPaybackBuffer)(...args),
3282
+ setGenAuctionParams: (...args) => mutate(walletClient, mutation.setGenAuctionParams)(...args),
3283
+ setIsDaowryEnabled: (...args) => mutate(walletClient, mutation.setIsDaowryEnabled)(...args),
3284
+ setRipePerBlock: (...args) => mutate(walletClient, mutation.setRipePerBlock)(...args),
3285
+ setRipeRewardsAllocs: (...args) => mutate(walletClient, mutation.setRipeRewardsAllocs)(...args),
3286
+ setAutoStakeParams: (...args) => mutate(walletClient, mutation.setAutoStakeParams)(...args),
3287
+ setRewardsPointsEnabled: (...args) => mutate(walletClient, mutation.setRewardsPointsEnabled)(...args),
3288
+ setRipeAvailableForRewards: (...args) => mutate(walletClient, mutation.setRipeAvailableForRewards)(...args),
3289
+ setRipeAvailableForHr: (...args) => mutate(walletClient, mutation.setRipeAvailableForHr)(...args),
3290
+ setRipeAvailableForBonds: (...args) => mutate(walletClient, mutation.setRipeAvailableForBonds)(...args),
3291
+ setPriorityLiqAssetVaults: (...args) => mutate(walletClient, mutation.setPriorityLiqAssetVaults)(...args),
3292
+ setPriorityStabVaults: (...args) => mutate(walletClient, mutation.setPriorityStabVaults)(...args),
3293
+ setPriorityPriceSourceIds: (...args) => mutate(walletClient, mutation.setPriorityPriceSourceIds)(...args),
3294
+ setUnderscoreRegistry: (...args) => mutate(walletClient, mutation.setUnderscoreRegistry)(...args),
3295
+ setCanPerformLiteAction: (...args) => mutate(walletClient, mutation.setCanPerformLiteAction)(...args),
3296
+ setShouldCheckLastTouch: (...args) => mutate(walletClient, mutation.setShouldCheckLastTouch)(...args),
3297
+ setRipeGovVaultConfig: (...args) => mutate(walletClient, mutation.setRipeGovVaultConfig)(...args),
3298
+ executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
3299
+ cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
3300
+ };
3301
+ }