@merkl/contracts 0.1.103 → 0.2.0

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