@gearbox-protocol/sdk 8.23.4 → 8.24.0

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 (119) hide show
  1. package/dist/cjs/sdk/sdk-legacy/tokens/tokenData.js +1 -0
  2. package/dist/esm/sdk/sdk-legacy/tokens/tokenData.js +1 -0
  3. package/package.json +6 -6
  4. package/dist/cjs/plugins/adapters/AbstractAdapter.js +0 -39
  5. package/dist/cjs/plugins/adapters/AdaptersPlugin.js +0 -156
  6. package/dist/cjs/plugins/adapters/BalancerV2VaultAdapterContract.js +0 -38
  7. package/dist/cjs/plugins/adapters/BalancerV3RouterAdapterContract.js +0 -38
  8. package/dist/cjs/plugins/adapters/CamelotV3AdapterContract.js +0 -38
  9. package/dist/cjs/plugins/adapters/ConvexV1BaseRewardPoolAdapterContract.js +0 -38
  10. package/dist/cjs/plugins/adapters/ConvexV1BoosterAdapterContract.js +0 -38
  11. package/dist/cjs/plugins/adapters/Curve2AssetsAdapterContract.js +0 -38
  12. package/dist/cjs/plugins/adapters/Curve3AssetsAdapterContract.js +0 -38
  13. package/dist/cjs/plugins/adapters/Curve4AssetsAdapterContract.js +0 -38
  14. package/dist/cjs/plugins/adapters/CurveV1AdapterDeposit.js +0 -38
  15. package/dist/cjs/plugins/adapters/CurveV1AdapterStETHContract.js +0 -38
  16. package/dist/cjs/plugins/adapters/CurveV1StableNGAdapterContract.js +0 -38
  17. package/dist/cjs/plugins/adapters/DaiUsdsAdapterContract.js +0 -38
  18. package/dist/cjs/plugins/adapters/ERC4626AdapterContract.js +0 -38
  19. package/dist/cjs/plugins/adapters/EqualizerRouterAdapterContract.js +0 -38
  20. package/dist/cjs/plugins/adapters/FluidDexAdapterContract.js +0 -38
  21. package/dist/cjs/plugins/adapters/InfraredVaultAdapterContract.js +0 -38
  22. package/dist/cjs/plugins/adapters/KodiakIslandGatewayAdapterContract.js +0 -38
  23. package/dist/cjs/plugins/adapters/LidoV1AdapterContract.js +0 -37
  24. package/dist/cjs/plugins/adapters/MellowClaimerAdapterContract.js +0 -38
  25. package/dist/cjs/plugins/adapters/MellowDVVAdapterContract.js +0 -38
  26. package/dist/cjs/plugins/adapters/MellowERC4626VaultAdapterContract.js +0 -38
  27. package/dist/cjs/plugins/adapters/MellowVaultAdapterContract.js +0 -38
  28. package/dist/cjs/plugins/adapters/MellowWrapperAdapterContract.js +0 -38
  29. package/dist/cjs/plugins/adapters/PendleRouterAdapterContract.js +0 -38
  30. package/dist/cjs/plugins/adapters/StakingRewardsAdapterContract.js +0 -38
  31. package/dist/cjs/plugins/adapters/TraderJoeRouterAdapterContract.js +0 -38
  32. package/dist/cjs/plugins/adapters/UniswapV2AdapterContract.js +0 -59
  33. package/dist/cjs/plugins/adapters/UniswapV3AdapterContract.js +0 -154
  34. package/dist/cjs/plugins/adapters/UpshiftVaultAdapterContract.js +0 -38
  35. package/dist/cjs/plugins/adapters/VelodromeV2AdapterContract.js +0 -38
  36. package/dist/cjs/plugins/adapters/WstETHV1AdapterContract.js +0 -38
  37. package/dist/cjs/plugins/adapters/YearnV2AdapterContract.js +0 -38
  38. package/dist/cjs/plugins/adapters/abi/adapters.js +0 -5611
  39. package/dist/cjs/plugins/adapters/abi/index.js +0 -22
  40. package/dist/cjs/plugins/adapters/index.js +0 -92
  41. package/dist/cjs/plugins/adapters/package.json +0 -1
  42. package/dist/cjs/plugins/adapters/types.js +0 -16
  43. package/dist/esm/plugins/adapters/AbstractAdapter.js +0 -15
  44. package/dist/esm/plugins/adapters/AdaptersPlugin.js +0 -132
  45. package/dist/esm/plugins/adapters/BalancerV2VaultAdapterContract.js +0 -14
  46. package/dist/esm/plugins/adapters/BalancerV3RouterAdapterContract.js +0 -14
  47. package/dist/esm/plugins/adapters/CamelotV3AdapterContract.js +0 -14
  48. package/dist/esm/plugins/adapters/ConvexV1BaseRewardPoolAdapterContract.js +0 -14
  49. package/dist/esm/plugins/adapters/ConvexV1BoosterAdapterContract.js +0 -14
  50. package/dist/esm/plugins/adapters/Curve2AssetsAdapterContract.js +0 -14
  51. package/dist/esm/plugins/adapters/Curve3AssetsAdapterContract.js +0 -14
  52. package/dist/esm/plugins/adapters/Curve4AssetsAdapterContract.js +0 -14
  53. package/dist/esm/plugins/adapters/CurveV1AdapterDeposit.js +0 -14
  54. package/dist/esm/plugins/adapters/CurveV1AdapterStETHContract.js +0 -14
  55. package/dist/esm/plugins/adapters/CurveV1StableNGAdapterContract.js +0 -14
  56. package/dist/esm/plugins/adapters/DaiUsdsAdapterContract.js +0 -14
  57. package/dist/esm/plugins/adapters/ERC4626AdapterContract.js +0 -14
  58. package/dist/esm/plugins/adapters/EqualizerRouterAdapterContract.js +0 -14
  59. package/dist/esm/plugins/adapters/FluidDexAdapterContract.js +0 -14
  60. package/dist/esm/plugins/adapters/InfraredVaultAdapterContract.js +0 -14
  61. package/dist/esm/plugins/adapters/KodiakIslandGatewayAdapterContract.js +0 -14
  62. package/dist/esm/plugins/adapters/LidoV1AdapterContract.js +0 -13
  63. package/dist/esm/plugins/adapters/MellowClaimerAdapterContract.js +0 -14
  64. package/dist/esm/plugins/adapters/MellowDVVAdapterContract.js +0 -14
  65. package/dist/esm/plugins/adapters/MellowERC4626VaultAdapterContract.js +0 -14
  66. package/dist/esm/plugins/adapters/MellowVaultAdapterContract.js +0 -14
  67. package/dist/esm/plugins/adapters/MellowWrapperAdapterContract.js +0 -14
  68. package/dist/esm/plugins/adapters/PendleRouterAdapterContract.js +0 -14
  69. package/dist/esm/plugins/adapters/StakingRewardsAdapterContract.js +0 -14
  70. package/dist/esm/plugins/adapters/TraderJoeRouterAdapterContract.js +0 -14
  71. package/dist/esm/plugins/adapters/UniswapV2AdapterContract.js +0 -35
  72. package/dist/esm/plugins/adapters/UniswapV3AdapterContract.js +0 -130
  73. package/dist/esm/plugins/adapters/UpshiftVaultAdapterContract.js +0 -14
  74. package/dist/esm/plugins/adapters/VelodromeV2AdapterContract.js +0 -14
  75. package/dist/esm/plugins/adapters/WstETHV1AdapterContract.js +0 -14
  76. package/dist/esm/plugins/adapters/YearnV2AdapterContract.js +0 -14
  77. package/dist/esm/plugins/adapters/abi/adapters.js +0 -5552
  78. package/dist/esm/plugins/adapters/abi/index.js +0 -1
  79. package/dist/esm/plugins/adapters/index.js +0 -36
  80. package/dist/esm/plugins/adapters/package.json +0 -1
  81. package/dist/esm/plugins/adapters/types.js +0 -0
  82. package/dist/types/plugins/adapters/AbstractAdapter.d.ts +0 -13
  83. package/dist/types/plugins/adapters/AdaptersPlugin.d.ts +0 -11
  84. package/dist/types/plugins/adapters/BalancerV2VaultAdapterContract.d.ts +0 -479
  85. package/dist/types/plugins/adapters/BalancerV3RouterAdapterContract.d.ts +0 -196
  86. package/dist/types/plugins/adapters/CamelotV3AdapterContract.d.ts +0 -435
  87. package/dist/types/plugins/adapters/ConvexV1BaseRewardPoolAdapterContract.d.ts +0 -256
  88. package/dist/types/plugins/adapters/ConvexV1BoosterAdapterContract.d.ts +0 -200
  89. package/dist/types/plugins/adapters/Curve2AssetsAdapterContract.d.ts +0 -526
  90. package/dist/types/plugins/adapters/Curve3AssetsAdapterContract.d.ts +0 -526
  91. package/dist/types/plugins/adapters/Curve4AssetsAdapterContract.d.ts +0 -526
  92. package/dist/types/plugins/adapters/CurveV1AdapterDeposit.d.ts +0 -473
  93. package/dist/types/plugins/adapters/CurveV1AdapterStETHContract.d.ts +0 -526
  94. package/dist/types/plugins/adapters/CurveV1StableNGAdapterContract.d.ts +0 -526
  95. package/dist/types/plugins/adapters/DaiUsdsAdapterContract.d.ts +0 -143
  96. package/dist/types/plugins/adapters/ERC4626AdapterContract.d.ts +0 -176
  97. package/dist/types/plugins/adapters/EqualizerRouterAdapterContract.d.ts +0 -219
  98. package/dist/types/plugins/adapters/FluidDexAdapterContract.d.ts +0 -127
  99. package/dist/types/plugins/adapters/InfraredVaultAdapterContract.d.ts +0 -195
  100. package/dist/types/plugins/adapters/KodiakIslandGatewayAdapterContract.d.ts +0 -390
  101. package/dist/types/plugins/adapters/LidoV1AdapterContract.d.ts +0 -8
  102. package/dist/types/plugins/adapters/MellowClaimerAdapterContract.d.ts +0 -255
  103. package/dist/types/plugins/adapters/MellowDVVAdapterContract.d.ts +0 -229
  104. package/dist/types/plugins/adapters/MellowERC4626VaultAdapterContract.d.ts +0 -176
  105. package/dist/types/plugins/adapters/MellowVaultAdapterContract.d.ts +0 -200
  106. package/dist/types/plugins/adapters/MellowWrapperAdapterContract.d.ts +0 -159
  107. package/dist/types/plugins/adapters/PendleRouterAdapterContract.d.ts +0 -815
  108. package/dist/types/plugins/adapters/StakingRewardsAdapterContract.d.ts +0 -173
  109. package/dist/types/plugins/adapters/TraderJoeRouterAdapterContract.d.ts +0 -341
  110. package/dist/types/plugins/adapters/UniswapV2AdapterContract.d.ts +0 -211
  111. package/dist/types/plugins/adapters/UniswapV3AdapterContract.d.ts +0 -378
  112. package/dist/types/plugins/adapters/UpshiftVaultAdapterContract.d.ts +0 -265
  113. package/dist/types/plugins/adapters/VelodromeV2AdapterContract.d.ts +0 -239
  114. package/dist/types/plugins/adapters/WstETHV1AdapterContract.d.ts +0 -124
  115. package/dist/types/plugins/adapters/YearnV2AdapterContract.d.ts +0 -182
  116. package/dist/types/plugins/adapters/abi/adapters.d.ts +0 -8946
  117. package/dist/types/plugins/adapters/abi/index.d.ts +0 -1
  118. package/dist/types/plugins/adapters/index.d.ts +0 -36
  119. package/dist/types/plugins/adapters/types.d.ts +0 -2
@@ -1,526 +0,0 @@
1
- import type { GearboxSDK } from "../../sdk/index.js";
2
- import type { AbstractAdapterContractOptions } from "./AbstractAdapter.js";
3
- import { AbstractAdapterContract } from "./AbstractAdapter.js";
4
- declare const abi: readonly [{
5
- readonly type: "function";
6
- readonly inputs: readonly [{
7
- readonly name: "leftoverAmount";
8
- readonly internalType: "uint256";
9
- readonly type: "uint256";
10
- }, {
11
- readonly name: "i";
12
- readonly internalType: "uint256";
13
- readonly type: "uint256";
14
- }, {
15
- readonly name: "rateMinRAY";
16
- readonly internalType: "uint256";
17
- readonly type: "uint256";
18
- }];
19
- readonly name: "add_diff_liquidity_one_coin";
20
- readonly outputs: readonly [{
21
- readonly name: "useSafePrices";
22
- readonly internalType: "bool";
23
- readonly type: "bool";
24
- }];
25
- readonly stateMutability: "nonpayable";
26
- }, {
27
- readonly type: "function";
28
- readonly inputs: readonly [{
29
- readonly name: "amounts";
30
- readonly internalType: "uint256[]";
31
- readonly type: "uint256[]";
32
- }, {
33
- readonly name: "";
34
- readonly internalType: "uint256";
35
- readonly type: "uint256";
36
- }];
37
- readonly name: "add_liquidity";
38
- readonly outputs: readonly [{
39
- readonly name: "useSafePrices";
40
- readonly internalType: "bool";
41
- readonly type: "bool";
42
- }];
43
- readonly stateMutability: "nonpayable";
44
- }, {
45
- readonly type: "function";
46
- readonly inputs: readonly [{
47
- readonly name: "amount";
48
- readonly internalType: "uint256";
49
- readonly type: "uint256";
50
- }, {
51
- readonly name: "i";
52
- readonly internalType: "uint256";
53
- readonly type: "uint256";
54
- }, {
55
- readonly name: "minAmount";
56
- readonly internalType: "uint256";
57
- readonly type: "uint256";
58
- }];
59
- readonly name: "add_liquidity_one_coin";
60
- readonly outputs: readonly [{
61
- readonly name: "useSafePrices";
62
- readonly internalType: "bool";
63
- readonly type: "bool";
64
- }];
65
- readonly stateMutability: "nonpayable";
66
- }, {
67
- readonly type: "function";
68
- readonly inputs: readonly [{
69
- readonly name: "amount";
70
- readonly internalType: "uint256";
71
- readonly type: "uint256";
72
- }, {
73
- readonly name: "i";
74
- readonly internalType: "uint256";
75
- readonly type: "uint256";
76
- }];
77
- readonly name: "calc_add_one_coin";
78
- readonly outputs: readonly [{
79
- readonly name: "";
80
- readonly internalType: "uint256";
81
- readonly type: "uint256";
82
- }];
83
- readonly stateMutability: "view";
84
- }, {
85
- readonly type: "function";
86
- readonly inputs: readonly [];
87
- readonly name: "contractType";
88
- readonly outputs: readonly [{
89
- readonly name: "";
90
- readonly internalType: "bytes32";
91
- readonly type: "bytes32";
92
- }];
93
- readonly stateMutability: "view";
94
- }, {
95
- readonly type: "function";
96
- readonly inputs: readonly [];
97
- readonly name: "creditManager";
98
- readonly outputs: readonly [{
99
- readonly name: "";
100
- readonly internalType: "address";
101
- readonly type: "address";
102
- }];
103
- readonly stateMutability: "view";
104
- }, {
105
- readonly type: "function";
106
- readonly inputs: readonly [{
107
- readonly name: "i";
108
- readonly internalType: "int128";
109
- readonly type: "int128";
110
- }, {
111
- readonly name: "j";
112
- readonly internalType: "int128";
113
- readonly type: "int128";
114
- }, {
115
- readonly name: "dx";
116
- readonly internalType: "uint256";
117
- readonly type: "uint256";
118
- }, {
119
- readonly name: "min_dy";
120
- readonly internalType: "uint256";
121
- readonly type: "uint256";
122
- }];
123
- readonly name: "exchange";
124
- readonly outputs: readonly [{
125
- readonly name: "useSafePrices";
126
- readonly internalType: "bool";
127
- readonly type: "bool";
128
- }];
129
- readonly stateMutability: "nonpayable";
130
- }, {
131
- readonly type: "function";
132
- readonly inputs: readonly [{
133
- readonly name: "i";
134
- readonly internalType: "uint256";
135
- readonly type: "uint256";
136
- }, {
137
- readonly name: "j";
138
- readonly internalType: "uint256";
139
- readonly type: "uint256";
140
- }, {
141
- readonly name: "dx";
142
- readonly internalType: "uint256";
143
- readonly type: "uint256";
144
- }, {
145
- readonly name: "min_dy";
146
- readonly internalType: "uint256";
147
- readonly type: "uint256";
148
- }];
149
- readonly name: "exchange";
150
- readonly outputs: readonly [{
151
- readonly name: "useSafePrices";
152
- readonly internalType: "bool";
153
- readonly type: "bool";
154
- }];
155
- readonly stateMutability: "nonpayable";
156
- }, {
157
- readonly type: "function";
158
- readonly inputs: readonly [{
159
- readonly name: "i";
160
- readonly internalType: "uint256";
161
- readonly type: "uint256";
162
- }, {
163
- readonly name: "j";
164
- readonly internalType: "uint256";
165
- readonly type: "uint256";
166
- }, {
167
- readonly name: "leftoverAmount";
168
- readonly internalType: "uint256";
169
- readonly type: "uint256";
170
- }, {
171
- readonly name: "rateMinRAY";
172
- readonly internalType: "uint256";
173
- readonly type: "uint256";
174
- }];
175
- readonly name: "exchange_diff";
176
- readonly outputs: readonly [{
177
- readonly name: "useSafePrices";
178
- readonly internalType: "bool";
179
- readonly type: "bool";
180
- }];
181
- readonly stateMutability: "nonpayable";
182
- }, {
183
- readonly type: "function";
184
- readonly inputs: readonly [{
185
- readonly name: "i";
186
- readonly internalType: "uint256";
187
- readonly type: "uint256";
188
- }, {
189
- readonly name: "j";
190
- readonly internalType: "uint256";
191
- readonly type: "uint256";
192
- }, {
193
- readonly name: "leftoverAmount";
194
- readonly internalType: "uint256";
195
- readonly type: "uint256";
196
- }, {
197
- readonly name: "rateMinRAY";
198
- readonly internalType: "uint256";
199
- readonly type: "uint256";
200
- }];
201
- readonly name: "exchange_diff_underlying";
202
- readonly outputs: readonly [{
203
- readonly name: "useSafePrices";
204
- readonly internalType: "bool";
205
- readonly type: "bool";
206
- }];
207
- readonly stateMutability: "nonpayable";
208
- }, {
209
- readonly type: "function";
210
- readonly inputs: readonly [{
211
- readonly name: "i";
212
- readonly internalType: "uint256";
213
- readonly type: "uint256";
214
- }, {
215
- readonly name: "j";
216
- readonly internalType: "uint256";
217
- readonly type: "uint256";
218
- }, {
219
- readonly name: "dx";
220
- readonly internalType: "uint256";
221
- readonly type: "uint256";
222
- }, {
223
- readonly name: "min_dy";
224
- readonly internalType: "uint256";
225
- readonly type: "uint256";
226
- }];
227
- readonly name: "exchange_underlying";
228
- readonly outputs: readonly [{
229
- readonly name: "useSafePrices";
230
- readonly internalType: "bool";
231
- readonly type: "bool";
232
- }];
233
- readonly stateMutability: "nonpayable";
234
- }, {
235
- readonly type: "function";
236
- readonly inputs: readonly [{
237
- readonly name: "i";
238
- readonly internalType: "int128";
239
- readonly type: "int128";
240
- }, {
241
- readonly name: "j";
242
- readonly internalType: "int128";
243
- readonly type: "int128";
244
- }, {
245
- readonly name: "dx";
246
- readonly internalType: "uint256";
247
- readonly type: "uint256";
248
- }, {
249
- readonly name: "min_dy";
250
- readonly internalType: "uint256";
251
- readonly type: "uint256";
252
- }];
253
- readonly name: "exchange_underlying";
254
- readonly outputs: readonly [{
255
- readonly name: "useSafePrices";
256
- readonly internalType: "bool";
257
- readonly type: "bool";
258
- }];
259
- readonly stateMutability: "nonpayable";
260
- }, {
261
- readonly type: "function";
262
- readonly inputs: readonly [];
263
- readonly name: "lp_token";
264
- readonly outputs: readonly [{
265
- readonly name: "";
266
- readonly internalType: "address";
267
- readonly type: "address";
268
- }];
269
- readonly stateMutability: "view";
270
- }, {
271
- readonly type: "function";
272
- readonly inputs: readonly [];
273
- readonly name: "metapoolBase";
274
- readonly outputs: readonly [{
275
- readonly name: "";
276
- readonly internalType: "address";
277
- readonly type: "address";
278
- }];
279
- readonly stateMutability: "view";
280
- }, {
281
- readonly type: "function";
282
- readonly inputs: readonly [];
283
- readonly name: "nCoins";
284
- readonly outputs: readonly [{
285
- readonly name: "";
286
- readonly internalType: "uint256";
287
- readonly type: "uint256";
288
- }];
289
- readonly stateMutability: "view";
290
- }, {
291
- readonly type: "function";
292
- readonly inputs: readonly [{
293
- readonly name: "leftoverAmount";
294
- readonly internalType: "uint256";
295
- readonly type: "uint256";
296
- }, {
297
- readonly name: "i";
298
- readonly internalType: "uint256";
299
- readonly type: "uint256";
300
- }, {
301
- readonly name: "rateMinRAY";
302
- readonly internalType: "uint256";
303
- readonly type: "uint256";
304
- }];
305
- readonly name: "remove_diff_liquidity_one_coin";
306
- readonly outputs: readonly [{
307
- readonly name: "useSafePrices";
308
- readonly internalType: "bool";
309
- readonly type: "bool";
310
- }];
311
- readonly stateMutability: "nonpayable";
312
- }, {
313
- readonly type: "function";
314
- readonly inputs: readonly [{
315
- readonly name: "";
316
- readonly internalType: "uint256";
317
- readonly type: "uint256";
318
- }, {
319
- readonly name: "";
320
- readonly internalType: "uint256[]";
321
- readonly type: "uint256[]";
322
- }];
323
- readonly name: "remove_liquidity";
324
- readonly outputs: readonly [{
325
- readonly name: "useSafePrices";
326
- readonly internalType: "bool";
327
- readonly type: "bool";
328
- }];
329
- readonly stateMutability: "nonpayable";
330
- }, {
331
- readonly type: "function";
332
- readonly inputs: readonly [{
333
- readonly name: "amounts";
334
- readonly internalType: "uint256[]";
335
- readonly type: "uint256[]";
336
- }, {
337
- readonly name: "";
338
- readonly internalType: "uint256";
339
- readonly type: "uint256";
340
- }];
341
- readonly name: "remove_liquidity_imbalance";
342
- readonly outputs: readonly [{
343
- readonly name: "useSafePrices";
344
- readonly internalType: "bool";
345
- readonly type: "bool";
346
- }];
347
- readonly stateMutability: "nonpayable";
348
- }, {
349
- readonly type: "function";
350
- readonly inputs: readonly [{
351
- readonly name: "amount";
352
- readonly internalType: "uint256";
353
- readonly type: "uint256";
354
- }, {
355
- readonly name: "i";
356
- readonly internalType: "int128";
357
- readonly type: "int128";
358
- }, {
359
- readonly name: "minAmount";
360
- readonly internalType: "uint256";
361
- readonly type: "uint256";
362
- }];
363
- readonly name: "remove_liquidity_one_coin";
364
- readonly outputs: readonly [{
365
- readonly name: "useSafePrices";
366
- readonly internalType: "bool";
367
- readonly type: "bool";
368
- }];
369
- readonly stateMutability: "nonpayable";
370
- }, {
371
- readonly type: "function";
372
- readonly inputs: readonly [{
373
- readonly name: "amount";
374
- readonly internalType: "uint256";
375
- readonly type: "uint256";
376
- }, {
377
- readonly name: "i";
378
- readonly internalType: "uint256";
379
- readonly type: "uint256";
380
- }, {
381
- readonly name: "minAmount";
382
- readonly internalType: "uint256";
383
- readonly type: "uint256";
384
- }];
385
- readonly name: "remove_liquidity_one_coin";
386
- readonly outputs: readonly [{
387
- readonly name: "useSafePrices";
388
- readonly internalType: "bool";
389
- readonly type: "bool";
390
- }];
391
- readonly stateMutability: "nonpayable";
392
- }, {
393
- readonly type: "function";
394
- readonly inputs: readonly [];
395
- readonly name: "serialize";
396
- readonly outputs: readonly [{
397
- readonly name: "serializedData";
398
- readonly internalType: "bytes";
399
- readonly type: "bytes";
400
- }];
401
- readonly stateMutability: "view";
402
- }, {
403
- readonly type: "function";
404
- readonly inputs: readonly [];
405
- readonly name: "targetContract";
406
- readonly outputs: readonly [{
407
- readonly name: "";
408
- readonly internalType: "address";
409
- readonly type: "address";
410
- }];
411
- readonly stateMutability: "view";
412
- }, {
413
- readonly type: "function";
414
- readonly inputs: readonly [];
415
- readonly name: "token";
416
- readonly outputs: readonly [{
417
- readonly name: "";
418
- readonly internalType: "address";
419
- readonly type: "address";
420
- }];
421
- readonly stateMutability: "view";
422
- }, {
423
- readonly type: "function";
424
- readonly inputs: readonly [];
425
- readonly name: "token0";
426
- readonly outputs: readonly [{
427
- readonly name: "";
428
- readonly internalType: "address";
429
- readonly type: "address";
430
- }];
431
- readonly stateMutability: "view";
432
- }, {
433
- readonly type: "function";
434
- readonly inputs: readonly [];
435
- readonly name: "token1";
436
- readonly outputs: readonly [{
437
- readonly name: "";
438
- readonly internalType: "address";
439
- readonly type: "address";
440
- }];
441
- readonly stateMutability: "view";
442
- }, {
443
- readonly type: "function";
444
- readonly inputs: readonly [];
445
- readonly name: "token2";
446
- readonly outputs: readonly [{
447
- readonly name: "";
448
- readonly internalType: "address";
449
- readonly type: "address";
450
- }];
451
- readonly stateMutability: "view";
452
- }, {
453
- readonly type: "function";
454
- readonly inputs: readonly [];
455
- readonly name: "token3";
456
- readonly outputs: readonly [{
457
- readonly name: "";
458
- readonly internalType: "address";
459
- readonly type: "address";
460
- }];
461
- readonly stateMutability: "view";
462
- }, {
463
- readonly type: "function";
464
- readonly inputs: readonly [];
465
- readonly name: "underlying0";
466
- readonly outputs: readonly [{
467
- readonly name: "";
468
- readonly internalType: "address";
469
- readonly type: "address";
470
- }];
471
- readonly stateMutability: "view";
472
- }, {
473
- readonly type: "function";
474
- readonly inputs: readonly [];
475
- readonly name: "underlying1";
476
- readonly outputs: readonly [{
477
- readonly name: "";
478
- readonly internalType: "address";
479
- readonly type: "address";
480
- }];
481
- readonly stateMutability: "view";
482
- }, {
483
- readonly type: "function";
484
- readonly inputs: readonly [];
485
- readonly name: "underlying2";
486
- readonly outputs: readonly [{
487
- readonly name: "";
488
- readonly internalType: "address";
489
- readonly type: "address";
490
- }];
491
- readonly stateMutability: "view";
492
- }, {
493
- readonly type: "function";
494
- readonly inputs: readonly [];
495
- readonly name: "underlying3";
496
- readonly outputs: readonly [{
497
- readonly name: "";
498
- readonly internalType: "address";
499
- readonly type: "address";
500
- }];
501
- readonly stateMutability: "view";
502
- }, {
503
- readonly type: "function";
504
- readonly inputs: readonly [];
505
- readonly name: "use256";
506
- readonly outputs: readonly [{
507
- readonly name: "";
508
- readonly internalType: "bool";
509
- readonly type: "bool";
510
- }];
511
- readonly stateMutability: "view";
512
- }, {
513
- readonly type: "function";
514
- readonly inputs: readonly [];
515
- readonly name: "version";
516
- readonly outputs: readonly [{
517
- readonly name: "";
518
- readonly internalType: "uint256";
519
- readonly type: "uint256";
520
- }];
521
- readonly stateMutability: "view";
522
- }];
523
- export declare class CurveV1StableNGAdapterContract extends AbstractAdapterContract<typeof abi> {
524
- constructor(sdk: GearboxSDK, args: Omit<AbstractAdapterContractOptions<typeof abi>, "abi">);
525
- }
526
- export {};
@@ -1,143 +0,0 @@
1
- import type { GearboxSDK } from "../../sdk/index.js";
2
- import type { AbstractAdapterContractOptions } from "./AbstractAdapter.js";
3
- import { AbstractAdapterContract } from "./AbstractAdapter.js";
4
- declare const abi: readonly [{
5
- readonly type: "function";
6
- readonly inputs: readonly [];
7
- readonly name: "contractType";
8
- readonly outputs: readonly [{
9
- readonly name: "";
10
- readonly internalType: "bytes32";
11
- readonly type: "bytes32";
12
- }];
13
- readonly stateMutability: "view";
14
- }, {
15
- readonly type: "function";
16
- readonly inputs: readonly [];
17
- readonly name: "creditManager";
18
- readonly outputs: readonly [{
19
- readonly name: "";
20
- readonly internalType: "address";
21
- readonly type: "address";
22
- }];
23
- readonly stateMutability: "view";
24
- }, {
25
- readonly type: "function";
26
- readonly inputs: readonly [];
27
- readonly name: "dai";
28
- readonly outputs: readonly [{
29
- readonly name: "";
30
- readonly internalType: "address";
31
- readonly type: "address";
32
- }];
33
- readonly stateMutability: "view";
34
- }, {
35
- readonly type: "function";
36
- readonly inputs: readonly [{
37
- readonly name: "";
38
- readonly internalType: "address";
39
- readonly type: "address";
40
- }, {
41
- readonly name: "";
42
- readonly internalType: "uint256";
43
- readonly type: "uint256";
44
- }];
45
- readonly name: "daiToUsds";
46
- readonly outputs: readonly [{
47
- readonly name: "";
48
- readonly internalType: "bool";
49
- readonly type: "bool";
50
- }];
51
- readonly stateMutability: "nonpayable";
52
- }, {
53
- readonly type: "function";
54
- readonly inputs: readonly [{
55
- readonly name: "";
56
- readonly internalType: "uint256";
57
- readonly type: "uint256";
58
- }];
59
- readonly name: "daiToUsdsDiff";
60
- readonly outputs: readonly [{
61
- readonly name: "";
62
- readonly internalType: "bool";
63
- readonly type: "bool";
64
- }];
65
- readonly stateMutability: "nonpayable";
66
- }, {
67
- readonly type: "function";
68
- readonly inputs: readonly [];
69
- readonly name: "serialize";
70
- readonly outputs: readonly [{
71
- readonly name: "serializedData";
72
- readonly internalType: "bytes";
73
- readonly type: "bytes";
74
- }];
75
- readonly stateMutability: "view";
76
- }, {
77
- readonly type: "function";
78
- readonly inputs: readonly [];
79
- readonly name: "targetContract";
80
- readonly outputs: readonly [{
81
- readonly name: "";
82
- readonly internalType: "address";
83
- readonly type: "address";
84
- }];
85
- readonly stateMutability: "view";
86
- }, {
87
- readonly type: "function";
88
- readonly inputs: readonly [];
89
- readonly name: "usds";
90
- readonly outputs: readonly [{
91
- readonly name: "";
92
- readonly internalType: "address";
93
- readonly type: "address";
94
- }];
95
- readonly stateMutability: "view";
96
- }, {
97
- readonly type: "function";
98
- readonly inputs: readonly [{
99
- readonly name: "";
100
- readonly internalType: "address";
101
- readonly type: "address";
102
- }, {
103
- readonly name: "";
104
- readonly internalType: "uint256";
105
- readonly type: "uint256";
106
- }];
107
- readonly name: "usdsToDai";
108
- readonly outputs: readonly [{
109
- readonly name: "";
110
- readonly internalType: "bool";
111
- readonly type: "bool";
112
- }];
113
- readonly stateMutability: "nonpayable";
114
- }, {
115
- readonly type: "function";
116
- readonly inputs: readonly [{
117
- readonly name: "";
118
- readonly internalType: "uint256";
119
- readonly type: "uint256";
120
- }];
121
- readonly name: "usdsToDaiDiff";
122
- readonly outputs: readonly [{
123
- readonly name: "";
124
- readonly internalType: "bool";
125
- readonly type: "bool";
126
- }];
127
- readonly stateMutability: "nonpayable";
128
- }, {
129
- readonly type: "function";
130
- readonly inputs: readonly [];
131
- readonly name: "version";
132
- readonly outputs: readonly [{
133
- readonly name: "";
134
- readonly internalType: "uint256";
135
- readonly type: "uint256";
136
- }];
137
- readonly stateMutability: "view";
138
- }];
139
- type abi = typeof abi;
140
- export declare class DaiUsdsAdapterContract extends AbstractAdapterContract<typeof abi> {
141
- constructor(sdk: GearboxSDK, args: Omit<AbstractAdapterContractOptions<abi>, "abi">);
142
- }
143
- export {};