@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,4642 @@
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: 'PendingRecoverFundsAction',
9
+ inputs: [
10
+ {
11
+ name: 'contractAddr',
12
+ type: 'address',
13
+ indexed: true,
14
+ },
15
+ {
16
+ name: 'recipient',
17
+ type: 'address',
18
+ indexed: true,
19
+ },
20
+ {
21
+ name: 'asset',
22
+ type: 'address',
23
+ indexed: true,
24
+ },
25
+ {
26
+ name: 'confirmationBlock',
27
+ type: 'uint256',
28
+ indexed: false,
29
+ },
30
+ {
31
+ name: 'actionId',
32
+ type: 'uint256',
33
+ indexed: false,
34
+ },
35
+ ],
36
+ anonymous: false,
37
+ type: 'event',
38
+ },
39
+ {
40
+ name: 'PendingRecoverFundsManyAction',
41
+ inputs: [
42
+ {
43
+ name: 'contractAddr',
44
+ type: 'address',
45
+ indexed: true,
46
+ },
47
+ {
48
+ name: 'recipient',
49
+ type: 'address',
50
+ indexed: true,
51
+ },
52
+ {
53
+ name: 'numAssets',
54
+ type: 'uint256',
55
+ indexed: false,
56
+ },
57
+ {
58
+ name: 'confirmationBlock',
59
+ type: 'uint256',
60
+ indexed: false,
61
+ },
62
+ {
63
+ name: 'actionId',
64
+ type: 'uint256',
65
+ indexed: false,
66
+ },
67
+ ],
68
+ anonymous: false,
69
+ type: 'event',
70
+ },
71
+ {
72
+ name: 'PendingStartAuctionAction',
73
+ inputs: [
74
+ {
75
+ name: 'liqUser',
76
+ type: 'address',
77
+ indexed: true,
78
+ },
79
+ {
80
+ name: 'vaultId',
81
+ type: 'uint256',
82
+ indexed: false,
83
+ },
84
+ {
85
+ name: 'asset',
86
+ type: 'address',
87
+ indexed: true,
88
+ },
89
+ {
90
+ name: 'confirmationBlock',
91
+ type: 'uint256',
92
+ indexed: false,
93
+ },
94
+ {
95
+ name: 'actionId',
96
+ type: 'uint256',
97
+ indexed: false,
98
+ },
99
+ ],
100
+ anonymous: false,
101
+ type: 'event',
102
+ },
103
+ {
104
+ name: 'PendingStartManyAuctionsAction',
105
+ inputs: [
106
+ {
107
+ name: 'numAuctions',
108
+ type: 'uint256',
109
+ indexed: false,
110
+ },
111
+ {
112
+ name: 'confirmationBlock',
113
+ type: 'uint256',
114
+ indexed: false,
115
+ },
116
+ {
117
+ name: 'actionId',
118
+ type: 'uint256',
119
+ indexed: false,
120
+ },
121
+ ],
122
+ anonymous: false,
123
+ type: 'event',
124
+ },
125
+ {
126
+ name: 'PendingPauseAuctionAction',
127
+ inputs: [
128
+ {
129
+ name: 'liqUser',
130
+ type: 'address',
131
+ indexed: true,
132
+ },
133
+ {
134
+ name: 'vaultId',
135
+ type: 'uint256',
136
+ indexed: false,
137
+ },
138
+ {
139
+ name: 'asset',
140
+ type: 'address',
141
+ indexed: true,
142
+ },
143
+ {
144
+ name: 'confirmationBlock',
145
+ type: 'uint256',
146
+ indexed: false,
147
+ },
148
+ {
149
+ name: 'actionId',
150
+ type: 'uint256',
151
+ indexed: false,
152
+ },
153
+ ],
154
+ anonymous: false,
155
+ type: 'event',
156
+ },
157
+ {
158
+ name: 'PendingPauseManyAuctionsAction',
159
+ inputs: [
160
+ {
161
+ name: 'numAuctions',
162
+ type: 'uint256',
163
+ indexed: false,
164
+ },
165
+ {
166
+ name: 'confirmationBlock',
167
+ type: 'uint256',
168
+ indexed: false,
169
+ },
170
+ {
171
+ name: 'actionId',
172
+ type: 'uint256',
173
+ indexed: false,
174
+ },
175
+ ],
176
+ anonymous: false,
177
+ type: 'event',
178
+ },
179
+ {
180
+ name: 'PendingEndaoSwapAction',
181
+ inputs: [
182
+ {
183
+ name: 'numSwapInstructions',
184
+ type: 'uint256',
185
+ indexed: false,
186
+ },
187
+ {
188
+ name: 'confirmationBlock',
189
+ type: 'uint256',
190
+ indexed: false,
191
+ },
192
+ {
193
+ name: 'actionId',
194
+ type: 'uint256',
195
+ indexed: false,
196
+ },
197
+ ],
198
+ anonymous: false,
199
+ type: 'event',
200
+ },
201
+ {
202
+ name: 'PendingEndaoAddLiquidityAction',
203
+ inputs: [
204
+ {
205
+ name: 'legoId',
206
+ type: 'uint256',
207
+ indexed: false,
208
+ },
209
+ {
210
+ name: 'pool',
211
+ type: 'address',
212
+ indexed: true,
213
+ },
214
+ {
215
+ name: 'tokenA',
216
+ type: 'address',
217
+ indexed: true,
218
+ },
219
+ {
220
+ name: 'tokenB',
221
+ type: 'address',
222
+ indexed: true,
223
+ },
224
+ {
225
+ name: 'confirmationBlock',
226
+ type: 'uint256',
227
+ indexed: false,
228
+ },
229
+ {
230
+ name: 'actionId',
231
+ type: 'uint256',
232
+ indexed: false,
233
+ },
234
+ ],
235
+ anonymous: false,
236
+ type: 'event',
237
+ },
238
+ {
239
+ name: 'PendingEndaoRemoveLiquidityAction',
240
+ inputs: [
241
+ {
242
+ name: 'legoId',
243
+ type: 'uint256',
244
+ indexed: false,
245
+ },
246
+ {
247
+ name: 'pool',
248
+ type: 'address',
249
+ indexed: true,
250
+ },
251
+ {
252
+ name: 'tokenA',
253
+ type: 'address',
254
+ indexed: true,
255
+ },
256
+ {
257
+ name: 'tokenB',
258
+ type: 'address',
259
+ indexed: true,
260
+ },
261
+ {
262
+ name: 'confirmationBlock',
263
+ type: 'uint256',
264
+ indexed: false,
265
+ },
266
+ {
267
+ name: 'actionId',
268
+ type: 'uint256',
269
+ indexed: false,
270
+ },
271
+ ],
272
+ anonymous: false,
273
+ type: 'event',
274
+ },
275
+ {
276
+ name: 'PendingEndaoPartnerMintAction',
277
+ inputs: [
278
+ {
279
+ name: 'partner',
280
+ type: 'address',
281
+ indexed: true,
282
+ },
283
+ {
284
+ name: 'asset',
285
+ type: 'address',
286
+ indexed: true,
287
+ },
288
+ {
289
+ name: 'amount',
290
+ type: 'uint256',
291
+ indexed: false,
292
+ },
293
+ {
294
+ name: 'confirmationBlock',
295
+ type: 'uint256',
296
+ indexed: false,
297
+ },
298
+ {
299
+ name: 'actionId',
300
+ type: 'uint256',
301
+ indexed: false,
302
+ },
303
+ ],
304
+ anonymous: false,
305
+ type: 'event',
306
+ },
307
+ {
308
+ name: 'PendingEndaoPartnerPoolAction',
309
+ inputs: [
310
+ {
311
+ name: 'legoId',
312
+ type: 'uint256',
313
+ indexed: false,
314
+ },
315
+ {
316
+ name: 'pool',
317
+ type: 'address',
318
+ indexed: true,
319
+ },
320
+ {
321
+ name: 'partner',
322
+ type: 'address',
323
+ indexed: true,
324
+ },
325
+ {
326
+ name: 'asset',
327
+ type: 'address',
328
+ indexed: true,
329
+ },
330
+ {
331
+ name: 'confirmationBlock',
332
+ type: 'uint256',
333
+ indexed: false,
334
+ },
335
+ {
336
+ name: 'actionId',
337
+ type: 'uint256',
338
+ indexed: false,
339
+ },
340
+ ],
341
+ anonymous: false,
342
+ type: 'event',
343
+ },
344
+ {
345
+ name: 'PendingEndaoRepayAction',
346
+ inputs: [
347
+ {
348
+ name: 'pool',
349
+ type: 'address',
350
+ indexed: true,
351
+ },
352
+ {
353
+ name: 'amount',
354
+ type: 'uint256',
355
+ indexed: false,
356
+ },
357
+ {
358
+ name: 'confirmationBlock',
359
+ type: 'uint256',
360
+ indexed: false,
361
+ },
362
+ {
363
+ name: 'actionId',
364
+ type: 'uint256',
365
+ indexed: false,
366
+ },
367
+ ],
368
+ anonymous: false,
369
+ type: 'event',
370
+ },
371
+ {
372
+ name: 'PendingTrainingWheelsChange',
373
+ inputs: [
374
+ {
375
+ name: 'trainingWheels',
376
+ type: 'address',
377
+ indexed: true,
378
+ },
379
+ {
380
+ name: 'confirmationBlock',
381
+ type: 'uint256',
382
+ indexed: false,
383
+ },
384
+ {
385
+ name: 'actionId',
386
+ type: 'uint256',
387
+ indexed: false,
388
+ },
389
+ ],
390
+ anonymous: false,
391
+ type: 'event',
392
+ },
393
+ {
394
+ name: 'PendingEndaoRecoverNftAction',
395
+ inputs: [
396
+ {
397
+ name: 'collection',
398
+ type: 'address',
399
+ indexed: true,
400
+ },
401
+ {
402
+ name: 'nftTokenId',
403
+ type: 'uint256',
404
+ indexed: false,
405
+ },
406
+ {
407
+ name: 'recipient',
408
+ type: 'address',
409
+ indexed: true,
410
+ },
411
+ {
412
+ name: 'confirmationBlock',
413
+ type: 'uint256',
414
+ indexed: false,
415
+ },
416
+ {
417
+ name: 'actionId',
418
+ type: 'uint256',
419
+ indexed: false,
420
+ },
421
+ ],
422
+ anonymous: false,
423
+ type: 'event',
424
+ },
425
+ {
426
+ name: 'PauseExecuted',
427
+ inputs: [
428
+ {
429
+ name: 'contractAddr',
430
+ type: 'address',
431
+ indexed: true,
432
+ },
433
+ {
434
+ name: 'shouldPause',
435
+ type: 'bool',
436
+ indexed: false,
437
+ },
438
+ ],
439
+ anonymous: false,
440
+ type: 'event',
441
+ },
442
+ {
443
+ name: 'RecoverFundsExecuted',
444
+ inputs: [
445
+ {
446
+ name: 'contractAddr',
447
+ type: 'address',
448
+ indexed: true,
449
+ },
450
+ {
451
+ name: 'recipient',
452
+ type: 'address',
453
+ indexed: true,
454
+ },
455
+ {
456
+ name: 'asset',
457
+ type: 'address',
458
+ indexed: true,
459
+ },
460
+ ],
461
+ anonymous: false,
462
+ type: 'event',
463
+ },
464
+ {
465
+ name: 'RecoverFundsManyExecuted',
466
+ inputs: [
467
+ {
468
+ name: 'contractAddr',
469
+ type: 'address',
470
+ indexed: true,
471
+ },
472
+ {
473
+ name: 'recipient',
474
+ type: 'address',
475
+ indexed: true,
476
+ },
477
+ {
478
+ name: 'numAssets',
479
+ type: 'uint256',
480
+ indexed: false,
481
+ },
482
+ ],
483
+ anonymous: false,
484
+ type: 'event',
485
+ },
486
+ {
487
+ name: 'StartAuctionExecuted',
488
+ inputs: [
489
+ {
490
+ name: 'liqUser',
491
+ type: 'address',
492
+ indexed: true,
493
+ },
494
+ {
495
+ name: 'vaultId',
496
+ type: 'uint256',
497
+ indexed: false,
498
+ },
499
+ {
500
+ name: 'asset',
501
+ type: 'address',
502
+ indexed: true,
503
+ },
504
+ {
505
+ name: 'success',
506
+ type: 'bool',
507
+ indexed: false,
508
+ },
509
+ ],
510
+ anonymous: false,
511
+ type: 'event',
512
+ },
513
+ {
514
+ name: 'StartManyAuctionsExecuted',
515
+ inputs: [
516
+ {
517
+ name: 'numAuctionsStarted',
518
+ type: 'uint256',
519
+ indexed: false,
520
+ },
521
+ ],
522
+ anonymous: false,
523
+ type: 'event',
524
+ },
525
+ {
526
+ name: 'PauseAuctionExecuted',
527
+ inputs: [
528
+ {
529
+ name: 'liqUser',
530
+ type: 'address',
531
+ indexed: true,
532
+ },
533
+ {
534
+ name: 'vaultId',
535
+ type: 'uint256',
536
+ indexed: false,
537
+ },
538
+ {
539
+ name: 'asset',
540
+ type: 'address',
541
+ indexed: true,
542
+ },
543
+ {
544
+ name: 'success',
545
+ type: 'bool',
546
+ indexed: false,
547
+ },
548
+ ],
549
+ anonymous: false,
550
+ type: 'event',
551
+ },
552
+ {
553
+ name: 'PauseManyAuctionsExecuted',
554
+ inputs: [
555
+ {
556
+ name: 'numAuctionsPaused',
557
+ type: 'uint256',
558
+ indexed: false,
559
+ },
560
+ ],
561
+ anonymous: false,
562
+ type: 'event',
563
+ },
564
+ {
565
+ name: 'BlacklistSet',
566
+ inputs: [
567
+ {
568
+ name: 'tokenAddr',
569
+ type: 'address',
570
+ indexed: true,
571
+ },
572
+ {
573
+ name: 'addr',
574
+ type: 'address',
575
+ indexed: true,
576
+ },
577
+ {
578
+ name: 'isBlacklisted',
579
+ type: 'bool',
580
+ indexed: false,
581
+ },
582
+ {
583
+ name: 'caller',
584
+ type: 'address',
585
+ indexed: true,
586
+ },
587
+ ],
588
+ anonymous: false,
589
+ type: 'event',
590
+ },
591
+ {
592
+ name: 'LockedAccountSet',
593
+ inputs: [
594
+ {
595
+ name: 'wallet',
596
+ type: 'address',
597
+ indexed: true,
598
+ },
599
+ {
600
+ name: 'isLocked',
601
+ type: 'bool',
602
+ indexed: false,
603
+ },
604
+ {
605
+ name: 'caller',
606
+ type: 'address',
607
+ indexed: true,
608
+ },
609
+ ],
610
+ anonymous: false,
611
+ type: 'event',
612
+ },
613
+ {
614
+ name: 'PendingSetManyTrainingWheelsAccess',
615
+ inputs: [
616
+ {
617
+ name: 'addr',
618
+ type: 'address',
619
+ indexed: true,
620
+ },
621
+ {
622
+ name: 'numTrainingWheels',
623
+ type: 'uint256',
624
+ indexed: false,
625
+ },
626
+ {
627
+ name: 'confirmationBlock',
628
+ type: 'uint256',
629
+ indexed: false,
630
+ },
631
+ {
632
+ name: 'actionId',
633
+ type: 'uint256',
634
+ indexed: false,
635
+ },
636
+ ],
637
+ anonymous: false,
638
+ type: 'event',
639
+ },
640
+ {
641
+ name: 'DebtUpdatedForUser',
642
+ inputs: [
643
+ {
644
+ name: 'user',
645
+ type: 'address',
646
+ indexed: true,
647
+ },
648
+ {
649
+ name: 'success',
650
+ type: 'bool',
651
+ indexed: false,
652
+ },
653
+ {
654
+ name: 'caller',
655
+ type: 'address',
656
+ indexed: true,
657
+ },
658
+ ],
659
+ anonymous: false,
660
+ type: 'event',
661
+ },
662
+ {
663
+ name: 'DebtUpdatedForManyUsers',
664
+ inputs: [
665
+ {
666
+ name: 'numUsers',
667
+ type: 'uint256',
668
+ indexed: false,
669
+ },
670
+ {
671
+ name: 'caller',
672
+ type: 'address',
673
+ indexed: true,
674
+ },
675
+ ],
676
+ anonymous: false,
677
+ type: 'event',
678
+ },
679
+ {
680
+ name: 'LootClaimedForUser',
681
+ inputs: [
682
+ {
683
+ name: 'user',
684
+ type: 'address',
685
+ indexed: true,
686
+ },
687
+ {
688
+ name: 'caller',
689
+ type: 'address',
690
+ indexed: true,
691
+ },
692
+ {
693
+ name: 'shouldStake',
694
+ type: 'bool',
695
+ indexed: false,
696
+ },
697
+ {
698
+ name: 'ripeAmount',
699
+ type: 'uint256',
700
+ indexed: false,
701
+ },
702
+ ],
703
+ anonymous: false,
704
+ type: 'event',
705
+ },
706
+ {
707
+ name: 'LootClaimedForManyUsers',
708
+ inputs: [
709
+ {
710
+ name: 'numUsers',
711
+ type: 'uint256',
712
+ indexed: false,
713
+ },
714
+ {
715
+ name: 'caller',
716
+ type: 'address',
717
+ indexed: true,
718
+ },
719
+ {
720
+ name: 'shouldStake',
721
+ type: 'bool',
722
+ indexed: false,
723
+ },
724
+ {
725
+ name: 'totalRipeAmount',
726
+ type: 'uint256',
727
+ indexed: false,
728
+ },
729
+ ],
730
+ anonymous: false,
731
+ type: 'event',
732
+ },
733
+ {
734
+ name: 'RipeRewardsUpdated',
735
+ inputs: [
736
+ {
737
+ name: 'caller',
738
+ type: 'address',
739
+ indexed: true,
740
+ },
741
+ {
742
+ name: 'success',
743
+ type: 'bool',
744
+ indexed: false,
745
+ },
746
+ ],
747
+ anonymous: false,
748
+ type: 'event',
749
+ },
750
+ {
751
+ name: 'DepositLootClaimedForAsset',
752
+ inputs: [
753
+ {
754
+ name: 'user',
755
+ type: 'address',
756
+ indexed: true,
757
+ },
758
+ {
759
+ name: 'vaultId',
760
+ type: 'uint256',
761
+ indexed: false,
762
+ },
763
+ {
764
+ name: 'asset',
765
+ type: 'address',
766
+ indexed: true,
767
+ },
768
+ {
769
+ name: 'ripeAmount',
770
+ type: 'uint256',
771
+ indexed: false,
772
+ },
773
+ {
774
+ name: 'caller',
775
+ type: 'address',
776
+ indexed: true,
777
+ },
778
+ ],
779
+ anonymous: false,
780
+ type: 'event',
781
+ },
782
+ {
783
+ name: 'DepositPointsUpdated',
784
+ inputs: [
785
+ {
786
+ name: 'user',
787
+ type: 'address',
788
+ indexed: true,
789
+ },
790
+ {
791
+ name: 'vaultId',
792
+ type: 'uint256',
793
+ indexed: false,
794
+ },
795
+ {
796
+ name: 'asset',
797
+ type: 'address',
798
+ indexed: true,
799
+ },
800
+ {
801
+ name: 'caller',
802
+ type: 'address',
803
+ indexed: true,
804
+ },
805
+ ],
806
+ anonymous: false,
807
+ type: 'event',
808
+ },
809
+ {
810
+ name: 'EndaomentDepositPerformed',
811
+ inputs: [
812
+ {
813
+ name: 'legoId',
814
+ type: 'uint256',
815
+ indexed: false,
816
+ },
817
+ {
818
+ name: 'asset',
819
+ type: 'address',
820
+ indexed: true,
821
+ },
822
+ {
823
+ name: 'vault',
824
+ type: 'address',
825
+ indexed: true,
826
+ },
827
+ {
828
+ name: 'amount',
829
+ type: 'uint256',
830
+ indexed: false,
831
+ },
832
+ {
833
+ name: 'caller',
834
+ type: 'address',
835
+ indexed: true,
836
+ },
837
+ ],
838
+ anonymous: false,
839
+ type: 'event',
840
+ },
841
+ {
842
+ name: 'EndaomentWithdrawalPerformed',
843
+ inputs: [
844
+ {
845
+ name: 'legoId',
846
+ type: 'uint256',
847
+ indexed: false,
848
+ },
849
+ {
850
+ name: 'asset',
851
+ type: 'address',
852
+ indexed: true,
853
+ },
854
+ {
855
+ name: 'vaultAddr',
856
+ type: 'address',
857
+ indexed: true,
858
+ },
859
+ {
860
+ name: 'withdrawAmount',
861
+ type: 'uint256',
862
+ indexed: false,
863
+ },
864
+ {
865
+ name: 'hasVaultToken',
866
+ type: 'bool',
867
+ indexed: false,
868
+ },
869
+ {
870
+ name: 'caller',
871
+ type: 'address',
872
+ indexed: true,
873
+ },
874
+ ],
875
+ anonymous: false,
876
+ type: 'event',
877
+ },
878
+ {
879
+ name: 'EndaomentReblanacePerformed',
880
+ inputs: [
881
+ {
882
+ name: 'fromLegoId',
883
+ type: 'uint256',
884
+ indexed: false,
885
+ },
886
+ {
887
+ name: 'fromAsset',
888
+ type: 'address',
889
+ indexed: true,
890
+ },
891
+ {
892
+ name: 'fromVaultAddr',
893
+ type: 'address',
894
+ indexed: false,
895
+ },
896
+ {
897
+ name: 'toLegoId',
898
+ type: 'uint256',
899
+ indexed: false,
900
+ },
901
+ {
902
+ name: 'toVaultAddr',
903
+ type: 'address',
904
+ indexed: true,
905
+ },
906
+ {
907
+ name: 'caller',
908
+ type: 'address',
909
+ indexed: true,
910
+ },
911
+ ],
912
+ anonymous: false,
913
+ type: 'event',
914
+ },
915
+ {
916
+ name: 'EndaomentEthToWethPerformed',
917
+ inputs: [
918
+ {
919
+ name: 'amount',
920
+ type: 'uint256',
921
+ indexed: false,
922
+ },
923
+ {
924
+ name: 'depositLegoId',
925
+ type: 'uint256',
926
+ indexed: false,
927
+ },
928
+ {
929
+ name: 'depositVault',
930
+ type: 'address',
931
+ indexed: true,
932
+ },
933
+ {
934
+ name: 'caller',
935
+ type: 'address',
936
+ indexed: true,
937
+ },
938
+ ],
939
+ anonymous: false,
940
+ type: 'event',
941
+ },
942
+ {
943
+ name: 'EndaomentWethToEthPerformed',
944
+ inputs: [
945
+ {
946
+ name: 'amount',
947
+ type: 'uint256',
948
+ indexed: false,
949
+ },
950
+ {
951
+ name: 'recipient',
952
+ type: 'address',
953
+ indexed: true,
954
+ },
955
+ {
956
+ name: 'withdrawLegoId',
957
+ type: 'uint256',
958
+ indexed: false,
959
+ },
960
+ {
961
+ name: 'withdrawVaultAddr',
962
+ type: 'address',
963
+ indexed: true,
964
+ },
965
+ {
966
+ name: 'hasWithdrawVaultToken',
967
+ type: 'bool',
968
+ indexed: false,
969
+ },
970
+ {
971
+ name: 'caller',
972
+ type: 'address',
973
+ indexed: true,
974
+ },
975
+ ],
976
+ anonymous: false,
977
+ type: 'event',
978
+ },
979
+ {
980
+ name: 'EndaomentClaimPerformed',
981
+ inputs: [
982
+ {
983
+ name: 'legoId',
984
+ type: 'uint256',
985
+ indexed: false,
986
+ },
987
+ {
988
+ name: 'market',
989
+ type: 'address',
990
+ indexed: true,
991
+ },
992
+ {
993
+ name: 'rewardToken',
994
+ type: 'address',
995
+ indexed: true,
996
+ },
997
+ {
998
+ name: 'caller',
999
+ type: 'address',
1000
+ indexed: true,
1001
+ },
1002
+ ],
1003
+ anonymous: false,
1004
+ type: 'event',
1005
+ },
1006
+ {
1007
+ name: 'EndaomentStabilizerPerformed',
1008
+ inputs: [
1009
+ {
1010
+ name: 'success',
1011
+ type: 'bool',
1012
+ indexed: false,
1013
+ },
1014
+ {
1015
+ name: 'caller',
1016
+ type: 'address',
1017
+ indexed: true,
1018
+ },
1019
+ ],
1020
+ anonymous: false,
1021
+ type: 'event',
1022
+ },
1023
+ {
1024
+ name: 'EndaoSwapExecuted',
1025
+ inputs: [
1026
+ {
1027
+ name: 'numSwapInstructions',
1028
+ type: 'uint256',
1029
+ indexed: false,
1030
+ },
1031
+ ],
1032
+ anonymous: false,
1033
+ type: 'event',
1034
+ },
1035
+ {
1036
+ name: 'EndaoAddLiquidityExecuted',
1037
+ inputs: [
1038
+ {
1039
+ name: 'legoId',
1040
+ type: 'uint256',
1041
+ indexed: false,
1042
+ },
1043
+ {
1044
+ name: 'pool',
1045
+ type: 'address',
1046
+ indexed: true,
1047
+ },
1048
+ {
1049
+ name: 'tokenA',
1050
+ type: 'address',
1051
+ indexed: true,
1052
+ },
1053
+ {
1054
+ name: 'tokenB',
1055
+ type: 'address',
1056
+ indexed: true,
1057
+ },
1058
+ ],
1059
+ anonymous: false,
1060
+ type: 'event',
1061
+ },
1062
+ {
1063
+ name: 'EndaoRemoveLiquidityExecuted',
1064
+ inputs: [
1065
+ {
1066
+ name: 'legoId',
1067
+ type: 'uint256',
1068
+ indexed: false,
1069
+ },
1070
+ {
1071
+ name: 'pool',
1072
+ type: 'address',
1073
+ indexed: true,
1074
+ },
1075
+ {
1076
+ name: 'tokenA',
1077
+ type: 'address',
1078
+ indexed: true,
1079
+ },
1080
+ {
1081
+ name: 'tokenB',
1082
+ type: 'address',
1083
+ indexed: true,
1084
+ },
1085
+ ],
1086
+ anonymous: false,
1087
+ type: 'event',
1088
+ },
1089
+ {
1090
+ name: 'EndaoPartnerMintExecuted',
1091
+ inputs: [
1092
+ {
1093
+ name: 'partner',
1094
+ type: 'address',
1095
+ indexed: true,
1096
+ },
1097
+ {
1098
+ name: 'asset',
1099
+ type: 'address',
1100
+ indexed: true,
1101
+ },
1102
+ {
1103
+ name: 'greenMinted',
1104
+ type: 'uint256',
1105
+ indexed: false,
1106
+ },
1107
+ ],
1108
+ anonymous: false,
1109
+ type: 'event',
1110
+ },
1111
+ {
1112
+ name: 'EndaoPartnerPoolExecuted',
1113
+ inputs: [
1114
+ {
1115
+ name: 'legoId',
1116
+ type: 'uint256',
1117
+ indexed: false,
1118
+ },
1119
+ {
1120
+ name: 'pool',
1121
+ type: 'address',
1122
+ indexed: true,
1123
+ },
1124
+ {
1125
+ name: 'partner',
1126
+ type: 'address',
1127
+ indexed: true,
1128
+ },
1129
+ {
1130
+ name: 'asset',
1131
+ type: 'address',
1132
+ indexed: true,
1133
+ },
1134
+ ],
1135
+ anonymous: false,
1136
+ type: 'event',
1137
+ },
1138
+ {
1139
+ name: 'EndaoRepayExecuted',
1140
+ inputs: [
1141
+ {
1142
+ name: 'pool',
1143
+ type: 'address',
1144
+ indexed: true,
1145
+ },
1146
+ {
1147
+ name: 'success',
1148
+ type: 'bool',
1149
+ indexed: false,
1150
+ },
1151
+ ],
1152
+ anonymous: false,
1153
+ type: 'event',
1154
+ },
1155
+ {
1156
+ name: 'EndaoRecoverNftExecuted',
1157
+ inputs: [
1158
+ {
1159
+ name: 'collection',
1160
+ type: 'address',
1161
+ indexed: true,
1162
+ },
1163
+ {
1164
+ name: 'nftTokenId',
1165
+ type: 'uint256',
1166
+ indexed: false,
1167
+ },
1168
+ {
1169
+ name: 'recipient',
1170
+ type: 'address',
1171
+ indexed: true,
1172
+ },
1173
+ {
1174
+ name: 'success',
1175
+ type: 'bool',
1176
+ indexed: false,
1177
+ },
1178
+ ],
1179
+ anonymous: false,
1180
+ type: 'event',
1181
+ },
1182
+ {
1183
+ name: 'TrainingWheelsSet',
1184
+ inputs: [
1185
+ {
1186
+ name: 'trainingWheels',
1187
+ type: 'address',
1188
+ indexed: true,
1189
+ },
1190
+ ],
1191
+ anonymous: false,
1192
+ type: 'event',
1193
+ },
1194
+ {
1195
+ name: 'SetManyTrainingWheelsAccessExecuted',
1196
+ inputs: [
1197
+ {
1198
+ name: 'addr',
1199
+ type: 'address',
1200
+ indexed: true,
1201
+ },
1202
+ {
1203
+ name: 'numTrainingWheels',
1204
+ type: 'uint256',
1205
+ indexed: false,
1206
+ },
1207
+ ],
1208
+ anonymous: false,
1209
+ type: 'event',
1210
+ },
1211
+ {
1212
+ name: 'GovChangeTimeLockModified',
1213
+ inputs: [
1214
+ {
1215
+ name: 'prevTimeLock',
1216
+ type: 'uint256',
1217
+ indexed: false,
1218
+ },
1219
+ {
1220
+ name: 'newTimeLock',
1221
+ type: 'uint256',
1222
+ indexed: false,
1223
+ },
1224
+ ],
1225
+ anonymous: false,
1226
+ type: 'event',
1227
+ },
1228
+ {
1229
+ name: 'ExpirationSet',
1230
+ inputs: [
1231
+ {
1232
+ name: 'expiration',
1233
+ type: 'uint256',
1234
+ indexed: false,
1235
+ },
1236
+ ],
1237
+ anonymous: false,
1238
+ type: 'event',
1239
+ },
1240
+ {
1241
+ name: 'ActionTimeLockSet',
1242
+ inputs: [
1243
+ {
1244
+ name: 'newTimeLock',
1245
+ type: 'uint256',
1246
+ indexed: false,
1247
+ },
1248
+ {
1249
+ name: 'prevTimeLock',
1250
+ type: 'uint256',
1251
+ indexed: false,
1252
+ },
1253
+ ],
1254
+ anonymous: false,
1255
+ type: 'event',
1256
+ },
1257
+ {
1258
+ name: 'GovChangeStarted',
1259
+ inputs: [
1260
+ {
1261
+ name: 'prevGov',
1262
+ type: 'address',
1263
+ indexed: true,
1264
+ },
1265
+ {
1266
+ name: 'newGov',
1267
+ type: 'address',
1268
+ indexed: true,
1269
+ },
1270
+ {
1271
+ name: 'confirmBlock',
1272
+ type: 'uint256',
1273
+ indexed: false,
1274
+ },
1275
+ ],
1276
+ anonymous: false,
1277
+ type: 'event',
1278
+ },
1279
+ {
1280
+ name: 'GovChangeConfirmed',
1281
+ inputs: [
1282
+ {
1283
+ name: 'prevGov',
1284
+ type: 'address',
1285
+ indexed: true,
1286
+ },
1287
+ {
1288
+ name: 'newGov',
1289
+ type: 'address',
1290
+ indexed: true,
1291
+ },
1292
+ {
1293
+ name: 'initiatedBlock',
1294
+ type: 'uint256',
1295
+ indexed: false,
1296
+ },
1297
+ {
1298
+ name: 'confirmBlock',
1299
+ type: 'uint256',
1300
+ indexed: false,
1301
+ },
1302
+ ],
1303
+ anonymous: false,
1304
+ type: 'event',
1305
+ },
1306
+ {
1307
+ name: 'GovChangeCancelled',
1308
+ inputs: [
1309
+ {
1310
+ name: 'cancelledGov',
1311
+ type: 'address',
1312
+ indexed: true,
1313
+ },
1314
+ {
1315
+ name: 'initiatedBlock',
1316
+ type: 'uint256',
1317
+ indexed: false,
1318
+ },
1319
+ {
1320
+ name: 'confirmBlock',
1321
+ type: 'uint256',
1322
+ indexed: false,
1323
+ },
1324
+ ],
1325
+ anonymous: false,
1326
+ type: 'event',
1327
+ },
1328
+ {
1329
+ name: 'RipeHqSetupFinished',
1330
+ inputs: [
1331
+ {
1332
+ name: 'prevGov',
1333
+ type: 'address',
1334
+ indexed: true,
1335
+ },
1336
+ {
1337
+ name: 'newGov',
1338
+ type: 'address',
1339
+ indexed: true,
1340
+ },
1341
+ {
1342
+ name: 'timeLock',
1343
+ type: 'uint256',
1344
+ indexed: false,
1345
+ },
1346
+ ],
1347
+ anonymous: false,
1348
+ type: 'event',
1349
+ },
1350
+ {
1351
+ stateMutability: 'view',
1352
+ type: 'function',
1353
+ name: 'getRipeHqFromGov',
1354
+ inputs: [],
1355
+ outputs: [
1356
+ {
1357
+ name: '',
1358
+ type: 'address',
1359
+ },
1360
+ ],
1361
+ },
1362
+ {
1363
+ stateMutability: 'view',
1364
+ type: 'function',
1365
+ name: 'canGovern',
1366
+ inputs: [
1367
+ {
1368
+ name: '_addr',
1369
+ type: 'address',
1370
+ },
1371
+ ],
1372
+ outputs: [
1373
+ {
1374
+ name: '',
1375
+ type: 'bool',
1376
+ },
1377
+ ],
1378
+ },
1379
+ {
1380
+ stateMutability: 'view',
1381
+ type: 'function',
1382
+ name: 'getGovernors',
1383
+ inputs: [],
1384
+ outputs: [
1385
+ {
1386
+ name: '',
1387
+ type: 'address[]',
1388
+ },
1389
+ ],
1390
+ },
1391
+ {
1392
+ stateMutability: 'view',
1393
+ type: 'function',
1394
+ name: 'hasPendingGovChange',
1395
+ inputs: [],
1396
+ outputs: [
1397
+ {
1398
+ name: '',
1399
+ type: 'bool',
1400
+ },
1401
+ ],
1402
+ },
1403
+ {
1404
+ stateMutability: 'nonpayable',
1405
+ type: 'function',
1406
+ name: 'startGovernanceChange',
1407
+ inputs: [
1408
+ {
1409
+ name: '_newGov',
1410
+ type: 'address',
1411
+ },
1412
+ ],
1413
+ outputs: [],
1414
+ },
1415
+ {
1416
+ stateMutability: 'nonpayable',
1417
+ type: 'function',
1418
+ name: 'confirmGovernanceChange',
1419
+ inputs: [],
1420
+ outputs: [],
1421
+ },
1422
+ {
1423
+ stateMutability: 'nonpayable',
1424
+ type: 'function',
1425
+ name: 'cancelGovernanceChange',
1426
+ inputs: [],
1427
+ outputs: [],
1428
+ },
1429
+ {
1430
+ stateMutability: 'nonpayable',
1431
+ type: 'function',
1432
+ name: 'setGovTimeLock',
1433
+ inputs: [
1434
+ {
1435
+ name: '_numBlocks',
1436
+ type: 'uint256',
1437
+ },
1438
+ ],
1439
+ outputs: [
1440
+ {
1441
+ name: '',
1442
+ type: 'bool',
1443
+ },
1444
+ ],
1445
+ },
1446
+ {
1447
+ stateMutability: 'view',
1448
+ type: 'function',
1449
+ name: 'isValidGovTimeLock',
1450
+ inputs: [
1451
+ {
1452
+ name: '_newTimeLock',
1453
+ type: 'uint256',
1454
+ },
1455
+ ],
1456
+ outputs: [
1457
+ {
1458
+ name: '',
1459
+ type: 'bool',
1460
+ },
1461
+ ],
1462
+ },
1463
+ {
1464
+ stateMutability: 'view',
1465
+ type: 'function',
1466
+ name: 'minGovChangeTimeLock',
1467
+ inputs: [],
1468
+ outputs: [
1469
+ {
1470
+ name: '',
1471
+ type: 'uint256',
1472
+ },
1473
+ ],
1474
+ },
1475
+ {
1476
+ stateMutability: 'view',
1477
+ type: 'function',
1478
+ name: 'maxGovChangeTimeLock',
1479
+ inputs: [],
1480
+ outputs: [
1481
+ {
1482
+ name: '',
1483
+ type: 'uint256',
1484
+ },
1485
+ ],
1486
+ },
1487
+ {
1488
+ stateMutability: 'nonpayable',
1489
+ type: 'function',
1490
+ name: 'finishRipeHqSetup',
1491
+ inputs: [
1492
+ {
1493
+ name: '_newGov',
1494
+ type: 'address',
1495
+ },
1496
+ ],
1497
+ outputs: [
1498
+ {
1499
+ name: '',
1500
+ type: 'bool',
1501
+ },
1502
+ ],
1503
+ },
1504
+ {
1505
+ stateMutability: 'nonpayable',
1506
+ type: 'function',
1507
+ name: 'finishRipeHqSetup',
1508
+ inputs: [
1509
+ {
1510
+ name: '_newGov',
1511
+ type: 'address',
1512
+ },
1513
+ {
1514
+ name: '_timeLock',
1515
+ type: 'uint256',
1516
+ },
1517
+ ],
1518
+ outputs: [
1519
+ {
1520
+ name: '',
1521
+ type: 'bool',
1522
+ },
1523
+ ],
1524
+ },
1525
+ {
1526
+ stateMutability: 'view',
1527
+ type: 'function',
1528
+ name: 'governance',
1529
+ inputs: [],
1530
+ outputs: [
1531
+ {
1532
+ name: '',
1533
+ type: 'address',
1534
+ },
1535
+ ],
1536
+ },
1537
+ {
1538
+ stateMutability: 'view',
1539
+ type: 'function',
1540
+ name: 'pendingGov',
1541
+ inputs: [],
1542
+ outputs: [
1543
+ {
1544
+ name: '',
1545
+ type: 'tuple',
1546
+ components: [
1547
+ {
1548
+ name: 'newGov',
1549
+ type: 'address',
1550
+ },
1551
+ {
1552
+ name: 'initiatedBlock',
1553
+ type: 'uint256',
1554
+ },
1555
+ {
1556
+ name: 'confirmBlock',
1557
+ type: 'uint256',
1558
+ },
1559
+ ],
1560
+ },
1561
+ ],
1562
+ },
1563
+ {
1564
+ stateMutability: 'view',
1565
+ type: 'function',
1566
+ name: 'numGovChanges',
1567
+ inputs: [],
1568
+ outputs: [
1569
+ {
1570
+ name: '',
1571
+ type: 'uint256',
1572
+ },
1573
+ ],
1574
+ },
1575
+ {
1576
+ stateMutability: 'view',
1577
+ type: 'function',
1578
+ name: 'govChangeTimeLock',
1579
+ inputs: [],
1580
+ outputs: [
1581
+ {
1582
+ name: '',
1583
+ type: 'uint256',
1584
+ },
1585
+ ],
1586
+ },
1587
+ {
1588
+ stateMutability: 'view',
1589
+ type: 'function',
1590
+ name: 'canConfirmAction',
1591
+ inputs: [
1592
+ {
1593
+ name: '_actionId',
1594
+ type: 'uint256',
1595
+ },
1596
+ ],
1597
+ outputs: [
1598
+ {
1599
+ name: '',
1600
+ type: 'bool',
1601
+ },
1602
+ ],
1603
+ },
1604
+ {
1605
+ stateMutability: 'view',
1606
+ type: 'function',
1607
+ name: 'isExpired',
1608
+ inputs: [
1609
+ {
1610
+ name: '_actionId',
1611
+ type: 'uint256',
1612
+ },
1613
+ ],
1614
+ outputs: [
1615
+ {
1616
+ name: '',
1617
+ type: 'bool',
1618
+ },
1619
+ ],
1620
+ },
1621
+ {
1622
+ stateMutability: 'view',
1623
+ type: 'function',
1624
+ name: 'hasPendingAction',
1625
+ inputs: [
1626
+ {
1627
+ name: '_actionId',
1628
+ type: 'uint256',
1629
+ },
1630
+ ],
1631
+ outputs: [
1632
+ {
1633
+ name: '',
1634
+ type: 'bool',
1635
+ },
1636
+ ],
1637
+ },
1638
+ {
1639
+ stateMutability: 'view',
1640
+ type: 'function',
1641
+ name: 'getActionConfirmationBlock',
1642
+ inputs: [
1643
+ {
1644
+ name: '_actionId',
1645
+ type: 'uint256',
1646
+ },
1647
+ ],
1648
+ outputs: [
1649
+ {
1650
+ name: '',
1651
+ type: 'uint256',
1652
+ },
1653
+ ],
1654
+ },
1655
+ {
1656
+ stateMutability: 'nonpayable',
1657
+ type: 'function',
1658
+ name: 'setActionTimeLock',
1659
+ inputs: [
1660
+ {
1661
+ name: '_newTimeLock',
1662
+ type: 'uint256',
1663
+ },
1664
+ ],
1665
+ outputs: [
1666
+ {
1667
+ name: '',
1668
+ type: 'bool',
1669
+ },
1670
+ ],
1671
+ },
1672
+ {
1673
+ stateMutability: 'view',
1674
+ type: 'function',
1675
+ name: 'isValidActionTimeLock',
1676
+ inputs: [
1677
+ {
1678
+ name: '_newTimeLock',
1679
+ type: 'uint256',
1680
+ },
1681
+ ],
1682
+ outputs: [
1683
+ {
1684
+ name: '',
1685
+ type: 'bool',
1686
+ },
1687
+ ],
1688
+ },
1689
+ {
1690
+ stateMutability: 'view',
1691
+ type: 'function',
1692
+ name: 'minActionTimeLock',
1693
+ inputs: [],
1694
+ outputs: [
1695
+ {
1696
+ name: '',
1697
+ type: 'uint256',
1698
+ },
1699
+ ],
1700
+ },
1701
+ {
1702
+ stateMutability: 'view',
1703
+ type: 'function',
1704
+ name: 'maxActionTimeLock',
1705
+ inputs: [],
1706
+ outputs: [
1707
+ {
1708
+ name: '',
1709
+ type: 'uint256',
1710
+ },
1711
+ ],
1712
+ },
1713
+ {
1714
+ stateMutability: 'nonpayable',
1715
+ type: 'function',
1716
+ name: 'setExpiration',
1717
+ inputs: [
1718
+ {
1719
+ name: '_expiration',
1720
+ type: 'uint256',
1721
+ },
1722
+ ],
1723
+ outputs: [
1724
+ {
1725
+ name: '',
1726
+ type: 'bool',
1727
+ },
1728
+ ],
1729
+ },
1730
+ {
1731
+ stateMutability: 'nonpayable',
1732
+ type: 'function',
1733
+ name: 'setActionTimeLockAfterSetup',
1734
+ inputs: [],
1735
+ outputs: [
1736
+ {
1737
+ name: '',
1738
+ type: 'bool',
1739
+ },
1740
+ ],
1741
+ },
1742
+ {
1743
+ stateMutability: 'nonpayable',
1744
+ type: 'function',
1745
+ name: 'setActionTimeLockAfterSetup',
1746
+ inputs: [
1747
+ {
1748
+ name: '_newTimeLock',
1749
+ type: 'uint256',
1750
+ },
1751
+ ],
1752
+ outputs: [
1753
+ {
1754
+ name: '',
1755
+ type: 'bool',
1756
+ },
1757
+ ],
1758
+ },
1759
+ {
1760
+ stateMutability: 'view',
1761
+ type: 'function',
1762
+ name: 'pendingActions',
1763
+ inputs: [
1764
+ {
1765
+ name: 'arg0',
1766
+ type: 'uint256',
1767
+ },
1768
+ ],
1769
+ outputs: [
1770
+ {
1771
+ name: '',
1772
+ type: 'tuple',
1773
+ components: [
1774
+ {
1775
+ name: 'initiatedBlock',
1776
+ type: 'uint256',
1777
+ },
1778
+ {
1779
+ name: 'confirmBlock',
1780
+ type: 'uint256',
1781
+ },
1782
+ {
1783
+ name: 'expiration',
1784
+ type: 'uint256',
1785
+ },
1786
+ ],
1787
+ },
1788
+ ],
1789
+ },
1790
+ {
1791
+ stateMutability: 'view',
1792
+ type: 'function',
1793
+ name: 'actionId',
1794
+ inputs: [],
1795
+ outputs: [
1796
+ {
1797
+ name: '',
1798
+ type: 'uint256',
1799
+ },
1800
+ ],
1801
+ },
1802
+ {
1803
+ stateMutability: 'view',
1804
+ type: 'function',
1805
+ name: 'actionTimeLock',
1806
+ inputs: [],
1807
+ outputs: [
1808
+ {
1809
+ name: '',
1810
+ type: 'uint256',
1811
+ },
1812
+ ],
1813
+ },
1814
+ {
1815
+ stateMutability: 'view',
1816
+ type: 'function',
1817
+ name: 'expiration',
1818
+ inputs: [],
1819
+ outputs: [
1820
+ {
1821
+ name: '',
1822
+ type: 'uint256',
1823
+ },
1824
+ ],
1825
+ },
1826
+ {
1827
+ stateMutability: 'nonpayable',
1828
+ type: 'function',
1829
+ name: 'pause',
1830
+ inputs: [
1831
+ {
1832
+ name: '_contractAddr',
1833
+ type: 'address',
1834
+ },
1835
+ {
1836
+ name: '_shouldPause',
1837
+ type: 'bool',
1838
+ },
1839
+ ],
1840
+ outputs: [
1841
+ {
1842
+ name: '',
1843
+ type: 'bool',
1844
+ },
1845
+ ],
1846
+ },
1847
+ {
1848
+ stateMutability: 'nonpayable',
1849
+ type: 'function',
1850
+ name: 'recoverFunds',
1851
+ inputs: [
1852
+ {
1853
+ name: '_contractAddr',
1854
+ type: 'address',
1855
+ },
1856
+ {
1857
+ name: '_recipient',
1858
+ type: 'address',
1859
+ },
1860
+ {
1861
+ name: '_asset',
1862
+ type: 'address',
1863
+ },
1864
+ ],
1865
+ outputs: [
1866
+ {
1867
+ name: '',
1868
+ type: 'uint256',
1869
+ },
1870
+ ],
1871
+ },
1872
+ {
1873
+ stateMutability: 'nonpayable',
1874
+ type: 'function',
1875
+ name: 'recoverFundsMany',
1876
+ inputs: [
1877
+ {
1878
+ name: '_contractAddr',
1879
+ type: 'address',
1880
+ },
1881
+ {
1882
+ name: '_recipient',
1883
+ type: 'address',
1884
+ },
1885
+ {
1886
+ name: '_assets',
1887
+ type: 'address[]',
1888
+ },
1889
+ ],
1890
+ outputs: [
1891
+ {
1892
+ name: '',
1893
+ type: 'uint256',
1894
+ },
1895
+ ],
1896
+ },
1897
+ {
1898
+ stateMutability: 'nonpayable',
1899
+ type: 'function',
1900
+ name: 'setBlacklist',
1901
+ inputs: [
1902
+ {
1903
+ name: '_tokenAddr',
1904
+ type: 'address',
1905
+ },
1906
+ {
1907
+ name: '_addr',
1908
+ type: 'address',
1909
+ },
1910
+ {
1911
+ name: '_shouldBlacklist',
1912
+ type: 'bool',
1913
+ },
1914
+ ],
1915
+ outputs: [
1916
+ {
1917
+ name: '',
1918
+ type: 'bool',
1919
+ },
1920
+ ],
1921
+ },
1922
+ {
1923
+ stateMutability: 'nonpayable',
1924
+ type: 'function',
1925
+ name: 'setLockedAccount',
1926
+ inputs: [
1927
+ {
1928
+ name: '_wallet',
1929
+ type: 'address',
1930
+ },
1931
+ {
1932
+ name: '_shouldLock',
1933
+ type: 'bool',
1934
+ },
1935
+ ],
1936
+ outputs: [
1937
+ {
1938
+ name: '',
1939
+ type: 'bool',
1940
+ },
1941
+ ],
1942
+ },
1943
+ {
1944
+ stateMutability: 'nonpayable',
1945
+ type: 'function',
1946
+ name: 'updateDebtForUser',
1947
+ inputs: [
1948
+ {
1949
+ name: '_user',
1950
+ type: 'address',
1951
+ },
1952
+ ],
1953
+ outputs: [
1954
+ {
1955
+ name: '',
1956
+ type: 'bool',
1957
+ },
1958
+ ],
1959
+ },
1960
+ {
1961
+ stateMutability: 'nonpayable',
1962
+ type: 'function',
1963
+ name: 'updateDebtForManyUsers',
1964
+ inputs: [
1965
+ {
1966
+ name: '_users',
1967
+ type: 'address[]',
1968
+ },
1969
+ ],
1970
+ outputs: [
1971
+ {
1972
+ name: '',
1973
+ type: 'bool',
1974
+ },
1975
+ ],
1976
+ },
1977
+ {
1978
+ stateMutability: 'nonpayable',
1979
+ type: 'function',
1980
+ name: 'claimLootForUser',
1981
+ inputs: [
1982
+ {
1983
+ name: '_user',
1984
+ type: 'address',
1985
+ },
1986
+ {
1987
+ name: '_shouldStake',
1988
+ type: 'bool',
1989
+ },
1990
+ ],
1991
+ outputs: [
1992
+ {
1993
+ name: '',
1994
+ type: 'uint256',
1995
+ },
1996
+ ],
1997
+ },
1998
+ {
1999
+ stateMutability: 'nonpayable',
2000
+ type: 'function',
2001
+ name: 'claimLootForManyUsers',
2002
+ inputs: [
2003
+ {
2004
+ name: '_users',
2005
+ type: 'address[]',
2006
+ },
2007
+ {
2008
+ name: '_shouldStake',
2009
+ type: 'bool',
2010
+ },
2011
+ ],
2012
+ outputs: [
2013
+ {
2014
+ name: '',
2015
+ type: 'uint256',
2016
+ },
2017
+ ],
2018
+ },
2019
+ {
2020
+ stateMutability: 'nonpayable',
2021
+ type: 'function',
2022
+ name: 'updateRipeRewards',
2023
+ inputs: [],
2024
+ outputs: [
2025
+ {
2026
+ name: '',
2027
+ type: 'bool',
2028
+ },
2029
+ ],
2030
+ },
2031
+ {
2032
+ stateMutability: 'nonpayable',
2033
+ type: 'function',
2034
+ name: 'claimDepositLootForAsset',
2035
+ inputs: [
2036
+ {
2037
+ name: '_user',
2038
+ type: 'address',
2039
+ },
2040
+ {
2041
+ name: '_vaultId',
2042
+ type: 'uint256',
2043
+ },
2044
+ {
2045
+ name: '_asset',
2046
+ type: 'address',
2047
+ },
2048
+ ],
2049
+ outputs: [
2050
+ {
2051
+ name: '',
2052
+ type: 'uint256',
2053
+ },
2054
+ ],
2055
+ },
2056
+ {
2057
+ stateMutability: 'nonpayable',
2058
+ type: 'function',
2059
+ name: 'updateDepositPoints',
2060
+ inputs: [
2061
+ {
2062
+ name: '_user',
2063
+ type: 'address',
2064
+ },
2065
+ {
2066
+ name: '_vaultId',
2067
+ type: 'uint256',
2068
+ },
2069
+ {
2070
+ name: '_asset',
2071
+ type: 'address',
2072
+ },
2073
+ ],
2074
+ outputs: [
2075
+ {
2076
+ name: '',
2077
+ type: 'bool',
2078
+ },
2079
+ ],
2080
+ },
2081
+ {
2082
+ stateMutability: 'nonpayable',
2083
+ type: 'function',
2084
+ name: 'startAuction',
2085
+ inputs: [
2086
+ {
2087
+ name: '_liqUser',
2088
+ type: 'address',
2089
+ },
2090
+ {
2091
+ name: '_vaultId',
2092
+ type: 'uint256',
2093
+ },
2094
+ {
2095
+ name: '_asset',
2096
+ type: 'address',
2097
+ },
2098
+ ],
2099
+ outputs: [
2100
+ {
2101
+ name: '',
2102
+ type: 'uint256',
2103
+ },
2104
+ ],
2105
+ },
2106
+ {
2107
+ stateMutability: 'nonpayable',
2108
+ type: 'function',
2109
+ name: 'startManyAuctions',
2110
+ inputs: [
2111
+ {
2112
+ name: '_auctions',
2113
+ type: 'tuple[]',
2114
+ components: [
2115
+ {
2116
+ name: 'liqUser',
2117
+ type: 'address',
2118
+ },
2119
+ {
2120
+ name: 'vaultId',
2121
+ type: 'uint256',
2122
+ },
2123
+ {
2124
+ name: 'asset',
2125
+ type: 'address',
2126
+ },
2127
+ ],
2128
+ },
2129
+ ],
2130
+ outputs: [
2131
+ {
2132
+ name: '',
2133
+ type: 'uint256',
2134
+ },
2135
+ ],
2136
+ },
2137
+ {
2138
+ stateMutability: 'nonpayable',
2139
+ type: 'function',
2140
+ name: 'pauseAuction',
2141
+ inputs: [
2142
+ {
2143
+ name: '_liqUser',
2144
+ type: 'address',
2145
+ },
2146
+ {
2147
+ name: '_vaultId',
2148
+ type: 'uint256',
2149
+ },
2150
+ {
2151
+ name: '_asset',
2152
+ type: 'address',
2153
+ },
2154
+ ],
2155
+ outputs: [
2156
+ {
2157
+ name: '',
2158
+ type: 'uint256',
2159
+ },
2160
+ ],
2161
+ },
2162
+ {
2163
+ stateMutability: 'nonpayable',
2164
+ type: 'function',
2165
+ name: 'pauseManyAuctions',
2166
+ inputs: [
2167
+ {
2168
+ name: '_auctions',
2169
+ type: 'tuple[]',
2170
+ components: [
2171
+ {
2172
+ name: 'liqUser',
2173
+ type: 'address',
2174
+ },
2175
+ {
2176
+ name: 'vaultId',
2177
+ type: 'uint256',
2178
+ },
2179
+ {
2180
+ name: 'asset',
2181
+ type: 'address',
2182
+ },
2183
+ ],
2184
+ },
2185
+ ],
2186
+ outputs: [
2187
+ {
2188
+ name: '',
2189
+ type: 'uint256',
2190
+ },
2191
+ ],
2192
+ },
2193
+ {
2194
+ stateMutability: 'nonpayable',
2195
+ type: 'function',
2196
+ name: 'performEndaomentDeposit',
2197
+ inputs: [
2198
+ {
2199
+ name: '_legoId',
2200
+ type: 'uint256',
2201
+ },
2202
+ {
2203
+ name: '_asset',
2204
+ type: 'address',
2205
+ },
2206
+ {
2207
+ name: '_vault',
2208
+ type: 'address',
2209
+ },
2210
+ ],
2211
+ outputs: [
2212
+ {
2213
+ name: '',
2214
+ type: 'uint256',
2215
+ },
2216
+ {
2217
+ name: '',
2218
+ type: 'address',
2219
+ },
2220
+ {
2221
+ name: '',
2222
+ type: 'uint256',
2223
+ },
2224
+ {
2225
+ name: '',
2226
+ type: 'uint256',
2227
+ },
2228
+ ],
2229
+ },
2230
+ {
2231
+ stateMutability: 'nonpayable',
2232
+ type: 'function',
2233
+ name: 'performEndaomentDeposit',
2234
+ inputs: [
2235
+ {
2236
+ name: '_legoId',
2237
+ type: 'uint256',
2238
+ },
2239
+ {
2240
+ name: '_asset',
2241
+ type: 'address',
2242
+ },
2243
+ {
2244
+ name: '_vault',
2245
+ type: 'address',
2246
+ },
2247
+ {
2248
+ name: '_amount',
2249
+ type: 'uint256',
2250
+ },
2251
+ ],
2252
+ outputs: [
2253
+ {
2254
+ name: '',
2255
+ type: 'uint256',
2256
+ },
2257
+ {
2258
+ name: '',
2259
+ type: 'address',
2260
+ },
2261
+ {
2262
+ name: '',
2263
+ type: 'uint256',
2264
+ },
2265
+ {
2266
+ name: '',
2267
+ type: 'uint256',
2268
+ },
2269
+ ],
2270
+ },
2271
+ {
2272
+ stateMutability: 'nonpayable',
2273
+ type: 'function',
2274
+ name: 'performEndaomentWithdraw',
2275
+ inputs: [
2276
+ {
2277
+ name: '_legoId',
2278
+ type: 'uint256',
2279
+ },
2280
+ {
2281
+ name: '_asset',
2282
+ type: 'address',
2283
+ },
2284
+ {
2285
+ name: '_vaultAddr',
2286
+ type: 'address',
2287
+ },
2288
+ ],
2289
+ outputs: [
2290
+ {
2291
+ name: '',
2292
+ type: 'uint256',
2293
+ },
2294
+ {
2295
+ name: '',
2296
+ type: 'uint256',
2297
+ },
2298
+ {
2299
+ name: '',
2300
+ type: 'uint256',
2301
+ },
2302
+ ],
2303
+ },
2304
+ {
2305
+ stateMutability: 'nonpayable',
2306
+ type: 'function',
2307
+ name: 'performEndaomentWithdraw',
2308
+ inputs: [
2309
+ {
2310
+ name: '_legoId',
2311
+ type: 'uint256',
2312
+ },
2313
+ {
2314
+ name: '_asset',
2315
+ type: 'address',
2316
+ },
2317
+ {
2318
+ name: '_vaultAddr',
2319
+ type: 'address',
2320
+ },
2321
+ {
2322
+ name: '_withdrawAmount',
2323
+ type: 'uint256',
2324
+ },
2325
+ ],
2326
+ outputs: [
2327
+ {
2328
+ name: '',
2329
+ type: 'uint256',
2330
+ },
2331
+ {
2332
+ name: '',
2333
+ type: 'uint256',
2334
+ },
2335
+ {
2336
+ name: '',
2337
+ type: 'uint256',
2338
+ },
2339
+ ],
2340
+ },
2341
+ {
2342
+ stateMutability: 'nonpayable',
2343
+ type: 'function',
2344
+ name: 'performEndaomentWithdraw',
2345
+ inputs: [
2346
+ {
2347
+ name: '_legoId',
2348
+ type: 'uint256',
2349
+ },
2350
+ {
2351
+ name: '_asset',
2352
+ type: 'address',
2353
+ },
2354
+ {
2355
+ name: '_vaultAddr',
2356
+ type: 'address',
2357
+ },
2358
+ {
2359
+ name: '_withdrawAmount',
2360
+ type: 'uint256',
2361
+ },
2362
+ {
2363
+ name: '_hasVaultToken',
2364
+ type: 'bool',
2365
+ },
2366
+ ],
2367
+ outputs: [
2368
+ {
2369
+ name: '',
2370
+ type: 'uint256',
2371
+ },
2372
+ {
2373
+ name: '',
2374
+ type: 'uint256',
2375
+ },
2376
+ {
2377
+ name: '',
2378
+ type: 'uint256',
2379
+ },
2380
+ ],
2381
+ },
2382
+ {
2383
+ stateMutability: 'nonpayable',
2384
+ type: 'function',
2385
+ name: 'performEndaomentRebalance',
2386
+ inputs: [
2387
+ {
2388
+ name: '_fromLegoId',
2389
+ type: 'uint256',
2390
+ },
2391
+ {
2392
+ name: '_fromAsset',
2393
+ type: 'address',
2394
+ },
2395
+ {
2396
+ name: '_fromVaultAddr',
2397
+ type: 'address',
2398
+ },
2399
+ {
2400
+ name: '_toLegoId',
2401
+ type: 'uint256',
2402
+ },
2403
+ {
2404
+ name: '_toVaultAddr',
2405
+ type: 'address',
2406
+ },
2407
+ ],
2408
+ outputs: [
2409
+ {
2410
+ name: '',
2411
+ type: 'uint256',
2412
+ },
2413
+ {
2414
+ name: '',
2415
+ type: 'address',
2416
+ },
2417
+ {
2418
+ name: '',
2419
+ type: 'uint256',
2420
+ },
2421
+ {
2422
+ name: '',
2423
+ type: 'uint256',
2424
+ },
2425
+ ],
2426
+ },
2427
+ {
2428
+ stateMutability: 'nonpayable',
2429
+ type: 'function',
2430
+ name: 'performEndaomentRebalance',
2431
+ inputs: [
2432
+ {
2433
+ name: '_fromLegoId',
2434
+ type: 'uint256',
2435
+ },
2436
+ {
2437
+ name: '_fromAsset',
2438
+ type: 'address',
2439
+ },
2440
+ {
2441
+ name: '_fromVaultAddr',
2442
+ type: 'address',
2443
+ },
2444
+ {
2445
+ name: '_toLegoId',
2446
+ type: 'uint256',
2447
+ },
2448
+ {
2449
+ name: '_toVaultAddr',
2450
+ type: 'address',
2451
+ },
2452
+ {
2453
+ name: '_fromVaultAmount',
2454
+ type: 'uint256',
2455
+ },
2456
+ ],
2457
+ outputs: [
2458
+ {
2459
+ name: '',
2460
+ type: 'uint256',
2461
+ },
2462
+ {
2463
+ name: '',
2464
+ type: 'address',
2465
+ },
2466
+ {
2467
+ name: '',
2468
+ type: 'uint256',
2469
+ },
2470
+ {
2471
+ name: '',
2472
+ type: 'uint256',
2473
+ },
2474
+ ],
2475
+ },
2476
+ {
2477
+ stateMutability: 'nonpayable',
2478
+ type: 'function',
2479
+ name: 'performEndaomentRebalance',
2480
+ inputs: [
2481
+ {
2482
+ name: '_fromLegoId',
2483
+ type: 'uint256',
2484
+ },
2485
+ {
2486
+ name: '_fromAsset',
2487
+ type: 'address',
2488
+ },
2489
+ {
2490
+ name: '_fromVaultAddr',
2491
+ type: 'address',
2492
+ },
2493
+ {
2494
+ name: '_toLegoId',
2495
+ type: 'uint256',
2496
+ },
2497
+ {
2498
+ name: '_toVaultAddr',
2499
+ type: 'address',
2500
+ },
2501
+ {
2502
+ name: '_fromVaultAmount',
2503
+ type: 'uint256',
2504
+ },
2505
+ {
2506
+ name: '_hasFromVaultToken',
2507
+ type: 'bool',
2508
+ },
2509
+ ],
2510
+ outputs: [
2511
+ {
2512
+ name: '',
2513
+ type: 'uint256',
2514
+ },
2515
+ {
2516
+ name: '',
2517
+ type: 'address',
2518
+ },
2519
+ {
2520
+ name: '',
2521
+ type: 'uint256',
2522
+ },
2523
+ {
2524
+ name: '',
2525
+ type: 'uint256',
2526
+ },
2527
+ ],
2528
+ },
2529
+ {
2530
+ stateMutability: 'payable',
2531
+ type: 'function',
2532
+ name: 'performEndaomentEthToWeth',
2533
+ inputs: [],
2534
+ outputs: [
2535
+ {
2536
+ name: '',
2537
+ type: 'uint256',
2538
+ },
2539
+ {
2540
+ name: '',
2541
+ type: 'address',
2542
+ },
2543
+ {
2544
+ name: '',
2545
+ type: 'uint256',
2546
+ },
2547
+ ],
2548
+ },
2549
+ {
2550
+ stateMutability: 'payable',
2551
+ type: 'function',
2552
+ name: 'performEndaomentEthToWeth',
2553
+ inputs: [
2554
+ {
2555
+ name: '_amount',
2556
+ type: 'uint256',
2557
+ },
2558
+ ],
2559
+ outputs: [
2560
+ {
2561
+ name: '',
2562
+ type: 'uint256',
2563
+ },
2564
+ {
2565
+ name: '',
2566
+ type: 'address',
2567
+ },
2568
+ {
2569
+ name: '',
2570
+ type: 'uint256',
2571
+ },
2572
+ ],
2573
+ },
2574
+ {
2575
+ stateMutability: 'payable',
2576
+ type: 'function',
2577
+ name: 'performEndaomentEthToWeth',
2578
+ inputs: [
2579
+ {
2580
+ name: '_amount',
2581
+ type: 'uint256',
2582
+ },
2583
+ {
2584
+ name: '_depositLegoId',
2585
+ type: 'uint256',
2586
+ },
2587
+ ],
2588
+ outputs: [
2589
+ {
2590
+ name: '',
2591
+ type: 'uint256',
2592
+ },
2593
+ {
2594
+ name: '',
2595
+ type: 'address',
2596
+ },
2597
+ {
2598
+ name: '',
2599
+ type: 'uint256',
2600
+ },
2601
+ ],
2602
+ },
2603
+ {
2604
+ stateMutability: 'payable',
2605
+ type: 'function',
2606
+ name: 'performEndaomentEthToWeth',
2607
+ inputs: [
2608
+ {
2609
+ name: '_amount',
2610
+ type: 'uint256',
2611
+ },
2612
+ {
2613
+ name: '_depositLegoId',
2614
+ type: 'uint256',
2615
+ },
2616
+ {
2617
+ name: '_depositVault',
2618
+ type: 'address',
2619
+ },
2620
+ ],
2621
+ outputs: [
2622
+ {
2623
+ name: '',
2624
+ type: 'uint256',
2625
+ },
2626
+ {
2627
+ name: '',
2628
+ type: 'address',
2629
+ },
2630
+ {
2631
+ name: '',
2632
+ type: 'uint256',
2633
+ },
2634
+ ],
2635
+ },
2636
+ {
2637
+ stateMutability: 'nonpayable',
2638
+ type: 'function',
2639
+ name: 'performEndaomentWethToEth',
2640
+ inputs: [],
2641
+ outputs: [
2642
+ {
2643
+ name: '',
2644
+ type: 'uint256',
2645
+ },
2646
+ ],
2647
+ },
2648
+ {
2649
+ stateMutability: 'nonpayable',
2650
+ type: 'function',
2651
+ name: 'performEndaomentWethToEth',
2652
+ inputs: [
2653
+ {
2654
+ name: '_amount',
2655
+ type: 'uint256',
2656
+ },
2657
+ ],
2658
+ outputs: [
2659
+ {
2660
+ name: '',
2661
+ type: 'uint256',
2662
+ },
2663
+ ],
2664
+ },
2665
+ {
2666
+ stateMutability: 'nonpayable',
2667
+ type: 'function',
2668
+ name: 'performEndaomentWethToEth',
2669
+ inputs: [
2670
+ {
2671
+ name: '_amount',
2672
+ type: 'uint256',
2673
+ },
2674
+ {
2675
+ name: '_recipient',
2676
+ type: 'address',
2677
+ },
2678
+ ],
2679
+ outputs: [
2680
+ {
2681
+ name: '',
2682
+ type: 'uint256',
2683
+ },
2684
+ ],
2685
+ },
2686
+ {
2687
+ stateMutability: 'nonpayable',
2688
+ type: 'function',
2689
+ name: 'performEndaomentWethToEth',
2690
+ inputs: [
2691
+ {
2692
+ name: '_amount',
2693
+ type: 'uint256',
2694
+ },
2695
+ {
2696
+ name: '_recipient',
2697
+ type: 'address',
2698
+ },
2699
+ {
2700
+ name: '_withdrawLegoId',
2701
+ type: 'uint256',
2702
+ },
2703
+ ],
2704
+ outputs: [
2705
+ {
2706
+ name: '',
2707
+ type: 'uint256',
2708
+ },
2709
+ ],
2710
+ },
2711
+ {
2712
+ stateMutability: 'nonpayable',
2713
+ type: 'function',
2714
+ name: 'performEndaomentWethToEth',
2715
+ inputs: [
2716
+ {
2717
+ name: '_amount',
2718
+ type: 'uint256',
2719
+ },
2720
+ {
2721
+ name: '_recipient',
2722
+ type: 'address',
2723
+ },
2724
+ {
2725
+ name: '_withdrawLegoId',
2726
+ type: 'uint256',
2727
+ },
2728
+ {
2729
+ name: '_withdrawVaultAddr',
2730
+ type: 'address',
2731
+ },
2732
+ ],
2733
+ outputs: [
2734
+ {
2735
+ name: '',
2736
+ type: 'uint256',
2737
+ },
2738
+ ],
2739
+ },
2740
+ {
2741
+ stateMutability: 'nonpayable',
2742
+ type: 'function',
2743
+ name: 'performEndaomentWethToEth',
2744
+ inputs: [
2745
+ {
2746
+ name: '_amount',
2747
+ type: 'uint256',
2748
+ },
2749
+ {
2750
+ name: '_recipient',
2751
+ type: 'address',
2752
+ },
2753
+ {
2754
+ name: '_withdrawLegoId',
2755
+ type: 'uint256',
2756
+ },
2757
+ {
2758
+ name: '_withdrawVaultAddr',
2759
+ type: 'address',
2760
+ },
2761
+ {
2762
+ name: '_hasWithdrawVaultToken',
2763
+ type: 'bool',
2764
+ },
2765
+ ],
2766
+ outputs: [
2767
+ {
2768
+ name: '',
2769
+ type: 'uint256',
2770
+ },
2771
+ ],
2772
+ },
2773
+ {
2774
+ stateMutability: 'nonpayable',
2775
+ type: 'function',
2776
+ name: 'performEndaomentClaim',
2777
+ inputs: [
2778
+ {
2779
+ name: '_legoId',
2780
+ type: 'uint256',
2781
+ },
2782
+ ],
2783
+ outputs: [
2784
+ {
2785
+ name: '',
2786
+ type: 'bool',
2787
+ },
2788
+ ],
2789
+ },
2790
+ {
2791
+ stateMutability: 'nonpayable',
2792
+ type: 'function',
2793
+ name: 'performEndaomentClaim',
2794
+ inputs: [
2795
+ {
2796
+ name: '_legoId',
2797
+ type: 'uint256',
2798
+ },
2799
+ {
2800
+ name: '_market',
2801
+ type: 'address',
2802
+ },
2803
+ ],
2804
+ outputs: [
2805
+ {
2806
+ name: '',
2807
+ type: 'bool',
2808
+ },
2809
+ ],
2810
+ },
2811
+ {
2812
+ stateMutability: 'nonpayable',
2813
+ type: 'function',
2814
+ name: 'performEndaomentClaim',
2815
+ inputs: [
2816
+ {
2817
+ name: '_legoId',
2818
+ type: 'uint256',
2819
+ },
2820
+ {
2821
+ name: '_market',
2822
+ type: 'address',
2823
+ },
2824
+ {
2825
+ name: '_rewardToken',
2826
+ type: 'address',
2827
+ },
2828
+ ],
2829
+ outputs: [
2830
+ {
2831
+ name: '',
2832
+ type: 'bool',
2833
+ },
2834
+ ],
2835
+ },
2836
+ {
2837
+ stateMutability: 'nonpayable',
2838
+ type: 'function',
2839
+ name: 'performEndaomentClaim',
2840
+ inputs: [
2841
+ {
2842
+ name: '_legoId',
2843
+ type: 'uint256',
2844
+ },
2845
+ {
2846
+ name: '_market',
2847
+ type: 'address',
2848
+ },
2849
+ {
2850
+ name: '_rewardToken',
2851
+ type: 'address',
2852
+ },
2853
+ {
2854
+ name: '_rewardAmount',
2855
+ type: 'uint256',
2856
+ },
2857
+ ],
2858
+ outputs: [
2859
+ {
2860
+ name: '',
2861
+ type: 'bool',
2862
+ },
2863
+ ],
2864
+ },
2865
+ {
2866
+ stateMutability: 'nonpayable',
2867
+ type: 'function',
2868
+ name: 'performEndaomentClaim',
2869
+ inputs: [
2870
+ {
2871
+ name: '_legoId',
2872
+ type: 'uint256',
2873
+ },
2874
+ {
2875
+ name: '_market',
2876
+ type: 'address',
2877
+ },
2878
+ {
2879
+ name: '_rewardToken',
2880
+ type: 'address',
2881
+ },
2882
+ {
2883
+ name: '_rewardAmount',
2884
+ type: 'uint256',
2885
+ },
2886
+ {
2887
+ name: '_proof',
2888
+ type: 'bytes32',
2889
+ },
2890
+ ],
2891
+ outputs: [
2892
+ {
2893
+ name: '',
2894
+ type: 'bool',
2895
+ },
2896
+ ],
2897
+ },
2898
+ {
2899
+ stateMutability: 'nonpayable',
2900
+ type: 'function',
2901
+ name: 'performEndaomentStabilizer',
2902
+ inputs: [],
2903
+ outputs: [
2904
+ {
2905
+ name: '',
2906
+ type: 'bool',
2907
+ },
2908
+ ],
2909
+ },
2910
+ {
2911
+ stateMutability: 'nonpayable',
2912
+ type: 'function',
2913
+ name: 'performEndaomentSwap',
2914
+ inputs: [
2915
+ {
2916
+ name: '_swapInstructions',
2917
+ type: 'tuple[]',
2918
+ components: [
2919
+ {
2920
+ name: 'legoId',
2921
+ type: 'uint256',
2922
+ },
2923
+ {
2924
+ name: 'amountIn',
2925
+ type: 'uint256',
2926
+ },
2927
+ {
2928
+ name: 'minAmountOut',
2929
+ type: 'uint256',
2930
+ },
2931
+ {
2932
+ name: 'tokenPath',
2933
+ type: 'address[]',
2934
+ },
2935
+ {
2936
+ name: 'poolPath',
2937
+ type: 'address[]',
2938
+ },
2939
+ ],
2940
+ },
2941
+ ],
2942
+ outputs: [
2943
+ {
2944
+ name: '',
2945
+ type: 'uint256',
2946
+ },
2947
+ ],
2948
+ },
2949
+ {
2950
+ stateMutability: 'nonpayable',
2951
+ type: 'function',
2952
+ name: 'addLiquidityInEndaoment',
2953
+ inputs: [
2954
+ {
2955
+ name: '_legoId',
2956
+ type: 'uint256',
2957
+ },
2958
+ {
2959
+ name: '_nftAddr',
2960
+ type: 'address',
2961
+ },
2962
+ {
2963
+ name: '_nftTokenId',
2964
+ type: 'uint256',
2965
+ },
2966
+ {
2967
+ name: '_pool',
2968
+ type: 'address',
2969
+ },
2970
+ {
2971
+ name: '_tokenA',
2972
+ type: 'address',
2973
+ },
2974
+ {
2975
+ name: '_tokenB',
2976
+ type: 'address',
2977
+ },
2978
+ ],
2979
+ outputs: [
2980
+ {
2981
+ name: '',
2982
+ type: 'uint256',
2983
+ },
2984
+ ],
2985
+ },
2986
+ {
2987
+ stateMutability: 'nonpayable',
2988
+ type: 'function',
2989
+ name: 'addLiquidityInEndaoment',
2990
+ inputs: [
2991
+ {
2992
+ name: '_legoId',
2993
+ type: 'uint256',
2994
+ },
2995
+ {
2996
+ name: '_nftAddr',
2997
+ type: 'address',
2998
+ },
2999
+ {
3000
+ name: '_nftTokenId',
3001
+ type: 'uint256',
3002
+ },
3003
+ {
3004
+ name: '_pool',
3005
+ type: 'address',
3006
+ },
3007
+ {
3008
+ name: '_tokenA',
3009
+ type: 'address',
3010
+ },
3011
+ {
3012
+ name: '_tokenB',
3013
+ type: 'address',
3014
+ },
3015
+ {
3016
+ name: '_amountA',
3017
+ type: 'uint256',
3018
+ },
3019
+ ],
3020
+ outputs: [
3021
+ {
3022
+ name: '',
3023
+ type: 'uint256',
3024
+ },
3025
+ ],
3026
+ },
3027
+ {
3028
+ stateMutability: 'nonpayable',
3029
+ type: 'function',
3030
+ name: 'addLiquidityInEndaoment',
3031
+ inputs: [
3032
+ {
3033
+ name: '_legoId',
3034
+ type: 'uint256',
3035
+ },
3036
+ {
3037
+ name: '_nftAddr',
3038
+ type: 'address',
3039
+ },
3040
+ {
3041
+ name: '_nftTokenId',
3042
+ type: 'uint256',
3043
+ },
3044
+ {
3045
+ name: '_pool',
3046
+ type: 'address',
3047
+ },
3048
+ {
3049
+ name: '_tokenA',
3050
+ type: 'address',
3051
+ },
3052
+ {
3053
+ name: '_tokenB',
3054
+ type: 'address',
3055
+ },
3056
+ {
3057
+ name: '_amountA',
3058
+ type: 'uint256',
3059
+ },
3060
+ {
3061
+ name: '_amountB',
3062
+ type: 'uint256',
3063
+ },
3064
+ ],
3065
+ outputs: [
3066
+ {
3067
+ name: '',
3068
+ type: 'uint256',
3069
+ },
3070
+ ],
3071
+ },
3072
+ {
3073
+ stateMutability: 'nonpayable',
3074
+ type: 'function',
3075
+ name: 'addLiquidityInEndaoment',
3076
+ inputs: [
3077
+ {
3078
+ name: '_legoId',
3079
+ type: 'uint256',
3080
+ },
3081
+ {
3082
+ name: '_nftAddr',
3083
+ type: 'address',
3084
+ },
3085
+ {
3086
+ name: '_nftTokenId',
3087
+ type: 'uint256',
3088
+ },
3089
+ {
3090
+ name: '_pool',
3091
+ type: 'address',
3092
+ },
3093
+ {
3094
+ name: '_tokenA',
3095
+ type: 'address',
3096
+ },
3097
+ {
3098
+ name: '_tokenB',
3099
+ type: 'address',
3100
+ },
3101
+ {
3102
+ name: '_amountA',
3103
+ type: 'uint256',
3104
+ },
3105
+ {
3106
+ name: '_amountB',
3107
+ type: 'uint256',
3108
+ },
3109
+ {
3110
+ name: '_tickLower',
3111
+ type: 'int24',
3112
+ },
3113
+ ],
3114
+ outputs: [
3115
+ {
3116
+ name: '',
3117
+ type: 'uint256',
3118
+ },
3119
+ ],
3120
+ },
3121
+ {
3122
+ stateMutability: 'nonpayable',
3123
+ type: 'function',
3124
+ name: 'addLiquidityInEndaoment',
3125
+ inputs: [
3126
+ {
3127
+ name: '_legoId',
3128
+ type: 'uint256',
3129
+ },
3130
+ {
3131
+ name: '_nftAddr',
3132
+ type: 'address',
3133
+ },
3134
+ {
3135
+ name: '_nftTokenId',
3136
+ type: 'uint256',
3137
+ },
3138
+ {
3139
+ name: '_pool',
3140
+ type: 'address',
3141
+ },
3142
+ {
3143
+ name: '_tokenA',
3144
+ type: 'address',
3145
+ },
3146
+ {
3147
+ name: '_tokenB',
3148
+ type: 'address',
3149
+ },
3150
+ {
3151
+ name: '_amountA',
3152
+ type: 'uint256',
3153
+ },
3154
+ {
3155
+ name: '_amountB',
3156
+ type: 'uint256',
3157
+ },
3158
+ {
3159
+ name: '_tickLower',
3160
+ type: 'int24',
3161
+ },
3162
+ {
3163
+ name: '_tickUpper',
3164
+ type: 'int24',
3165
+ },
3166
+ ],
3167
+ outputs: [
3168
+ {
3169
+ name: '',
3170
+ type: 'uint256',
3171
+ },
3172
+ ],
3173
+ },
3174
+ {
3175
+ stateMutability: 'nonpayable',
3176
+ type: 'function',
3177
+ name: 'addLiquidityInEndaoment',
3178
+ inputs: [
3179
+ {
3180
+ name: '_legoId',
3181
+ type: 'uint256',
3182
+ },
3183
+ {
3184
+ name: '_nftAddr',
3185
+ type: 'address',
3186
+ },
3187
+ {
3188
+ name: '_nftTokenId',
3189
+ type: 'uint256',
3190
+ },
3191
+ {
3192
+ name: '_pool',
3193
+ type: 'address',
3194
+ },
3195
+ {
3196
+ name: '_tokenA',
3197
+ type: 'address',
3198
+ },
3199
+ {
3200
+ name: '_tokenB',
3201
+ type: 'address',
3202
+ },
3203
+ {
3204
+ name: '_amountA',
3205
+ type: 'uint256',
3206
+ },
3207
+ {
3208
+ name: '_amountB',
3209
+ type: 'uint256',
3210
+ },
3211
+ {
3212
+ name: '_tickLower',
3213
+ type: 'int24',
3214
+ },
3215
+ {
3216
+ name: '_tickUpper',
3217
+ type: 'int24',
3218
+ },
3219
+ {
3220
+ name: '_minAmountA',
3221
+ type: 'uint256',
3222
+ },
3223
+ ],
3224
+ outputs: [
3225
+ {
3226
+ name: '',
3227
+ type: 'uint256',
3228
+ },
3229
+ ],
3230
+ },
3231
+ {
3232
+ stateMutability: 'nonpayable',
3233
+ type: 'function',
3234
+ name: 'addLiquidityInEndaoment',
3235
+ inputs: [
3236
+ {
3237
+ name: '_legoId',
3238
+ type: 'uint256',
3239
+ },
3240
+ {
3241
+ name: '_nftAddr',
3242
+ type: 'address',
3243
+ },
3244
+ {
3245
+ name: '_nftTokenId',
3246
+ type: 'uint256',
3247
+ },
3248
+ {
3249
+ name: '_pool',
3250
+ type: 'address',
3251
+ },
3252
+ {
3253
+ name: '_tokenA',
3254
+ type: 'address',
3255
+ },
3256
+ {
3257
+ name: '_tokenB',
3258
+ type: 'address',
3259
+ },
3260
+ {
3261
+ name: '_amountA',
3262
+ type: 'uint256',
3263
+ },
3264
+ {
3265
+ name: '_amountB',
3266
+ type: 'uint256',
3267
+ },
3268
+ {
3269
+ name: '_tickLower',
3270
+ type: 'int24',
3271
+ },
3272
+ {
3273
+ name: '_tickUpper',
3274
+ type: 'int24',
3275
+ },
3276
+ {
3277
+ name: '_minAmountA',
3278
+ type: 'uint256',
3279
+ },
3280
+ {
3281
+ name: '_minAmountB',
3282
+ type: 'uint256',
3283
+ },
3284
+ ],
3285
+ outputs: [
3286
+ {
3287
+ name: '',
3288
+ type: 'uint256',
3289
+ },
3290
+ ],
3291
+ },
3292
+ {
3293
+ stateMutability: 'nonpayable',
3294
+ type: 'function',
3295
+ name: 'addLiquidityInEndaoment',
3296
+ inputs: [
3297
+ {
3298
+ name: '_legoId',
3299
+ type: 'uint256',
3300
+ },
3301
+ {
3302
+ name: '_nftAddr',
3303
+ type: 'address',
3304
+ },
3305
+ {
3306
+ name: '_nftTokenId',
3307
+ type: 'uint256',
3308
+ },
3309
+ {
3310
+ name: '_pool',
3311
+ type: 'address',
3312
+ },
3313
+ {
3314
+ name: '_tokenA',
3315
+ type: 'address',
3316
+ },
3317
+ {
3318
+ name: '_tokenB',
3319
+ type: 'address',
3320
+ },
3321
+ {
3322
+ name: '_amountA',
3323
+ type: 'uint256',
3324
+ },
3325
+ {
3326
+ name: '_amountB',
3327
+ type: 'uint256',
3328
+ },
3329
+ {
3330
+ name: '_tickLower',
3331
+ type: 'int24',
3332
+ },
3333
+ {
3334
+ name: '_tickUpper',
3335
+ type: 'int24',
3336
+ },
3337
+ {
3338
+ name: '_minAmountA',
3339
+ type: 'uint256',
3340
+ },
3341
+ {
3342
+ name: '_minAmountB',
3343
+ type: 'uint256',
3344
+ },
3345
+ {
3346
+ name: '_minLpAmount',
3347
+ type: 'uint256',
3348
+ },
3349
+ ],
3350
+ outputs: [
3351
+ {
3352
+ name: '',
3353
+ type: 'uint256',
3354
+ },
3355
+ ],
3356
+ },
3357
+ {
3358
+ stateMutability: 'nonpayable',
3359
+ type: 'function',
3360
+ name: 'removeLiquidityInEndaoment',
3361
+ inputs: [
3362
+ {
3363
+ name: '_legoId',
3364
+ type: 'uint256',
3365
+ },
3366
+ {
3367
+ name: '_nftAddr',
3368
+ type: 'address',
3369
+ },
3370
+ {
3371
+ name: '_nftTokenId',
3372
+ type: 'uint256',
3373
+ },
3374
+ {
3375
+ name: '_pool',
3376
+ type: 'address',
3377
+ },
3378
+ {
3379
+ name: '_tokenA',
3380
+ type: 'address',
3381
+ },
3382
+ {
3383
+ name: '_tokenB',
3384
+ type: 'address',
3385
+ },
3386
+ ],
3387
+ outputs: [
3388
+ {
3389
+ name: '',
3390
+ type: 'uint256',
3391
+ },
3392
+ ],
3393
+ },
3394
+ {
3395
+ stateMutability: 'nonpayable',
3396
+ type: 'function',
3397
+ name: 'removeLiquidityInEndaoment',
3398
+ inputs: [
3399
+ {
3400
+ name: '_legoId',
3401
+ type: 'uint256',
3402
+ },
3403
+ {
3404
+ name: '_nftAddr',
3405
+ type: 'address',
3406
+ },
3407
+ {
3408
+ name: '_nftTokenId',
3409
+ type: 'uint256',
3410
+ },
3411
+ {
3412
+ name: '_pool',
3413
+ type: 'address',
3414
+ },
3415
+ {
3416
+ name: '_tokenA',
3417
+ type: 'address',
3418
+ },
3419
+ {
3420
+ name: '_tokenB',
3421
+ type: 'address',
3422
+ },
3423
+ {
3424
+ name: '_liqToRemove',
3425
+ type: 'uint256',
3426
+ },
3427
+ ],
3428
+ outputs: [
3429
+ {
3430
+ name: '',
3431
+ type: 'uint256',
3432
+ },
3433
+ ],
3434
+ },
3435
+ {
3436
+ stateMutability: 'nonpayable',
3437
+ type: 'function',
3438
+ name: 'removeLiquidityInEndaoment',
3439
+ inputs: [
3440
+ {
3441
+ name: '_legoId',
3442
+ type: 'uint256',
3443
+ },
3444
+ {
3445
+ name: '_nftAddr',
3446
+ type: 'address',
3447
+ },
3448
+ {
3449
+ name: '_nftTokenId',
3450
+ type: 'uint256',
3451
+ },
3452
+ {
3453
+ name: '_pool',
3454
+ type: 'address',
3455
+ },
3456
+ {
3457
+ name: '_tokenA',
3458
+ type: 'address',
3459
+ },
3460
+ {
3461
+ name: '_tokenB',
3462
+ type: 'address',
3463
+ },
3464
+ {
3465
+ name: '_liqToRemove',
3466
+ type: 'uint256',
3467
+ },
3468
+ {
3469
+ name: '_minAmountA',
3470
+ type: 'uint256',
3471
+ },
3472
+ ],
3473
+ outputs: [
3474
+ {
3475
+ name: '',
3476
+ type: 'uint256',
3477
+ },
3478
+ ],
3479
+ },
3480
+ {
3481
+ stateMutability: 'nonpayable',
3482
+ type: 'function',
3483
+ name: 'removeLiquidityInEndaoment',
3484
+ inputs: [
3485
+ {
3486
+ name: '_legoId',
3487
+ type: 'uint256',
3488
+ },
3489
+ {
3490
+ name: '_nftAddr',
3491
+ type: 'address',
3492
+ },
3493
+ {
3494
+ name: '_nftTokenId',
3495
+ type: 'uint256',
3496
+ },
3497
+ {
3498
+ name: '_pool',
3499
+ type: 'address',
3500
+ },
3501
+ {
3502
+ name: '_tokenA',
3503
+ type: 'address',
3504
+ },
3505
+ {
3506
+ name: '_tokenB',
3507
+ type: 'address',
3508
+ },
3509
+ {
3510
+ name: '_liqToRemove',
3511
+ type: 'uint256',
3512
+ },
3513
+ {
3514
+ name: '_minAmountA',
3515
+ type: 'uint256',
3516
+ },
3517
+ {
3518
+ name: '_minAmountB',
3519
+ type: 'uint256',
3520
+ },
3521
+ ],
3522
+ outputs: [
3523
+ {
3524
+ name: '',
3525
+ type: 'uint256',
3526
+ },
3527
+ ],
3528
+ },
3529
+ {
3530
+ stateMutability: 'nonpayable',
3531
+ type: 'function',
3532
+ name: 'mintPartnerLiquidityInEndaoment',
3533
+ inputs: [
3534
+ {
3535
+ name: '_partner',
3536
+ type: 'address',
3537
+ },
3538
+ {
3539
+ name: '_asset',
3540
+ type: 'address',
3541
+ },
3542
+ ],
3543
+ outputs: [
3544
+ {
3545
+ name: '',
3546
+ type: 'uint256',
3547
+ },
3548
+ ],
3549
+ },
3550
+ {
3551
+ stateMutability: 'nonpayable',
3552
+ type: 'function',
3553
+ name: 'mintPartnerLiquidityInEndaoment',
3554
+ inputs: [
3555
+ {
3556
+ name: '_partner',
3557
+ type: 'address',
3558
+ },
3559
+ {
3560
+ name: '_asset',
3561
+ type: 'address',
3562
+ },
3563
+ {
3564
+ name: '_amount',
3565
+ type: 'uint256',
3566
+ },
3567
+ ],
3568
+ outputs: [
3569
+ {
3570
+ name: '',
3571
+ type: 'uint256',
3572
+ },
3573
+ ],
3574
+ },
3575
+ {
3576
+ stateMutability: 'nonpayable',
3577
+ type: 'function',
3578
+ name: 'addPartnerLiquidityInEndaoment',
3579
+ inputs: [
3580
+ {
3581
+ name: '_legoId',
3582
+ type: 'uint256',
3583
+ },
3584
+ {
3585
+ name: '_pool',
3586
+ type: 'address',
3587
+ },
3588
+ {
3589
+ name: '_partner',
3590
+ type: 'address',
3591
+ },
3592
+ {
3593
+ name: '_asset',
3594
+ type: 'address',
3595
+ },
3596
+ ],
3597
+ outputs: [
3598
+ {
3599
+ name: '',
3600
+ type: 'uint256',
3601
+ },
3602
+ ],
3603
+ },
3604
+ {
3605
+ stateMutability: 'nonpayable',
3606
+ type: 'function',
3607
+ name: 'addPartnerLiquidityInEndaoment',
3608
+ inputs: [
3609
+ {
3610
+ name: '_legoId',
3611
+ type: 'uint256',
3612
+ },
3613
+ {
3614
+ name: '_pool',
3615
+ type: 'address',
3616
+ },
3617
+ {
3618
+ name: '_partner',
3619
+ type: 'address',
3620
+ },
3621
+ {
3622
+ name: '_asset',
3623
+ type: 'address',
3624
+ },
3625
+ {
3626
+ name: '_amount',
3627
+ type: 'uint256',
3628
+ },
3629
+ ],
3630
+ outputs: [
3631
+ {
3632
+ name: '',
3633
+ type: 'uint256',
3634
+ },
3635
+ ],
3636
+ },
3637
+ {
3638
+ stateMutability: 'nonpayable',
3639
+ type: 'function',
3640
+ name: 'addPartnerLiquidityInEndaoment',
3641
+ inputs: [
3642
+ {
3643
+ name: '_legoId',
3644
+ type: 'uint256',
3645
+ },
3646
+ {
3647
+ name: '_pool',
3648
+ type: 'address',
3649
+ },
3650
+ {
3651
+ name: '_partner',
3652
+ type: 'address',
3653
+ },
3654
+ {
3655
+ name: '_asset',
3656
+ type: 'address',
3657
+ },
3658
+ {
3659
+ name: '_amount',
3660
+ type: 'uint256',
3661
+ },
3662
+ {
3663
+ name: '_minLpAmount',
3664
+ type: 'uint256',
3665
+ },
3666
+ ],
3667
+ outputs: [
3668
+ {
3669
+ name: '',
3670
+ type: 'uint256',
3671
+ },
3672
+ ],
3673
+ },
3674
+ {
3675
+ stateMutability: 'nonpayable',
3676
+ type: 'function',
3677
+ name: 'repayPoolDebtInEndaoment',
3678
+ inputs: [
3679
+ {
3680
+ name: '_pool',
3681
+ type: 'address',
3682
+ },
3683
+ ],
3684
+ outputs: [
3685
+ {
3686
+ name: '',
3687
+ type: 'uint256',
3688
+ },
3689
+ ],
3690
+ },
3691
+ {
3692
+ stateMutability: 'nonpayable',
3693
+ type: 'function',
3694
+ name: 'repayPoolDebtInEndaoment',
3695
+ inputs: [
3696
+ {
3697
+ name: '_pool',
3698
+ type: 'address',
3699
+ },
3700
+ {
3701
+ name: '_amount',
3702
+ type: 'uint256',
3703
+ },
3704
+ ],
3705
+ outputs: [
3706
+ {
3707
+ name: '',
3708
+ type: 'uint256',
3709
+ },
3710
+ ],
3711
+ },
3712
+ {
3713
+ stateMutability: 'nonpayable',
3714
+ type: 'function',
3715
+ name: 'recoverNftInEndaoment',
3716
+ inputs: [
3717
+ {
3718
+ name: '_collection',
3719
+ type: 'address',
3720
+ },
3721
+ {
3722
+ name: '_nftTokenId',
3723
+ type: 'uint256',
3724
+ },
3725
+ {
3726
+ name: '_recipient',
3727
+ type: 'address',
3728
+ },
3729
+ ],
3730
+ outputs: [
3731
+ {
3732
+ name: '',
3733
+ type: 'uint256',
3734
+ },
3735
+ ],
3736
+ },
3737
+ {
3738
+ stateMutability: 'nonpayable',
3739
+ type: 'function',
3740
+ name: 'setTrainingWheels',
3741
+ inputs: [
3742
+ {
3743
+ name: '_trainingWheels',
3744
+ type: 'address',
3745
+ },
3746
+ ],
3747
+ outputs: [
3748
+ {
3749
+ name: '',
3750
+ type: 'uint256',
3751
+ },
3752
+ ],
3753
+ },
3754
+ {
3755
+ stateMutability: 'nonpayable',
3756
+ type: 'function',
3757
+ name: 'setManyTrainingWheelsAccess',
3758
+ inputs: [
3759
+ {
3760
+ name: '_addr',
3761
+ type: 'address',
3762
+ },
3763
+ {
3764
+ name: '_trainingWheels',
3765
+ type: 'tuple[]',
3766
+ components: [
3767
+ {
3768
+ name: 'user',
3769
+ type: 'address',
3770
+ },
3771
+ {
3772
+ name: 'isAllowed',
3773
+ type: 'bool',
3774
+ },
3775
+ ],
3776
+ },
3777
+ ],
3778
+ outputs: [
3779
+ {
3780
+ name: '',
3781
+ type: 'uint256',
3782
+ },
3783
+ ],
3784
+ },
3785
+ {
3786
+ stateMutability: 'nonpayable',
3787
+ type: 'function',
3788
+ name: 'executePendingAction',
3789
+ inputs: [
3790
+ {
3791
+ name: '_aid',
3792
+ type: 'uint256',
3793
+ },
3794
+ ],
3795
+ outputs: [
3796
+ {
3797
+ name: '',
3798
+ type: 'bool',
3799
+ },
3800
+ ],
3801
+ },
3802
+ {
3803
+ stateMutability: 'nonpayable',
3804
+ type: 'function',
3805
+ name: 'cancelPendingAction',
3806
+ inputs: [
3807
+ {
3808
+ name: '_aid',
3809
+ type: 'uint256',
3810
+ },
3811
+ ],
3812
+ outputs: [
3813
+ {
3814
+ name: '',
3815
+ type: 'bool',
3816
+ },
3817
+ ],
3818
+ },
3819
+ {
3820
+ stateMutability: 'view',
3821
+ type: 'function',
3822
+ name: 'actionType',
3823
+ inputs: [
3824
+ {
3825
+ name: 'arg0',
3826
+ type: 'uint256',
3827
+ },
3828
+ ],
3829
+ outputs: [
3830
+ {
3831
+ name: '',
3832
+ type: 'uint256',
3833
+ },
3834
+ ],
3835
+ },
3836
+ {
3837
+ stateMutability: 'view',
3838
+ type: 'function',
3839
+ name: 'pendingPauseActions',
3840
+ inputs: [
3841
+ {
3842
+ name: 'arg0',
3843
+ type: 'uint256',
3844
+ },
3845
+ ],
3846
+ outputs: [
3847
+ {
3848
+ name: '',
3849
+ type: 'tuple',
3850
+ components: [
3851
+ {
3852
+ name: 'contractAddr',
3853
+ type: 'address',
3854
+ },
3855
+ {
3856
+ name: 'shouldPause',
3857
+ type: 'bool',
3858
+ },
3859
+ ],
3860
+ },
3861
+ ],
3862
+ },
3863
+ {
3864
+ stateMutability: 'view',
3865
+ type: 'function',
3866
+ name: 'pendingRecoverFundsActions',
3867
+ inputs: [
3868
+ {
3869
+ name: 'arg0',
3870
+ type: 'uint256',
3871
+ },
3872
+ ],
3873
+ outputs: [
3874
+ {
3875
+ name: '',
3876
+ type: 'tuple',
3877
+ components: [
3878
+ {
3879
+ name: 'contractAddr',
3880
+ type: 'address',
3881
+ },
3882
+ {
3883
+ name: 'recipient',
3884
+ type: 'address',
3885
+ },
3886
+ {
3887
+ name: 'asset',
3888
+ type: 'address',
3889
+ },
3890
+ ],
3891
+ },
3892
+ ],
3893
+ },
3894
+ {
3895
+ stateMutability: 'view',
3896
+ type: 'function',
3897
+ name: 'pendingRecoverFundsManyActions',
3898
+ inputs: [
3899
+ {
3900
+ name: 'arg0',
3901
+ type: 'uint256',
3902
+ },
3903
+ ],
3904
+ outputs: [
3905
+ {
3906
+ name: '',
3907
+ type: 'tuple',
3908
+ components: [
3909
+ {
3910
+ name: 'contractAddr',
3911
+ type: 'address',
3912
+ },
3913
+ {
3914
+ name: 'recipient',
3915
+ type: 'address',
3916
+ },
3917
+ {
3918
+ name: 'assets',
3919
+ type: 'address[]',
3920
+ },
3921
+ ],
3922
+ },
3923
+ ],
3924
+ },
3925
+ {
3926
+ stateMutability: 'view',
3927
+ type: 'function',
3928
+ name: 'pendingStartAuctionActions',
3929
+ inputs: [
3930
+ {
3931
+ name: 'arg0',
3932
+ type: 'uint256',
3933
+ },
3934
+ ],
3935
+ outputs: [
3936
+ {
3937
+ name: '',
3938
+ type: 'tuple',
3939
+ components: [
3940
+ {
3941
+ name: 'liqUser',
3942
+ type: 'address',
3943
+ },
3944
+ {
3945
+ name: 'vaultId',
3946
+ type: 'uint256',
3947
+ },
3948
+ {
3949
+ name: 'asset',
3950
+ type: 'address',
3951
+ },
3952
+ ],
3953
+ },
3954
+ ],
3955
+ },
3956
+ {
3957
+ stateMutability: 'view',
3958
+ type: 'function',
3959
+ name: 'pendingStartManyAuctionsActions',
3960
+ inputs: [
3961
+ {
3962
+ name: 'arg0',
3963
+ type: 'uint256',
3964
+ },
3965
+ {
3966
+ name: 'arg1',
3967
+ type: 'uint256',
3968
+ },
3969
+ ],
3970
+ outputs: [
3971
+ {
3972
+ name: '',
3973
+ type: 'tuple',
3974
+ components: [
3975
+ {
3976
+ name: 'liqUser',
3977
+ type: 'address',
3978
+ },
3979
+ {
3980
+ name: 'vaultId',
3981
+ type: 'uint256',
3982
+ },
3983
+ {
3984
+ name: 'asset',
3985
+ type: 'address',
3986
+ },
3987
+ ],
3988
+ },
3989
+ ],
3990
+ },
3991
+ {
3992
+ stateMutability: 'view',
3993
+ type: 'function',
3994
+ name: 'pendingPauseAuctionActions',
3995
+ inputs: [
3996
+ {
3997
+ name: 'arg0',
3998
+ type: 'uint256',
3999
+ },
4000
+ ],
4001
+ outputs: [
4002
+ {
4003
+ name: '',
4004
+ type: 'tuple',
4005
+ components: [
4006
+ {
4007
+ name: 'liqUser',
4008
+ type: 'address',
4009
+ },
4010
+ {
4011
+ name: 'vaultId',
4012
+ type: 'uint256',
4013
+ },
4014
+ {
4015
+ name: 'asset',
4016
+ type: 'address',
4017
+ },
4018
+ ],
4019
+ },
4020
+ ],
4021
+ },
4022
+ {
4023
+ stateMutability: 'view',
4024
+ type: 'function',
4025
+ name: 'pendingPauseManyAuctionsActions',
4026
+ inputs: [
4027
+ {
4028
+ name: 'arg0',
4029
+ type: 'uint256',
4030
+ },
4031
+ {
4032
+ name: 'arg1',
4033
+ type: 'uint256',
4034
+ },
4035
+ ],
4036
+ outputs: [
4037
+ {
4038
+ name: '',
4039
+ type: 'tuple',
4040
+ components: [
4041
+ {
4042
+ name: 'liqUser',
4043
+ type: 'address',
4044
+ },
4045
+ {
4046
+ name: 'vaultId',
4047
+ type: 'uint256',
4048
+ },
4049
+ {
4050
+ name: 'asset',
4051
+ type: 'address',
4052
+ },
4053
+ ],
4054
+ },
4055
+ ],
4056
+ },
4057
+ {
4058
+ stateMutability: 'view',
4059
+ type: 'function',
4060
+ name: 'pendingEndaoSwapActions',
4061
+ inputs: [
4062
+ {
4063
+ name: 'arg0',
4064
+ type: 'uint256',
4065
+ },
4066
+ {
4067
+ name: 'arg1',
4068
+ type: 'uint256',
4069
+ },
4070
+ ],
4071
+ outputs: [
4072
+ {
4073
+ name: '',
4074
+ type: 'tuple',
4075
+ components: [
4076
+ {
4077
+ name: 'legoId',
4078
+ type: 'uint256',
4079
+ },
4080
+ {
4081
+ name: 'amountIn',
4082
+ type: 'uint256',
4083
+ },
4084
+ {
4085
+ name: 'minAmountOut',
4086
+ type: 'uint256',
4087
+ },
4088
+ {
4089
+ name: 'tokenPath',
4090
+ type: 'address[]',
4091
+ },
4092
+ {
4093
+ name: 'poolPath',
4094
+ type: 'address[]',
4095
+ },
4096
+ ],
4097
+ },
4098
+ ],
4099
+ },
4100
+ {
4101
+ stateMutability: 'view',
4102
+ type: 'function',
4103
+ name: 'pendingEndaoAddLiquidityActions',
4104
+ inputs: [
4105
+ {
4106
+ name: 'arg0',
4107
+ type: 'uint256',
4108
+ },
4109
+ ],
4110
+ outputs: [
4111
+ {
4112
+ name: '',
4113
+ type: 'tuple',
4114
+ components: [
4115
+ {
4116
+ name: 'legoId',
4117
+ type: 'uint256',
4118
+ },
4119
+ {
4120
+ name: 'nftAddr',
4121
+ type: 'address',
4122
+ },
4123
+ {
4124
+ name: 'nftTokenId',
4125
+ type: 'uint256',
4126
+ },
4127
+ {
4128
+ name: 'pool',
4129
+ type: 'address',
4130
+ },
4131
+ {
4132
+ name: 'tokenA',
4133
+ type: 'address',
4134
+ },
4135
+ {
4136
+ name: 'tokenB',
4137
+ type: 'address',
4138
+ },
4139
+ {
4140
+ name: 'amountA',
4141
+ type: 'uint256',
4142
+ },
4143
+ {
4144
+ name: 'amountB',
4145
+ type: 'uint256',
4146
+ },
4147
+ {
4148
+ name: 'tickLower',
4149
+ type: 'int24',
4150
+ },
4151
+ {
4152
+ name: 'tickUpper',
4153
+ type: 'int24',
4154
+ },
4155
+ {
4156
+ name: 'minAmountA',
4157
+ type: 'uint256',
4158
+ },
4159
+ {
4160
+ name: 'minAmountB',
4161
+ type: 'uint256',
4162
+ },
4163
+ {
4164
+ name: 'minLpAmount',
4165
+ type: 'uint256',
4166
+ },
4167
+ ],
4168
+ },
4169
+ ],
4170
+ },
4171
+ {
4172
+ stateMutability: 'view',
4173
+ type: 'function',
4174
+ name: 'pendingEndaoRemoveLiquidityActions',
4175
+ inputs: [
4176
+ {
4177
+ name: 'arg0',
4178
+ type: 'uint256',
4179
+ },
4180
+ ],
4181
+ outputs: [
4182
+ {
4183
+ name: '',
4184
+ type: 'tuple',
4185
+ components: [
4186
+ {
4187
+ name: 'legoId',
4188
+ type: 'uint256',
4189
+ },
4190
+ {
4191
+ name: 'nftAddr',
4192
+ type: 'address',
4193
+ },
4194
+ {
4195
+ name: 'nftTokenId',
4196
+ type: 'uint256',
4197
+ },
4198
+ {
4199
+ name: 'pool',
4200
+ type: 'address',
4201
+ },
4202
+ {
4203
+ name: 'tokenA',
4204
+ type: 'address',
4205
+ },
4206
+ {
4207
+ name: 'tokenB',
4208
+ type: 'address',
4209
+ },
4210
+ {
4211
+ name: 'liqToRemove',
4212
+ type: 'uint256',
4213
+ },
4214
+ {
4215
+ name: 'minAmountA',
4216
+ type: 'uint256',
4217
+ },
4218
+ {
4219
+ name: 'minAmountB',
4220
+ type: 'uint256',
4221
+ },
4222
+ ],
4223
+ },
4224
+ ],
4225
+ },
4226
+ {
4227
+ stateMutability: 'view',
4228
+ type: 'function',
4229
+ name: 'pendingEndaoPartnerMintActions',
4230
+ inputs: [
4231
+ {
4232
+ name: 'arg0',
4233
+ type: 'uint256',
4234
+ },
4235
+ ],
4236
+ outputs: [
4237
+ {
4238
+ name: '',
4239
+ type: 'tuple',
4240
+ components: [
4241
+ {
4242
+ name: 'partner',
4243
+ type: 'address',
4244
+ },
4245
+ {
4246
+ name: 'asset',
4247
+ type: 'address',
4248
+ },
4249
+ {
4250
+ name: 'amount',
4251
+ type: 'uint256',
4252
+ },
4253
+ ],
4254
+ },
4255
+ ],
4256
+ },
4257
+ {
4258
+ stateMutability: 'view',
4259
+ type: 'function',
4260
+ name: 'pendingEndaoPartnerPoolActions',
4261
+ inputs: [
4262
+ {
4263
+ name: 'arg0',
4264
+ type: 'uint256',
4265
+ },
4266
+ ],
4267
+ outputs: [
4268
+ {
4269
+ name: '',
4270
+ type: 'tuple',
4271
+ components: [
4272
+ {
4273
+ name: 'legoId',
4274
+ type: 'uint256',
4275
+ },
4276
+ {
4277
+ name: 'pool',
4278
+ type: 'address',
4279
+ },
4280
+ {
4281
+ name: 'partner',
4282
+ type: 'address',
4283
+ },
4284
+ {
4285
+ name: 'asset',
4286
+ type: 'address',
4287
+ },
4288
+ {
4289
+ name: 'amount',
4290
+ type: 'uint256',
4291
+ },
4292
+ {
4293
+ name: 'minLpAmount',
4294
+ type: 'uint256',
4295
+ },
4296
+ ],
4297
+ },
4298
+ ],
4299
+ },
4300
+ {
4301
+ stateMutability: 'view',
4302
+ type: 'function',
4303
+ name: 'pendingEndaoRepayActions',
4304
+ inputs: [
4305
+ {
4306
+ name: 'arg0',
4307
+ type: 'uint256',
4308
+ },
4309
+ ],
4310
+ outputs: [
4311
+ {
4312
+ name: '',
4313
+ type: 'tuple',
4314
+ components: [
4315
+ {
4316
+ name: 'pool',
4317
+ type: 'address',
4318
+ },
4319
+ {
4320
+ name: 'amount',
4321
+ type: 'uint256',
4322
+ },
4323
+ ],
4324
+ },
4325
+ ],
4326
+ },
4327
+ {
4328
+ stateMutability: 'view',
4329
+ type: 'function',
4330
+ name: 'pendingEndaoRecoverNftActions',
4331
+ inputs: [
4332
+ {
4333
+ name: 'arg0',
4334
+ type: 'uint256',
4335
+ },
4336
+ ],
4337
+ outputs: [
4338
+ {
4339
+ name: '',
4340
+ type: 'tuple',
4341
+ components: [
4342
+ {
4343
+ name: 'collection',
4344
+ type: 'address',
4345
+ },
4346
+ {
4347
+ name: 'nftTokenId',
4348
+ type: 'uint256',
4349
+ },
4350
+ {
4351
+ name: 'recipient',
4352
+ type: 'address',
4353
+ },
4354
+ ],
4355
+ },
4356
+ ],
4357
+ },
4358
+ {
4359
+ stateMutability: 'view',
4360
+ type: 'function',
4361
+ name: 'pendingTrainingWheels',
4362
+ inputs: [
4363
+ {
4364
+ name: 'arg0',
4365
+ type: 'uint256',
4366
+ },
4367
+ ],
4368
+ outputs: [
4369
+ {
4370
+ name: '',
4371
+ type: 'address',
4372
+ },
4373
+ ],
4374
+ },
4375
+ {
4376
+ stateMutability: 'view',
4377
+ type: 'function',
4378
+ name: 'pendingTrainingWheelAccess',
4379
+ inputs: [
4380
+ {
4381
+ name: 'arg0',
4382
+ type: 'uint256',
4383
+ },
4384
+ ],
4385
+ outputs: [
4386
+ {
4387
+ name: '',
4388
+ type: 'tuple',
4389
+ components: [
4390
+ {
4391
+ name: 'addr',
4392
+ type: 'address',
4393
+ },
4394
+ {
4395
+ name: 'trainingWheels',
4396
+ type: 'tuple[]',
4397
+ components: [
4398
+ {
4399
+ name: 'user',
4400
+ type: 'address',
4401
+ },
4402
+ {
4403
+ name: 'isAllowed',
4404
+ type: 'bool',
4405
+ },
4406
+ ],
4407
+ },
4408
+ ],
4409
+ },
4410
+ ],
4411
+ },
4412
+ {
4413
+ stateMutability: 'nonpayable',
4414
+ type: 'constructor',
4415
+ inputs: [
4416
+ {
4417
+ name: '_ripeHq',
4418
+ type: 'address',
4419
+ },
4420
+ {
4421
+ name: '_minConfigTimeLock',
4422
+ type: 'uint256',
4423
+ },
4424
+ {
4425
+ name: '_maxConfigTimeLock',
4426
+ type: 'uint256',
4427
+ },
4428
+ ],
4429
+ outputs: [],
4430
+ },
4431
+ ];
4432
+ export const deployAddress = '0x8412b523f5df164d9404A1e3d9f28B61e2440c75';
4433
+ function getRequest(method, args, contractAddressOrOptions) {
4434
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
4435
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
4436
+ const call = {
4437
+ contractName: 'SwitchboardCharlie',
4438
+ method,
4439
+ args,
4440
+ address,
4441
+ deployAddress,
4442
+ defaultValue,
4443
+ getAbi: () => abi,
4444
+ with: (options) => {
4445
+ call.address = options.contractAddress;
4446
+ call.defaultValue = options.defaultValue;
4447
+ return call;
4448
+ },
4449
+ defaultTo: (defaultValue) => {
4450
+ call.defaultValue = defaultValue;
4451
+ return call;
4452
+ },
4453
+ at: (address) => {
4454
+ call.address = address;
4455
+ return call;
4456
+ },
4457
+ };
4458
+ return call;
4459
+ }
4460
+ export const call = {
4461
+ getRipeHqFromGov: (...args) => getRequest('getRipeHqFromGov', args),
4462
+ canGovern: (...args) => getRequest('canGovern', args),
4463
+ getGovernors: (...args) => getRequest('getGovernors', args),
4464
+ hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
4465
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
4466
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
4467
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
4468
+ governance: (...args) => getRequest('governance', args),
4469
+ pendingGov: (...args) => getRequest('pendingGov', args),
4470
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
4471
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
4472
+ canConfirmAction: (...args) => getRequest('canConfirmAction', args),
4473
+ isExpired: (...args) => getRequest('isExpired', args),
4474
+ hasPendingAction: (...args) => getRequest('hasPendingAction', args),
4475
+ getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
4476
+ isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
4477
+ minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
4478
+ maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
4479
+ pendingActions: (...args) => getRequest('pendingActions', args),
4480
+ actionId: (...args) => getRequest('actionId', args),
4481
+ actionTimeLock: (...args) => getRequest('actionTimeLock', args),
4482
+ expiration: (...args) => getRequest('expiration', args),
4483
+ actionType: (...args) => getRequest('actionType', args),
4484
+ pendingPauseActions: (...args) => getRequest('pendingPauseActions', args),
4485
+ pendingRecoverFundsActions: (...args) => getRequest('pendingRecoverFundsActions', args),
4486
+ pendingRecoverFundsManyActions: (...args) => getRequest('pendingRecoverFundsManyActions', args),
4487
+ pendingStartAuctionActions: (...args) => getRequest('pendingStartAuctionActions', args),
4488
+ pendingStartManyAuctionsActions: (...args) => getRequest('pendingStartManyAuctionsActions', args),
4489
+ pendingPauseAuctionActions: (...args) => getRequest('pendingPauseAuctionActions', args),
4490
+ pendingPauseManyAuctionsActions: (...args) => getRequest('pendingPauseManyAuctionsActions', args),
4491
+ pendingEndaoSwapActions: (...args) => getRequest('pendingEndaoSwapActions', args),
4492
+ pendingEndaoAddLiquidityActions: (...args) => getRequest('pendingEndaoAddLiquidityActions', args),
4493
+ pendingEndaoRemoveLiquidityActions: (...args) => getRequest('pendingEndaoRemoveLiquidityActions', args),
4494
+ pendingEndaoPartnerMintActions: (...args) => getRequest('pendingEndaoPartnerMintActions', args),
4495
+ pendingEndaoPartnerPoolActions: (...args) => getRequest('pendingEndaoPartnerPoolActions', args),
4496
+ pendingEndaoRepayActions: (...args) => getRequest('pendingEndaoRepayActions', args),
4497
+ pendingEndaoRecoverNftActions: (...args) => getRequest('pendingEndaoRecoverNftActions', args),
4498
+ pendingTrainingWheels: (...args) => getRequest('pendingTrainingWheels', args),
4499
+ pendingTrainingWheelAccess: (...args) => getRequest('pendingTrainingWheelAccess', args),
4500
+ };
4501
+ function getMutation(functionName) {
4502
+ return {
4503
+ contractName: 'SwitchboardCharlie',
4504
+ functionName,
4505
+ deployAddress,
4506
+ argsType: undefined,
4507
+ getAbi: () => abi,
4508
+ };
4509
+ }
4510
+ export const mutation = {
4511
+ startGovernanceChange: getMutation('startGovernanceChange'),
4512
+ confirmGovernanceChange: getMutation('confirmGovernanceChange'),
4513
+ cancelGovernanceChange: getMutation('cancelGovernanceChange'),
4514
+ setGovTimeLock: getMutation('setGovTimeLock'),
4515
+ finishRipeHqSetup: getMutation('finishRipeHqSetup'),
4516
+ setActionTimeLock: getMutation('setActionTimeLock'),
4517
+ setExpiration: getMutation('setExpiration'),
4518
+ setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
4519
+ pause: getMutation('pause'),
4520
+ recoverFunds: getMutation('recoverFunds'),
4521
+ recoverFundsMany: getMutation('recoverFundsMany'),
4522
+ setBlacklist: getMutation('setBlacklist'),
4523
+ setLockedAccount: getMutation('setLockedAccount'),
4524
+ updateDebtForUser: getMutation('updateDebtForUser'),
4525
+ updateDebtForManyUsers: getMutation('updateDebtForManyUsers'),
4526
+ claimLootForUser: getMutation('claimLootForUser'),
4527
+ claimLootForManyUsers: getMutation('claimLootForManyUsers'),
4528
+ updateRipeRewards: getMutation('updateRipeRewards'),
4529
+ claimDepositLootForAsset: getMutation('claimDepositLootForAsset'),
4530
+ updateDepositPoints: getMutation('updateDepositPoints'),
4531
+ startAuction: getMutation('startAuction'),
4532
+ startManyAuctions: getMutation('startManyAuctions'),
4533
+ pauseAuction: getMutation('pauseAuction'),
4534
+ pauseManyAuctions: getMutation('pauseManyAuctions'),
4535
+ performEndaomentDeposit: getMutation('performEndaomentDeposit'),
4536
+ performEndaomentWithdraw: getMutation('performEndaomentWithdraw'),
4537
+ performEndaomentRebalance: getMutation('performEndaomentRebalance'),
4538
+ performEndaomentEthToWeth: getMutation('performEndaomentEthToWeth'),
4539
+ performEndaomentWethToEth: getMutation('performEndaomentWethToEth'),
4540
+ performEndaomentClaim: getMutation('performEndaomentClaim'),
4541
+ performEndaomentStabilizer: getMutation('performEndaomentStabilizer'),
4542
+ performEndaomentSwap: getMutation('performEndaomentSwap'),
4543
+ addLiquidityInEndaoment: getMutation('addLiquidityInEndaoment'),
4544
+ removeLiquidityInEndaoment: getMutation('removeLiquidityInEndaoment'),
4545
+ mintPartnerLiquidityInEndaoment: getMutation('mintPartnerLiquidityInEndaoment'),
4546
+ addPartnerLiquidityInEndaoment: getMutation('addPartnerLiquidityInEndaoment'),
4547
+ repayPoolDebtInEndaoment: getMutation('repayPoolDebtInEndaoment'),
4548
+ recoverNftInEndaoment: getMutation('recoverNftInEndaoment'),
4549
+ setTrainingWheels: getMutation('setTrainingWheels'),
4550
+ setManyTrainingWheelsAccess: getMutation('setManyTrainingWheelsAccess'),
4551
+ executePendingAction: getMutation('executePendingAction'),
4552
+ cancelPendingAction: getMutation('cancelPendingAction'),
4553
+ };
4554
+ export function toSdk(publicClient, walletClient) {
4555
+ return {
4556
+ deployAddress,
4557
+ abi,
4558
+ // Queries
4559
+ getRipeHqFromGov: (...args) => singleQuery(publicClient, call.getRipeHqFromGov(...args)),
4560
+ canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
4561
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
4562
+ hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
4563
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
4564
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
4565
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
4566
+ governance: (...args) => singleQuery(publicClient, call.governance(...args)),
4567
+ pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
4568
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
4569
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
4570
+ canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
4571
+ isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
4572
+ hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
4573
+ getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
4574
+ isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
4575
+ minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
4576
+ maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
4577
+ pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
4578
+ actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
4579
+ actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
4580
+ expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
4581
+ actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
4582
+ pendingPauseActions: (...args) => singleQuery(publicClient, call.pendingPauseActions(...args)),
4583
+ pendingRecoverFundsActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsActions(...args)),
4584
+ pendingRecoverFundsManyActions: (...args) => singleQuery(publicClient, call.pendingRecoverFundsManyActions(...args)),
4585
+ pendingStartAuctionActions: (...args) => singleQuery(publicClient, call.pendingStartAuctionActions(...args)),
4586
+ pendingStartManyAuctionsActions: (...args) => singleQuery(publicClient, call.pendingStartManyAuctionsActions(...args)),
4587
+ pendingPauseAuctionActions: (...args) => singleQuery(publicClient, call.pendingPauseAuctionActions(...args)),
4588
+ pendingPauseManyAuctionsActions: (...args) => singleQuery(publicClient, call.pendingPauseManyAuctionsActions(...args)),
4589
+ pendingEndaoSwapActions: (...args) => singleQuery(publicClient, call.pendingEndaoSwapActions(...args)),
4590
+ pendingEndaoAddLiquidityActions: (...args) => singleQuery(publicClient, call.pendingEndaoAddLiquidityActions(...args)),
4591
+ pendingEndaoRemoveLiquidityActions: (...args) => singleQuery(publicClient, call.pendingEndaoRemoveLiquidityActions(...args)),
4592
+ pendingEndaoPartnerMintActions: (...args) => singleQuery(publicClient, call.pendingEndaoPartnerMintActions(...args)),
4593
+ pendingEndaoPartnerPoolActions: (...args) => singleQuery(publicClient, call.pendingEndaoPartnerPoolActions(...args)),
4594
+ pendingEndaoRepayActions: (...args) => singleQuery(publicClient, call.pendingEndaoRepayActions(...args)),
4595
+ pendingEndaoRecoverNftActions: (...args) => singleQuery(publicClient, call.pendingEndaoRecoverNftActions(...args)),
4596
+ pendingTrainingWheels: (...args) => singleQuery(publicClient, call.pendingTrainingWheels(...args)),
4597
+ pendingTrainingWheelAccess: (...args) => singleQuery(publicClient, call.pendingTrainingWheelAccess(...args)),
4598
+ // Mutations
4599
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
4600
+ confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
4601
+ cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
4602
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
4603
+ finishRipeHqSetup: (...args) => mutate(walletClient, mutation.finishRipeHqSetup)(...args),
4604
+ setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
4605
+ setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
4606
+ setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
4607
+ pause: (...args) => mutate(walletClient, mutation.pause)(...args),
4608
+ recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
4609
+ recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
4610
+ setBlacklist: (...args) => mutate(walletClient, mutation.setBlacklist)(...args),
4611
+ setLockedAccount: (...args) => mutate(walletClient, mutation.setLockedAccount)(...args),
4612
+ updateDebtForUser: (...args) => mutate(walletClient, mutation.updateDebtForUser)(...args),
4613
+ updateDebtForManyUsers: (...args) => mutate(walletClient, mutation.updateDebtForManyUsers)(...args),
4614
+ claimLootForUser: (...args) => mutate(walletClient, mutation.claimLootForUser)(...args),
4615
+ claimLootForManyUsers: (...args) => mutate(walletClient, mutation.claimLootForManyUsers)(...args),
4616
+ updateRipeRewards: (...args) => mutate(walletClient, mutation.updateRipeRewards)(...args),
4617
+ claimDepositLootForAsset: (...args) => mutate(walletClient, mutation.claimDepositLootForAsset)(...args),
4618
+ updateDepositPoints: (...args) => mutate(walletClient, mutation.updateDepositPoints)(...args),
4619
+ startAuction: (...args) => mutate(walletClient, mutation.startAuction)(...args),
4620
+ startManyAuctions: (...args) => mutate(walletClient, mutation.startManyAuctions)(...args),
4621
+ pauseAuction: (...args) => mutate(walletClient, mutation.pauseAuction)(...args),
4622
+ pauseManyAuctions: (...args) => mutate(walletClient, mutation.pauseManyAuctions)(...args),
4623
+ performEndaomentDeposit: (...args) => mutate(walletClient, mutation.performEndaomentDeposit)(...args),
4624
+ performEndaomentWithdraw: (...args) => mutate(walletClient, mutation.performEndaomentWithdraw)(...args),
4625
+ performEndaomentRebalance: (...args) => mutate(walletClient, mutation.performEndaomentRebalance)(...args),
4626
+ performEndaomentEthToWeth: (...args) => mutate(walletClient, mutation.performEndaomentEthToWeth)(...args),
4627
+ performEndaomentWethToEth: (...args) => mutate(walletClient, mutation.performEndaomentWethToEth)(...args),
4628
+ performEndaomentClaim: (...args) => mutate(walletClient, mutation.performEndaomentClaim)(...args),
4629
+ performEndaomentStabilizer: (...args) => mutate(walletClient, mutation.performEndaomentStabilizer)(...args),
4630
+ performEndaomentSwap: (...args) => mutate(walletClient, mutation.performEndaomentSwap)(...args),
4631
+ addLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.addLiquidityInEndaoment)(...args),
4632
+ removeLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.removeLiquidityInEndaoment)(...args),
4633
+ mintPartnerLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.mintPartnerLiquidityInEndaoment)(...args),
4634
+ addPartnerLiquidityInEndaoment: (...args) => mutate(walletClient, mutation.addPartnerLiquidityInEndaoment)(...args),
4635
+ repayPoolDebtInEndaoment: (...args) => mutate(walletClient, mutation.repayPoolDebtInEndaoment)(...args),
4636
+ recoverNftInEndaoment: (...args) => mutate(walletClient, mutation.recoverNftInEndaoment)(...args),
4637
+ setTrainingWheels: (...args) => mutate(walletClient, mutation.setTrainingWheels)(...args),
4638
+ setManyTrainingWheelsAccess: (...args) => mutate(walletClient, mutation.setManyTrainingWheelsAccess)(...args),
4639
+ executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
4640
+ cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
4641
+ };
4642
+ }