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