@underscore-finance/sdk 1.1.2 → 1.2.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 (181) hide show
  1. package/dist/contracts/AaveV3.d.ts +126 -13
  2. package/dist/contracts/AaveV3.d.ts.map +1 -1
  3. package/dist/contracts/AaveV3.js +159 -13
  4. package/dist/contracts/AeroClassic.d.ts +85 -0
  5. package/dist/contracts/AeroClassic.d.ts.map +1 -1
  6. package/dist/contracts/AeroClassic.js +109 -1
  7. package/dist/contracts/AeroSlipstream.d.ts +119 -0
  8. package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
  9. package/dist/contracts/AeroSlipstream.js +151 -1
  10. package/dist/contracts/AgentSenderGeneric.d.ts +4027 -0
  11. package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -0
  12. package/dist/contracts/AgentSenderGeneric.js +5280 -0
  13. package/dist/contracts/AgentSenderSpecial.d.ts +1968 -0
  14. package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -0
  15. package/dist/contracts/AgentSenderSpecial.js +2509 -0
  16. package/dist/contracts/AgentWrapper.d.ts +170 -1462
  17. package/dist/contracts/AgentWrapper.d.ts.map +1 -1
  18. package/dist/contracts/AgentWrapper.js +262 -1869
  19. package/dist/contracts/AgentWrapperV1.d.ts +3760 -0
  20. package/dist/contracts/AgentWrapperV1.d.ts.map +1 -0
  21. package/dist/contracts/AgentWrapperV1.js +4922 -0
  22. package/dist/contracts/Appraiser.d.ts +18 -459
  23. package/dist/contracts/Appraiser.d.ts.map +1 -1
  24. package/dist/contracts/Appraiser.js +75 -649
  25. package/dist/contracts/Avantis.d.ts +2565 -0
  26. package/dist/contracts/Avantis.d.ts.map +1 -0
  27. package/dist/contracts/Avantis.js +3256 -0
  28. package/dist/contracts/Billing.d.ts +4 -68
  29. package/dist/contracts/Billing.d.ts.map +1 -1
  30. package/dist/contracts/Billing.js +5 -82
  31. package/dist/contracts/ChequeBook.d.ts +52 -1
  32. package/dist/contracts/ChequeBook.d.ts.map +1 -1
  33. package/dist/contracts/ChequeBook.js +53 -1
  34. package/dist/contracts/CompoundV3.d.ts +126 -13
  35. package/dist/contracts/CompoundV3.d.ts.map +1 -1
  36. package/dist/contracts/CompoundV3.js +159 -13
  37. package/dist/contracts/ConvertVaultToken.d.ts +63 -0
  38. package/dist/contracts/ConvertVaultToken.d.ts.map +1 -0
  39. package/dist/contracts/ConvertVaultToken.js +75 -0
  40. package/dist/contracts/Curve.d.ts +14 -0
  41. package/dist/contracts/Curve.d.ts.map +1 -1
  42. package/dist/contracts/Curve.js +19 -1
  43. package/dist/contracts/DefaultsBase.d.ts +45 -56
  44. package/dist/contracts/DefaultsBase.d.ts.map +1 -1
  45. package/dist/contracts/DefaultsBase.js +45 -59
  46. package/dist/contracts/EarnVault.d.ts +1680 -0
  47. package/dist/contracts/EarnVault.d.ts.map +1 -0
  48. package/dist/contracts/EarnVault.js +2206 -0
  49. package/dist/contracts/EarnVaultAgent.d.ts +1004 -0
  50. package/dist/contracts/EarnVaultAgent.d.ts.map +1 -0
  51. package/dist/contracts/EarnVaultAgent.js +1273 -0
  52. package/dist/contracts/EarnVaultAgentSigHelper.d.ts +904 -0
  53. package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -0
  54. package/dist/contracts/EarnVaultAgentSigHelper.js +1198 -0
  55. package/dist/contracts/Euler.d.ts +131 -14
  56. package/dist/contracts/Euler.d.ts.map +1 -1
  57. package/dist/contracts/Euler.js +164 -13
  58. package/dist/contracts/Fluid.d.ts +159 -14
  59. package/dist/contracts/Fluid.d.ts.map +1 -1
  60. package/dist/contracts/Fluid.js +200 -13
  61. package/dist/contracts/FortyAcres.d.ts +145 -14
  62. package/dist/contracts/FortyAcres.d.ts.map +1 -1
  63. package/dist/contracts/FortyAcres.js +182 -13
  64. package/dist/contracts/Hatchery.d.ts +6 -176
  65. package/dist/contracts/Hatchery.d.ts.map +1 -1
  66. package/dist/contracts/Hatchery.js +5 -225
  67. package/dist/contracts/HighCommand.d.ts +237 -1
  68. package/dist/contracts/HighCommand.d.ts.map +1 -1
  69. package/dist/contracts/HighCommand.js +259 -1
  70. package/dist/contracts/Kernel.d.ts +8 -0
  71. package/dist/contracts/Kernel.d.ts.map +1 -1
  72. package/dist/contracts/Kernel.js +9 -1
  73. package/dist/contracts/LegoBook.js +1 -1
  74. package/dist/contracts/LegoTools.js +1 -1
  75. package/dist/contracts/LevgVaultHelper.d.ts +1070 -0
  76. package/dist/contracts/LevgVaultHelper.d.ts.map +1 -0
  77. package/dist/contracts/LevgVaultHelper.js +1414 -0
  78. package/dist/contracts/LootDistributor.d.ts +49 -131
  79. package/dist/contracts/LootDistributor.d.ts.map +1 -1
  80. package/dist/contracts/LootDistributor.js +58 -157
  81. package/dist/contracts/Migrator.d.ts +4 -0
  82. package/dist/contracts/Migrator.d.ts.map +1 -1
  83. package/dist/contracts/Migrator.js +5 -1
  84. package/dist/contracts/MissionControl.d.ts +211 -295
  85. package/dist/contracts/MissionControl.d.ts.map +1 -1
  86. package/dist/contracts/MissionControl.js +216 -305
  87. package/dist/contracts/Moonwell.d.ts +131 -14
  88. package/dist/contracts/Moonwell.d.ts.map +1 -1
  89. package/dist/contracts/Moonwell.js +164 -13
  90. package/dist/contracts/Morpho.d.ts +131 -14
  91. package/dist/contracts/Morpho.d.ts.map +1 -1
  92. package/dist/contracts/Morpho.js +164 -13
  93. package/dist/contracts/Paymaster.d.ts +4 -0
  94. package/dist/contracts/Paymaster.d.ts.map +1 -1
  95. package/dist/contracts/Paymaster.js +5 -1
  96. package/dist/contracts/RipeLego.d.ts +267 -81
  97. package/dist/contracts/RipeLego.d.ts.map +1 -1
  98. package/dist/contracts/RipeLego.js +322 -87
  99. package/dist/contracts/Sentinel.d.ts +275 -7
  100. package/dist/contracts/Sentinel.d.ts.map +1 -1
  101. package/dist/contracts/Sentinel.js +331 -7
  102. package/dist/contracts/SkyPsm.d.ts +2622 -0
  103. package/dist/contracts/SkyPsm.d.ts.map +1 -0
  104. package/dist/contracts/SkyPsm.js +3329 -0
  105. package/dist/contracts/Switchboard.d.ts +7 -0
  106. package/dist/contracts/Switchboard.d.ts.map +1 -1
  107. package/dist/contracts/Switchboard.js +9 -1
  108. package/dist/contracts/SwitchboardAlpha.d.ts +499 -264
  109. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
  110. package/dist/contracts/SwitchboardAlpha.js +566 -282
  111. package/dist/contracts/SwitchboardBravo.d.ts +4 -24
  112. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
  113. package/dist/contracts/SwitchboardBravo.js +5 -32
  114. package/dist/contracts/SwitchboardCharlie.d.ts +1796 -343
  115. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
  116. package/dist/contracts/SwitchboardCharlie.js +2178 -368
  117. package/dist/contracts/UnderscoreLego.d.ts +129 -15
  118. package/dist/contracts/UnderscoreLego.d.ts.map +1 -1
  119. package/dist/contracts/UnderscoreLego.js +161 -14
  120. package/dist/contracts/UndyAero.d.ts +1680 -0
  121. package/dist/contracts/UndyAero.d.ts.map +1 -0
  122. package/dist/contracts/UndyAero.js +2206 -0
  123. package/dist/contracts/UndyBtc.d.ts +209 -16
  124. package/dist/contracts/UndyBtc.d.ts.map +1 -1
  125. package/dist/contracts/UndyBtc.js +267 -16
  126. package/dist/contracts/UndyCbeth.d.ts +1680 -0
  127. package/dist/contracts/UndyCbeth.d.ts.map +1 -0
  128. package/dist/contracts/UndyCbeth.js +2206 -0
  129. package/dist/contracts/UndyEth.d.ts +209 -16
  130. package/dist/contracts/UndyEth.d.ts.map +1 -1
  131. package/dist/contracts/UndyEth.js +267 -16
  132. package/dist/contracts/UndyEurc.d.ts +1680 -0
  133. package/dist/contracts/UndyEurc.d.ts.map +1 -0
  134. package/dist/contracts/UndyEurc.js +2206 -0
  135. package/dist/contracts/UndyGho.d.ts +1680 -0
  136. package/dist/contracts/UndyGho.d.ts.map +1 -0
  137. package/dist/contracts/UndyGho.js +2206 -0
  138. package/dist/contracts/UndyUsd.d.ts +209 -16
  139. package/dist/contracts/UndyUsd.d.ts.map +1 -1
  140. package/dist/contracts/UndyUsd.js +267 -16
  141. package/dist/contracts/UndyUsds.d.ts +1680 -0
  142. package/dist/contracts/UndyUsds.d.ts.map +1 -0
  143. package/dist/contracts/UndyUsds.js +2206 -0
  144. package/dist/contracts/UniswapV2.d.ts +85 -0
  145. package/dist/contracts/UniswapV2.d.ts.map +1 -1
  146. package/dist/contracts/UniswapV2.js +109 -1
  147. package/dist/contracts/UniswapV3.d.ts +119 -0
  148. package/dist/contracts/UniswapV3.d.ts.map +1 -1
  149. package/dist/contracts/UniswapV3.js +151 -1
  150. package/dist/contracts/UserWallet.d.ts +12 -8
  151. package/dist/contracts/UserWallet.d.ts.map +1 -1
  152. package/dist/contracts/UserWallet.js +13 -9
  153. package/dist/contracts/UserWalletConfig.d.ts +198 -56
  154. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  155. package/dist/contracts/UserWalletConfig.js +225 -72
  156. package/dist/contracts/UserWalletConfigV1.d.ts +3655 -0
  157. package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -0
  158. package/dist/contracts/UserWalletConfigV1.js +4251 -0
  159. package/dist/contracts/UserWalletV1.d.ts +2633 -0
  160. package/dist/contracts/UserWalletV1.d.ts.map +1 -0
  161. package/dist/contracts/UserWalletV1.js +3500 -0
  162. package/dist/contracts/VaultRegistry.d.ts +848 -85
  163. package/dist/contracts/VaultRegistry.d.ts.map +1 -1
  164. package/dist/contracts/VaultRegistry.js +1078 -83
  165. package/dist/contracts/WalletBackpack.d.ts +4 -0
  166. package/dist/contracts/WalletBackpack.d.ts.map +1 -1
  167. package/dist/contracts/WalletBackpack.js +5 -1
  168. package/dist/contracts/Wasabi.d.ts +2579 -0
  169. package/dist/contracts/Wasabi.d.ts.map +1 -0
  170. package/dist/contracts/Wasabi.js +3274 -0
  171. package/dist/contracts/index.d.ts +18 -1
  172. package/dist/contracts/index.d.ts.map +1 -1
  173. package/dist/contracts/index.js +18 -1
  174. package/dist/contracts/sdk.d.ts +36 -2
  175. package/dist/contracts/sdk.d.ts.map +1 -1
  176. package/dist/contracts/sdk.js +36 -2
  177. package/dist/getSwapInstructions.js +1 -1
  178. package/dist/index.d.ts +95 -8
  179. package/dist/index.d.ts.map +1 -1
  180. package/dist/index.js +45 -7
  181. package/package.json +3 -3
@@ -0,0 +1,2206 @@
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
+ anonymous: false,
9
+ inputs: [
10
+ {
11
+ indexed: true,
12
+ name: 'sender',
13
+ type: 'address',
14
+ },
15
+ {
16
+ indexed: true,
17
+ name: 'owner',
18
+ type: 'address',
19
+ },
20
+ {
21
+ indexed: false,
22
+ name: 'assets',
23
+ type: 'uint256',
24
+ },
25
+ {
26
+ indexed: false,
27
+ name: 'shares',
28
+ type: 'uint256',
29
+ },
30
+ ],
31
+ name: 'Deposit',
32
+ type: 'event',
33
+ },
34
+ {
35
+ anonymous: false,
36
+ inputs: [
37
+ {
38
+ indexed: true,
39
+ name: 'sender',
40
+ type: 'address',
41
+ },
42
+ {
43
+ indexed: true,
44
+ name: 'receiver',
45
+ type: 'address',
46
+ },
47
+ {
48
+ indexed: true,
49
+ name: 'owner',
50
+ type: 'address',
51
+ },
52
+ {
53
+ indexed: false,
54
+ name: 'assets',
55
+ type: 'uint256',
56
+ },
57
+ {
58
+ indexed: false,
59
+ name: 'shares',
60
+ type: 'uint256',
61
+ },
62
+ ],
63
+ name: 'Withdraw',
64
+ type: 'event',
65
+ },
66
+ {
67
+ anonymous: false,
68
+ inputs: [
69
+ {
70
+ indexed: true,
71
+ name: 'sender',
72
+ type: 'address',
73
+ },
74
+ {
75
+ indexed: true,
76
+ name: 'recipient',
77
+ type: 'address',
78
+ },
79
+ {
80
+ indexed: false,
81
+ name: 'amount',
82
+ type: 'uint256',
83
+ },
84
+ ],
85
+ name: 'Transfer',
86
+ type: 'event',
87
+ },
88
+ {
89
+ anonymous: false,
90
+ inputs: [
91
+ {
92
+ indexed: true,
93
+ name: 'owner',
94
+ type: 'address',
95
+ },
96
+ {
97
+ indexed: true,
98
+ name: 'spender',
99
+ type: 'address',
100
+ },
101
+ {
102
+ indexed: false,
103
+ name: 'amount',
104
+ type: 'uint256',
105
+ },
106
+ ],
107
+ name: 'Approval',
108
+ type: 'event',
109
+ },
110
+ {
111
+ anonymous: false,
112
+ inputs: [
113
+ {
114
+ indexed: true,
115
+ name: 'addr',
116
+ type: 'address',
117
+ },
118
+ {
119
+ indexed: false,
120
+ name: 'isBlacklisted',
121
+ type: 'bool',
122
+ },
123
+ ],
124
+ name: 'BlacklistModified',
125
+ type: 'event',
126
+ },
127
+ {
128
+ anonymous: false,
129
+ inputs: [
130
+ {
131
+ indexed: false,
132
+ name: 'isPaused',
133
+ type: 'bool',
134
+ },
135
+ ],
136
+ name: 'TokenPauseModified',
137
+ type: 'event',
138
+ },
139
+ {
140
+ anonymous: false,
141
+ inputs: [
142
+ {
143
+ indexed: true,
144
+ name: 'asset',
145
+ type: 'address',
146
+ },
147
+ {
148
+ indexed: false,
149
+ name: 'assetAmountDeposited',
150
+ type: 'uint256',
151
+ },
152
+ {
153
+ indexed: false,
154
+ name: 'assetAmountAdjusted',
155
+ type: 'uint256',
156
+ },
157
+ {
158
+ indexed: true,
159
+ name: 'vaultToken',
160
+ type: 'address',
161
+ },
162
+ {
163
+ indexed: false,
164
+ name: 'vaultTokenReceived',
165
+ type: 'uint256',
166
+ },
167
+ {
168
+ indexed: false,
169
+ name: 'vaultTokenExpected',
170
+ type: 'uint256',
171
+ },
172
+ {
173
+ indexed: false,
174
+ name: 'usdValue',
175
+ type: 'uint256',
176
+ },
177
+ {
178
+ indexed: false,
179
+ name: 'legoId',
180
+ type: 'uint256',
181
+ },
182
+ {
183
+ indexed: true,
184
+ name: 'signer',
185
+ type: 'address',
186
+ },
187
+ ],
188
+ name: 'EarnVaultDeposit',
189
+ type: 'event',
190
+ },
191
+ {
192
+ anonymous: false,
193
+ inputs: [
194
+ {
195
+ indexed: true,
196
+ name: 'vaultToken',
197
+ type: 'address',
198
+ },
199
+ {
200
+ indexed: false,
201
+ name: 'vaultTokenBurned',
202
+ type: 'uint256',
203
+ },
204
+ {
205
+ indexed: true,
206
+ name: 'underlyingAsset',
207
+ type: 'address',
208
+ },
209
+ {
210
+ indexed: false,
211
+ name: 'underlyingAmountReceived',
212
+ type: 'uint256',
213
+ },
214
+ {
215
+ indexed: false,
216
+ name: 'usdValue',
217
+ type: 'uint256',
218
+ },
219
+ {
220
+ indexed: false,
221
+ name: 'legoId',
222
+ type: 'uint256',
223
+ },
224
+ {
225
+ indexed: true,
226
+ name: 'signer',
227
+ type: 'address',
228
+ },
229
+ ],
230
+ name: 'EarnVaultWithdrawal',
231
+ type: 'event',
232
+ },
233
+ {
234
+ anonymous: false,
235
+ inputs: [
236
+ {
237
+ indexed: true,
238
+ name: 'tokenIn',
239
+ type: 'address',
240
+ },
241
+ {
242
+ indexed: false,
243
+ name: 'tokenInAmount',
244
+ type: 'uint256',
245
+ },
246
+ {
247
+ indexed: true,
248
+ name: 'tokenOut',
249
+ type: 'address',
250
+ },
251
+ {
252
+ indexed: false,
253
+ name: 'tokenOutAmount',
254
+ type: 'uint256',
255
+ },
256
+ {
257
+ indexed: false,
258
+ name: 'usdValue',
259
+ type: 'uint256',
260
+ },
261
+ {
262
+ indexed: false,
263
+ name: 'swapFee',
264
+ type: 'uint256',
265
+ },
266
+ {
267
+ indexed: false,
268
+ name: 'legoId',
269
+ type: 'uint256',
270
+ },
271
+ {
272
+ indexed: true,
273
+ name: 'signer',
274
+ type: 'address',
275
+ },
276
+ ],
277
+ name: 'EarnVaultSwap',
278
+ type: 'event',
279
+ },
280
+ {
281
+ anonymous: false,
282
+ inputs: [
283
+ {
284
+ indexed: true,
285
+ name: 'rewardToken',
286
+ type: 'address',
287
+ },
288
+ {
289
+ indexed: false,
290
+ name: 'rewardAmount',
291
+ type: 'uint256',
292
+ },
293
+ {
294
+ indexed: false,
295
+ name: 'usdValue',
296
+ type: 'uint256',
297
+ },
298
+ {
299
+ indexed: false,
300
+ name: 'legoId',
301
+ type: 'uint256',
302
+ },
303
+ {
304
+ indexed: true,
305
+ name: 'signer',
306
+ type: 'address',
307
+ },
308
+ ],
309
+ name: 'EarnVaultRewardsClaim',
310
+ type: 'event',
311
+ },
312
+ {
313
+ anonymous: false,
314
+ inputs: [
315
+ {
316
+ indexed: false,
317
+ name: 'pendingFees',
318
+ type: 'uint256',
319
+ },
320
+ ],
321
+ name: 'PerformanceFeesClaimed',
322
+ type: 'event',
323
+ },
324
+ {
325
+ inputs: [],
326
+ name: 'name',
327
+ outputs: [
328
+ {
329
+ name: '',
330
+ type: 'string',
331
+ },
332
+ ],
333
+ stateMutability: 'view',
334
+ type: 'function',
335
+ },
336
+ {
337
+ inputs: [],
338
+ name: 'symbol',
339
+ outputs: [
340
+ {
341
+ name: '',
342
+ type: 'string',
343
+ },
344
+ ],
345
+ stateMutability: 'view',
346
+ type: 'function',
347
+ },
348
+ {
349
+ inputs: [],
350
+ name: 'decimals',
351
+ outputs: [
352
+ {
353
+ name: '',
354
+ type: 'uint8',
355
+ },
356
+ ],
357
+ stateMutability: 'view',
358
+ type: 'function',
359
+ },
360
+ {
361
+ inputs: [
362
+ {
363
+ name: '_recipient',
364
+ type: 'address',
365
+ },
366
+ {
367
+ name: '_amount',
368
+ type: 'uint256',
369
+ },
370
+ ],
371
+ name: 'transfer',
372
+ outputs: [
373
+ {
374
+ name: '',
375
+ type: 'bool',
376
+ },
377
+ ],
378
+ stateMutability: 'nonpayable',
379
+ type: 'function',
380
+ },
381
+ {
382
+ inputs: [
383
+ {
384
+ name: '_sender',
385
+ type: 'address',
386
+ },
387
+ {
388
+ name: '_recipient',
389
+ type: 'address',
390
+ },
391
+ {
392
+ name: '_amount',
393
+ type: 'uint256',
394
+ },
395
+ ],
396
+ name: 'transferFrom',
397
+ outputs: [
398
+ {
399
+ name: '',
400
+ type: 'bool',
401
+ },
402
+ ],
403
+ stateMutability: 'nonpayable',
404
+ type: 'function',
405
+ },
406
+ {
407
+ inputs: [
408
+ {
409
+ name: '_spender',
410
+ type: 'address',
411
+ },
412
+ {
413
+ name: '_amount',
414
+ type: 'uint256',
415
+ },
416
+ ],
417
+ name: 'approve',
418
+ outputs: [
419
+ {
420
+ name: '',
421
+ type: 'bool',
422
+ },
423
+ ],
424
+ stateMutability: 'nonpayable',
425
+ type: 'function',
426
+ },
427
+ {
428
+ inputs: [
429
+ {
430
+ name: '_spender',
431
+ type: 'address',
432
+ },
433
+ {
434
+ name: '_amount',
435
+ type: 'uint256',
436
+ },
437
+ ],
438
+ name: 'increaseAllowance',
439
+ outputs: [
440
+ {
441
+ name: '',
442
+ type: 'bool',
443
+ },
444
+ ],
445
+ stateMutability: 'nonpayable',
446
+ type: 'function',
447
+ },
448
+ {
449
+ inputs: [
450
+ {
451
+ name: '_spender',
452
+ type: 'address',
453
+ },
454
+ {
455
+ name: '_amount',
456
+ type: 'uint256',
457
+ },
458
+ ],
459
+ name: 'decreaseAllowance',
460
+ outputs: [
461
+ {
462
+ name: '',
463
+ type: 'bool',
464
+ },
465
+ ],
466
+ stateMutability: 'nonpayable',
467
+ type: 'function',
468
+ },
469
+ {
470
+ inputs: [
471
+ {
472
+ name: '_amount',
473
+ type: 'uint256',
474
+ },
475
+ ],
476
+ name: 'burn',
477
+ outputs: [
478
+ {
479
+ name: '',
480
+ type: 'bool',
481
+ },
482
+ ],
483
+ stateMutability: 'nonpayable',
484
+ type: 'function',
485
+ },
486
+ {
487
+ inputs: [],
488
+ name: 'DOMAIN_SEPARATOR',
489
+ outputs: [
490
+ {
491
+ name: '',
492
+ type: 'bytes32',
493
+ },
494
+ ],
495
+ stateMutability: 'view',
496
+ type: 'function',
497
+ },
498
+ {
499
+ inputs: [
500
+ {
501
+ name: '_owner',
502
+ type: 'address',
503
+ },
504
+ {
505
+ name: '_spender',
506
+ type: 'address',
507
+ },
508
+ {
509
+ name: '_value',
510
+ type: 'uint256',
511
+ },
512
+ {
513
+ name: '_deadline',
514
+ type: 'uint256',
515
+ },
516
+ {
517
+ name: '_signature',
518
+ type: 'bytes',
519
+ },
520
+ ],
521
+ name: 'permit',
522
+ outputs: [
523
+ {
524
+ name: '',
525
+ type: 'bool',
526
+ },
527
+ ],
528
+ stateMutability: 'nonpayable',
529
+ type: 'function',
530
+ },
531
+ {
532
+ inputs: [
533
+ {
534
+ name: '_addr',
535
+ type: 'address',
536
+ },
537
+ {
538
+ name: '_shouldBlacklist',
539
+ type: 'bool',
540
+ },
541
+ ],
542
+ name: 'setBlacklist',
543
+ outputs: [
544
+ {
545
+ name: '',
546
+ type: 'bool',
547
+ },
548
+ ],
549
+ stateMutability: 'nonpayable',
550
+ type: 'function',
551
+ },
552
+ {
553
+ inputs: [
554
+ {
555
+ name: '_addr',
556
+ type: 'address',
557
+ },
558
+ ],
559
+ name: 'burnBlacklistTokens',
560
+ outputs: [
561
+ {
562
+ name: '',
563
+ type: 'bool',
564
+ },
565
+ ],
566
+ stateMutability: 'nonpayable',
567
+ type: 'function',
568
+ },
569
+ {
570
+ inputs: [
571
+ {
572
+ name: '_addr',
573
+ type: 'address',
574
+ },
575
+ {
576
+ name: '_amount',
577
+ type: 'uint256',
578
+ },
579
+ ],
580
+ name: 'burnBlacklistTokens',
581
+ outputs: [
582
+ {
583
+ name: '',
584
+ type: 'bool',
585
+ },
586
+ ],
587
+ stateMutability: 'nonpayable',
588
+ type: 'function',
589
+ },
590
+ {
591
+ inputs: [
592
+ {
593
+ name: '_shouldPause',
594
+ type: 'bool',
595
+ },
596
+ ],
597
+ name: 'pause',
598
+ outputs: [],
599
+ stateMutability: 'nonpayable',
600
+ type: 'function',
601
+ },
602
+ {
603
+ inputs: [],
604
+ name: 'undyHq',
605
+ outputs: [
606
+ {
607
+ name: '',
608
+ type: 'address',
609
+ },
610
+ ],
611
+ stateMutability: 'view',
612
+ type: 'function',
613
+ },
614
+ {
615
+ inputs: [
616
+ {
617
+ name: 'arg0',
618
+ type: 'address',
619
+ },
620
+ ],
621
+ name: 'blacklisted',
622
+ outputs: [
623
+ {
624
+ name: '',
625
+ type: 'bool',
626
+ },
627
+ ],
628
+ stateMutability: 'view',
629
+ type: 'function',
630
+ },
631
+ {
632
+ inputs: [],
633
+ name: 'isPaused',
634
+ outputs: [
635
+ {
636
+ name: '',
637
+ type: 'bool',
638
+ },
639
+ ],
640
+ stateMutability: 'view',
641
+ type: 'function',
642
+ },
643
+ {
644
+ inputs: [
645
+ {
646
+ name: 'arg0',
647
+ type: 'address',
648
+ },
649
+ ],
650
+ name: 'balanceOf',
651
+ outputs: [
652
+ {
653
+ name: '',
654
+ type: 'uint256',
655
+ },
656
+ ],
657
+ stateMutability: 'view',
658
+ type: 'function',
659
+ },
660
+ {
661
+ inputs: [
662
+ {
663
+ name: 'arg0',
664
+ type: 'address',
665
+ },
666
+ {
667
+ name: 'arg1',
668
+ type: 'address',
669
+ },
670
+ ],
671
+ name: 'allowance',
672
+ outputs: [
673
+ {
674
+ name: '',
675
+ type: 'uint256',
676
+ },
677
+ ],
678
+ stateMutability: 'view',
679
+ type: 'function',
680
+ },
681
+ {
682
+ inputs: [],
683
+ name: 'totalSupply',
684
+ outputs: [
685
+ {
686
+ name: '',
687
+ type: 'uint256',
688
+ },
689
+ ],
690
+ stateMutability: 'view',
691
+ type: 'function',
692
+ },
693
+ {
694
+ inputs: [],
695
+ name: 'TOKEN_NAME',
696
+ outputs: [
697
+ {
698
+ name: '',
699
+ type: 'string',
700
+ },
701
+ ],
702
+ stateMutability: 'view',
703
+ type: 'function',
704
+ },
705
+ {
706
+ inputs: [],
707
+ name: 'TOKEN_SYMBOL',
708
+ outputs: [
709
+ {
710
+ name: '',
711
+ type: 'string',
712
+ },
713
+ ],
714
+ stateMutability: 'view',
715
+ type: 'function',
716
+ },
717
+ {
718
+ inputs: [],
719
+ name: 'TOKEN_DECIMALS',
720
+ outputs: [
721
+ {
722
+ name: '',
723
+ type: 'uint8',
724
+ },
725
+ ],
726
+ stateMutability: 'view',
727
+ type: 'function',
728
+ },
729
+ {
730
+ inputs: [],
731
+ name: 'VERSION',
732
+ outputs: [
733
+ {
734
+ name: '',
735
+ type: 'string',
736
+ },
737
+ ],
738
+ stateMutability: 'view',
739
+ type: 'function',
740
+ },
741
+ {
742
+ inputs: [
743
+ {
744
+ name: 'arg0',
745
+ type: 'address',
746
+ },
747
+ ],
748
+ name: 'nonces',
749
+ outputs: [
750
+ {
751
+ name: '',
752
+ type: 'uint256',
753
+ },
754
+ ],
755
+ stateMutability: 'view',
756
+ type: 'function',
757
+ },
758
+ {
759
+ inputs: [
760
+ {
761
+ name: '_legoId',
762
+ type: 'uint256',
763
+ },
764
+ {
765
+ name: '_asset',
766
+ type: 'address',
767
+ },
768
+ ],
769
+ name: 'depositForYield',
770
+ outputs: [
771
+ {
772
+ name: '',
773
+ type: 'uint256',
774
+ },
775
+ {
776
+ name: '',
777
+ type: 'address',
778
+ },
779
+ {
780
+ name: '',
781
+ type: 'uint256',
782
+ },
783
+ {
784
+ name: '',
785
+ type: 'uint256',
786
+ },
787
+ ],
788
+ stateMutability: 'nonpayable',
789
+ type: 'function',
790
+ },
791
+ {
792
+ inputs: [
793
+ {
794
+ name: '_legoId',
795
+ type: 'uint256',
796
+ },
797
+ {
798
+ name: '_asset',
799
+ type: 'address',
800
+ },
801
+ {
802
+ name: '_vaultAddr',
803
+ type: 'address',
804
+ },
805
+ ],
806
+ name: 'depositForYield',
807
+ outputs: [
808
+ {
809
+ name: '',
810
+ type: 'uint256',
811
+ },
812
+ {
813
+ name: '',
814
+ type: 'address',
815
+ },
816
+ {
817
+ name: '',
818
+ type: 'uint256',
819
+ },
820
+ {
821
+ name: '',
822
+ type: 'uint256',
823
+ },
824
+ ],
825
+ stateMutability: 'nonpayable',
826
+ type: 'function',
827
+ },
828
+ {
829
+ inputs: [
830
+ {
831
+ name: '_legoId',
832
+ type: 'uint256',
833
+ },
834
+ {
835
+ name: '_asset',
836
+ type: 'address',
837
+ },
838
+ {
839
+ name: '_vaultAddr',
840
+ type: 'address',
841
+ },
842
+ {
843
+ name: '_amount',
844
+ type: 'uint256',
845
+ },
846
+ ],
847
+ name: 'depositForYield',
848
+ outputs: [
849
+ {
850
+ name: '',
851
+ type: 'uint256',
852
+ },
853
+ {
854
+ name: '',
855
+ type: 'address',
856
+ },
857
+ {
858
+ name: '',
859
+ type: 'uint256',
860
+ },
861
+ {
862
+ name: '',
863
+ type: 'uint256',
864
+ },
865
+ ],
866
+ stateMutability: 'nonpayable',
867
+ type: 'function',
868
+ },
869
+ {
870
+ inputs: [
871
+ {
872
+ name: '_legoId',
873
+ type: 'uint256',
874
+ },
875
+ {
876
+ name: '_asset',
877
+ type: 'address',
878
+ },
879
+ {
880
+ name: '_vaultAddr',
881
+ type: 'address',
882
+ },
883
+ {
884
+ name: '_amount',
885
+ type: 'uint256',
886
+ },
887
+ {
888
+ name: '_extraData',
889
+ type: 'bytes32',
890
+ },
891
+ ],
892
+ name: 'depositForYield',
893
+ outputs: [
894
+ {
895
+ name: '',
896
+ type: 'uint256',
897
+ },
898
+ {
899
+ name: '',
900
+ type: 'address',
901
+ },
902
+ {
903
+ name: '',
904
+ type: 'uint256',
905
+ },
906
+ {
907
+ name: '',
908
+ type: 'uint256',
909
+ },
910
+ ],
911
+ stateMutability: 'nonpayable',
912
+ type: 'function',
913
+ },
914
+ {
915
+ inputs: [
916
+ {
917
+ name: '_legoId',
918
+ type: 'uint256',
919
+ },
920
+ {
921
+ name: '_vaultToken',
922
+ type: 'address',
923
+ },
924
+ ],
925
+ name: 'withdrawFromYield',
926
+ outputs: [
927
+ {
928
+ name: '',
929
+ type: 'uint256',
930
+ },
931
+ {
932
+ name: '',
933
+ type: 'address',
934
+ },
935
+ {
936
+ name: '',
937
+ type: 'uint256',
938
+ },
939
+ {
940
+ name: '',
941
+ type: 'uint256',
942
+ },
943
+ ],
944
+ stateMutability: 'nonpayable',
945
+ type: 'function',
946
+ },
947
+ {
948
+ inputs: [
949
+ {
950
+ name: '_legoId',
951
+ type: 'uint256',
952
+ },
953
+ {
954
+ name: '_vaultToken',
955
+ type: 'address',
956
+ },
957
+ {
958
+ name: '_amount',
959
+ type: 'uint256',
960
+ },
961
+ ],
962
+ name: 'withdrawFromYield',
963
+ outputs: [
964
+ {
965
+ name: '',
966
+ type: 'uint256',
967
+ },
968
+ {
969
+ name: '',
970
+ type: 'address',
971
+ },
972
+ {
973
+ name: '',
974
+ type: 'uint256',
975
+ },
976
+ {
977
+ name: '',
978
+ type: 'uint256',
979
+ },
980
+ ],
981
+ stateMutability: 'nonpayable',
982
+ type: 'function',
983
+ },
984
+ {
985
+ inputs: [
986
+ {
987
+ name: '_legoId',
988
+ type: 'uint256',
989
+ },
990
+ {
991
+ name: '_vaultToken',
992
+ type: 'address',
993
+ },
994
+ {
995
+ name: '_amount',
996
+ type: 'uint256',
997
+ },
998
+ {
999
+ name: '_extraData',
1000
+ type: 'bytes32',
1001
+ },
1002
+ ],
1003
+ name: 'withdrawFromYield',
1004
+ outputs: [
1005
+ {
1006
+ name: '',
1007
+ type: 'uint256',
1008
+ },
1009
+ {
1010
+ name: '',
1011
+ type: 'address',
1012
+ },
1013
+ {
1014
+ name: '',
1015
+ type: 'uint256',
1016
+ },
1017
+ {
1018
+ name: '',
1019
+ type: 'uint256',
1020
+ },
1021
+ ],
1022
+ stateMutability: 'nonpayable',
1023
+ type: 'function',
1024
+ },
1025
+ {
1026
+ inputs: [
1027
+ {
1028
+ name: '_legoId',
1029
+ type: 'uint256',
1030
+ },
1031
+ {
1032
+ name: '_vaultToken',
1033
+ type: 'address',
1034
+ },
1035
+ {
1036
+ name: '_amount',
1037
+ type: 'uint256',
1038
+ },
1039
+ {
1040
+ name: '_extraData',
1041
+ type: 'bytes32',
1042
+ },
1043
+ {
1044
+ name: '_isSpecialTx',
1045
+ type: 'bool',
1046
+ },
1047
+ ],
1048
+ name: 'withdrawFromYield',
1049
+ outputs: [
1050
+ {
1051
+ name: '',
1052
+ type: 'uint256',
1053
+ },
1054
+ {
1055
+ name: '',
1056
+ type: 'address',
1057
+ },
1058
+ {
1059
+ name: '',
1060
+ type: 'uint256',
1061
+ },
1062
+ {
1063
+ name: '',
1064
+ type: 'uint256',
1065
+ },
1066
+ ],
1067
+ stateMutability: 'nonpayable',
1068
+ type: 'function',
1069
+ },
1070
+ {
1071
+ inputs: [
1072
+ {
1073
+ components: [
1074
+ {
1075
+ name: 'legoId',
1076
+ type: 'uint256',
1077
+ },
1078
+ {
1079
+ name: 'amountIn',
1080
+ type: 'uint256',
1081
+ },
1082
+ {
1083
+ name: 'minAmountOut',
1084
+ type: 'uint256',
1085
+ },
1086
+ {
1087
+ name: 'tokenPath',
1088
+ type: 'address[]',
1089
+ },
1090
+ {
1091
+ name: 'poolPath',
1092
+ type: 'address[]',
1093
+ },
1094
+ ],
1095
+ name: '_instructions',
1096
+ type: 'tuple[]',
1097
+ },
1098
+ ],
1099
+ name: 'swapTokens',
1100
+ outputs: [
1101
+ {
1102
+ name: '',
1103
+ type: 'address',
1104
+ },
1105
+ {
1106
+ name: '',
1107
+ type: 'uint256',
1108
+ },
1109
+ {
1110
+ name: '',
1111
+ type: 'address',
1112
+ },
1113
+ {
1114
+ name: '',
1115
+ type: 'uint256',
1116
+ },
1117
+ {
1118
+ name: '',
1119
+ type: 'uint256',
1120
+ },
1121
+ ],
1122
+ stateMutability: 'nonpayable',
1123
+ type: 'function',
1124
+ },
1125
+ {
1126
+ inputs: [
1127
+ {
1128
+ name: '_legoId',
1129
+ type: 'uint256',
1130
+ },
1131
+ ],
1132
+ name: 'claimIncentives',
1133
+ outputs: [
1134
+ {
1135
+ name: '',
1136
+ type: 'uint256',
1137
+ },
1138
+ {
1139
+ name: '',
1140
+ type: 'uint256',
1141
+ },
1142
+ ],
1143
+ stateMutability: 'nonpayable',
1144
+ type: 'function',
1145
+ },
1146
+ {
1147
+ inputs: [
1148
+ {
1149
+ name: '_legoId',
1150
+ type: 'uint256',
1151
+ },
1152
+ {
1153
+ name: '_rewardToken',
1154
+ type: 'address',
1155
+ },
1156
+ ],
1157
+ name: 'claimIncentives',
1158
+ outputs: [
1159
+ {
1160
+ name: '',
1161
+ type: 'uint256',
1162
+ },
1163
+ {
1164
+ name: '',
1165
+ type: 'uint256',
1166
+ },
1167
+ ],
1168
+ stateMutability: 'nonpayable',
1169
+ type: 'function',
1170
+ },
1171
+ {
1172
+ inputs: [
1173
+ {
1174
+ name: '_legoId',
1175
+ type: 'uint256',
1176
+ },
1177
+ {
1178
+ name: '_rewardToken',
1179
+ type: 'address',
1180
+ },
1181
+ {
1182
+ name: '_rewardAmount',
1183
+ type: 'uint256',
1184
+ },
1185
+ ],
1186
+ name: 'claimIncentives',
1187
+ outputs: [
1188
+ {
1189
+ name: '',
1190
+ type: 'uint256',
1191
+ },
1192
+ {
1193
+ name: '',
1194
+ type: 'uint256',
1195
+ },
1196
+ ],
1197
+ stateMutability: 'nonpayable',
1198
+ type: 'function',
1199
+ },
1200
+ {
1201
+ inputs: [
1202
+ {
1203
+ name: '_legoId',
1204
+ type: 'uint256',
1205
+ },
1206
+ {
1207
+ name: '_rewardToken',
1208
+ type: 'address',
1209
+ },
1210
+ {
1211
+ name: '_rewardAmount',
1212
+ type: 'uint256',
1213
+ },
1214
+ {
1215
+ name: '_proofs',
1216
+ type: 'bytes32[]',
1217
+ },
1218
+ ],
1219
+ name: 'claimIncentives',
1220
+ outputs: [
1221
+ {
1222
+ name: '',
1223
+ type: 'uint256',
1224
+ },
1225
+ {
1226
+ name: '',
1227
+ type: 'uint256',
1228
+ },
1229
+ ],
1230
+ stateMutability: 'nonpayable',
1231
+ type: 'function',
1232
+ },
1233
+ {
1234
+ inputs: [],
1235
+ name: 'claimPerformanceFees',
1236
+ outputs: [
1237
+ {
1238
+ name: '',
1239
+ type: 'uint256',
1240
+ },
1241
+ ],
1242
+ stateMutability: 'nonpayable',
1243
+ type: 'function',
1244
+ },
1245
+ {
1246
+ inputs: [],
1247
+ name: 'getClaimablePerformanceFees',
1248
+ outputs: [
1249
+ {
1250
+ name: '',
1251
+ type: 'uint256',
1252
+ },
1253
+ ],
1254
+ stateMutability: 'view',
1255
+ type: 'function',
1256
+ },
1257
+ {
1258
+ inputs: [
1259
+ {
1260
+ name: '_vaultToken',
1261
+ type: 'address',
1262
+ },
1263
+ ],
1264
+ name: 'updateYieldPosition',
1265
+ outputs: [],
1266
+ stateMutability: 'nonpayable',
1267
+ type: 'function',
1268
+ },
1269
+ {
1270
+ inputs: [
1271
+ {
1272
+ name: '_manager',
1273
+ type: 'address',
1274
+ },
1275
+ ],
1276
+ name: 'addManager',
1277
+ outputs: [],
1278
+ stateMutability: 'nonpayable',
1279
+ type: 'function',
1280
+ },
1281
+ {
1282
+ inputs: [
1283
+ {
1284
+ name: '_manager',
1285
+ type: 'address',
1286
+ },
1287
+ ],
1288
+ name: 'removeManager',
1289
+ outputs: [],
1290
+ stateMutability: 'nonpayable',
1291
+ type: 'function',
1292
+ },
1293
+ {
1294
+ inputs: [],
1295
+ name: 'lastUnderlyingBal',
1296
+ outputs: [
1297
+ {
1298
+ name: '',
1299
+ type: 'uint256',
1300
+ },
1301
+ ],
1302
+ stateMutability: 'view',
1303
+ type: 'function',
1304
+ },
1305
+ {
1306
+ inputs: [],
1307
+ name: 'pendingYieldRealized',
1308
+ outputs: [
1309
+ {
1310
+ name: '',
1311
+ type: 'uint256',
1312
+ },
1313
+ ],
1314
+ stateMutability: 'view',
1315
+ type: 'function',
1316
+ },
1317
+ {
1318
+ inputs: [
1319
+ {
1320
+ name: 'arg0',
1321
+ type: 'address',
1322
+ },
1323
+ ],
1324
+ name: 'vaultToLegoId',
1325
+ outputs: [
1326
+ {
1327
+ name: '',
1328
+ type: 'uint256',
1329
+ },
1330
+ ],
1331
+ stateMutability: 'view',
1332
+ type: 'function',
1333
+ },
1334
+ {
1335
+ inputs: [
1336
+ {
1337
+ name: 'arg0',
1338
+ type: 'uint256',
1339
+ },
1340
+ ],
1341
+ name: 'assets',
1342
+ outputs: [
1343
+ {
1344
+ name: '',
1345
+ type: 'address',
1346
+ },
1347
+ ],
1348
+ stateMutability: 'view',
1349
+ type: 'function',
1350
+ },
1351
+ {
1352
+ inputs: [
1353
+ {
1354
+ name: 'arg0',
1355
+ type: 'address',
1356
+ },
1357
+ ],
1358
+ name: 'indexOfAsset',
1359
+ outputs: [
1360
+ {
1361
+ name: '',
1362
+ type: 'uint256',
1363
+ },
1364
+ ],
1365
+ stateMutability: 'view',
1366
+ type: 'function',
1367
+ },
1368
+ {
1369
+ inputs: [],
1370
+ name: 'numAssets',
1371
+ outputs: [
1372
+ {
1373
+ name: '',
1374
+ type: 'uint256',
1375
+ },
1376
+ ],
1377
+ stateMutability: 'view',
1378
+ type: 'function',
1379
+ },
1380
+ {
1381
+ inputs: [
1382
+ {
1383
+ name: 'arg0',
1384
+ type: 'uint256',
1385
+ },
1386
+ ],
1387
+ name: 'managers',
1388
+ outputs: [
1389
+ {
1390
+ name: '',
1391
+ type: 'address',
1392
+ },
1393
+ ],
1394
+ stateMutability: 'view',
1395
+ type: 'function',
1396
+ },
1397
+ {
1398
+ inputs: [
1399
+ {
1400
+ name: 'arg0',
1401
+ type: 'address',
1402
+ },
1403
+ ],
1404
+ name: 'indexOfManager',
1405
+ outputs: [
1406
+ {
1407
+ name: '',
1408
+ type: 'uint256',
1409
+ },
1410
+ ],
1411
+ stateMutability: 'view',
1412
+ type: 'function',
1413
+ },
1414
+ {
1415
+ inputs: [],
1416
+ name: 'numManagers',
1417
+ outputs: [
1418
+ {
1419
+ name: '',
1420
+ type: 'uint256',
1421
+ },
1422
+ ],
1423
+ stateMutability: 'view',
1424
+ type: 'function',
1425
+ },
1426
+ {
1427
+ inputs: [],
1428
+ name: 'asset',
1429
+ outputs: [
1430
+ {
1431
+ name: '',
1432
+ type: 'address',
1433
+ },
1434
+ ],
1435
+ stateMutability: 'view',
1436
+ type: 'function',
1437
+ },
1438
+ {
1439
+ inputs: [],
1440
+ name: 'totalAssets',
1441
+ outputs: [
1442
+ {
1443
+ name: '',
1444
+ type: 'uint256',
1445
+ },
1446
+ ],
1447
+ stateMutability: 'view',
1448
+ type: 'function',
1449
+ },
1450
+ {
1451
+ inputs: [
1452
+ {
1453
+ name: '_shouldGetMax',
1454
+ type: 'bool',
1455
+ },
1456
+ ],
1457
+ name: 'getTotalAssets',
1458
+ outputs: [
1459
+ {
1460
+ name: '',
1461
+ type: 'uint256',
1462
+ },
1463
+ ],
1464
+ stateMutability: 'view',
1465
+ type: 'function',
1466
+ },
1467
+ {
1468
+ inputs: [
1469
+ {
1470
+ name: '_receiver',
1471
+ type: 'address',
1472
+ },
1473
+ ],
1474
+ name: 'maxDeposit',
1475
+ outputs: [
1476
+ {
1477
+ name: '',
1478
+ type: 'uint256',
1479
+ },
1480
+ ],
1481
+ stateMutability: 'view',
1482
+ type: 'function',
1483
+ },
1484
+ {
1485
+ inputs: [
1486
+ {
1487
+ name: '_assets',
1488
+ type: 'uint256',
1489
+ },
1490
+ ],
1491
+ name: 'previewDeposit',
1492
+ outputs: [
1493
+ {
1494
+ name: '',
1495
+ type: 'uint256',
1496
+ },
1497
+ ],
1498
+ stateMutability: 'view',
1499
+ type: 'function',
1500
+ },
1501
+ {
1502
+ inputs: [
1503
+ {
1504
+ name: '_assets',
1505
+ type: 'uint256',
1506
+ },
1507
+ ],
1508
+ name: 'deposit',
1509
+ outputs: [
1510
+ {
1511
+ name: '',
1512
+ type: 'uint256',
1513
+ },
1514
+ ],
1515
+ stateMutability: 'nonpayable',
1516
+ type: 'function',
1517
+ },
1518
+ {
1519
+ inputs: [
1520
+ {
1521
+ name: '_assets',
1522
+ type: 'uint256',
1523
+ },
1524
+ {
1525
+ name: '_receiver',
1526
+ type: 'address',
1527
+ },
1528
+ ],
1529
+ name: 'deposit',
1530
+ outputs: [
1531
+ {
1532
+ name: '',
1533
+ type: 'uint256',
1534
+ },
1535
+ ],
1536
+ stateMutability: 'nonpayable',
1537
+ type: 'function',
1538
+ },
1539
+ {
1540
+ inputs: [
1541
+ {
1542
+ name: '_assets',
1543
+ type: 'uint256',
1544
+ },
1545
+ {
1546
+ name: '_minAmountOut',
1547
+ type: 'uint256',
1548
+ },
1549
+ ],
1550
+ name: 'depositWithMinAmountOut',
1551
+ outputs: [
1552
+ {
1553
+ name: '',
1554
+ type: 'uint256',
1555
+ },
1556
+ ],
1557
+ stateMutability: 'nonpayable',
1558
+ type: 'function',
1559
+ },
1560
+ {
1561
+ inputs: [
1562
+ {
1563
+ name: '_assets',
1564
+ type: 'uint256',
1565
+ },
1566
+ {
1567
+ name: '_minAmountOut',
1568
+ type: 'uint256',
1569
+ },
1570
+ {
1571
+ name: '_receiver',
1572
+ type: 'address',
1573
+ },
1574
+ ],
1575
+ name: 'depositWithMinAmountOut',
1576
+ outputs: [
1577
+ {
1578
+ name: '',
1579
+ type: 'uint256',
1580
+ },
1581
+ ],
1582
+ stateMutability: 'nonpayable',
1583
+ type: 'function',
1584
+ },
1585
+ {
1586
+ inputs: [
1587
+ {
1588
+ name: '_receiver',
1589
+ type: 'address',
1590
+ },
1591
+ ],
1592
+ name: 'maxMint',
1593
+ outputs: [
1594
+ {
1595
+ name: '',
1596
+ type: 'uint256',
1597
+ },
1598
+ ],
1599
+ stateMutability: 'view',
1600
+ type: 'function',
1601
+ },
1602
+ {
1603
+ inputs: [
1604
+ {
1605
+ name: '_shares',
1606
+ type: 'uint256',
1607
+ },
1608
+ ],
1609
+ name: 'previewMint',
1610
+ outputs: [
1611
+ {
1612
+ name: '',
1613
+ type: 'uint256',
1614
+ },
1615
+ ],
1616
+ stateMutability: 'view',
1617
+ type: 'function',
1618
+ },
1619
+ {
1620
+ inputs: [
1621
+ {
1622
+ name: '_shares',
1623
+ type: 'uint256',
1624
+ },
1625
+ ],
1626
+ name: 'mint',
1627
+ outputs: [
1628
+ {
1629
+ name: '',
1630
+ type: 'uint256',
1631
+ },
1632
+ ],
1633
+ stateMutability: 'nonpayable',
1634
+ type: 'function',
1635
+ },
1636
+ {
1637
+ inputs: [
1638
+ {
1639
+ name: '_shares',
1640
+ type: 'uint256',
1641
+ },
1642
+ {
1643
+ name: '_receiver',
1644
+ type: 'address',
1645
+ },
1646
+ ],
1647
+ name: 'mint',
1648
+ outputs: [
1649
+ {
1650
+ name: '',
1651
+ type: 'uint256',
1652
+ },
1653
+ ],
1654
+ stateMutability: 'nonpayable',
1655
+ type: 'function',
1656
+ },
1657
+ {
1658
+ inputs: [
1659
+ {
1660
+ name: '_owner',
1661
+ type: 'address',
1662
+ },
1663
+ ],
1664
+ name: 'maxWithdraw',
1665
+ outputs: [
1666
+ {
1667
+ name: '',
1668
+ type: 'uint256',
1669
+ },
1670
+ ],
1671
+ stateMutability: 'view',
1672
+ type: 'function',
1673
+ },
1674
+ {
1675
+ inputs: [
1676
+ {
1677
+ name: '_assets',
1678
+ type: 'uint256',
1679
+ },
1680
+ ],
1681
+ name: 'previewWithdraw',
1682
+ outputs: [
1683
+ {
1684
+ name: '',
1685
+ type: 'uint256',
1686
+ },
1687
+ ],
1688
+ stateMutability: 'view',
1689
+ type: 'function',
1690
+ },
1691
+ {
1692
+ inputs: [
1693
+ {
1694
+ name: '_assets',
1695
+ type: 'uint256',
1696
+ },
1697
+ ],
1698
+ name: 'withdraw',
1699
+ outputs: [
1700
+ {
1701
+ name: '',
1702
+ type: 'uint256',
1703
+ },
1704
+ ],
1705
+ stateMutability: 'nonpayable',
1706
+ type: 'function',
1707
+ },
1708
+ {
1709
+ inputs: [
1710
+ {
1711
+ name: '_assets',
1712
+ type: 'uint256',
1713
+ },
1714
+ {
1715
+ name: '_receiver',
1716
+ type: 'address',
1717
+ },
1718
+ ],
1719
+ name: 'withdraw',
1720
+ outputs: [
1721
+ {
1722
+ name: '',
1723
+ type: 'uint256',
1724
+ },
1725
+ ],
1726
+ stateMutability: 'nonpayable',
1727
+ type: 'function',
1728
+ },
1729
+ {
1730
+ inputs: [
1731
+ {
1732
+ name: '_assets',
1733
+ type: 'uint256',
1734
+ },
1735
+ {
1736
+ name: '_receiver',
1737
+ type: 'address',
1738
+ },
1739
+ {
1740
+ name: '_owner',
1741
+ type: 'address',
1742
+ },
1743
+ ],
1744
+ name: 'withdraw',
1745
+ outputs: [
1746
+ {
1747
+ name: '',
1748
+ type: 'uint256',
1749
+ },
1750
+ ],
1751
+ stateMutability: 'nonpayable',
1752
+ type: 'function',
1753
+ },
1754
+ {
1755
+ inputs: [
1756
+ {
1757
+ name: '_owner',
1758
+ type: 'address',
1759
+ },
1760
+ ],
1761
+ name: 'maxRedeem',
1762
+ outputs: [
1763
+ {
1764
+ name: '',
1765
+ type: 'uint256',
1766
+ },
1767
+ ],
1768
+ stateMutability: 'view',
1769
+ type: 'function',
1770
+ },
1771
+ {
1772
+ inputs: [
1773
+ {
1774
+ name: '_shares',
1775
+ type: 'uint256',
1776
+ },
1777
+ ],
1778
+ name: 'previewRedeem',
1779
+ outputs: [
1780
+ {
1781
+ name: '',
1782
+ type: 'uint256',
1783
+ },
1784
+ ],
1785
+ stateMutability: 'view',
1786
+ type: 'function',
1787
+ },
1788
+ {
1789
+ inputs: [
1790
+ {
1791
+ name: '_shares',
1792
+ type: 'uint256',
1793
+ },
1794
+ ],
1795
+ name: 'redeem',
1796
+ outputs: [
1797
+ {
1798
+ name: '',
1799
+ type: 'uint256',
1800
+ },
1801
+ ],
1802
+ stateMutability: 'nonpayable',
1803
+ type: 'function',
1804
+ },
1805
+ {
1806
+ inputs: [
1807
+ {
1808
+ name: '_shares',
1809
+ type: 'uint256',
1810
+ },
1811
+ {
1812
+ name: '_receiver',
1813
+ type: 'address',
1814
+ },
1815
+ ],
1816
+ name: 'redeem',
1817
+ outputs: [
1818
+ {
1819
+ name: '',
1820
+ type: 'uint256',
1821
+ },
1822
+ ],
1823
+ stateMutability: 'nonpayable',
1824
+ type: 'function',
1825
+ },
1826
+ {
1827
+ inputs: [
1828
+ {
1829
+ name: '_shares',
1830
+ type: 'uint256',
1831
+ },
1832
+ {
1833
+ name: '_receiver',
1834
+ type: 'address',
1835
+ },
1836
+ {
1837
+ name: '_owner',
1838
+ type: 'address',
1839
+ },
1840
+ ],
1841
+ name: 'redeem',
1842
+ outputs: [
1843
+ {
1844
+ name: '',
1845
+ type: 'uint256',
1846
+ },
1847
+ ],
1848
+ stateMutability: 'nonpayable',
1849
+ type: 'function',
1850
+ },
1851
+ {
1852
+ inputs: [
1853
+ {
1854
+ name: '_shares',
1855
+ type: 'uint256',
1856
+ },
1857
+ {
1858
+ name: '_minAmountOut',
1859
+ type: 'uint256',
1860
+ },
1861
+ ],
1862
+ name: 'redeemWithMinAmountOut',
1863
+ outputs: [
1864
+ {
1865
+ name: '',
1866
+ type: 'uint256',
1867
+ },
1868
+ ],
1869
+ stateMutability: 'nonpayable',
1870
+ type: 'function',
1871
+ },
1872
+ {
1873
+ inputs: [
1874
+ {
1875
+ name: '_shares',
1876
+ type: 'uint256',
1877
+ },
1878
+ {
1879
+ name: '_minAmountOut',
1880
+ type: 'uint256',
1881
+ },
1882
+ {
1883
+ name: '_receiver',
1884
+ type: 'address',
1885
+ },
1886
+ ],
1887
+ name: 'redeemWithMinAmountOut',
1888
+ outputs: [
1889
+ {
1890
+ name: '',
1891
+ type: 'uint256',
1892
+ },
1893
+ ],
1894
+ stateMutability: 'nonpayable',
1895
+ type: 'function',
1896
+ },
1897
+ {
1898
+ inputs: [
1899
+ {
1900
+ name: '_shares',
1901
+ type: 'uint256',
1902
+ },
1903
+ {
1904
+ name: '_minAmountOut',
1905
+ type: 'uint256',
1906
+ },
1907
+ {
1908
+ name: '_receiver',
1909
+ type: 'address',
1910
+ },
1911
+ {
1912
+ name: '_owner',
1913
+ type: 'address',
1914
+ },
1915
+ ],
1916
+ name: 'redeemWithMinAmountOut',
1917
+ outputs: [
1918
+ {
1919
+ name: '',
1920
+ type: 'uint256',
1921
+ },
1922
+ ],
1923
+ stateMutability: 'nonpayable',
1924
+ type: 'function',
1925
+ },
1926
+ {
1927
+ inputs: [
1928
+ {
1929
+ name: '_assets',
1930
+ type: 'uint256',
1931
+ },
1932
+ ],
1933
+ name: 'convertToShares',
1934
+ outputs: [
1935
+ {
1936
+ name: '',
1937
+ type: 'uint256',
1938
+ },
1939
+ ],
1940
+ stateMutability: 'view',
1941
+ type: 'function',
1942
+ },
1943
+ {
1944
+ inputs: [
1945
+ {
1946
+ name: '_assets',
1947
+ type: 'uint256',
1948
+ },
1949
+ ],
1950
+ name: 'convertToSharesSafe',
1951
+ outputs: [
1952
+ {
1953
+ name: '',
1954
+ type: 'uint256',
1955
+ },
1956
+ ],
1957
+ stateMutability: 'view',
1958
+ type: 'function',
1959
+ },
1960
+ {
1961
+ inputs: [
1962
+ {
1963
+ name: '_shares',
1964
+ type: 'uint256',
1965
+ },
1966
+ ],
1967
+ name: 'convertToAssets',
1968
+ outputs: [
1969
+ {
1970
+ name: '',
1971
+ type: 'uint256',
1972
+ },
1973
+ ],
1974
+ stateMutability: 'view',
1975
+ type: 'function',
1976
+ },
1977
+ {
1978
+ inputs: [
1979
+ {
1980
+ name: '_shares',
1981
+ type: 'uint256',
1982
+ },
1983
+ ],
1984
+ name: 'convertToAssetsSafe',
1985
+ outputs: [
1986
+ {
1987
+ name: '',
1988
+ type: 'uint256',
1989
+ },
1990
+ ],
1991
+ stateMutability: 'view',
1992
+ type: 'function',
1993
+ },
1994
+ {
1995
+ inputs: [
1996
+ {
1997
+ name: '_asset',
1998
+ type: 'address',
1999
+ },
2000
+ {
2001
+ name: '_tokenName',
2002
+ type: 'string',
2003
+ },
2004
+ {
2005
+ name: '_tokenSymbol',
2006
+ type: 'string',
2007
+ },
2008
+ {
2009
+ name: '_undyHq',
2010
+ type: 'address',
2011
+ },
2012
+ {
2013
+ name: '_minHqTimeLock',
2014
+ type: 'uint256',
2015
+ },
2016
+ {
2017
+ name: '_maxHqTimeLock',
2018
+ type: 'uint256',
2019
+ },
2020
+ {
2021
+ name: '_startingAgent',
2022
+ type: 'address',
2023
+ },
2024
+ ],
2025
+ outputs: [],
2026
+ stateMutability: 'nonpayable',
2027
+ type: 'constructor',
2028
+ },
2029
+ ];
2030
+ export const deployAddress = '0xb33852cfd0c22647AAC501a6Af59Bc4210a686Bf';
2031
+ function getRequest(method, args, contractAddressOrOptions) {
2032
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
2033
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
2034
+ const call = {
2035
+ contractName: 'EarnVault',
2036
+ method,
2037
+ args,
2038
+ address,
2039
+ deployAddress,
2040
+ defaultValue,
2041
+ getAbi: () => abi,
2042
+ with: (options) => {
2043
+ call.address = options.contractAddress;
2044
+ call.defaultValue = options.defaultValue;
2045
+ return call;
2046
+ },
2047
+ defaultTo: (defaultValue) => {
2048
+ call.defaultValue = defaultValue;
2049
+ return call;
2050
+ },
2051
+ at: (address) => {
2052
+ call.address = address;
2053
+ return call;
2054
+ },
2055
+ };
2056
+ return call;
2057
+ }
2058
+ export const call = {
2059
+ name: (...args) => getRequest('name', args),
2060
+ symbol: (...args) => getRequest('symbol', args),
2061
+ decimals: (...args) => getRequest('decimals', args),
2062
+ DOMAIN_SEPARATOR: (...args) => getRequest('DOMAIN_SEPARATOR', args),
2063
+ undyHq: (...args) => getRequest('undyHq', args),
2064
+ blacklisted: (...args) => getRequest('blacklisted', args),
2065
+ isPaused: (...args) => getRequest('isPaused', args),
2066
+ balanceOf: (...args) => getRequest('balanceOf', args),
2067
+ allowance: (...args) => getRequest('allowance', args),
2068
+ totalSupply: (...args) => getRequest('totalSupply', args),
2069
+ TOKEN_NAME: (...args) => getRequest('TOKEN_NAME', args),
2070
+ TOKEN_SYMBOL: (...args) => getRequest('TOKEN_SYMBOL', args),
2071
+ TOKEN_DECIMALS: (...args) => getRequest('TOKEN_DECIMALS', args),
2072
+ VERSION: (...args) => getRequest('VERSION', args),
2073
+ nonces: (...args) => getRequest('nonces', args),
2074
+ getClaimablePerformanceFees: (...args) => getRequest('getClaimablePerformanceFees', args),
2075
+ lastUnderlyingBal: (...args) => getRequest('lastUnderlyingBal', args),
2076
+ pendingYieldRealized: (...args) => getRequest('pendingYieldRealized', args),
2077
+ vaultToLegoId: (...args) => getRequest('vaultToLegoId', args),
2078
+ assets: (...args) => getRequest('assets', args),
2079
+ indexOfAsset: (...args) => getRequest('indexOfAsset', args),
2080
+ numAssets: (...args) => getRequest('numAssets', args),
2081
+ managers: (...args) => getRequest('managers', args),
2082
+ indexOfManager: (...args) => getRequest('indexOfManager', args),
2083
+ numManagers: (...args) => getRequest('numManagers', args),
2084
+ asset: (...args) => getRequest('asset', args),
2085
+ totalAssets: (...args) => getRequest('totalAssets', args),
2086
+ getTotalAssets: (...args) => getRequest('getTotalAssets', args),
2087
+ maxDeposit: (...args) => getRequest('maxDeposit', args),
2088
+ previewDeposit: (...args) => getRequest('previewDeposit', args),
2089
+ maxMint: (...args) => getRequest('maxMint', args),
2090
+ previewMint: (...args) => getRequest('previewMint', args),
2091
+ maxWithdraw: (...args) => getRequest('maxWithdraw', args),
2092
+ previewWithdraw: (...args) => getRequest('previewWithdraw', args),
2093
+ maxRedeem: (...args) => getRequest('maxRedeem', args),
2094
+ previewRedeem: (...args) => getRequest('previewRedeem', args),
2095
+ convertToShares: (...args) => getRequest('convertToShares', args),
2096
+ convertToSharesSafe: (...args) => getRequest('convertToSharesSafe', args),
2097
+ convertToAssets: (...args) => getRequest('convertToAssets', args),
2098
+ convertToAssetsSafe: (...args) => getRequest('convertToAssetsSafe', args),
2099
+ };
2100
+ function getMutation(functionName) {
2101
+ return {
2102
+ contractName: 'EarnVault',
2103
+ functionName,
2104
+ deployAddress,
2105
+ argsType: undefined,
2106
+ getAbi: () => abi,
2107
+ };
2108
+ }
2109
+ export const mutation = {
2110
+ transfer: getMutation('transfer'),
2111
+ transferFrom: getMutation('transferFrom'),
2112
+ approve: getMutation('approve'),
2113
+ increaseAllowance: getMutation('increaseAllowance'),
2114
+ decreaseAllowance: getMutation('decreaseAllowance'),
2115
+ burn: getMutation('burn'),
2116
+ permit: getMutation('permit'),
2117
+ setBlacklist: getMutation('setBlacklist'),
2118
+ burnBlacklistTokens: getMutation('burnBlacklistTokens'),
2119
+ pause: getMutation('pause'),
2120
+ depositForYield: getMutation('depositForYield'),
2121
+ withdrawFromYield: getMutation('withdrawFromYield'),
2122
+ swapTokens: getMutation('swapTokens'),
2123
+ claimIncentives: getMutation('claimIncentives'),
2124
+ claimPerformanceFees: getMutation('claimPerformanceFees'),
2125
+ updateYieldPosition: getMutation('updateYieldPosition'),
2126
+ addManager: getMutation('addManager'),
2127
+ removeManager: getMutation('removeManager'),
2128
+ deposit: getMutation('deposit'),
2129
+ depositWithMinAmountOut: getMutation('depositWithMinAmountOut'),
2130
+ mint: getMutation('mint'),
2131
+ withdraw: getMutation('withdraw'),
2132
+ redeem: getMutation('redeem'),
2133
+ redeemWithMinAmountOut: getMutation('redeemWithMinAmountOut'),
2134
+ };
2135
+ export function toSdk(deployAddress, publicClient, walletClient) {
2136
+ return {
2137
+ deployAddress,
2138
+ abi,
2139
+ // Queries
2140
+ name: (...args) => singleQuery(publicClient, call.name(...args).at(deployAddress)),
2141
+ symbol: (...args) => singleQuery(publicClient, call.symbol(...args).at(deployAddress)),
2142
+ decimals: (...args) => singleQuery(publicClient, call.decimals(...args).at(deployAddress)),
2143
+ DOMAIN_SEPARATOR: (...args) => singleQuery(publicClient, call.DOMAIN_SEPARATOR(...args).at(deployAddress)),
2144
+ undyHq: (...args) => singleQuery(publicClient, call.undyHq(...args).at(deployAddress)),
2145
+ blacklisted: (...args) => singleQuery(publicClient, call.blacklisted(...args).at(deployAddress)),
2146
+ isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args).at(deployAddress)),
2147
+ balanceOf: (...args) => singleQuery(publicClient, call.balanceOf(...args).at(deployAddress)),
2148
+ allowance: (...args) => singleQuery(publicClient, call.allowance(...args).at(deployAddress)),
2149
+ totalSupply: (...args) => singleQuery(publicClient, call.totalSupply(...args).at(deployAddress)),
2150
+ TOKEN_NAME: (...args) => singleQuery(publicClient, call.TOKEN_NAME(...args).at(deployAddress)),
2151
+ TOKEN_SYMBOL: (...args) => singleQuery(publicClient, call.TOKEN_SYMBOL(...args).at(deployAddress)),
2152
+ TOKEN_DECIMALS: (...args) => singleQuery(publicClient, call.TOKEN_DECIMALS(...args).at(deployAddress)),
2153
+ VERSION: (...args) => singleQuery(publicClient, call.VERSION(...args).at(deployAddress)),
2154
+ nonces: (...args) => singleQuery(publicClient, call.nonces(...args).at(deployAddress)),
2155
+ getClaimablePerformanceFees: (...args) => singleQuery(publicClient, call.getClaimablePerformanceFees(...args).at(deployAddress)),
2156
+ lastUnderlyingBal: (...args) => singleQuery(publicClient, call.lastUnderlyingBal(...args).at(deployAddress)),
2157
+ pendingYieldRealized: (...args) => singleQuery(publicClient, call.pendingYieldRealized(...args).at(deployAddress)),
2158
+ vaultToLegoId: (...args) => singleQuery(publicClient, call.vaultToLegoId(...args).at(deployAddress)),
2159
+ assets: (...args) => singleQuery(publicClient, call.assets(...args).at(deployAddress)),
2160
+ indexOfAsset: (...args) => singleQuery(publicClient, call.indexOfAsset(...args).at(deployAddress)),
2161
+ numAssets: (...args) => singleQuery(publicClient, call.numAssets(...args).at(deployAddress)),
2162
+ managers: (...args) => singleQuery(publicClient, call.managers(...args).at(deployAddress)),
2163
+ indexOfManager: (...args) => singleQuery(publicClient, call.indexOfManager(...args).at(deployAddress)),
2164
+ numManagers: (...args) => singleQuery(publicClient, call.numManagers(...args).at(deployAddress)),
2165
+ asset: (...args) => singleQuery(publicClient, call.asset(...args).at(deployAddress)),
2166
+ totalAssets: (...args) => singleQuery(publicClient, call.totalAssets(...args).at(deployAddress)),
2167
+ getTotalAssets: (...args) => singleQuery(publicClient, call.getTotalAssets(...args).at(deployAddress)),
2168
+ maxDeposit: (...args) => singleQuery(publicClient, call.maxDeposit(...args).at(deployAddress)),
2169
+ previewDeposit: (...args) => singleQuery(publicClient, call.previewDeposit(...args).at(deployAddress)),
2170
+ maxMint: (...args) => singleQuery(publicClient, call.maxMint(...args).at(deployAddress)),
2171
+ previewMint: (...args) => singleQuery(publicClient, call.previewMint(...args).at(deployAddress)),
2172
+ maxWithdraw: (...args) => singleQuery(publicClient, call.maxWithdraw(...args).at(deployAddress)),
2173
+ previewWithdraw: (...args) => singleQuery(publicClient, call.previewWithdraw(...args).at(deployAddress)),
2174
+ maxRedeem: (...args) => singleQuery(publicClient, call.maxRedeem(...args).at(deployAddress)),
2175
+ previewRedeem: (...args) => singleQuery(publicClient, call.previewRedeem(...args).at(deployAddress)),
2176
+ convertToShares: (...args) => singleQuery(publicClient, call.convertToShares(...args).at(deployAddress)),
2177
+ convertToSharesSafe: (...args) => singleQuery(publicClient, call.convertToSharesSafe(...args).at(deployAddress)),
2178
+ convertToAssets: (...args) => singleQuery(publicClient, call.convertToAssets(...args).at(deployAddress)),
2179
+ convertToAssetsSafe: (...args) => singleQuery(publicClient, call.convertToAssetsSafe(...args).at(deployAddress)),
2180
+ // Mutations
2181
+ transfer: (...args) => mutate(walletClient, mutation.transfer, { address: deployAddress })(...args),
2182
+ transferFrom: (...args) => mutate(walletClient, mutation.transferFrom, { address: deployAddress })(...args),
2183
+ approve: (...args) => mutate(walletClient, mutation.approve, { address: deployAddress })(...args),
2184
+ increaseAllowance: (...args) => mutate(walletClient, mutation.increaseAllowance, { address: deployAddress })(...args),
2185
+ decreaseAllowance: (...args) => mutate(walletClient, mutation.decreaseAllowance, { address: deployAddress })(...args),
2186
+ burn: (...args) => mutate(walletClient, mutation.burn, { address: deployAddress })(...args),
2187
+ permit: (...args) => mutate(walletClient, mutation.permit, { address: deployAddress })(...args),
2188
+ setBlacklist: (...args) => mutate(walletClient, mutation.setBlacklist, { address: deployAddress })(...args),
2189
+ burnBlacklistTokens: (...args) => mutate(walletClient, mutation.burnBlacklistTokens, { address: deployAddress })(...args),
2190
+ pause: (...args) => mutate(walletClient, mutation.pause, { address: deployAddress })(...args),
2191
+ depositForYield: (...args) => mutate(walletClient, mutation.depositForYield, { address: deployAddress })(...args),
2192
+ withdrawFromYield: (...args) => mutate(walletClient, mutation.withdrawFromYield, { address: deployAddress })(...args),
2193
+ swapTokens: (...args) => mutate(walletClient, mutation.swapTokens, { address: deployAddress })(...args),
2194
+ claimIncentives: (...args) => mutate(walletClient, mutation.claimIncentives, { address: deployAddress })(...args),
2195
+ claimPerformanceFees: (...args) => mutate(walletClient, mutation.claimPerformanceFees, { address: deployAddress })(...args),
2196
+ updateYieldPosition: (...args) => mutate(walletClient, mutation.updateYieldPosition, { address: deployAddress })(...args),
2197
+ addManager: (...args) => mutate(walletClient, mutation.addManager, { address: deployAddress })(...args),
2198
+ removeManager: (...args) => mutate(walletClient, mutation.removeManager, { address: deployAddress })(...args),
2199
+ deposit: (...args) => mutate(walletClient, mutation.deposit, { address: deployAddress })(...args),
2200
+ depositWithMinAmountOut: (...args) => mutate(walletClient, mutation.depositWithMinAmountOut, { address: deployAddress })(...args),
2201
+ mint: (...args) => mutate(walletClient, mutation.mint, { address: deployAddress })(...args),
2202
+ withdraw: (...args) => mutate(walletClient, mutation.withdraw, { address: deployAddress })(...args),
2203
+ redeem: (...args) => mutate(walletClient, mutation.redeem, { address: deployAddress })(...args),
2204
+ redeemWithMinAmountOut: (...args) => mutate(walletClient, mutation.redeemWithMinAmountOut, { address: deployAddress })(...args),
2205
+ };
2206
+ }