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