@merkl/contracts 1.2.33 → 1.2.35

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 (139) hide show
  1. package/dist/src/ArrakisGaugeFactory.d.ts +107 -0
  2. package/dist/src/ArrakisGaugeFactory.js +2 -0
  3. package/dist/src/ArrakisGaugeFactory.js.map +1 -0
  4. package/dist/src/ArrakisV2Factory.d.ts +279 -0
  5. package/dist/src/ArrakisV2Factory.js +2 -0
  6. package/dist/src/ArrakisV2Factory.js.map +1 -0
  7. package/dist/src/DefiEdgeAlgebraFactory.d.ts +739 -0
  8. package/dist/src/DefiEdgeAlgebraFactory.js +2 -0
  9. package/dist/src/DefiEdgeAlgebraFactory.js.map +1 -0
  10. package/dist/src/DefiEdgeAlgebraStrategy.d.ts +727 -0
  11. package/dist/src/DefiEdgeAlgebraStrategy.js +2 -0
  12. package/dist/src/DefiEdgeAlgebraStrategy.js.map +1 -0
  13. package/dist/src/DefiEdgeFactory.d.ts +669 -0
  14. package/dist/src/DefiEdgeFactory.js +2 -0
  15. package/dist/src/DefiEdgeFactory.js.map +1 -0
  16. package/dist/src/DefiEdgeStrategy.d.ts +669 -0
  17. package/dist/src/DefiEdgeStrategy.js +2 -0
  18. package/dist/src/DefiEdgeStrategy.js.map +1 -0
  19. package/dist/src/GaugeV2CL.d.ts +688 -0
  20. package/dist/src/GaugeV2CL.js +2 -0
  21. package/dist/src/GaugeV2CL.js.map +1 -0
  22. package/dist/src/JonesCompounder.d.ts +941 -0
  23. package/dist/src/JonesCompounder.js +2 -0
  24. package/dist/src/JonesCompounder.js.map +1 -0
  25. package/dist/src/JonesFactory.d.ts +889 -0
  26. package/dist/src/JonesFactory.js +2 -0
  27. package/dist/src/JonesFactory.js.map +1 -0
  28. package/dist/src/JonesSingleRewardTracker.d.ts +968 -0
  29. package/dist/src/JonesSingleRewardTracker.js +2 -0
  30. package/dist/src/JonesSingleRewardTracker.js.map +1 -0
  31. package/dist/src/JonesToken0Tracker.d.ts +968 -0
  32. package/dist/src/JonesToken0Tracker.js +2 -0
  33. package/dist/src/JonesToken0Tracker.js.map +1 -0
  34. package/dist/src/JonesToken1Tracker.d.ts +968 -0
  35. package/dist/src/JonesToken1Tracker.js +2 -0
  36. package/dist/src/JonesToken1Tracker.js.map +1 -0
  37. package/dist/src/JonesVault.d.ts +1115 -0
  38. package/dist/src/JonesVault.js +2 -0
  39. package/dist/src/JonesVault.js.map +1 -0
  40. package/dist/src/RangeFactory.d.ts +211 -0
  41. package/dist/src/RangeFactory.js +2 -0
  42. package/dist/src/RangeFactory.js.map +1 -0
  43. package/dist/src/RangeVault.d.ts +1095 -0
  44. package/dist/src/RangeVault.js +2 -0
  45. package/dist/src/RangeVault.js.map +1 -0
  46. package/dist/src/SpNFTFactory.d.ts +113 -0
  47. package/dist/src/SpNFTFactory.js +2 -0
  48. package/dist/src/SpNFTFactory.js.map +1 -0
  49. package/dist/src/SwapXGaugeV2Factory.d.ts +266 -0
  50. package/dist/src/SwapXGaugeV2Factory.js +2 -0
  51. package/dist/src/SwapXGaugeV2Factory.js.map +1 -0
  52. package/dist/src/SwapXGaugeV3Factory.d.ts +1106 -0
  53. package/dist/src/SwapXGaugeV3Factory.js +2 -0
  54. package/dist/src/SwapXGaugeV3Factory.js.map +1 -0
  55. package/dist/src/SwapXV2Vault.d.ts +634 -0
  56. package/dist/src/SwapXV2Vault.js +2 -0
  57. package/dist/src/SwapXV2Vault.js.map +1 -0
  58. package/dist/src/SwapXV3Vault.d.ts +688 -0
  59. package/dist/src/SwapXV3Vault.js +2 -0
  60. package/dist/src/SwapXV3Vault.js.map +1 -0
  61. package/dist/src/UnipilotFactory.d.ts +149 -0
  62. package/dist/src/UnipilotFactory.js +2 -0
  63. package/dist/src/UnipilotFactory.js.map +1 -0
  64. package/dist/src/UnipilotVault.d.ts +566 -0
  65. package/dist/src/UnipilotVault.js +2 -0
  66. package/dist/src/UnipilotVault.js.map +1 -0
  67. package/dist/src/factories/ArrakisGaugeFactory__factory.d.ts +94 -0
  68. package/dist/src/factories/ArrakisGaugeFactory__factory.js +128 -0
  69. package/dist/src/factories/ArrakisGaugeFactory__factory.js.map +1 -0
  70. package/dist/src/factories/ArrakisV2Factory__factory.d.ts +271 -0
  71. package/dist/src/factories/ArrakisV2Factory__factory.js +359 -0
  72. package/dist/src/factories/ArrakisV2Factory__factory.js.map +1 -0
  73. package/dist/src/factories/DefiEdgeAlgebraFactory__factory.d.ts +767 -0
  74. package/dist/src/factories/DefiEdgeAlgebraFactory__factory.js +1003 -0
  75. package/dist/src/factories/DefiEdgeAlgebraFactory__factory.js.map +1 -0
  76. package/dist/src/factories/DefiEdgeAlgebraStrategy__factory.d.ts +886 -0
  77. package/dist/src/factories/DefiEdgeAlgebraStrategy__factory.js +1150 -0
  78. package/dist/src/factories/DefiEdgeAlgebraStrategy__factory.js.map +1 -0
  79. package/dist/src/factories/DefiEdgeFactory__factory.d.ts +690 -0
  80. package/dist/src/factories/DefiEdgeFactory__factory.js +902 -0
  81. package/dist/src/factories/DefiEdgeFactory__factory.js.map +1 -0
  82. package/dist/src/factories/DefiEdgeStrategy__factory.d.ts +825 -0
  83. package/dist/src/factories/DefiEdgeStrategy__factory.js +1073 -0
  84. package/dist/src/factories/DefiEdgeStrategy__factory.js.map +1 -0
  85. package/dist/src/factories/GaugeV2CL__factory.d.ts +648 -0
  86. package/dist/src/factories/GaugeV2CL__factory.js +841 -0
  87. package/dist/src/factories/GaugeV2CL__factory.js.map +1 -0
  88. package/dist/src/factories/JonesCompounder__factory.d.ts +1017 -0
  89. package/dist/src/factories/JonesCompounder__factory.js +1320 -0
  90. package/dist/src/factories/JonesCompounder__factory.js.map +1 -0
  91. package/dist/src/factories/JonesFactory__factory.d.ts +1131 -0
  92. package/dist/src/factories/JonesFactory__factory.js +1464 -0
  93. package/dist/src/factories/JonesFactory__factory.js.map +1 -0
  94. package/dist/src/factories/JonesSingleRewardTracker__factory.d.ts +991 -0
  95. package/dist/src/factories/JonesSingleRewardTracker__factory.js +1288 -0
  96. package/dist/src/factories/JonesSingleRewardTracker__factory.js.map +1 -0
  97. package/dist/src/factories/JonesToken0Tracker__factory.d.ts +991 -0
  98. package/dist/src/factories/JonesToken0Tracker__factory.js +1288 -0
  99. package/dist/src/factories/JonesToken0Tracker__factory.js.map +1 -0
  100. package/dist/src/factories/JonesToken1Tracker__factory.d.ts +991 -0
  101. package/dist/src/factories/JonesToken1Tracker__factory.js +1288 -0
  102. package/dist/src/factories/JonesToken1Tracker__factory.js.map +1 -0
  103. package/dist/src/factories/JonesVault__factory.d.ts +1225 -0
  104. package/dist/src/factories/JonesVault__factory.js +1588 -0
  105. package/dist/src/factories/JonesVault__factory.js.map +1 -0
  106. package/dist/src/factories/RangeFactory__factory.d.ts +215 -0
  107. package/dist/src/factories/RangeFactory__factory.js +282 -0
  108. package/dist/src/factories/RangeFactory__factory.js.map +1 -0
  109. package/dist/src/factories/RangeVault__factory.d.ts +1145 -0
  110. package/dist/src/factories/RangeVault__factory.js +1480 -0
  111. package/dist/src/factories/RangeVault__factory.js.map +1 -0
  112. package/dist/src/factories/SpNFTFactory__factory.d.ts +121 -0
  113. package/dist/src/factories/SpNFTFactory__factory.js +165 -0
  114. package/dist/src/factories/SpNFTFactory__factory.js.map +1 -0
  115. package/dist/src/factories/SwapXGaugeV2Factory__factory.d.ts +223 -0
  116. package/dist/src/factories/SwapXGaugeV2Factory__factory.js +293 -0
  117. package/dist/src/factories/SwapXGaugeV2Factory__factory.js.map +1 -0
  118. package/dist/src/factories/SwapXGaugeV3Factory__factory.d.ts +1186 -0
  119. package/dist/src/factories/SwapXGaugeV3Factory__factory.js +1546 -0
  120. package/dist/src/factories/SwapXGaugeV3Factory__factory.js.map +1 -0
  121. package/dist/src/factories/SwapXV2Vault__factory.d.ts +586 -0
  122. package/dist/src/factories/SwapXV2Vault__factory.js +759 -0
  123. package/dist/src/factories/SwapXV2Vault__factory.js.map +1 -0
  124. package/dist/src/factories/SwapXV3Vault__factory.d.ts +648 -0
  125. package/dist/src/factories/SwapXV3Vault__factory.js +841 -0
  126. package/dist/src/factories/SwapXV3Vault__factory.js.map +1 -0
  127. package/dist/src/factories/UnipilotFactory__factory.d.ts +199 -0
  128. package/dist/src/factories/UnipilotFactory__factory.js +260 -0
  129. package/dist/src/factories/UnipilotFactory__factory.js.map +1 -0
  130. package/dist/src/factories/UnipilotVault__factory.d.ts +649 -0
  131. package/dist/src/factories/UnipilotVault__factory.js +841 -0
  132. package/dist/src/factories/UnipilotVault__factory.js.map +1 -0
  133. package/dist/src/factories/index.d.ts +22 -0
  134. package/dist/src/factories/index.js +22 -0
  135. package/dist/src/factories/index.js.map +1 -1
  136. package/dist/src/index.d.ts +44 -0
  137. package/dist/src/index.js +44 -0
  138. package/dist/src/index.js.map +1 -1
  139. package/package.json +1 -1
@@ -0,0 +1,1073 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "contract IStrategyFactory",
10
+ name: "_factory",
11
+ type: "address",
12
+ },
13
+ {
14
+ internalType: "contract IUniswapV3Pool",
15
+ name: "_pool",
16
+ type: "address",
17
+ },
18
+ {
19
+ internalType: "contract IOneInchRouter",
20
+ name: "_oneInchRouter",
21
+ type: "address",
22
+ },
23
+ {
24
+ internalType: "contract FeedRegistryInterface",
25
+ name: "_chainlinkRegistry",
26
+ type: "address",
27
+ },
28
+ {
29
+ internalType: "contract IStrategyManager",
30
+ name: "_manager",
31
+ type: "address",
32
+ },
33
+ {
34
+ internalType: "bool[2]",
35
+ name: "_usdAsBase",
36
+ type: "bool[2]",
37
+ },
38
+ {
39
+ components: [
40
+ {
41
+ internalType: "int24",
42
+ name: "tickLower",
43
+ type: "int24",
44
+ },
45
+ {
46
+ internalType: "int24",
47
+ name: "tickUpper",
48
+ type: "int24",
49
+ },
50
+ ],
51
+ internalType: "struct IStrategyBase.Tick[]",
52
+ name: "_ticks",
53
+ type: "tuple[]",
54
+ },
55
+ ],
56
+ stateMutability: "nonpayable",
57
+ type: "constructor",
58
+ },
59
+ {
60
+ anonymous: false,
61
+ inputs: [
62
+ {
63
+ indexed: true,
64
+ internalType: "address",
65
+ name: "owner",
66
+ type: "address",
67
+ },
68
+ {
69
+ indexed: true,
70
+ internalType: "address",
71
+ name: "spender",
72
+ type: "address",
73
+ },
74
+ {
75
+ indexed: false,
76
+ internalType: "uint256",
77
+ name: "value",
78
+ type: "uint256",
79
+ },
80
+ ],
81
+ name: "Approval",
82
+ type: "event",
83
+ },
84
+ {
85
+ anonymous: false,
86
+ inputs: [
87
+ {
88
+ indexed: true,
89
+ internalType: "address",
90
+ name: "user",
91
+ type: "address",
92
+ },
93
+ {
94
+ indexed: false,
95
+ internalType: "uint256",
96
+ name: "share",
97
+ type: "uint256",
98
+ },
99
+ {
100
+ indexed: false,
101
+ internalType: "uint256",
102
+ name: "amount0",
103
+ type: "uint256",
104
+ },
105
+ {
106
+ indexed: false,
107
+ internalType: "uint256",
108
+ name: "amount1",
109
+ type: "uint256",
110
+ },
111
+ ],
112
+ name: "Burn",
113
+ type: "event",
114
+ },
115
+ {
116
+ anonymous: false,
117
+ inputs: [
118
+ {
119
+ indexed: false,
120
+ internalType: "uint256",
121
+ name: "managerFee",
122
+ type: "uint256",
123
+ },
124
+ {
125
+ indexed: false,
126
+ internalType: "uint256",
127
+ name: "protocolFee",
128
+ type: "uint256",
129
+ },
130
+ ],
131
+ name: "ClaimFee",
132
+ type: "event",
133
+ },
134
+ {
135
+ anonymous: false,
136
+ inputs: [
137
+ {
138
+ indexed: true,
139
+ internalType: "address",
140
+ name: "strategy",
141
+ type: "address",
142
+ },
143
+ {
144
+ indexed: false,
145
+ internalType: "uint256",
146
+ name: "amount0",
147
+ type: "uint256",
148
+ },
149
+ {
150
+ indexed: false,
151
+ internalType: "uint256",
152
+ name: "amount1",
153
+ type: "uint256",
154
+ },
155
+ ],
156
+ name: "FeesClaim",
157
+ type: "event",
158
+ },
159
+ {
160
+ anonymous: false,
161
+ inputs: [],
162
+ name: "Hold",
163
+ type: "event",
164
+ },
165
+ {
166
+ anonymous: false,
167
+ inputs: [
168
+ {
169
+ indexed: true,
170
+ internalType: "address",
171
+ name: "user",
172
+ type: "address",
173
+ },
174
+ {
175
+ indexed: false,
176
+ internalType: "uint256",
177
+ name: "share",
178
+ type: "uint256",
179
+ },
180
+ {
181
+ indexed: false,
182
+ internalType: "uint256",
183
+ name: "amount0",
184
+ type: "uint256",
185
+ },
186
+ {
187
+ indexed: false,
188
+ internalType: "uint256",
189
+ name: "amount1",
190
+ type: "uint256",
191
+ },
192
+ ],
193
+ name: "Mint",
194
+ type: "event",
195
+ },
196
+ {
197
+ anonymous: false,
198
+ inputs: [
199
+ {
200
+ components: [
201
+ {
202
+ internalType: "uint256",
203
+ name: "index",
204
+ type: "uint256",
205
+ },
206
+ {
207
+ internalType: "bool",
208
+ name: "burn",
209
+ type: "bool",
210
+ },
211
+ {
212
+ internalType: "uint256",
213
+ name: "amount0",
214
+ type: "uint256",
215
+ },
216
+ {
217
+ internalType: "uint256",
218
+ name: "amount1",
219
+ type: "uint256",
220
+ },
221
+ ],
222
+ indexed: false,
223
+ internalType: "struct DefiEdgeStrategy.PartialTick[]",
224
+ name: "ticks",
225
+ type: "tuple[]",
226
+ },
227
+ ],
228
+ name: "PartialRebalance",
229
+ type: "event",
230
+ },
231
+ {
232
+ anonymous: false,
233
+ inputs: [
234
+ {
235
+ components: [
236
+ {
237
+ internalType: "int24",
238
+ name: "tickLower",
239
+ type: "int24",
240
+ },
241
+ {
242
+ internalType: "int24",
243
+ name: "tickUpper",
244
+ type: "int24",
245
+ },
246
+ {
247
+ internalType: "uint256",
248
+ name: "amount0",
249
+ type: "uint256",
250
+ },
251
+ {
252
+ internalType: "uint256",
253
+ name: "amount1",
254
+ type: "uint256",
255
+ },
256
+ ],
257
+ indexed: false,
258
+ internalType: "struct DefiEdgeStrategy.NewTick[]",
259
+ name: "ticks",
260
+ type: "tuple[]",
261
+ },
262
+ ],
263
+ name: "Rebalance",
264
+ type: "event",
265
+ },
266
+ {
267
+ anonymous: false,
268
+ inputs: [
269
+ {
270
+ indexed: false,
271
+ internalType: "uint256",
272
+ name: "amountIn",
273
+ type: "uint256",
274
+ },
275
+ {
276
+ indexed: false,
277
+ internalType: "uint256",
278
+ name: "amountOut",
279
+ type: "uint256",
280
+ },
281
+ {
282
+ indexed: false,
283
+ internalType: "bool",
284
+ name: "_zeroForOne",
285
+ type: "bool",
286
+ },
287
+ ],
288
+ name: "Swap",
289
+ type: "event",
290
+ },
291
+ {
292
+ anonymous: false,
293
+ inputs: [
294
+ {
295
+ indexed: true,
296
+ internalType: "address",
297
+ name: "from",
298
+ type: "address",
299
+ },
300
+ {
301
+ indexed: true,
302
+ internalType: "address",
303
+ name: "to",
304
+ type: "address",
305
+ },
306
+ {
307
+ indexed: false,
308
+ internalType: "uint256",
309
+ name: "value",
310
+ type: "uint256",
311
+ },
312
+ ],
313
+ name: "Transfer",
314
+ type: "event",
315
+ },
316
+ {
317
+ inputs: [],
318
+ name: "FEE_PRECISION",
319
+ outputs: [
320
+ {
321
+ internalType: "uint256",
322
+ name: "",
323
+ type: "uint256",
324
+ },
325
+ ],
326
+ stateMutability: "view",
327
+ type: "function",
328
+ },
329
+ {
330
+ inputs: [],
331
+ name: "MAX_TICK_LENGTH",
332
+ outputs: [
333
+ {
334
+ internalType: "uint256",
335
+ name: "",
336
+ type: "uint256",
337
+ },
338
+ ],
339
+ stateMutability: "view",
340
+ type: "function",
341
+ },
342
+ {
343
+ inputs: [],
344
+ name: "MINIMUM_LIQUIDITY",
345
+ outputs: [
346
+ {
347
+ internalType: "uint256",
348
+ name: "",
349
+ type: "uint256",
350
+ },
351
+ ],
352
+ stateMutability: "view",
353
+ type: "function",
354
+ },
355
+ {
356
+ inputs: [],
357
+ name: "accManagementFeeShares",
358
+ outputs: [
359
+ {
360
+ internalType: "uint256",
361
+ name: "",
362
+ type: "uint256",
363
+ },
364
+ ],
365
+ stateMutability: "view",
366
+ type: "function",
367
+ },
368
+ {
369
+ inputs: [],
370
+ name: "accPerformanceFeeShares",
371
+ outputs: [
372
+ {
373
+ internalType: "uint256",
374
+ name: "",
375
+ type: "uint256",
376
+ },
377
+ ],
378
+ stateMutability: "view",
379
+ type: "function",
380
+ },
381
+ {
382
+ inputs: [],
383
+ name: "accProtocolPerformanceFeeShares",
384
+ outputs: [
385
+ {
386
+ internalType: "uint256",
387
+ name: "",
388
+ type: "uint256",
389
+ },
390
+ ],
391
+ stateMutability: "view",
392
+ type: "function",
393
+ },
394
+ {
395
+ inputs: [
396
+ {
397
+ internalType: "address",
398
+ name: "",
399
+ type: "address",
400
+ },
401
+ {
402
+ internalType: "address",
403
+ name: "",
404
+ type: "address",
405
+ },
406
+ ],
407
+ name: "allowance",
408
+ outputs: [
409
+ {
410
+ internalType: "uint256",
411
+ name: "",
412
+ type: "uint256",
413
+ },
414
+ ],
415
+ stateMutability: "view",
416
+ type: "function",
417
+ },
418
+ {
419
+ inputs: [
420
+ {
421
+ internalType: "address",
422
+ name: "spender",
423
+ type: "address",
424
+ },
425
+ {
426
+ internalType: "uint256",
427
+ name: "amount",
428
+ type: "uint256",
429
+ },
430
+ ],
431
+ name: "approve",
432
+ outputs: [
433
+ {
434
+ internalType: "bool",
435
+ name: "",
436
+ type: "bool",
437
+ },
438
+ ],
439
+ stateMutability: "nonpayable",
440
+ type: "function",
441
+ },
442
+ {
443
+ inputs: [
444
+ {
445
+ internalType: "address",
446
+ name: "account",
447
+ type: "address",
448
+ },
449
+ ],
450
+ name: "balanceOf",
451
+ outputs: [
452
+ {
453
+ internalType: "uint256",
454
+ name: "",
455
+ type: "uint256",
456
+ },
457
+ ],
458
+ stateMutability: "view",
459
+ type: "function",
460
+ },
461
+ {
462
+ inputs: [
463
+ {
464
+ internalType: "uint256",
465
+ name: "_shares",
466
+ type: "uint256",
467
+ },
468
+ {
469
+ internalType: "uint256",
470
+ name: "_amount0Min",
471
+ type: "uint256",
472
+ },
473
+ {
474
+ internalType: "uint256",
475
+ name: "_amount1Min",
476
+ type: "uint256",
477
+ },
478
+ ],
479
+ name: "burn",
480
+ outputs: [
481
+ {
482
+ internalType: "uint256",
483
+ name: "collect0",
484
+ type: "uint256",
485
+ },
486
+ {
487
+ internalType: "uint256",
488
+ name: "collect1",
489
+ type: "uint256",
490
+ },
491
+ ],
492
+ stateMutability: "nonpayable",
493
+ type: "function",
494
+ },
495
+ {
496
+ inputs: [
497
+ {
498
+ internalType: "uint256",
499
+ name: "_tickIndex",
500
+ type: "uint256",
501
+ },
502
+ ],
503
+ name: "burnLiquiditySingle",
504
+ outputs: [
505
+ {
506
+ internalType: "uint256",
507
+ name: "amount0",
508
+ type: "uint256",
509
+ },
510
+ {
511
+ internalType: "uint256",
512
+ name: "amount1",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "fee0",
518
+ type: "uint256",
519
+ },
520
+ {
521
+ internalType: "uint256",
522
+ name: "fee1",
523
+ type: "uint256",
524
+ },
525
+ ],
526
+ stateMutability: "nonpayable",
527
+ type: "function",
528
+ },
529
+ {
530
+ inputs: [],
531
+ name: "claimFee",
532
+ outputs: [],
533
+ stateMutability: "nonpayable",
534
+ type: "function",
535
+ },
536
+ {
537
+ inputs: [],
538
+ name: "decimals",
539
+ outputs: [
540
+ {
541
+ internalType: "uint8",
542
+ name: "",
543
+ type: "uint8",
544
+ },
545
+ ],
546
+ stateMutability: "view",
547
+ type: "function",
548
+ },
549
+ {
550
+ inputs: [
551
+ {
552
+ internalType: "address",
553
+ name: "spender",
554
+ type: "address",
555
+ },
556
+ {
557
+ internalType: "uint256",
558
+ name: "subtractedValue",
559
+ type: "uint256",
560
+ },
561
+ ],
562
+ name: "decreaseAllowance",
563
+ outputs: [
564
+ {
565
+ internalType: "bool",
566
+ name: "",
567
+ type: "bool",
568
+ },
569
+ ],
570
+ stateMutability: "nonpayable",
571
+ type: "function",
572
+ },
573
+ {
574
+ inputs: [
575
+ {
576
+ internalType: "address",
577
+ name: "_token",
578
+ type: "address",
579
+ },
580
+ {
581
+ internalType: "address",
582
+ name: "_to",
583
+ type: "address",
584
+ },
585
+ {
586
+ internalType: "uint256",
587
+ name: "_amount",
588
+ type: "uint256",
589
+ },
590
+ {
591
+ components: [
592
+ {
593
+ internalType: "int24",
594
+ name: "tickLower",
595
+ type: "int24",
596
+ },
597
+ {
598
+ internalType: "int24",
599
+ name: "tickUpper",
600
+ type: "int24",
601
+ },
602
+ {
603
+ internalType: "uint256",
604
+ name: "amount0",
605
+ type: "uint256",
606
+ },
607
+ {
608
+ internalType: "uint256",
609
+ name: "amount1",
610
+ type: "uint256",
611
+ },
612
+ ],
613
+ internalType: "struct DefiEdgeStrategy.NewTick[]",
614
+ name: "_newTicks",
615
+ type: "tuple[]",
616
+ },
617
+ ],
618
+ name: "emergencyWithdraw",
619
+ outputs: [],
620
+ stateMutability: "nonpayable",
621
+ type: "function",
622
+ },
623
+ {
624
+ inputs: [],
625
+ name: "factory",
626
+ outputs: [
627
+ {
628
+ internalType: "contract IStrategyFactory",
629
+ name: "",
630
+ type: "address",
631
+ },
632
+ ],
633
+ stateMutability: "view",
634
+ type: "function",
635
+ },
636
+ {
637
+ inputs: [
638
+ {
639
+ internalType: "bool",
640
+ name: "_includeFee",
641
+ type: "bool",
642
+ },
643
+ ],
644
+ name: "getAUMWithFees",
645
+ outputs: [
646
+ {
647
+ internalType: "uint256",
648
+ name: "amount0",
649
+ type: "uint256",
650
+ },
651
+ {
652
+ internalType: "uint256",
653
+ name: "amount1",
654
+ type: "uint256",
655
+ },
656
+ {
657
+ internalType: "uint256",
658
+ name: "totalFee0",
659
+ type: "uint256",
660
+ },
661
+ {
662
+ internalType: "uint256",
663
+ name: "totalFee1",
664
+ type: "uint256",
665
+ },
666
+ ],
667
+ stateMutability: "nonpayable",
668
+ type: "function",
669
+ },
670
+ {
671
+ inputs: [],
672
+ name: "getTicks",
673
+ outputs: [
674
+ {
675
+ components: [
676
+ {
677
+ internalType: "int24",
678
+ name: "tickLower",
679
+ type: "int24",
680
+ },
681
+ {
682
+ internalType: "int24",
683
+ name: "tickUpper",
684
+ type: "int24",
685
+ },
686
+ ],
687
+ internalType: "struct IStrategyBase.Tick[]",
688
+ name: "",
689
+ type: "tuple[]",
690
+ },
691
+ ],
692
+ stateMutability: "view",
693
+ type: "function",
694
+ },
695
+ {
696
+ inputs: [
697
+ {
698
+ internalType: "address",
699
+ name: "spender",
700
+ type: "address",
701
+ },
702
+ {
703
+ internalType: "uint256",
704
+ name: "addedValue",
705
+ type: "uint256",
706
+ },
707
+ ],
708
+ name: "increaseAllowance",
709
+ outputs: [
710
+ {
711
+ internalType: "bool",
712
+ name: "",
713
+ type: "bool",
714
+ },
715
+ ],
716
+ stateMutability: "nonpayable",
717
+ type: "function",
718
+ },
719
+ {
720
+ inputs: [],
721
+ name: "manager",
722
+ outputs: [
723
+ {
724
+ internalType: "contract IStrategyManager",
725
+ name: "",
726
+ type: "address",
727
+ },
728
+ ],
729
+ stateMutability: "view",
730
+ type: "function",
731
+ },
732
+ {
733
+ inputs: [
734
+ {
735
+ internalType: "uint256",
736
+ name: "_amount0",
737
+ type: "uint256",
738
+ },
739
+ {
740
+ internalType: "uint256",
741
+ name: "_amount1",
742
+ type: "uint256",
743
+ },
744
+ {
745
+ internalType: "uint256",
746
+ name: "_amount0Min",
747
+ type: "uint256",
748
+ },
749
+ {
750
+ internalType: "uint256",
751
+ name: "_amount1Min",
752
+ type: "uint256",
753
+ },
754
+ {
755
+ internalType: "uint256",
756
+ name: "_minShare",
757
+ type: "uint256",
758
+ },
759
+ ],
760
+ name: "mint",
761
+ outputs: [
762
+ {
763
+ internalType: "uint256",
764
+ name: "amount0",
765
+ type: "uint256",
766
+ },
767
+ {
768
+ internalType: "uint256",
769
+ name: "amount1",
770
+ type: "uint256",
771
+ },
772
+ {
773
+ internalType: "uint256",
774
+ name: "share",
775
+ type: "uint256",
776
+ },
777
+ ],
778
+ stateMutability: "nonpayable",
779
+ type: "function",
780
+ },
781
+ {
782
+ inputs: [],
783
+ name: "name",
784
+ outputs: [
785
+ {
786
+ internalType: "bytes32",
787
+ name: "",
788
+ type: "bytes32",
789
+ },
790
+ ],
791
+ stateMutability: "view",
792
+ type: "function",
793
+ },
794
+ {
795
+ inputs: [],
796
+ name: "onHold",
797
+ outputs: [
798
+ {
799
+ internalType: "bool",
800
+ name: "",
801
+ type: "bool",
802
+ },
803
+ ],
804
+ stateMutability: "view",
805
+ type: "function",
806
+ },
807
+ {
808
+ inputs: [],
809
+ name: "oneInchRouter",
810
+ outputs: [
811
+ {
812
+ internalType: "contract IOneInchRouter",
813
+ name: "",
814
+ type: "address",
815
+ },
816
+ ],
817
+ stateMutability: "view",
818
+ type: "function",
819
+ },
820
+ {
821
+ inputs: [],
822
+ name: "pool",
823
+ outputs: [
824
+ {
825
+ internalType: "contract IUniswapV3Pool",
826
+ name: "",
827
+ type: "address",
828
+ },
829
+ ],
830
+ stateMutability: "view",
831
+ type: "function",
832
+ },
833
+ {
834
+ inputs: [
835
+ {
836
+ internalType: "bytes",
837
+ name: "_swapData",
838
+ type: "bytes",
839
+ },
840
+ {
841
+ components: [
842
+ {
843
+ internalType: "uint256",
844
+ name: "index",
845
+ type: "uint256",
846
+ },
847
+ {
848
+ internalType: "bool",
849
+ name: "burn",
850
+ type: "bool",
851
+ },
852
+ {
853
+ internalType: "uint256",
854
+ name: "amount0",
855
+ type: "uint256",
856
+ },
857
+ {
858
+ internalType: "uint256",
859
+ name: "amount1",
860
+ type: "uint256",
861
+ },
862
+ ],
863
+ internalType: "struct DefiEdgeStrategy.PartialTick[]",
864
+ name: "_existingTicks",
865
+ type: "tuple[]",
866
+ },
867
+ {
868
+ components: [
869
+ {
870
+ internalType: "int24",
871
+ name: "tickLower",
872
+ type: "int24",
873
+ },
874
+ {
875
+ internalType: "int24",
876
+ name: "tickUpper",
877
+ type: "int24",
878
+ },
879
+ {
880
+ internalType: "uint256",
881
+ name: "amount0",
882
+ type: "uint256",
883
+ },
884
+ {
885
+ internalType: "uint256",
886
+ name: "amount1",
887
+ type: "uint256",
888
+ },
889
+ ],
890
+ internalType: "struct DefiEdgeStrategy.NewTick[]",
891
+ name: "_newTicks",
892
+ type: "tuple[]",
893
+ },
894
+ {
895
+ internalType: "bool",
896
+ name: "_burnAll",
897
+ type: "bool",
898
+ },
899
+ ],
900
+ name: "rebalance",
901
+ outputs: [],
902
+ stateMutability: "nonpayable",
903
+ type: "function",
904
+ },
905
+ {
906
+ inputs: [
907
+ {
908
+ internalType: "bytes",
909
+ name: "data",
910
+ type: "bytes",
911
+ },
912
+ ],
913
+ name: "swap",
914
+ outputs: [],
915
+ stateMutability: "nonpayable",
916
+ type: "function",
917
+ },
918
+ {
919
+ inputs: [],
920
+ name: "symbol",
921
+ outputs: [
922
+ {
923
+ internalType: "bytes32",
924
+ name: "",
925
+ type: "bytes32",
926
+ },
927
+ ],
928
+ stateMutability: "view",
929
+ type: "function",
930
+ },
931
+ {
932
+ inputs: [
933
+ {
934
+ internalType: "uint256",
935
+ name: "",
936
+ type: "uint256",
937
+ },
938
+ ],
939
+ name: "ticks",
940
+ outputs: [
941
+ {
942
+ internalType: "int24",
943
+ name: "tickLower",
944
+ type: "int24",
945
+ },
946
+ {
947
+ internalType: "int24",
948
+ name: "tickUpper",
949
+ type: "int24",
950
+ },
951
+ ],
952
+ stateMutability: "view",
953
+ type: "function",
954
+ },
955
+ {
956
+ inputs: [],
957
+ name: "totalSupply",
958
+ outputs: [
959
+ {
960
+ internalType: "uint256",
961
+ name: "",
962
+ type: "uint256",
963
+ },
964
+ ],
965
+ stateMutability: "view",
966
+ type: "function",
967
+ },
968
+ {
969
+ inputs: [
970
+ {
971
+ internalType: "address",
972
+ name: "recipient",
973
+ type: "address",
974
+ },
975
+ {
976
+ internalType: "uint256",
977
+ name: "amount",
978
+ type: "uint256",
979
+ },
980
+ ],
981
+ name: "transfer",
982
+ outputs: [
983
+ {
984
+ internalType: "bool",
985
+ name: "",
986
+ type: "bool",
987
+ },
988
+ ],
989
+ stateMutability: "nonpayable",
990
+ type: "function",
991
+ },
992
+ {
993
+ inputs: [
994
+ {
995
+ internalType: "address",
996
+ name: "sender",
997
+ type: "address",
998
+ },
999
+ {
1000
+ internalType: "address",
1001
+ name: "recipient",
1002
+ type: "address",
1003
+ },
1004
+ {
1005
+ internalType: "uint256",
1006
+ name: "amount",
1007
+ type: "uint256",
1008
+ },
1009
+ ],
1010
+ name: "transferFrom",
1011
+ outputs: [
1012
+ {
1013
+ internalType: "bool",
1014
+ name: "",
1015
+ type: "bool",
1016
+ },
1017
+ ],
1018
+ stateMutability: "nonpayable",
1019
+ type: "function",
1020
+ },
1021
+ {
1022
+ inputs: [
1023
+ {
1024
+ internalType: "uint256",
1025
+ name: "amount0",
1026
+ type: "uint256",
1027
+ },
1028
+ {
1029
+ internalType: "uint256",
1030
+ name: "amount1",
1031
+ type: "uint256",
1032
+ },
1033
+ {
1034
+ internalType: "bytes",
1035
+ name: "data",
1036
+ type: "bytes",
1037
+ },
1038
+ ],
1039
+ name: "uniswapV3MintCallback",
1040
+ outputs: [],
1041
+ stateMutability: "nonpayable",
1042
+ type: "function",
1043
+ },
1044
+ {
1045
+ inputs: [
1046
+ {
1047
+ internalType: "uint256",
1048
+ name: "",
1049
+ type: "uint256",
1050
+ },
1051
+ ],
1052
+ name: "usdAsBase",
1053
+ outputs: [
1054
+ {
1055
+ internalType: "bool",
1056
+ name: "",
1057
+ type: "bool",
1058
+ },
1059
+ ],
1060
+ stateMutability: "view",
1061
+ type: "function",
1062
+ },
1063
+ ];
1064
+ export class DefiEdgeStrategy__factory {
1065
+ static abi = _abi;
1066
+ static createInterface() {
1067
+ return new utils.Interface(_abi);
1068
+ }
1069
+ static connect(address, signerOrProvider) {
1070
+ return new Contract(address, _abi, signerOrProvider);
1071
+ }
1072
+ }
1073
+ //# sourceMappingURL=DefiEdgeStrategy__factory.js.map