@merkl/contracts 1.36.44 → 1.36.46

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.
@@ -0,0 +1,1007 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ type: "constructor",
8
+ inputs: [
9
+ {
10
+ name: "_positionManager",
11
+ type: "address",
12
+ internalType: "address",
13
+ },
14
+ {
15
+ name: "_feeRecipient",
16
+ type: "address",
17
+ internalType: "address",
18
+ },
19
+ {
20
+ name: "_poolToken0",
21
+ type: "address",
22
+ internalType: "address",
23
+ },
24
+ {
25
+ name: "_poolToken1",
26
+ type: "address",
27
+ internalType: "address",
28
+ },
29
+ {
30
+ name: "_poolFee",
31
+ type: "uint24",
32
+ internalType: "uint24",
33
+ },
34
+ {
35
+ name: "_name",
36
+ type: "string",
37
+ internalType: "string",
38
+ },
39
+ {
40
+ name: "_symbol",
41
+ type: "string",
42
+ internalType: "string",
43
+ },
44
+ ],
45
+ stateMutability: "nonpayable",
46
+ },
47
+ {
48
+ name: "ContractFrozen",
49
+ type: "error",
50
+ inputs: [],
51
+ },
52
+ {
53
+ name: "ContractNotFrozen",
54
+ type: "error",
55
+ inputs: [],
56
+ },
57
+ {
58
+ name: "ContractNotPaused",
59
+ type: "error",
60
+ inputs: [],
61
+ },
62
+ {
63
+ name: "ContractPaused",
64
+ type: "error",
65
+ inputs: [],
66
+ },
67
+ {
68
+ name: "DirectTransferNotAllowed",
69
+ type: "error",
70
+ inputs: [],
71
+ },
72
+ {
73
+ name: "ERC20InsufficientAllowance",
74
+ type: "error",
75
+ inputs: [
76
+ {
77
+ name: "spender",
78
+ type: "address",
79
+ internalType: "address",
80
+ },
81
+ {
82
+ name: "allowance",
83
+ type: "uint256",
84
+ internalType: "uint256",
85
+ },
86
+ {
87
+ name: "needed",
88
+ type: "uint256",
89
+ internalType: "uint256",
90
+ },
91
+ ],
92
+ },
93
+ {
94
+ name: "ERC20InsufficientBalance",
95
+ type: "error",
96
+ inputs: [
97
+ {
98
+ name: "sender",
99
+ type: "address",
100
+ internalType: "address",
101
+ },
102
+ {
103
+ name: "balance",
104
+ type: "uint256",
105
+ internalType: "uint256",
106
+ },
107
+ {
108
+ name: "needed",
109
+ type: "uint256",
110
+ internalType: "uint256",
111
+ },
112
+ ],
113
+ },
114
+ {
115
+ name: "ERC20InvalidApprover",
116
+ type: "error",
117
+ inputs: [
118
+ {
119
+ name: "approver",
120
+ type: "address",
121
+ internalType: "address",
122
+ },
123
+ ],
124
+ },
125
+ {
126
+ name: "ERC20InvalidReceiver",
127
+ type: "error",
128
+ inputs: [
129
+ {
130
+ name: "receiver",
131
+ type: "address",
132
+ internalType: "address",
133
+ },
134
+ ],
135
+ },
136
+ {
137
+ name: "ERC20InvalidSender",
138
+ type: "error",
139
+ inputs: [
140
+ {
141
+ name: "sender",
142
+ type: "address",
143
+ internalType: "address",
144
+ },
145
+ ],
146
+ },
147
+ {
148
+ name: "ERC20InvalidSpender",
149
+ type: "error",
150
+ inputs: [
151
+ {
152
+ name: "spender",
153
+ type: "address",
154
+ internalType: "address",
155
+ },
156
+ ],
157
+ },
158
+ {
159
+ name: "NotDepositor",
160
+ type: "error",
161
+ inputs: [],
162
+ },
163
+ {
164
+ name: "NotOwner",
165
+ type: "error",
166
+ inputs: [],
167
+ },
168
+ {
169
+ name: "ReentrancyGuardReentrantCall",
170
+ type: "error",
171
+ inputs: [],
172
+ },
173
+ {
174
+ name: "SafeERC20FailedOperation",
175
+ type: "error",
176
+ inputs: [
177
+ {
178
+ name: "token",
179
+ type: "address",
180
+ internalType: "address",
181
+ },
182
+ ],
183
+ },
184
+ {
185
+ name: "TokenAlreadyDeposited",
186
+ type: "error",
187
+ inputs: [],
188
+ },
189
+ {
190
+ name: "TokenNotDeposited",
191
+ type: "error",
192
+ inputs: [],
193
+ },
194
+ {
195
+ name: "TransferDisabled",
196
+ type: "error",
197
+ inputs: [],
198
+ },
199
+ {
200
+ name: "WrongPool",
201
+ type: "error",
202
+ inputs: [],
203
+ },
204
+ {
205
+ name: "ZeroAddress",
206
+ type: "error",
207
+ inputs: [],
208
+ },
209
+ {
210
+ name: "ZeroLiquidity",
211
+ type: "error",
212
+ inputs: [],
213
+ },
214
+ {
215
+ name: "Approval",
216
+ type: "event",
217
+ inputs: [
218
+ {
219
+ name: "owner",
220
+ type: "address",
221
+ indexed: true,
222
+ internalType: "address",
223
+ },
224
+ {
225
+ name: "spender",
226
+ type: "address",
227
+ indexed: true,
228
+ internalType: "address",
229
+ },
230
+ {
231
+ name: "value",
232
+ type: "uint256",
233
+ indexed: false,
234
+ internalType: "uint256",
235
+ },
236
+ ],
237
+ anonymous: false,
238
+ },
239
+ {
240
+ name: "Deposited",
241
+ type: "event",
242
+ inputs: [
243
+ {
244
+ name: "depositor",
245
+ type: "address",
246
+ indexed: true,
247
+ internalType: "address",
248
+ },
249
+ {
250
+ name: "tokenId",
251
+ type: "uint256",
252
+ indexed: true,
253
+ internalType: "uint256",
254
+ },
255
+ {
256
+ name: "liquidity",
257
+ type: "uint128",
258
+ indexed: false,
259
+ internalType: "uint128",
260
+ },
261
+ ],
262
+ anonymous: false,
263
+ },
264
+ {
265
+ name: "FeeRecipientUpdated",
266
+ type: "event",
267
+ inputs: [
268
+ {
269
+ name: "oldRecipient",
270
+ type: "address",
271
+ indexed: true,
272
+ internalType: "address",
273
+ },
274
+ {
275
+ name: "newRecipient",
276
+ type: "address",
277
+ indexed: true,
278
+ internalType: "address",
279
+ },
280
+ ],
281
+ anonymous: false,
282
+ },
283
+ {
284
+ name: "FeesClaimed",
285
+ type: "event",
286
+ inputs: [
287
+ {
288
+ name: "tokenId",
289
+ type: "uint256",
290
+ indexed: true,
291
+ internalType: "uint256",
292
+ },
293
+ {
294
+ name: "amount0",
295
+ type: "uint256",
296
+ indexed: false,
297
+ internalType: "uint256",
298
+ },
299
+ {
300
+ name: "amount1",
301
+ type: "uint256",
302
+ indexed: false,
303
+ internalType: "uint256",
304
+ },
305
+ ],
306
+ anonymous: false,
307
+ },
308
+ {
309
+ name: "Frozen",
310
+ type: "event",
311
+ inputs: [
312
+ {
313
+ name: "account",
314
+ type: "address",
315
+ indexed: false,
316
+ internalType: "address",
317
+ },
318
+ ],
319
+ anonymous: false,
320
+ },
321
+ {
322
+ name: "OwnershipTransferred",
323
+ type: "event",
324
+ inputs: [
325
+ {
326
+ name: "previousOwner",
327
+ type: "address",
328
+ indexed: true,
329
+ internalType: "address",
330
+ },
331
+ {
332
+ name: "newOwner",
333
+ type: "address",
334
+ indexed: true,
335
+ internalType: "address",
336
+ },
337
+ ],
338
+ anonymous: false,
339
+ },
340
+ {
341
+ name: "Paused",
342
+ type: "event",
343
+ inputs: [
344
+ {
345
+ name: "account",
346
+ type: "address",
347
+ indexed: false,
348
+ internalType: "address",
349
+ },
350
+ ],
351
+ anonymous: false,
352
+ },
353
+ {
354
+ name: "Transfer",
355
+ type: "event",
356
+ inputs: [
357
+ {
358
+ name: "from",
359
+ type: "address",
360
+ indexed: true,
361
+ internalType: "address",
362
+ },
363
+ {
364
+ name: "to",
365
+ type: "address",
366
+ indexed: true,
367
+ internalType: "address",
368
+ },
369
+ {
370
+ name: "value",
371
+ type: "uint256",
372
+ indexed: false,
373
+ internalType: "uint256",
374
+ },
375
+ ],
376
+ anonymous: false,
377
+ },
378
+ {
379
+ name: "Unfrozen",
380
+ type: "event",
381
+ inputs: [
382
+ {
383
+ name: "account",
384
+ type: "address",
385
+ indexed: false,
386
+ internalType: "address",
387
+ },
388
+ ],
389
+ anonymous: false,
390
+ },
391
+ {
392
+ name: "Unpaused",
393
+ type: "event",
394
+ inputs: [
395
+ {
396
+ name: "account",
397
+ type: "address",
398
+ indexed: false,
399
+ internalType: "address",
400
+ },
401
+ ],
402
+ anonymous: false,
403
+ },
404
+ {
405
+ name: "Withdrawn",
406
+ type: "event",
407
+ inputs: [
408
+ {
409
+ name: "depositor",
410
+ type: "address",
411
+ indexed: true,
412
+ internalType: "address",
413
+ },
414
+ {
415
+ name: "tokenId",
416
+ type: "uint256",
417
+ indexed: true,
418
+ internalType: "uint256",
419
+ },
420
+ {
421
+ name: "liquidity",
422
+ type: "uint128",
423
+ indexed: false,
424
+ internalType: "uint128",
425
+ },
426
+ ],
427
+ anonymous: false,
428
+ },
429
+ {
430
+ name: "allowance",
431
+ type: "function",
432
+ inputs: [
433
+ {
434
+ name: "owner",
435
+ type: "address",
436
+ internalType: "address",
437
+ },
438
+ {
439
+ name: "spender",
440
+ type: "address",
441
+ internalType: "address",
442
+ },
443
+ ],
444
+ outputs: [
445
+ {
446
+ name: "",
447
+ type: "uint256",
448
+ internalType: "uint256",
449
+ },
450
+ ],
451
+ stateMutability: "view",
452
+ },
453
+ {
454
+ name: "approve",
455
+ type: "function",
456
+ inputs: [
457
+ {
458
+ name: "spender",
459
+ type: "address",
460
+ internalType: "address",
461
+ },
462
+ {
463
+ name: "value",
464
+ type: "uint256",
465
+ internalType: "uint256",
466
+ },
467
+ ],
468
+ outputs: [
469
+ {
470
+ name: "",
471
+ type: "bool",
472
+ internalType: "bool",
473
+ },
474
+ ],
475
+ stateMutability: "nonpayable",
476
+ },
477
+ {
478
+ name: "balanceOf",
479
+ type: "function",
480
+ inputs: [
481
+ {
482
+ name: "account",
483
+ type: "address",
484
+ internalType: "address",
485
+ },
486
+ ],
487
+ outputs: [
488
+ {
489
+ name: "",
490
+ type: "uint256",
491
+ internalType: "uint256",
492
+ },
493
+ ],
494
+ stateMutability: "view",
495
+ },
496
+ {
497
+ name: "claimFees",
498
+ type: "function",
499
+ inputs: [
500
+ {
501
+ name: "tokenId",
502
+ type: "uint256",
503
+ internalType: "uint256",
504
+ },
505
+ ],
506
+ outputs: [],
507
+ stateMutability: "nonpayable",
508
+ },
509
+ {
510
+ name: "claimFeesMultiple",
511
+ type: "function",
512
+ inputs: [
513
+ {
514
+ name: "tokenIds",
515
+ type: "uint256[]",
516
+ internalType: "uint256[]",
517
+ },
518
+ ],
519
+ outputs: [],
520
+ stateMutability: "nonpayable",
521
+ },
522
+ {
523
+ name: "decimals",
524
+ type: "function",
525
+ inputs: [],
526
+ outputs: [
527
+ {
528
+ name: "",
529
+ type: "uint8",
530
+ internalType: "uint8",
531
+ },
532
+ ],
533
+ stateMutability: "view",
534
+ },
535
+ {
536
+ name: "deposit",
537
+ type: "function",
538
+ inputs: [
539
+ {
540
+ name: "tokenId",
541
+ type: "uint256",
542
+ internalType: "uint256",
543
+ },
544
+ ],
545
+ outputs: [],
546
+ stateMutability: "nonpayable",
547
+ },
548
+ {
549
+ name: "depositedCountOf",
550
+ type: "function",
551
+ inputs: [
552
+ {
553
+ name: "depositor",
554
+ type: "address",
555
+ internalType: "address",
556
+ },
557
+ ],
558
+ outputs: [
559
+ {
560
+ name: "",
561
+ type: "uint256",
562
+ internalType: "uint256",
563
+ },
564
+ ],
565
+ stateMutability: "view",
566
+ },
567
+ {
568
+ name: "depositorOf",
569
+ type: "function",
570
+ inputs: [
571
+ {
572
+ name: "",
573
+ type: "uint256",
574
+ internalType: "uint256",
575
+ },
576
+ ],
577
+ outputs: [
578
+ {
579
+ name: "",
580
+ type: "address",
581
+ internalType: "address",
582
+ },
583
+ ],
584
+ stateMutability: "view",
585
+ },
586
+ {
587
+ name: "emergencyFreeze",
588
+ type: "function",
589
+ inputs: [],
590
+ outputs: [],
591
+ stateMutability: "nonpayable",
592
+ },
593
+ {
594
+ name: "emergencyUnfreeze",
595
+ type: "function",
596
+ inputs: [],
597
+ outputs: [],
598
+ stateMutability: "nonpayable",
599
+ },
600
+ {
601
+ name: "feeRecipient",
602
+ type: "function",
603
+ inputs: [],
604
+ outputs: [
605
+ {
606
+ name: "",
607
+ type: "address",
608
+ internalType: "address",
609
+ },
610
+ ],
611
+ stateMutability: "view",
612
+ },
613
+ {
614
+ name: "frozen",
615
+ type: "function",
616
+ inputs: [],
617
+ outputs: [
618
+ {
619
+ name: "",
620
+ type: "bool",
621
+ internalType: "bool",
622
+ },
623
+ ],
624
+ stateMutability: "view",
625
+ },
626
+ {
627
+ name: "getDepositedTokenIds",
628
+ type: "function",
629
+ inputs: [
630
+ {
631
+ name: "depositor",
632
+ type: "address",
633
+ internalType: "address",
634
+ },
635
+ ],
636
+ outputs: [
637
+ {
638
+ name: "",
639
+ type: "uint256[]",
640
+ internalType: "uint256[]",
641
+ },
642
+ ],
643
+ stateMutability: "view",
644
+ },
645
+ {
646
+ name: "liquidityOf",
647
+ type: "function",
648
+ inputs: [
649
+ {
650
+ name: "",
651
+ type: "uint256",
652
+ internalType: "uint256",
653
+ },
654
+ ],
655
+ outputs: [
656
+ {
657
+ name: "",
658
+ type: "uint128",
659
+ internalType: "uint128",
660
+ },
661
+ ],
662
+ stateMutability: "view",
663
+ },
664
+ {
665
+ name: "name",
666
+ type: "function",
667
+ inputs: [],
668
+ outputs: [
669
+ {
670
+ name: "",
671
+ type: "string",
672
+ internalType: "string",
673
+ },
674
+ ],
675
+ stateMutability: "view",
676
+ },
677
+ {
678
+ name: "onERC721Received",
679
+ type: "function",
680
+ inputs: [
681
+ {
682
+ name: "",
683
+ type: "address",
684
+ internalType: "address",
685
+ },
686
+ {
687
+ name: "",
688
+ type: "address",
689
+ internalType: "address",
690
+ },
691
+ {
692
+ name: "",
693
+ type: "uint256",
694
+ internalType: "uint256",
695
+ },
696
+ {
697
+ name: "",
698
+ type: "bytes",
699
+ internalType: "bytes",
700
+ },
701
+ ],
702
+ outputs: [
703
+ {
704
+ name: "",
705
+ type: "bytes4",
706
+ internalType: "bytes4",
707
+ },
708
+ ],
709
+ stateMutability: "view",
710
+ },
711
+ {
712
+ name: "owner",
713
+ type: "function",
714
+ inputs: [],
715
+ outputs: [
716
+ {
717
+ name: "",
718
+ type: "address",
719
+ internalType: "address",
720
+ },
721
+ ],
722
+ stateMutability: "view",
723
+ },
724
+ {
725
+ name: "pause",
726
+ type: "function",
727
+ inputs: [],
728
+ outputs: [],
729
+ stateMutability: "nonpayable",
730
+ },
731
+ {
732
+ name: "paused",
733
+ type: "function",
734
+ inputs: [],
735
+ outputs: [
736
+ {
737
+ name: "",
738
+ type: "bool",
739
+ internalType: "bool",
740
+ },
741
+ ],
742
+ stateMutability: "view",
743
+ },
744
+ {
745
+ name: "poolFee",
746
+ type: "function",
747
+ inputs: [],
748
+ outputs: [
749
+ {
750
+ name: "",
751
+ type: "uint24",
752
+ internalType: "uint24",
753
+ },
754
+ ],
755
+ stateMutability: "view",
756
+ },
757
+ {
758
+ name: "poolToken0",
759
+ type: "function",
760
+ inputs: [],
761
+ outputs: [
762
+ {
763
+ name: "",
764
+ type: "address",
765
+ internalType: "address",
766
+ },
767
+ ],
768
+ stateMutability: "view",
769
+ },
770
+ {
771
+ name: "poolToken1",
772
+ type: "function",
773
+ inputs: [],
774
+ outputs: [
775
+ {
776
+ name: "",
777
+ type: "address",
778
+ internalType: "address",
779
+ },
780
+ ],
781
+ stateMutability: "view",
782
+ },
783
+ {
784
+ name: "positionManager",
785
+ type: "function",
786
+ inputs: [],
787
+ outputs: [
788
+ {
789
+ name: "",
790
+ type: "address",
791
+ internalType: "contract INPM",
792
+ },
793
+ ],
794
+ stateMutability: "view",
795
+ },
796
+ {
797
+ name: "rescueERC20",
798
+ type: "function",
799
+ inputs: [
800
+ {
801
+ name: "token",
802
+ type: "address",
803
+ internalType: "address",
804
+ },
805
+ {
806
+ name: "to",
807
+ type: "address",
808
+ internalType: "address",
809
+ },
810
+ {
811
+ name: "amount",
812
+ type: "uint256",
813
+ internalType: "uint256",
814
+ },
815
+ ],
816
+ outputs: [],
817
+ stateMutability: "nonpayable",
818
+ },
819
+ {
820
+ name: "rescueERC721",
821
+ type: "function",
822
+ inputs: [
823
+ {
824
+ name: "token",
825
+ type: "address",
826
+ internalType: "address",
827
+ },
828
+ {
829
+ name: "to",
830
+ type: "address",
831
+ internalType: "address",
832
+ },
833
+ {
834
+ name: "tokenId",
835
+ type: "uint256",
836
+ internalType: "uint256",
837
+ },
838
+ ],
839
+ outputs: [],
840
+ stateMutability: "nonpayable",
841
+ },
842
+ {
843
+ name: "rescueETH",
844
+ type: "function",
845
+ inputs: [
846
+ {
847
+ name: "to",
848
+ type: "address",
849
+ internalType: "address payable",
850
+ },
851
+ ],
852
+ outputs: [],
853
+ stateMutability: "nonpayable",
854
+ },
855
+ {
856
+ name: "setFeeRecipient",
857
+ type: "function",
858
+ inputs: [
859
+ {
860
+ name: "newFeeRecipient",
861
+ type: "address",
862
+ internalType: "address",
863
+ },
864
+ ],
865
+ outputs: [],
866
+ stateMutability: "nonpayable",
867
+ },
868
+ {
869
+ name: "symbol",
870
+ type: "function",
871
+ inputs: [],
872
+ outputs: [
873
+ {
874
+ name: "",
875
+ type: "string",
876
+ internalType: "string",
877
+ },
878
+ ],
879
+ stateMutability: "view",
880
+ },
881
+ {
882
+ name: "totalDeposited",
883
+ type: "function",
884
+ inputs: [],
885
+ outputs: [
886
+ {
887
+ name: "",
888
+ type: "uint256",
889
+ internalType: "uint256",
890
+ },
891
+ ],
892
+ stateMutability: "view",
893
+ },
894
+ {
895
+ name: "totalSupply",
896
+ type: "function",
897
+ inputs: [],
898
+ outputs: [
899
+ {
900
+ name: "",
901
+ type: "uint256",
902
+ internalType: "uint256",
903
+ },
904
+ ],
905
+ stateMutability: "view",
906
+ },
907
+ {
908
+ name: "transfer",
909
+ type: "function",
910
+ inputs: [
911
+ {
912
+ name: "to",
913
+ type: "address",
914
+ internalType: "address",
915
+ },
916
+ {
917
+ name: "value",
918
+ type: "uint256",
919
+ internalType: "uint256",
920
+ },
921
+ ],
922
+ outputs: [
923
+ {
924
+ name: "",
925
+ type: "bool",
926
+ internalType: "bool",
927
+ },
928
+ ],
929
+ stateMutability: "nonpayable",
930
+ },
931
+ {
932
+ name: "transferFrom",
933
+ type: "function",
934
+ inputs: [
935
+ {
936
+ name: "from",
937
+ type: "address",
938
+ internalType: "address",
939
+ },
940
+ {
941
+ name: "to",
942
+ type: "address",
943
+ internalType: "address",
944
+ },
945
+ {
946
+ name: "value",
947
+ type: "uint256",
948
+ internalType: "uint256",
949
+ },
950
+ ],
951
+ outputs: [
952
+ {
953
+ name: "",
954
+ type: "bool",
955
+ internalType: "bool",
956
+ },
957
+ ],
958
+ stateMutability: "nonpayable",
959
+ },
960
+ {
961
+ name: "transferOwnership",
962
+ type: "function",
963
+ inputs: [
964
+ {
965
+ name: "newOwner",
966
+ type: "address",
967
+ internalType: "address",
968
+ },
969
+ ],
970
+ outputs: [],
971
+ stateMutability: "nonpayable",
972
+ },
973
+ {
974
+ name: "unpause",
975
+ type: "function",
976
+ inputs: [],
977
+ outputs: [],
978
+ stateMutability: "nonpayable",
979
+ },
980
+ {
981
+ name: "withdraw",
982
+ type: "function",
983
+ inputs: [
984
+ {
985
+ name: "tokenId",
986
+ type: "uint256",
987
+ internalType: "uint256",
988
+ },
989
+ ],
990
+ outputs: [],
991
+ stateMutability: "nonpayable",
992
+ },
993
+ {
994
+ type: "receive",
995
+ stateMutability: "payable",
996
+ },
997
+ ];
998
+ export class ZiaVault__factory {
999
+ static abi = _abi;
1000
+ static createInterface() {
1001
+ return new utils.Interface(_abi);
1002
+ }
1003
+ static connect(address, signerOrProvider) {
1004
+ return new Contract(address, _abi, signerOrProvider);
1005
+ }
1006
+ }
1007
+ //# sourceMappingURL=ZiaVault__factory.js.map