@merkl/contracts 0.1.80 → 0.1.82

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 (38) hide show
  1. package/dist/src/AmbientMicroPaths.d.ts +398 -0
  2. package/dist/src/AmbientMicroPaths.js +1 -0
  3. package/dist/src/AttestationIndexer.d.ts +382 -0
  4. package/dist/src/AttestationIndexer.js +1 -0
  5. package/dist/src/CrossChainLayerERC20.d.ts +248 -0
  6. package/dist/src/CrossChainLayerERC20.js +1 -0
  7. package/dist/src/KilnVault.d.ts +1341 -0
  8. package/dist/src/KilnVault.js +1 -0
  9. package/dist/src/StabullPoolFactory.d.ts +252 -0
  10. package/dist/src/StabullPoolFactory.js +1 -0
  11. package/dist/src/StabullStakingFactory.d.ts +713 -0
  12. package/dist/src/StabullStakingFactory.js +1 -0
  13. package/dist/src/SummerFinanceFactory.d.ts +65 -0
  14. package/dist/src/SummerFinanceFactory.js +1 -0
  15. package/dist/src/SummerFinanceVault.d.ts +552 -0
  16. package/dist/src/SummerFinanceVault.js +1 -0
  17. package/dist/src/factories/AmbientMicroPaths__factory.d.ts +476 -0
  18. package/dist/src/factories/AmbientMicroPaths__factory.js +612 -0
  19. package/dist/src/factories/AttestationIndexer__factory.d.ts +428 -0
  20. package/dist/src/factories/AttestationIndexer__factory.js +558 -0
  21. package/dist/src/factories/CrossChainLayerERC20__factory.d.ts +349 -0
  22. package/dist/src/factories/CrossChainLayerERC20__factory.js +461 -0
  23. package/dist/src/factories/KilnVault__factory.d.ts +1855 -0
  24. package/dist/src/factories/KilnVault__factory.js +2423 -0
  25. package/dist/src/factories/StabullPoolFactory__factory.d.ts +282 -0
  26. package/dist/src/factories/StabullPoolFactory__factory.js +372 -0
  27. package/dist/src/factories/StabullStakingFactory__factory.d.ts +693 -0
  28. package/dist/src/factories/StabullStakingFactory__factory.js +897 -0
  29. package/dist/src/factories/SummerFinanceFactory__factory.d.ts +45 -0
  30. package/dist/src/factories/SummerFinanceFactory__factory.js +63 -0
  31. package/dist/src/factories/SummerFinanceVault__factory.d.ts +828 -0
  32. package/dist/src/factories/SummerFinanceVault__factory.js +1089 -0
  33. package/dist/src/factories/index.d.ts +8 -1
  34. package/dist/src/factories/index.js +8 -1
  35. package/dist/src/index.d.ts +16 -0
  36. package/dist/src/index.js +16 -0
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +1 -1
@@ -0,0 +1,612 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ anonymous: false,
8
+ inputs: [
9
+ {
10
+ indexed: true,
11
+ internalType: "bytes32",
12
+ name: "pool",
13
+ type: "bytes32",
14
+ },
15
+ {
16
+ indexed: true,
17
+ internalType: "int24",
18
+ name: "tick",
19
+ type: "int24",
20
+ },
21
+ {
22
+ indexed: false,
23
+ internalType: "bool",
24
+ name: "isBid",
25
+ type: "bool",
26
+ },
27
+ {
28
+ indexed: false,
29
+ internalType: "uint32",
30
+ name: "pivotTime",
31
+ type: "uint32",
32
+ },
33
+ {
34
+ indexed: false,
35
+ internalType: "uint64",
36
+ name: "feeMileage",
37
+ type: "uint64",
38
+ },
39
+ ],
40
+ name: "CrocKnockoutCross",
41
+ type: "event",
42
+ },
43
+ {
44
+ inputs: [
45
+ {
46
+ internalType: "uint128",
47
+ name: "price",
48
+ type: "uint128",
49
+ },
50
+ {
51
+ internalType: "uint128",
52
+ name: "seed",
53
+ type: "uint128",
54
+ },
55
+ {
56
+ internalType: "uint128",
57
+ name: "conc",
58
+ type: "uint128",
59
+ },
60
+ {
61
+ internalType: "uint64",
62
+ name: "seedGrowth",
63
+ type: "uint64",
64
+ },
65
+ {
66
+ internalType: "uint64",
67
+ name: "concGrowth",
68
+ type: "uint64",
69
+ },
70
+ {
71
+ internalType: "uint128",
72
+ name: "liq",
73
+ type: "uint128",
74
+ },
75
+ {
76
+ internalType: "bytes32",
77
+ name: "poolHash",
78
+ type: "bytes32",
79
+ },
80
+ ],
81
+ name: "burnAmbient",
82
+ outputs: [
83
+ {
84
+ internalType: "int128",
85
+ name: "baseFlow",
86
+ type: "int128",
87
+ },
88
+ {
89
+ internalType: "int128",
90
+ name: "quoteFlow",
91
+ type: "int128",
92
+ },
93
+ {
94
+ internalType: "uint128",
95
+ name: "seedOut",
96
+ type: "uint128",
97
+ },
98
+ ],
99
+ stateMutability: "payable",
100
+ type: "function",
101
+ },
102
+ {
103
+ inputs: [
104
+ {
105
+ internalType: "uint128",
106
+ name: "price",
107
+ type: "uint128",
108
+ },
109
+ {
110
+ internalType: "int24",
111
+ name: "priceTick",
112
+ type: "int24",
113
+ },
114
+ {
115
+ internalType: "uint128",
116
+ name: "seed",
117
+ type: "uint128",
118
+ },
119
+ {
120
+ internalType: "uint128",
121
+ name: "conc",
122
+ type: "uint128",
123
+ },
124
+ {
125
+ internalType: "uint64",
126
+ name: "seedGrowth",
127
+ type: "uint64",
128
+ },
129
+ {
130
+ internalType: "uint64",
131
+ name: "concGrowth",
132
+ type: "uint64",
133
+ },
134
+ {
135
+ internalType: "int24",
136
+ name: "lowTick",
137
+ type: "int24",
138
+ },
139
+ {
140
+ internalType: "int24",
141
+ name: "highTick",
142
+ type: "int24",
143
+ },
144
+ {
145
+ internalType: "uint128",
146
+ name: "liq",
147
+ type: "uint128",
148
+ },
149
+ {
150
+ internalType: "bytes32",
151
+ name: "poolHash",
152
+ type: "bytes32",
153
+ },
154
+ ],
155
+ name: "burnRange",
156
+ outputs: [
157
+ {
158
+ internalType: "int128",
159
+ name: "baseFlow",
160
+ type: "int128",
161
+ },
162
+ {
163
+ internalType: "int128",
164
+ name: "quoteFlow",
165
+ type: "int128",
166
+ },
167
+ {
168
+ internalType: "uint128",
169
+ name: "seedOut",
170
+ type: "uint128",
171
+ },
172
+ {
173
+ internalType: "uint128",
174
+ name: "concOut",
175
+ type: "uint128",
176
+ },
177
+ ],
178
+ stateMutability: "payable",
179
+ type: "function",
180
+ },
181
+ {
182
+ inputs: [
183
+ {
184
+ internalType: "uint128",
185
+ name: "price",
186
+ type: "uint128",
187
+ },
188
+ {
189
+ internalType: "uint128",
190
+ name: "seed",
191
+ type: "uint128",
192
+ },
193
+ {
194
+ internalType: "uint128",
195
+ name: "conc",
196
+ type: "uint128",
197
+ },
198
+ {
199
+ internalType: "uint64",
200
+ name: "seedGrowth",
201
+ type: "uint64",
202
+ },
203
+ {
204
+ internalType: "uint64",
205
+ name: "concGrowth",
206
+ type: "uint64",
207
+ },
208
+ {
209
+ internalType: "uint128",
210
+ name: "liq",
211
+ type: "uint128",
212
+ },
213
+ {
214
+ internalType: "bytes32",
215
+ name: "poolHash",
216
+ type: "bytes32",
217
+ },
218
+ ],
219
+ name: "mintAmbient",
220
+ outputs: [
221
+ {
222
+ internalType: "int128",
223
+ name: "baseFlow",
224
+ type: "int128",
225
+ },
226
+ {
227
+ internalType: "int128",
228
+ name: "quoteFlow",
229
+ type: "int128",
230
+ },
231
+ {
232
+ internalType: "uint128",
233
+ name: "seedOut",
234
+ type: "uint128",
235
+ },
236
+ ],
237
+ stateMutability: "payable",
238
+ type: "function",
239
+ },
240
+ {
241
+ inputs: [
242
+ {
243
+ internalType: "uint128",
244
+ name: "price",
245
+ type: "uint128",
246
+ },
247
+ {
248
+ internalType: "int24",
249
+ name: "priceTick",
250
+ type: "int24",
251
+ },
252
+ {
253
+ internalType: "uint128",
254
+ name: "seed",
255
+ type: "uint128",
256
+ },
257
+ {
258
+ internalType: "uint128",
259
+ name: "conc",
260
+ type: "uint128",
261
+ },
262
+ {
263
+ internalType: "uint64",
264
+ name: "seedGrowth",
265
+ type: "uint64",
266
+ },
267
+ {
268
+ internalType: "uint64",
269
+ name: "concGrowth",
270
+ type: "uint64",
271
+ },
272
+ {
273
+ internalType: "int24",
274
+ name: "lowTick",
275
+ type: "int24",
276
+ },
277
+ {
278
+ internalType: "int24",
279
+ name: "highTick",
280
+ type: "int24",
281
+ },
282
+ {
283
+ internalType: "uint128",
284
+ name: "liq",
285
+ type: "uint128",
286
+ },
287
+ {
288
+ internalType: "bytes32",
289
+ name: "poolHash",
290
+ type: "bytes32",
291
+ },
292
+ ],
293
+ name: "mintRange",
294
+ outputs: [
295
+ {
296
+ internalType: "int128",
297
+ name: "baseFlow",
298
+ type: "int128",
299
+ },
300
+ {
301
+ internalType: "int128",
302
+ name: "quoteFlow",
303
+ type: "int128",
304
+ },
305
+ {
306
+ internalType: "uint128",
307
+ name: "seedOut",
308
+ type: "uint128",
309
+ },
310
+ {
311
+ internalType: "uint128",
312
+ name: "concOut",
313
+ type: "uint128",
314
+ },
315
+ ],
316
+ stateMutability: "payable",
317
+ type: "function",
318
+ },
319
+ {
320
+ inputs: [
321
+ {
322
+ components: [
323
+ {
324
+ internalType: "uint128",
325
+ name: "priceRoot_",
326
+ type: "uint128",
327
+ },
328
+ {
329
+ internalType: "uint128",
330
+ name: "ambientSeeds_",
331
+ type: "uint128",
332
+ },
333
+ {
334
+ internalType: "uint128",
335
+ name: "concLiq_",
336
+ type: "uint128",
337
+ },
338
+ {
339
+ internalType: "uint64",
340
+ name: "seedDeflator_",
341
+ type: "uint64",
342
+ },
343
+ {
344
+ internalType: "uint64",
345
+ name: "concGrowth_",
346
+ type: "uint64",
347
+ },
348
+ ],
349
+ internalType: "struct CurveMath.CurveState",
350
+ name: "curve",
351
+ type: "tuple",
352
+ },
353
+ {
354
+ internalType: "int24",
355
+ name: "midTick",
356
+ type: "int24",
357
+ },
358
+ {
359
+ components: [
360
+ {
361
+ internalType: "bool",
362
+ name: "isBuy_",
363
+ type: "bool",
364
+ },
365
+ {
366
+ internalType: "bool",
367
+ name: "inBaseQty_",
368
+ type: "bool",
369
+ },
370
+ {
371
+ internalType: "uint8",
372
+ name: "rollType_",
373
+ type: "uint8",
374
+ },
375
+ {
376
+ internalType: "uint128",
377
+ name: "qty_",
378
+ type: "uint128",
379
+ },
380
+ {
381
+ internalType: "uint128",
382
+ name: "limitPrice_",
383
+ type: "uint128",
384
+ },
385
+ ],
386
+ internalType: "struct Directives.SwapDirective",
387
+ name: "swap",
388
+ type: "tuple",
389
+ },
390
+ {
391
+ components: [
392
+ {
393
+ components: [
394
+ {
395
+ internalType: "uint8",
396
+ name: "schema_",
397
+ type: "uint8",
398
+ },
399
+ {
400
+ internalType: "uint16",
401
+ name: "feeRate_",
402
+ type: "uint16",
403
+ },
404
+ {
405
+ internalType: "uint8",
406
+ name: "protocolTake_",
407
+ type: "uint8",
408
+ },
409
+ {
410
+ internalType: "uint16",
411
+ name: "tickSize_",
412
+ type: "uint16",
413
+ },
414
+ {
415
+ internalType: "uint8",
416
+ name: "jitThresh_",
417
+ type: "uint8",
418
+ },
419
+ {
420
+ internalType: "uint8",
421
+ name: "knockoutBits_",
422
+ type: "uint8",
423
+ },
424
+ {
425
+ internalType: "uint8",
426
+ name: "oracleFlags_",
427
+ type: "uint8",
428
+ },
429
+ ],
430
+ internalType: "struct PoolSpecs.Pool",
431
+ name: "head_",
432
+ type: "tuple",
433
+ },
434
+ {
435
+ internalType: "bytes32",
436
+ name: "hash_",
437
+ type: "bytes32",
438
+ },
439
+ {
440
+ internalType: "address",
441
+ name: "oracle_",
442
+ type: "address",
443
+ },
444
+ ],
445
+ internalType: "struct PoolSpecs.PoolCursor",
446
+ name: "pool",
447
+ type: "tuple",
448
+ },
449
+ ],
450
+ name: "sweepSwap",
451
+ outputs: [
452
+ {
453
+ components: [
454
+ {
455
+ internalType: "int128",
456
+ name: "baseFlow_",
457
+ type: "int128",
458
+ },
459
+ {
460
+ internalType: "int128",
461
+ name: "quoteFlow_",
462
+ type: "int128",
463
+ },
464
+ {
465
+ internalType: "uint128",
466
+ name: "baseProto_",
467
+ type: "uint128",
468
+ },
469
+ {
470
+ internalType: "uint128",
471
+ name: "quoteProto_",
472
+ type: "uint128",
473
+ },
474
+ ],
475
+ internalType: "struct Chaining.PairFlow",
476
+ name: "accum",
477
+ type: "tuple",
478
+ },
479
+ {
480
+ internalType: "uint128",
481
+ name: "priceOut",
482
+ type: "uint128",
483
+ },
484
+ {
485
+ internalType: "uint128",
486
+ name: "seedOut",
487
+ type: "uint128",
488
+ },
489
+ {
490
+ internalType: "uint128",
491
+ name: "concOut",
492
+ type: "uint128",
493
+ },
494
+ {
495
+ internalType: "uint64",
496
+ name: "ambientOut",
497
+ type: "uint64",
498
+ },
499
+ {
500
+ internalType: "uint64",
501
+ name: "concGrowthOut",
502
+ type: "uint64",
503
+ },
504
+ ],
505
+ stateMutability: "payable",
506
+ type: "function",
507
+ },
508
+ {
509
+ anonymous: false,
510
+ inputs: [
511
+ {
512
+ indexed: false,
513
+ internalType: "bytes",
514
+ name: "input",
515
+ type: "bytes",
516
+ },
517
+ {
518
+ indexed: false,
519
+ internalType: "bytes",
520
+ name: "output",
521
+ type: "bytes",
522
+ },
523
+ ],
524
+ name: "CrocMicroBurnAmbient",
525
+ type: "event",
526
+ },
527
+ {
528
+ anonymous: false,
529
+ inputs: [
530
+ {
531
+ indexed: false,
532
+ internalType: "bytes",
533
+ name: "input",
534
+ type: "bytes",
535
+ },
536
+ {
537
+ indexed: false,
538
+ internalType: "bytes",
539
+ name: "output",
540
+ type: "bytes",
541
+ },
542
+ ],
543
+ name: "CrocMicroBurnRange",
544
+ type: "event",
545
+ },
546
+ {
547
+ anonymous: false,
548
+ inputs: [
549
+ {
550
+ indexed: false,
551
+ internalType: "bytes",
552
+ name: "input",
553
+ type: "bytes",
554
+ },
555
+ {
556
+ indexed: false,
557
+ internalType: "bytes",
558
+ name: "output",
559
+ type: "bytes",
560
+ },
561
+ ],
562
+ name: "CrocMicroMintAmbient",
563
+ type: "event",
564
+ },
565
+ {
566
+ anonymous: false,
567
+ inputs: [
568
+ {
569
+ indexed: false,
570
+ internalType: "bytes",
571
+ name: "input",
572
+ type: "bytes",
573
+ },
574
+ {
575
+ indexed: false,
576
+ internalType: "bytes",
577
+ name: "output",
578
+ type: "bytes",
579
+ },
580
+ ],
581
+ name: "CrocMicroMintRange",
582
+ type: "event",
583
+ },
584
+ {
585
+ anonymous: false,
586
+ inputs: [
587
+ {
588
+ indexed: false,
589
+ internalType: "bytes",
590
+ name: "input",
591
+ type: "bytes",
592
+ },
593
+ {
594
+ indexed: false,
595
+ internalType: "bytes",
596
+ name: "output",
597
+ type: "bytes",
598
+ },
599
+ ],
600
+ name: "CrocMicroSwap",
601
+ type: "event",
602
+ },
603
+ ];
604
+ export class AmbientMicroPaths__factory {
605
+ static abi = _abi;
606
+ static createInterface() {
607
+ return new utils.Interface(_abi);
608
+ }
609
+ static connect(address, signerOrProvider) {
610
+ return new Contract(address, _abi, signerOrProvider);
611
+ }
612
+ }