@mania-labs/mania-sdk 1.0.1 → 1.0.3

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,1063 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_factoryV2",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "factoryV3",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_positionManager",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "address",
21
+ "name": "_WETH9",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "stateMutability": "nonpayable",
26
+ "type": "constructor"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "WETH9",
31
+ "outputs": [
32
+ {
33
+ "internalType": "address",
34
+ "name": "",
35
+ "type": "address"
36
+ }
37
+ ],
38
+ "stateMutability": "view",
39
+ "type": "function"
40
+ },
41
+ {
42
+ "inputs": [
43
+ {
44
+ "internalType": "address",
45
+ "name": "token",
46
+ "type": "address"
47
+ }
48
+ ],
49
+ "name": "approveMax",
50
+ "outputs": [],
51
+ "stateMutability": "payable",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "token",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "approveMaxMinusOne",
63
+ "outputs": [],
64
+ "stateMutability": "payable",
65
+ "type": "function"
66
+ },
67
+ {
68
+ "inputs": [
69
+ {
70
+ "internalType": "address",
71
+ "name": "token",
72
+ "type": "address"
73
+ }
74
+ ],
75
+ "name": "approveZeroThenMax",
76
+ "outputs": [],
77
+ "stateMutability": "payable",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "token",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "approveZeroThenMaxMinusOne",
89
+ "outputs": [],
90
+ "stateMutability": "payable",
91
+ "type": "function"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "bytes",
97
+ "name": "data",
98
+ "type": "bytes"
99
+ }
100
+ ],
101
+ "name": "callPositionManager",
102
+ "outputs": [
103
+ {
104
+ "internalType": "bytes",
105
+ "name": "result",
106
+ "type": "bytes"
107
+ }
108
+ ],
109
+ "stateMutability": "payable",
110
+ "type": "function"
111
+ },
112
+ {
113
+ "inputs": [
114
+ {
115
+ "internalType": "bytes[]",
116
+ "name": "paths",
117
+ "type": "bytes[]"
118
+ },
119
+ {
120
+ "internalType": "uint128[]",
121
+ "name": "amounts",
122
+ "type": "uint128[]"
123
+ },
124
+ {
125
+ "internalType": "uint24",
126
+ "name": "maximumTickDivergence",
127
+ "type": "uint24"
128
+ },
129
+ {
130
+ "internalType": "uint32",
131
+ "name": "secondsAgo",
132
+ "type": "uint32"
133
+ }
134
+ ],
135
+ "name": "checkOracleSlippage",
136
+ "outputs": [],
137
+ "stateMutability": "view",
138
+ "type": "function"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "bytes",
144
+ "name": "path",
145
+ "type": "bytes"
146
+ },
147
+ {
148
+ "internalType": "uint24",
149
+ "name": "maximumTickDivergence",
150
+ "type": "uint24"
151
+ },
152
+ {
153
+ "internalType": "uint32",
154
+ "name": "secondsAgo",
155
+ "type": "uint32"
156
+ }
157
+ ],
158
+ "name": "checkOracleSlippage",
159
+ "outputs": [],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "components": [
167
+ {
168
+ "internalType": "bytes",
169
+ "name": "path",
170
+ "type": "bytes"
171
+ },
172
+ {
173
+ "internalType": "address",
174
+ "name": "recipient",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "internalType": "uint256",
179
+ "name": "amountIn",
180
+ "type": "uint256"
181
+ },
182
+ {
183
+ "internalType": "uint256",
184
+ "name": "amountOutMinimum",
185
+ "type": "uint256"
186
+ }
187
+ ],
188
+ "internalType": "struct IV3SwapRouter.ExactInputParams",
189
+ "name": "params",
190
+ "type": "tuple"
191
+ }
192
+ ],
193
+ "name": "exactInput",
194
+ "outputs": [
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "amountOut",
198
+ "type": "uint256"
199
+ }
200
+ ],
201
+ "stateMutability": "payable",
202
+ "type": "function"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "components": [
208
+ {
209
+ "internalType": "address",
210
+ "name": "tokenIn",
211
+ "type": "address"
212
+ },
213
+ {
214
+ "internalType": "address",
215
+ "name": "tokenOut",
216
+ "type": "address"
217
+ },
218
+ {
219
+ "internalType": "uint24",
220
+ "name": "fee",
221
+ "type": "uint24"
222
+ },
223
+ {
224
+ "internalType": "address",
225
+ "name": "recipient",
226
+ "type": "address"
227
+ },
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "amountIn",
231
+ "type": "uint256"
232
+ },
233
+ {
234
+ "internalType": "uint256",
235
+ "name": "amountOutMinimum",
236
+ "type": "uint256"
237
+ },
238
+ {
239
+ "internalType": "uint160",
240
+ "name": "sqrtPriceLimitX96",
241
+ "type": "uint160"
242
+ }
243
+ ],
244
+ "internalType": "struct IV3SwapRouter.ExactInputSingleParams",
245
+ "name": "params",
246
+ "type": "tuple"
247
+ }
248
+ ],
249
+ "name": "exactInputSingle",
250
+ "outputs": [
251
+ {
252
+ "internalType": "uint256",
253
+ "name": "amountOut",
254
+ "type": "uint256"
255
+ }
256
+ ],
257
+ "stateMutability": "payable",
258
+ "type": "function"
259
+ },
260
+ {
261
+ "inputs": [
262
+ {
263
+ "components": [
264
+ {
265
+ "internalType": "bytes",
266
+ "name": "path",
267
+ "type": "bytes"
268
+ },
269
+ {
270
+ "internalType": "address",
271
+ "name": "recipient",
272
+ "type": "address"
273
+ },
274
+ {
275
+ "internalType": "uint256",
276
+ "name": "amountOut",
277
+ "type": "uint256"
278
+ },
279
+ {
280
+ "internalType": "uint256",
281
+ "name": "amountInMaximum",
282
+ "type": "uint256"
283
+ }
284
+ ],
285
+ "internalType": "struct IV3SwapRouter.ExactOutputParams",
286
+ "name": "params",
287
+ "type": "tuple"
288
+ }
289
+ ],
290
+ "name": "exactOutput",
291
+ "outputs": [
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "amountIn",
295
+ "type": "uint256"
296
+ }
297
+ ],
298
+ "stateMutability": "payable",
299
+ "type": "function"
300
+ },
301
+ {
302
+ "inputs": [
303
+ {
304
+ "components": [
305
+ {
306
+ "internalType": "address",
307
+ "name": "tokenIn",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "internalType": "address",
312
+ "name": "tokenOut",
313
+ "type": "address"
314
+ },
315
+ {
316
+ "internalType": "uint24",
317
+ "name": "fee",
318
+ "type": "uint24"
319
+ },
320
+ {
321
+ "internalType": "address",
322
+ "name": "recipient",
323
+ "type": "address"
324
+ },
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "amountOut",
328
+ "type": "uint256"
329
+ },
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "amountInMaximum",
333
+ "type": "uint256"
334
+ },
335
+ {
336
+ "internalType": "uint160",
337
+ "name": "sqrtPriceLimitX96",
338
+ "type": "uint160"
339
+ }
340
+ ],
341
+ "internalType": "struct IV3SwapRouter.ExactOutputSingleParams",
342
+ "name": "params",
343
+ "type": "tuple"
344
+ }
345
+ ],
346
+ "name": "exactOutputSingle",
347
+ "outputs": [
348
+ {
349
+ "internalType": "uint256",
350
+ "name": "amountIn",
351
+ "type": "uint256"
352
+ }
353
+ ],
354
+ "stateMutability": "payable",
355
+ "type": "function"
356
+ },
357
+ {
358
+ "inputs": [],
359
+ "name": "factory",
360
+ "outputs": [
361
+ {
362
+ "internalType": "address",
363
+ "name": "",
364
+ "type": "address"
365
+ }
366
+ ],
367
+ "stateMutability": "view",
368
+ "type": "function"
369
+ },
370
+ {
371
+ "inputs": [],
372
+ "name": "factoryV2",
373
+ "outputs": [
374
+ {
375
+ "internalType": "address",
376
+ "name": "",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "stateMutability": "view",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "inputs": [
385
+ {
386
+ "internalType": "address",
387
+ "name": "token",
388
+ "type": "address"
389
+ },
390
+ {
391
+ "internalType": "uint256",
392
+ "name": "amount",
393
+ "type": "uint256"
394
+ }
395
+ ],
396
+ "name": "getApprovalType",
397
+ "outputs": [
398
+ {
399
+ "internalType": "enum IApproveAndCall.ApprovalType",
400
+ "name": "",
401
+ "type": "uint8"
402
+ }
403
+ ],
404
+ "stateMutability": "nonpayable",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "components": [
411
+ {
412
+ "internalType": "address",
413
+ "name": "token0",
414
+ "type": "address"
415
+ },
416
+ {
417
+ "internalType": "address",
418
+ "name": "token1",
419
+ "type": "address"
420
+ },
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "tokenId",
424
+ "type": "uint256"
425
+ },
426
+ {
427
+ "internalType": "uint256",
428
+ "name": "amount0Min",
429
+ "type": "uint256"
430
+ },
431
+ {
432
+ "internalType": "uint256",
433
+ "name": "amount1Min",
434
+ "type": "uint256"
435
+ }
436
+ ],
437
+ "internalType": "struct IApproveAndCall.IncreaseLiquidityParams",
438
+ "name": "params",
439
+ "type": "tuple"
440
+ }
441
+ ],
442
+ "name": "increaseLiquidity",
443
+ "outputs": [
444
+ {
445
+ "internalType": "bytes",
446
+ "name": "result",
447
+ "type": "bytes"
448
+ }
449
+ ],
450
+ "stateMutability": "payable",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [
455
+ {
456
+ "components": [
457
+ {
458
+ "internalType": "address",
459
+ "name": "token0",
460
+ "type": "address"
461
+ },
462
+ {
463
+ "internalType": "address",
464
+ "name": "token1",
465
+ "type": "address"
466
+ },
467
+ {
468
+ "internalType": "uint24",
469
+ "name": "fee",
470
+ "type": "uint24"
471
+ },
472
+ {
473
+ "internalType": "int24",
474
+ "name": "tickLower",
475
+ "type": "int24"
476
+ },
477
+ {
478
+ "internalType": "int24",
479
+ "name": "tickUpper",
480
+ "type": "int24"
481
+ },
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "amount0Min",
485
+ "type": "uint256"
486
+ },
487
+ {
488
+ "internalType": "uint256",
489
+ "name": "amount1Min",
490
+ "type": "uint256"
491
+ },
492
+ {
493
+ "internalType": "address",
494
+ "name": "recipient",
495
+ "type": "address"
496
+ }
497
+ ],
498
+ "internalType": "struct IApproveAndCall.MintParams",
499
+ "name": "params",
500
+ "type": "tuple"
501
+ }
502
+ ],
503
+ "name": "mint",
504
+ "outputs": [
505
+ {
506
+ "internalType": "bytes",
507
+ "name": "result",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "stateMutability": "payable",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "inputs": [
516
+ {
517
+ "internalType": "bytes32",
518
+ "name": "previousBlockhash",
519
+ "type": "bytes32"
520
+ },
521
+ {
522
+ "internalType": "bytes[]",
523
+ "name": "data",
524
+ "type": "bytes[]"
525
+ }
526
+ ],
527
+ "name": "multicall",
528
+ "outputs": [
529
+ {
530
+ "internalType": "bytes[]",
531
+ "name": "",
532
+ "type": "bytes[]"
533
+ }
534
+ ],
535
+ "stateMutability": "payable",
536
+ "type": "function"
537
+ },
538
+ {
539
+ "inputs": [
540
+ {
541
+ "internalType": "uint256",
542
+ "name": "deadline",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "internalType": "bytes[]",
547
+ "name": "data",
548
+ "type": "bytes[]"
549
+ }
550
+ ],
551
+ "name": "multicall",
552
+ "outputs": [
553
+ {
554
+ "internalType": "bytes[]",
555
+ "name": "",
556
+ "type": "bytes[]"
557
+ }
558
+ ],
559
+ "stateMutability": "payable",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [
564
+ {
565
+ "internalType": "bytes[]",
566
+ "name": "data",
567
+ "type": "bytes[]"
568
+ }
569
+ ],
570
+ "name": "multicall",
571
+ "outputs": [
572
+ {
573
+ "internalType": "bytes[]",
574
+ "name": "results",
575
+ "type": "bytes[]"
576
+ }
577
+ ],
578
+ "stateMutability": "payable",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [],
583
+ "name": "positionManager",
584
+ "outputs": [
585
+ {
586
+ "internalType": "address",
587
+ "name": "",
588
+ "type": "address"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "address",
598
+ "name": "token",
599
+ "type": "address"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "value",
604
+ "type": "uint256"
605
+ }
606
+ ],
607
+ "name": "pull",
608
+ "outputs": [],
609
+ "stateMutability": "payable",
610
+ "type": "function"
611
+ },
612
+ {
613
+ "inputs": [],
614
+ "name": "refundETH",
615
+ "outputs": [],
616
+ "stateMutability": "payable",
617
+ "type": "function"
618
+ },
619
+ {
620
+ "inputs": [
621
+ {
622
+ "internalType": "address",
623
+ "name": "token",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "value",
629
+ "type": "uint256"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "deadline",
634
+ "type": "uint256"
635
+ },
636
+ {
637
+ "internalType": "uint8",
638
+ "name": "v",
639
+ "type": "uint8"
640
+ },
641
+ {
642
+ "internalType": "bytes32",
643
+ "name": "r",
644
+ "type": "bytes32"
645
+ },
646
+ {
647
+ "internalType": "bytes32",
648
+ "name": "s",
649
+ "type": "bytes32"
650
+ }
651
+ ],
652
+ "name": "selfPermit",
653
+ "outputs": [],
654
+ "stateMutability": "payable",
655
+ "type": "function"
656
+ },
657
+ {
658
+ "inputs": [
659
+ {
660
+ "internalType": "address",
661
+ "name": "token",
662
+ "type": "address"
663
+ },
664
+ {
665
+ "internalType": "uint256",
666
+ "name": "nonce",
667
+ "type": "uint256"
668
+ },
669
+ {
670
+ "internalType": "uint256",
671
+ "name": "expiry",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "internalType": "uint8",
676
+ "name": "v",
677
+ "type": "uint8"
678
+ },
679
+ {
680
+ "internalType": "bytes32",
681
+ "name": "r",
682
+ "type": "bytes32"
683
+ },
684
+ {
685
+ "internalType": "bytes32",
686
+ "name": "s",
687
+ "type": "bytes32"
688
+ }
689
+ ],
690
+ "name": "selfPermitAllowed",
691
+ "outputs": [],
692
+ "stateMutability": "payable",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "internalType": "address",
699
+ "name": "token",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "nonce",
705
+ "type": "uint256"
706
+ },
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "expiry",
710
+ "type": "uint256"
711
+ },
712
+ {
713
+ "internalType": "uint8",
714
+ "name": "v",
715
+ "type": "uint8"
716
+ },
717
+ {
718
+ "internalType": "bytes32",
719
+ "name": "r",
720
+ "type": "bytes32"
721
+ },
722
+ {
723
+ "internalType": "bytes32",
724
+ "name": "s",
725
+ "type": "bytes32"
726
+ }
727
+ ],
728
+ "name": "selfPermitAllowedIfNecessary",
729
+ "outputs": [],
730
+ "stateMutability": "payable",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [
735
+ {
736
+ "internalType": "address",
737
+ "name": "token",
738
+ "type": "address"
739
+ },
740
+ {
741
+ "internalType": "uint256",
742
+ "name": "value",
743
+ "type": "uint256"
744
+ },
745
+ {
746
+ "internalType": "uint256",
747
+ "name": "deadline",
748
+ "type": "uint256"
749
+ },
750
+ {
751
+ "internalType": "uint8",
752
+ "name": "v",
753
+ "type": "uint8"
754
+ },
755
+ {
756
+ "internalType": "bytes32",
757
+ "name": "r",
758
+ "type": "bytes32"
759
+ },
760
+ {
761
+ "internalType": "bytes32",
762
+ "name": "s",
763
+ "type": "bytes32"
764
+ }
765
+ ],
766
+ "name": "selfPermitIfNecessary",
767
+ "outputs": [],
768
+ "stateMutability": "payable",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [
773
+ {
774
+ "internalType": "uint256",
775
+ "name": "amountIn",
776
+ "type": "uint256"
777
+ },
778
+ {
779
+ "internalType": "uint256",
780
+ "name": "amountOutMin",
781
+ "type": "uint256"
782
+ },
783
+ {
784
+ "internalType": "address[]",
785
+ "name": "path",
786
+ "type": "address[]"
787
+ },
788
+ {
789
+ "internalType": "address",
790
+ "name": "to",
791
+ "type": "address"
792
+ }
793
+ ],
794
+ "name": "swapExactTokensForTokens",
795
+ "outputs": [
796
+ {
797
+ "internalType": "uint256",
798
+ "name": "amountOut",
799
+ "type": "uint256"
800
+ }
801
+ ],
802
+ "stateMutability": "payable",
803
+ "type": "function"
804
+ },
805
+ {
806
+ "inputs": [
807
+ {
808
+ "internalType": "uint256",
809
+ "name": "amountOut",
810
+ "type": "uint256"
811
+ },
812
+ {
813
+ "internalType": "uint256",
814
+ "name": "amountInMax",
815
+ "type": "uint256"
816
+ },
817
+ {
818
+ "internalType": "address[]",
819
+ "name": "path",
820
+ "type": "address[]"
821
+ },
822
+ {
823
+ "internalType": "address",
824
+ "name": "to",
825
+ "type": "address"
826
+ }
827
+ ],
828
+ "name": "swapTokensForExactTokens",
829
+ "outputs": [
830
+ {
831
+ "internalType": "uint256",
832
+ "name": "amountIn",
833
+ "type": "uint256"
834
+ }
835
+ ],
836
+ "stateMutability": "payable",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [
841
+ {
842
+ "internalType": "address",
843
+ "name": "token",
844
+ "type": "address"
845
+ },
846
+ {
847
+ "internalType": "uint256",
848
+ "name": "amountMinimum",
849
+ "type": "uint256"
850
+ },
851
+ {
852
+ "internalType": "address",
853
+ "name": "recipient",
854
+ "type": "address"
855
+ }
856
+ ],
857
+ "name": "sweepToken",
858
+ "outputs": [],
859
+ "stateMutability": "payable",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [
864
+ {
865
+ "internalType": "address",
866
+ "name": "token",
867
+ "type": "address"
868
+ },
869
+ {
870
+ "internalType": "uint256",
871
+ "name": "amountMinimum",
872
+ "type": "uint256"
873
+ }
874
+ ],
875
+ "name": "sweepToken",
876
+ "outputs": [],
877
+ "stateMutability": "payable",
878
+ "type": "function"
879
+ },
880
+ {
881
+ "inputs": [
882
+ {
883
+ "internalType": "address",
884
+ "name": "token",
885
+ "type": "address"
886
+ },
887
+ {
888
+ "internalType": "uint256",
889
+ "name": "amountMinimum",
890
+ "type": "uint256"
891
+ },
892
+ {
893
+ "internalType": "uint256",
894
+ "name": "feeBips",
895
+ "type": "uint256"
896
+ },
897
+ {
898
+ "internalType": "address",
899
+ "name": "feeRecipient",
900
+ "type": "address"
901
+ }
902
+ ],
903
+ "name": "sweepTokenWithFee",
904
+ "outputs": [],
905
+ "stateMutability": "payable",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [
910
+ {
911
+ "internalType": "address",
912
+ "name": "token",
913
+ "type": "address"
914
+ },
915
+ {
916
+ "internalType": "uint256",
917
+ "name": "amountMinimum",
918
+ "type": "uint256"
919
+ },
920
+ {
921
+ "internalType": "address",
922
+ "name": "recipient",
923
+ "type": "address"
924
+ },
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "feeBips",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "address",
932
+ "name": "feeRecipient",
933
+ "type": "address"
934
+ }
935
+ ],
936
+ "name": "sweepTokenWithFee",
937
+ "outputs": [],
938
+ "stateMutability": "payable",
939
+ "type": "function"
940
+ },
941
+ {
942
+ "inputs": [
943
+ {
944
+ "internalType": "int256",
945
+ "name": "amount0Delta",
946
+ "type": "int256"
947
+ },
948
+ {
949
+ "internalType": "int256",
950
+ "name": "amount1Delta",
951
+ "type": "int256"
952
+ },
953
+ {
954
+ "internalType": "bytes",
955
+ "name": "_data",
956
+ "type": "bytes"
957
+ }
958
+ ],
959
+ "name": "uniswapV3SwapCallback",
960
+ "outputs": [],
961
+ "stateMutability": "nonpayable",
962
+ "type": "function"
963
+ },
964
+ {
965
+ "inputs": [
966
+ {
967
+ "internalType": "uint256",
968
+ "name": "amountMinimum",
969
+ "type": "uint256"
970
+ },
971
+ {
972
+ "internalType": "address",
973
+ "name": "recipient",
974
+ "type": "address"
975
+ }
976
+ ],
977
+ "name": "unwrapWETH9",
978
+ "outputs": [],
979
+ "stateMutability": "payable",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "internalType": "uint256",
986
+ "name": "amountMinimum",
987
+ "type": "uint256"
988
+ }
989
+ ],
990
+ "name": "unwrapWETH9",
991
+ "outputs": [],
992
+ "stateMutability": "payable",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "inputs": [
997
+ {
998
+ "internalType": "uint256",
999
+ "name": "amountMinimum",
1000
+ "type": "uint256"
1001
+ },
1002
+ {
1003
+ "internalType": "address",
1004
+ "name": "recipient",
1005
+ "type": "address"
1006
+ },
1007
+ {
1008
+ "internalType": "uint256",
1009
+ "name": "feeBips",
1010
+ "type": "uint256"
1011
+ },
1012
+ {
1013
+ "internalType": "address",
1014
+ "name": "feeRecipient",
1015
+ "type": "address"
1016
+ }
1017
+ ],
1018
+ "name": "unwrapWETH9WithFee",
1019
+ "outputs": [],
1020
+ "stateMutability": "payable",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "inputs": [
1025
+ {
1026
+ "internalType": "uint256",
1027
+ "name": "amountMinimum",
1028
+ "type": "uint256"
1029
+ },
1030
+ {
1031
+ "internalType": "uint256",
1032
+ "name": "feeBips",
1033
+ "type": "uint256"
1034
+ },
1035
+ {
1036
+ "internalType": "address",
1037
+ "name": "feeRecipient",
1038
+ "type": "address"
1039
+ }
1040
+ ],
1041
+ "name": "unwrapWETH9WithFee",
1042
+ "outputs": [],
1043
+ "stateMutability": "payable",
1044
+ "type": "function"
1045
+ },
1046
+ {
1047
+ "inputs": [
1048
+ {
1049
+ "internalType": "uint256",
1050
+ "name": "value",
1051
+ "type": "uint256"
1052
+ }
1053
+ ],
1054
+ "name": "wrapETH",
1055
+ "outputs": [],
1056
+ "stateMutability": "payable",
1057
+ "type": "function"
1058
+ },
1059
+ {
1060
+ "stateMutability": "payable",
1061
+ "type": "receive"
1062
+ }
1063
+ ]