@merkl/contracts 0.1.80 → 0.1.81

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,897 @@
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: "address",
10
+ name: "_rewardToken",
11
+ type: "address",
12
+ },
13
+ {
14
+ internalType: "address",
15
+ name: "_fundSource",
16
+ type: "address",
17
+ },
18
+ ],
19
+ stateMutability: "nonpayable",
20
+ type: "constructor",
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: "InvalidPID",
25
+ type: "error",
26
+ },
27
+ {
28
+ inputs: [],
29
+ name: "InvalidPoolId",
30
+ type: "error",
31
+ },
32
+ {
33
+ inputs: [],
34
+ name: "PoolAlreadyAdded",
35
+ type: "error",
36
+ },
37
+ {
38
+ inputs: [],
39
+ name: "RewardTokenTransfer",
40
+ type: "error",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "TokenAlreadyAdded",
45
+ type: "error",
46
+ },
47
+ {
48
+ inputs: [],
49
+ name: "TotalSharesZero",
50
+ type: "error",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "UnAuthorised",
55
+ type: "error",
56
+ },
57
+ {
58
+ inputs: [],
59
+ name: "UserSharesZero",
60
+ type: "error",
61
+ },
62
+ {
63
+ inputs: [],
64
+ name: "ZeroAddressInserted",
65
+ type: "error",
66
+ },
67
+ {
68
+ inputs: [],
69
+ name: "ZeroAllocPointInserted",
70
+ type: "error",
71
+ },
72
+ {
73
+ inputs: [],
74
+ name: "ZeroAmountInserted",
75
+ type: "error",
76
+ },
77
+ {
78
+ inputs: [],
79
+ name: "ZeroAmountWithdraw",
80
+ type: "error",
81
+ },
82
+ {
83
+ anonymous: false,
84
+ inputs: [
85
+ {
86
+ indexed: false,
87
+ internalType: "uint256",
88
+ name: "pid",
89
+ type: "uint256",
90
+ },
91
+ {
92
+ indexed: false,
93
+ internalType: "uint256",
94
+ name: "allocPoint",
95
+ type: "uint256",
96
+ },
97
+ ],
98
+ name: "AllocUpdated",
99
+ type: "event",
100
+ },
101
+ {
102
+ anonymous: false,
103
+ inputs: [
104
+ {
105
+ indexed: false,
106
+ internalType: "uint256",
107
+ name: "rewardPerBlock",
108
+ type: "uint256",
109
+ },
110
+ ],
111
+ name: "AllocUpdated",
112
+ type: "event",
113
+ },
114
+ {
115
+ anonymous: false,
116
+ inputs: [
117
+ {
118
+ indexed: true,
119
+ internalType: "address",
120
+ name: "user",
121
+ type: "address",
122
+ },
123
+ {
124
+ indexed: true,
125
+ internalType: "uint256",
126
+ name: "pid",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ indexed: false,
131
+ internalType: "uint256",
132
+ name: "amount",
133
+ type: "uint256",
134
+ },
135
+ ],
136
+ name: "Deposit",
137
+ type: "event",
138
+ },
139
+ {
140
+ anonymous: false,
141
+ inputs: [
142
+ {
143
+ indexed: true,
144
+ internalType: "address",
145
+ name: "user",
146
+ type: "address",
147
+ },
148
+ {
149
+ indexed: true,
150
+ internalType: "uint256",
151
+ name: "pid",
152
+ type: "uint256",
153
+ },
154
+ {
155
+ indexed: false,
156
+ internalType: "uint256",
157
+ name: "amount",
158
+ type: "uint256",
159
+ },
160
+ ],
161
+ name: "EmergencyWithdraw",
162
+ type: "event",
163
+ },
164
+ {
165
+ anonymous: false,
166
+ inputs: [
167
+ {
168
+ indexed: false,
169
+ internalType: "address",
170
+ name: "_fundSource",
171
+ type: "address",
172
+ },
173
+ ],
174
+ name: "FundSourceUpdated",
175
+ type: "event",
176
+ },
177
+ {
178
+ anonymous: false,
179
+ inputs: [
180
+ {
181
+ indexed: true,
182
+ internalType: "address",
183
+ name: "previousOwner",
184
+ type: "address",
185
+ },
186
+ {
187
+ indexed: true,
188
+ internalType: "address",
189
+ name: "newOwner",
190
+ type: "address",
191
+ },
192
+ ],
193
+ name: "OwnershipTransferStarted",
194
+ type: "event",
195
+ },
196
+ {
197
+ anonymous: false,
198
+ inputs: [
199
+ {
200
+ indexed: true,
201
+ internalType: "address",
202
+ name: "previousOwner",
203
+ type: "address",
204
+ },
205
+ {
206
+ indexed: true,
207
+ internalType: "address",
208
+ name: "newOwner",
209
+ type: "address",
210
+ },
211
+ ],
212
+ name: "OwnershipTransferred",
213
+ type: "event",
214
+ },
215
+ {
216
+ anonymous: false,
217
+ inputs: [
218
+ {
219
+ indexed: false,
220
+ internalType: "address",
221
+ name: "account",
222
+ type: "address",
223
+ },
224
+ ],
225
+ name: "Paused",
226
+ type: "event",
227
+ },
228
+ {
229
+ anonymous: false,
230
+ inputs: [
231
+ {
232
+ indexed: true,
233
+ internalType: "address",
234
+ name: "token",
235
+ type: "address",
236
+ },
237
+ {
238
+ indexed: true,
239
+ internalType: "address",
240
+ name: "pool",
241
+ type: "address",
242
+ },
243
+ {
244
+ indexed: false,
245
+ internalType: "uint256",
246
+ name: "allocPoint",
247
+ type: "uint256",
248
+ },
249
+ ],
250
+ name: "PoolAdded",
251
+ type: "event",
252
+ },
253
+ {
254
+ anonymous: false,
255
+ inputs: [
256
+ {
257
+ indexed: false,
258
+ internalType: "address",
259
+ name: "_rewardToken",
260
+ type: "address",
261
+ },
262
+ ],
263
+ name: "RewardTokenUpdated",
264
+ type: "event",
265
+ },
266
+ {
267
+ anonymous: false,
268
+ inputs: [
269
+ {
270
+ indexed: false,
271
+ internalType: "address",
272
+ name: "account",
273
+ type: "address",
274
+ },
275
+ ],
276
+ name: "Unpaused",
277
+ type: "event",
278
+ },
279
+ {
280
+ anonymous: false,
281
+ inputs: [
282
+ {
283
+ indexed: true,
284
+ internalType: "address",
285
+ name: "user",
286
+ type: "address",
287
+ },
288
+ {
289
+ indexed: true,
290
+ internalType: "uint256",
291
+ name: "pid",
292
+ type: "uint256",
293
+ },
294
+ {
295
+ indexed: false,
296
+ internalType: "uint256",
297
+ name: "amount",
298
+ type: "uint256",
299
+ },
300
+ ],
301
+ name: "Withdraw",
302
+ type: "event",
303
+ },
304
+ {
305
+ inputs: [],
306
+ name: "acceptOwnership",
307
+ outputs: [],
308
+ stateMutability: "nonpayable",
309
+ type: "function",
310
+ },
311
+ {
312
+ inputs: [
313
+ {
314
+ internalType: "uint256",
315
+ name: "_allocPoint",
316
+ type: "uint256",
317
+ },
318
+ {
319
+ internalType: "address",
320
+ name: "poolToken",
321
+ type: "address",
322
+ },
323
+ {
324
+ internalType: "bool",
325
+ name: "_withUpdate",
326
+ type: "bool",
327
+ },
328
+ {
329
+ internalType: "address",
330
+ name: "_pool",
331
+ type: "address",
332
+ },
333
+ ],
334
+ name: "add",
335
+ outputs: [],
336
+ stateMutability: "nonpayable",
337
+ type: "function",
338
+ },
339
+ {
340
+ inputs: [
341
+ {
342
+ internalType: "address",
343
+ name: "_toAdd",
344
+ type: "address",
345
+ },
346
+ ],
347
+ name: "addAuthorised",
348
+ outputs: [],
349
+ stateMutability: "nonpayable",
350
+ type: "function",
351
+ },
352
+ {
353
+ inputs: [
354
+ {
355
+ internalType: "address",
356
+ name: "_tokenAddress",
357
+ type: "address",
358
+ },
359
+ ],
360
+ name: "changeRewardToken",
361
+ outputs: [],
362
+ stateMutability: "nonpayable",
363
+ type: "function",
364
+ },
365
+ {
366
+ inputs: [
367
+ {
368
+ internalType: "uint256",
369
+ name: "_pid",
370
+ type: "uint256",
371
+ },
372
+ ],
373
+ name: "claimReward",
374
+ outputs: [],
375
+ stateMutability: "nonpayable",
376
+ type: "function",
377
+ },
378
+ {
379
+ inputs: [
380
+ {
381
+ internalType: "uint256[]",
382
+ name: "_pids",
383
+ type: "uint256[]",
384
+ },
385
+ ],
386
+ name: "claimRewardMultiple",
387
+ outputs: [],
388
+ stateMutability: "nonpayable",
389
+ type: "function",
390
+ },
391
+ {
392
+ inputs: [
393
+ {
394
+ internalType: "uint256",
395
+ name: "_pid",
396
+ type: "uint256",
397
+ },
398
+ {
399
+ internalType: "uint256",
400
+ name: "poolTokenAmt",
401
+ type: "uint256",
402
+ },
403
+ ],
404
+ name: "deposit",
405
+ outputs: [],
406
+ stateMutability: "nonpayable",
407
+ type: "function",
408
+ },
409
+ {
410
+ inputs: [
411
+ {
412
+ internalType: "uint256",
413
+ name: "_pid",
414
+ type: "uint256",
415
+ },
416
+ ],
417
+ name: "emergencyWithdraw",
418
+ outputs: [],
419
+ stateMutability: "nonpayable",
420
+ type: "function",
421
+ },
422
+ {
423
+ inputs: [],
424
+ name: "fundSource",
425
+ outputs: [
426
+ {
427
+ internalType: "address",
428
+ name: "",
429
+ type: "address",
430
+ },
431
+ ],
432
+ stateMutability: "view",
433
+ type: "function",
434
+ },
435
+ {
436
+ inputs: [
437
+ {
438
+ internalType: "uint256",
439
+ name: "_from",
440
+ type: "uint256",
441
+ },
442
+ {
443
+ internalType: "uint256",
444
+ name: "_to",
445
+ type: "uint256",
446
+ },
447
+ ],
448
+ name: "getMultiplier",
449
+ outputs: [
450
+ {
451
+ internalType: "uint256",
452
+ name: "",
453
+ type: "uint256",
454
+ },
455
+ ],
456
+ stateMutability: "pure",
457
+ type: "function",
458
+ },
459
+ {
460
+ inputs: [
461
+ {
462
+ internalType: "address",
463
+ name: "_token",
464
+ type: "address",
465
+ },
466
+ {
467
+ internalType: "uint256",
468
+ name: "_amount",
469
+ type: "uint256",
470
+ },
471
+ ],
472
+ name: "inCaseTokensGetStuck",
473
+ outputs: [],
474
+ stateMutability: "nonpayable",
475
+ type: "function",
476
+ },
477
+ {
478
+ inputs: [
479
+ {
480
+ internalType: "address",
481
+ name: "_authAdd",
482
+ type: "address",
483
+ },
484
+ ],
485
+ name: "isAuthorised",
486
+ outputs: [
487
+ {
488
+ internalType: "bool",
489
+ name: "_isAuth",
490
+ type: "bool",
491
+ },
492
+ ],
493
+ stateMutability: "view",
494
+ type: "function",
495
+ },
496
+ {
497
+ inputs: [],
498
+ name: "massUpdatePools",
499
+ outputs: [],
500
+ stateMutability: "nonpayable",
501
+ type: "function",
502
+ },
503
+ {
504
+ inputs: [],
505
+ name: "owner",
506
+ outputs: [
507
+ {
508
+ internalType: "address",
509
+ name: "",
510
+ type: "address",
511
+ },
512
+ ],
513
+ stateMutability: "view",
514
+ type: "function",
515
+ },
516
+ {
517
+ inputs: [],
518
+ name: "pause",
519
+ outputs: [],
520
+ stateMutability: "nonpayable",
521
+ type: "function",
522
+ },
523
+ {
524
+ inputs: [],
525
+ name: "paused",
526
+ outputs: [
527
+ {
528
+ internalType: "bool",
529
+ name: "",
530
+ type: "bool",
531
+ },
532
+ ],
533
+ stateMutability: "view",
534
+ type: "function",
535
+ },
536
+ {
537
+ inputs: [],
538
+ name: "pendingOwner",
539
+ outputs: [
540
+ {
541
+ internalType: "address",
542
+ name: "",
543
+ type: "address",
544
+ },
545
+ ],
546
+ stateMutability: "view",
547
+ type: "function",
548
+ },
549
+ {
550
+ inputs: [
551
+ {
552
+ internalType: "uint256",
553
+ name: "_pid",
554
+ type: "uint256",
555
+ },
556
+ {
557
+ internalType: "address",
558
+ name: "_user",
559
+ type: "address",
560
+ },
561
+ ],
562
+ name: "pendingRewardToken",
563
+ outputs: [
564
+ {
565
+ internalType: "uint256",
566
+ name: "",
567
+ type: "uint256",
568
+ },
569
+ ],
570
+ stateMutability: "view",
571
+ type: "function",
572
+ },
573
+ {
574
+ inputs: [
575
+ {
576
+ internalType: "uint256",
577
+ name: "",
578
+ type: "uint256",
579
+ },
580
+ ],
581
+ name: "poolInfo",
582
+ outputs: [
583
+ {
584
+ internalType: "contract IERC20",
585
+ name: "token",
586
+ type: "address",
587
+ },
588
+ {
589
+ internalType: "uint256",
590
+ name: "allocPoint",
591
+ type: "uint256",
592
+ },
593
+ {
594
+ internalType: "uint256",
595
+ name: "lastRewardBlock",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ internalType: "uint256",
600
+ name: "accRewardTokenPerShare",
601
+ type: "uint256",
602
+ },
603
+ {
604
+ internalType: "address",
605
+ name: "pool",
606
+ type: "address",
607
+ },
608
+ ],
609
+ stateMutability: "view",
610
+ type: "function",
611
+ },
612
+ {
613
+ inputs: [],
614
+ name: "poolLength",
615
+ outputs: [
616
+ {
617
+ internalType: "uint256",
618
+ name: "",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ stateMutability: "view",
623
+ type: "function",
624
+ },
625
+ {
626
+ inputs: [
627
+ {
628
+ internalType: "address",
629
+ name: "",
630
+ type: "address",
631
+ },
632
+ ],
633
+ name: "poolsAdded",
634
+ outputs: [
635
+ {
636
+ internalType: "bool",
637
+ name: "",
638
+ type: "bool",
639
+ },
640
+ ],
641
+ stateMutability: "view",
642
+ type: "function",
643
+ },
644
+ {
645
+ inputs: [
646
+ {
647
+ internalType: "address",
648
+ name: "_toRemove",
649
+ type: "address",
650
+ },
651
+ ],
652
+ name: "removeAuthorised",
653
+ outputs: [],
654
+ stateMutability: "nonpayable",
655
+ type: "function",
656
+ },
657
+ {
658
+ inputs: [],
659
+ name: "renounceOwnership",
660
+ outputs: [],
661
+ stateMutability: "nonpayable",
662
+ type: "function",
663
+ },
664
+ {
665
+ inputs: [],
666
+ name: "rewardTokenPerBlock",
667
+ outputs: [
668
+ {
669
+ internalType: "uint256",
670
+ name: "",
671
+ type: "uint256",
672
+ },
673
+ ],
674
+ stateMutability: "view",
675
+ type: "function",
676
+ },
677
+ {
678
+ inputs: [],
679
+ name: "reward_token",
680
+ outputs: [
681
+ {
682
+ internalType: "address",
683
+ name: "",
684
+ type: "address",
685
+ },
686
+ ],
687
+ stateMutability: "view",
688
+ type: "function",
689
+ },
690
+ {
691
+ inputs: [
692
+ {
693
+ internalType: "uint256",
694
+ name: "_pid",
695
+ type: "uint256",
696
+ },
697
+ {
698
+ internalType: "uint256",
699
+ name: "_allocPoint",
700
+ type: "uint256",
701
+ },
702
+ {
703
+ internalType: "bool",
704
+ name: "_withUpdate",
705
+ type: "bool",
706
+ },
707
+ ],
708
+ name: "set",
709
+ outputs: [],
710
+ stateMutability: "nonpayable",
711
+ type: "function",
712
+ },
713
+ {
714
+ inputs: [
715
+ {
716
+ internalType: "address",
717
+ name: "_fundSource",
718
+ type: "address",
719
+ },
720
+ ],
721
+ name: "setFundSource",
722
+ outputs: [],
723
+ stateMutability: "nonpayable",
724
+ type: "function",
725
+ },
726
+ {
727
+ inputs: [
728
+ {
729
+ internalType: "uint256",
730
+ name: "_rewardTokenPerBlock",
731
+ type: "uint256",
732
+ },
733
+ ],
734
+ name: "setRewardTokenPerBlock",
735
+ outputs: [],
736
+ stateMutability: "nonpayable",
737
+ type: "function",
738
+ },
739
+ {
740
+ inputs: [
741
+ {
742
+ internalType: "uint256",
743
+ name: "_pid",
744
+ type: "uint256",
745
+ },
746
+ {
747
+ internalType: "address",
748
+ name: "_user",
749
+ type: "address",
750
+ },
751
+ ],
752
+ name: "stakedTokensAmount",
753
+ outputs: [
754
+ {
755
+ internalType: "uint256",
756
+ name: "",
757
+ type: "uint256",
758
+ },
759
+ ],
760
+ stateMutability: "view",
761
+ type: "function",
762
+ },
763
+ {
764
+ inputs: [
765
+ {
766
+ internalType: "address",
767
+ name: "",
768
+ type: "address",
769
+ },
770
+ ],
771
+ name: "tokensAdded",
772
+ outputs: [
773
+ {
774
+ internalType: "bool",
775
+ name: "",
776
+ type: "bool",
777
+ },
778
+ ],
779
+ stateMutability: "view",
780
+ type: "function",
781
+ },
782
+ {
783
+ inputs: [],
784
+ name: "totalAllocPoint",
785
+ outputs: [
786
+ {
787
+ internalType: "uint256",
788
+ name: "",
789
+ type: "uint256",
790
+ },
791
+ ],
792
+ stateMutability: "view",
793
+ type: "function",
794
+ },
795
+ {
796
+ inputs: [
797
+ {
798
+ internalType: "address",
799
+ name: "newOwner",
800
+ type: "address",
801
+ },
802
+ ],
803
+ name: "transferOwnership",
804
+ outputs: [],
805
+ stateMutability: "nonpayable",
806
+ type: "function",
807
+ },
808
+ {
809
+ inputs: [],
810
+ name: "unpause",
811
+ outputs: [],
812
+ stateMutability: "nonpayable",
813
+ type: "function",
814
+ },
815
+ {
816
+ inputs: [
817
+ {
818
+ internalType: "uint256",
819
+ name: "_pid",
820
+ type: "uint256",
821
+ },
822
+ ],
823
+ name: "updatePool",
824
+ outputs: [],
825
+ stateMutability: "nonpayable",
826
+ type: "function",
827
+ },
828
+ {
829
+ inputs: [
830
+ {
831
+ internalType: "uint256",
832
+ name: "",
833
+ type: "uint256",
834
+ },
835
+ {
836
+ internalType: "address",
837
+ name: "",
838
+ type: "address",
839
+ },
840
+ ],
841
+ name: "userInfo",
842
+ outputs: [
843
+ {
844
+ internalType: "uint256",
845
+ name: "shares",
846
+ type: "uint256",
847
+ },
848
+ {
849
+ internalType: "uint256",
850
+ name: "rewardDebt",
851
+ type: "uint256",
852
+ },
853
+ ],
854
+ stateMutability: "view",
855
+ type: "function",
856
+ },
857
+ {
858
+ inputs: [
859
+ {
860
+ internalType: "uint256",
861
+ name: "_pid",
862
+ type: "uint256",
863
+ },
864
+ {
865
+ internalType: "uint256",
866
+ name: "poolTokenAmt",
867
+ type: "uint256",
868
+ },
869
+ ],
870
+ name: "withdraw",
871
+ outputs: [],
872
+ stateMutability: "nonpayable",
873
+ type: "function",
874
+ },
875
+ {
876
+ inputs: [
877
+ {
878
+ internalType: "uint256",
879
+ name: "_pid",
880
+ type: "uint256",
881
+ },
882
+ ],
883
+ name: "withdrawAll",
884
+ outputs: [],
885
+ stateMutability: "nonpayable",
886
+ type: "function",
887
+ },
888
+ ];
889
+ export class StabullStakingFactory__factory {
890
+ static abi = _abi;
891
+ static createInterface() {
892
+ return new utils.Interface(_abi);
893
+ }
894
+ static connect(address, signerOrProvider) {
895
+ return new Contract(address, _abi, signerOrProvider);
896
+ }
897
+ }