@ripe-finance/sdk 1.14.2 → 1.15.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.
- package/dist/contracts/AuctionHouse.js +1 -1
- package/dist/contracts/BondRoom.js +1 -1
- package/dist/contracts/CreditEngine.d.ts +32 -0
- package/dist/contracts/CreditEngine.d.ts.map +1 -1
- package/dist/contracts/CreditEngine.js +41 -1
- package/dist/contracts/Deleverage.js +1 -1
- package/dist/contracts/Endaoment.d.ts +230 -1138
- package/dist/contracts/Endaoment.d.ts.map +1 -1
- package/dist/contracts/Endaoment.js +216 -1445
- package/dist/contracts/EndaomentFunds.d.ts +241 -0
- package/dist/contracts/EndaomentFunds.d.ts.map +1 -0
- package/dist/contracts/EndaomentFunds.js +278 -0
- package/dist/contracts/EndaomentPSM.d.ts +1229 -0
- package/dist/contracts/EndaomentPSM.d.ts.map +1 -0
- package/dist/contracts/EndaomentPSM.js +1538 -0
- package/dist/contracts/Lootbox.d.ts +184 -0
- package/dist/contracts/Lootbox.d.ts.map +1 -1
- package/dist/contracts/Lootbox.js +232 -1
- package/dist/contracts/PriceDesk.js +1 -1
- package/dist/contracts/PythPrices.d.ts +60 -8
- package/dist/contracts/PythPrices.d.ts.map +1 -1
- package/dist/contracts/PythPrices.js +77 -9
- package/dist/contracts/StorkPrices.d.ts +8 -8
- package/dist/contracts/StorkPrices.d.ts.map +1 -1
- package/dist/contracts/StorkPrices.js +9 -9
- package/dist/contracts/SwitchboardAlpha.d.ts +112 -0
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +145 -1
- package/dist/contracts/SwitchboardCharlie.d.ts +133 -1760
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +129 -2217
- package/dist/contracts/SwitchboardEcho.d.ts +3296 -0
- package/dist/contracts/SwitchboardEcho.d.ts.map +1 -0
- package/dist/contracts/SwitchboardEcho.js +4184 -0
- package/dist/contracts/index.d.ts +3 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +3 -0
- package/dist/contracts/sdk.d.ts +6 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +6 -0
- package/dist/index.d.ts +28 -37
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -71,23 +71,6 @@ export declare const abi: readonly [{
|
|
|
71
71
|
}];
|
|
72
72
|
readonly anonymous: false;
|
|
73
73
|
readonly type: "event";
|
|
74
|
-
}, {
|
|
75
|
-
readonly name: "EndaomentNftRecovered";
|
|
76
|
-
readonly inputs: readonly [{
|
|
77
|
-
readonly name: "collection";
|
|
78
|
-
readonly type: "address";
|
|
79
|
-
readonly indexed: true;
|
|
80
|
-
}, {
|
|
81
|
-
readonly name: "nftTokenId";
|
|
82
|
-
readonly type: "uint256";
|
|
83
|
-
readonly indexed: false;
|
|
84
|
-
}, {
|
|
85
|
-
readonly name: "recipient";
|
|
86
|
-
readonly type: "address";
|
|
87
|
-
readonly indexed: true;
|
|
88
|
-
}];
|
|
89
|
-
readonly anonymous: false;
|
|
90
|
-
readonly type: "event";
|
|
91
74
|
}, {
|
|
92
75
|
readonly name: "StabilizerPoolLiqAdded";
|
|
93
76
|
readonly inputs: readonly [{
|
|
@@ -353,29 +336,23 @@ export declare const abi: readonly [{
|
|
|
353
336
|
readonly type: "bool";
|
|
354
337
|
}];
|
|
355
338
|
}, {
|
|
356
|
-
readonly stateMutability: "
|
|
339
|
+
readonly stateMutability: "payable";
|
|
340
|
+
readonly type: "fallback";
|
|
341
|
+
}, {
|
|
342
|
+
readonly stateMutability: "nonpayable";
|
|
357
343
|
readonly type: "function";
|
|
358
|
-
readonly name: "
|
|
344
|
+
readonly name: "transferFundsToGov";
|
|
359
345
|
readonly inputs: readonly [{
|
|
360
|
-
readonly name: "
|
|
361
|
-
readonly type: "address";
|
|
362
|
-
}, {
|
|
363
|
-
readonly name: "_owner";
|
|
346
|
+
readonly name: "_asset";
|
|
364
347
|
readonly type: "address";
|
|
365
|
-
}, {
|
|
366
|
-
readonly name: "_tokenId";
|
|
367
|
-
readonly type: "uint256";
|
|
368
|
-
}, {
|
|
369
|
-
readonly name: "_data";
|
|
370
|
-
readonly type: "bytes";
|
|
371
348
|
}];
|
|
372
349
|
readonly outputs: readonly [{
|
|
373
350
|
readonly name: "";
|
|
374
|
-
readonly type: "
|
|
351
|
+
readonly type: "uint256";
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "";
|
|
354
|
+
readonly type: "uint256";
|
|
375
355
|
}];
|
|
376
|
-
}, {
|
|
377
|
-
readonly stateMutability: "payable";
|
|
378
|
-
readonly type: "fallback";
|
|
379
356
|
}, {
|
|
380
357
|
readonly stateMutability: "nonpayable";
|
|
381
358
|
readonly type: "function";
|
|
@@ -383,6 +360,9 @@ export declare const abi: readonly [{
|
|
|
383
360
|
readonly inputs: readonly [{
|
|
384
361
|
readonly name: "_asset";
|
|
385
362
|
readonly type: "address";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "_amount";
|
|
365
|
+
readonly type: "uint256";
|
|
386
366
|
}];
|
|
387
367
|
readonly outputs: readonly [{
|
|
388
368
|
readonly name: "";
|
|
@@ -394,11 +374,29 @@ export declare const abi: readonly [{
|
|
|
394
374
|
}, {
|
|
395
375
|
readonly stateMutability: "nonpayable";
|
|
396
376
|
readonly type: "function";
|
|
397
|
-
readonly name: "
|
|
377
|
+
readonly name: "transferFundsToVault";
|
|
398
378
|
readonly inputs: readonly [{
|
|
399
|
-
readonly name: "
|
|
400
|
-
readonly type: "address";
|
|
379
|
+
readonly name: "_assets";
|
|
380
|
+
readonly type: "address[]";
|
|
381
|
+
}];
|
|
382
|
+
readonly outputs: readonly [];
|
|
383
|
+
}, {
|
|
384
|
+
readonly stateMutability: "nonpayable";
|
|
385
|
+
readonly type: "function";
|
|
386
|
+
readonly name: "transferFundsToEndaomentPSM";
|
|
387
|
+
readonly inputs: readonly [];
|
|
388
|
+
readonly outputs: readonly [{
|
|
389
|
+
readonly name: "";
|
|
390
|
+
readonly type: "uint256";
|
|
401
391
|
}, {
|
|
392
|
+
readonly name: "";
|
|
393
|
+
readonly type: "uint256";
|
|
394
|
+
}];
|
|
395
|
+
}, {
|
|
396
|
+
readonly stateMutability: "nonpayable";
|
|
397
|
+
readonly type: "function";
|
|
398
|
+
readonly name: "transferFundsToEndaomentPSM";
|
|
399
|
+
readonly inputs: readonly [{
|
|
402
400
|
readonly name: "_amount";
|
|
403
401
|
readonly type: "uint256";
|
|
404
402
|
}];
|
|
@@ -607,18 +605,31 @@ export declare const abi: readonly [{
|
|
|
607
605
|
}, {
|
|
608
606
|
readonly stateMutability: "nonpayable";
|
|
609
607
|
readonly type: "function";
|
|
610
|
-
readonly name: "
|
|
608
|
+
readonly name: "swapTokens";
|
|
611
609
|
readonly inputs: readonly [{
|
|
612
|
-
readonly name: "
|
|
613
|
-
readonly type: "
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
610
|
+
readonly name: "_instructions";
|
|
611
|
+
readonly type: "tuple[]";
|
|
612
|
+
readonly components: readonly [{
|
|
613
|
+
readonly name: "legoId";
|
|
614
|
+
readonly type: "uint256";
|
|
615
|
+
}, {
|
|
616
|
+
readonly name: "amountIn";
|
|
617
|
+
readonly type: "uint256";
|
|
618
|
+
}, {
|
|
619
|
+
readonly name: "minAmountOut";
|
|
620
|
+
readonly type: "uint256";
|
|
621
|
+
}, {
|
|
622
|
+
readonly name: "tokenPath";
|
|
623
|
+
readonly type: "address[]";
|
|
624
|
+
}, {
|
|
625
|
+
readonly name: "poolPath";
|
|
626
|
+
readonly type: "address[]";
|
|
627
|
+
}];
|
|
620
628
|
}];
|
|
621
629
|
readonly outputs: readonly [{
|
|
630
|
+
readonly name: "";
|
|
631
|
+
readonly type: "address";
|
|
632
|
+
}, {
|
|
622
633
|
readonly name: "";
|
|
623
634
|
readonly type: "uint256";
|
|
624
635
|
}, {
|
|
@@ -634,27 +645,36 @@ export declare const abi: readonly [{
|
|
|
634
645
|
}, {
|
|
635
646
|
readonly stateMutability: "nonpayable";
|
|
636
647
|
readonly type: "function";
|
|
637
|
-
readonly name: "
|
|
648
|
+
readonly name: "claimIncentives";
|
|
638
649
|
readonly inputs: readonly [{
|
|
639
|
-
readonly name: "
|
|
640
|
-
readonly type: "uint256";
|
|
641
|
-
}, {
|
|
642
|
-
readonly name: "_fromVaultToken";
|
|
650
|
+
readonly name: "_user";
|
|
643
651
|
readonly type: "address";
|
|
644
652
|
}, {
|
|
645
|
-
readonly name: "
|
|
653
|
+
readonly name: "_legoId";
|
|
646
654
|
readonly type: "uint256";
|
|
647
|
-
}, {
|
|
648
|
-
readonly name: "_toVaultAddr";
|
|
649
|
-
readonly type: "address";
|
|
650
655
|
}];
|
|
651
656
|
readonly outputs: readonly [{
|
|
652
657
|
readonly name: "";
|
|
653
658
|
readonly type: "uint256";
|
|
654
659
|
}, {
|
|
655
660
|
readonly name: "";
|
|
661
|
+
readonly type: "uint256";
|
|
662
|
+
}];
|
|
663
|
+
}, {
|
|
664
|
+
readonly stateMutability: "nonpayable";
|
|
665
|
+
readonly type: "function";
|
|
666
|
+
readonly name: "claimIncentives";
|
|
667
|
+
readonly inputs: readonly [{
|
|
668
|
+
readonly name: "_user";
|
|
656
669
|
readonly type: "address";
|
|
657
670
|
}, {
|
|
671
|
+
readonly name: "_legoId";
|
|
672
|
+
readonly type: "uint256";
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "_rewardToken";
|
|
675
|
+
readonly type: "address";
|
|
676
|
+
}];
|
|
677
|
+
readonly outputs: readonly [{
|
|
658
678
|
readonly name: "";
|
|
659
679
|
readonly type: "uint256";
|
|
660
680
|
}, {
|
|
@@ -664,32 +684,23 @@ export declare const abi: readonly [{
|
|
|
664
684
|
}, {
|
|
665
685
|
readonly stateMutability: "nonpayable";
|
|
666
686
|
readonly type: "function";
|
|
667
|
-
readonly name: "
|
|
687
|
+
readonly name: "claimIncentives";
|
|
668
688
|
readonly inputs: readonly [{
|
|
669
|
-
readonly name: "
|
|
670
|
-
readonly type: "uint256";
|
|
671
|
-
}, {
|
|
672
|
-
readonly name: "_fromVaultToken";
|
|
689
|
+
readonly name: "_user";
|
|
673
690
|
readonly type: "address";
|
|
674
691
|
}, {
|
|
675
|
-
readonly name: "
|
|
692
|
+
readonly name: "_legoId";
|
|
676
693
|
readonly type: "uint256";
|
|
677
694
|
}, {
|
|
678
|
-
readonly name: "
|
|
695
|
+
readonly name: "_rewardToken";
|
|
679
696
|
readonly type: "address";
|
|
680
697
|
}, {
|
|
681
|
-
readonly name: "
|
|
698
|
+
readonly name: "_rewardAmount";
|
|
682
699
|
readonly type: "uint256";
|
|
683
700
|
}];
|
|
684
701
|
readonly outputs: readonly [{
|
|
685
702
|
readonly name: "";
|
|
686
703
|
readonly type: "uint256";
|
|
687
|
-
}, {
|
|
688
|
-
readonly name: "";
|
|
689
|
-
readonly type: "address";
|
|
690
|
-
}, {
|
|
691
|
-
readonly name: "";
|
|
692
|
-
readonly type: "uint256";
|
|
693
704
|
}, {
|
|
694
705
|
readonly name: "";
|
|
695
706
|
readonly type: "uint256";
|
|
@@ -697,33 +708,36 @@ export declare const abi: readonly [{
|
|
|
697
708
|
}, {
|
|
698
709
|
readonly stateMutability: "nonpayable";
|
|
699
710
|
readonly type: "function";
|
|
700
|
-
readonly name: "
|
|
711
|
+
readonly name: "claimIncentives";
|
|
701
712
|
readonly inputs: readonly [{
|
|
702
|
-
readonly name: "
|
|
703
|
-
readonly type: "uint256";
|
|
704
|
-
}, {
|
|
705
|
-
readonly name: "_fromVaultToken";
|
|
713
|
+
readonly name: "_user";
|
|
706
714
|
readonly type: "address";
|
|
707
715
|
}, {
|
|
708
|
-
readonly name: "
|
|
716
|
+
readonly name: "_legoId";
|
|
709
717
|
readonly type: "uint256";
|
|
710
718
|
}, {
|
|
711
|
-
readonly name: "
|
|
719
|
+
readonly name: "_rewardToken";
|
|
712
720
|
readonly type: "address";
|
|
713
721
|
}, {
|
|
714
|
-
readonly name: "
|
|
722
|
+
readonly name: "_rewardAmount";
|
|
715
723
|
readonly type: "uint256";
|
|
716
724
|
}, {
|
|
717
|
-
readonly name: "
|
|
718
|
-
readonly type: "bytes32";
|
|
725
|
+
readonly name: "_proofs";
|
|
726
|
+
readonly type: "bytes32[]";
|
|
719
727
|
}];
|
|
720
728
|
readonly outputs: readonly [{
|
|
721
729
|
readonly name: "";
|
|
722
730
|
readonly type: "uint256";
|
|
723
731
|
}, {
|
|
724
732
|
readonly name: "";
|
|
725
|
-
readonly type: "
|
|
726
|
-
}
|
|
733
|
+
readonly type: "uint256";
|
|
734
|
+
}];
|
|
735
|
+
}, {
|
|
736
|
+
readonly stateMutability: "nonpayable";
|
|
737
|
+
readonly type: "function";
|
|
738
|
+
readonly name: "convertEthToWeth";
|
|
739
|
+
readonly inputs: readonly [];
|
|
740
|
+
readonly outputs: readonly [{
|
|
727
741
|
readonly name: "";
|
|
728
742
|
readonly type: "uint256";
|
|
729
743
|
}, {
|
|
@@ -733,39 +747,41 @@ export declare const abi: readonly [{
|
|
|
733
747
|
}, {
|
|
734
748
|
readonly stateMutability: "nonpayable";
|
|
735
749
|
readonly type: "function";
|
|
736
|
-
readonly name: "
|
|
750
|
+
readonly name: "convertEthToWeth";
|
|
737
751
|
readonly inputs: readonly [{
|
|
738
|
-
readonly name: "
|
|
739
|
-
readonly type: "
|
|
740
|
-
readonly components: readonly [{
|
|
741
|
-
readonly name: "legoId";
|
|
742
|
-
readonly type: "uint256";
|
|
743
|
-
}, {
|
|
744
|
-
readonly name: "amountIn";
|
|
745
|
-
readonly type: "uint256";
|
|
746
|
-
}, {
|
|
747
|
-
readonly name: "minAmountOut";
|
|
748
|
-
readonly type: "uint256";
|
|
749
|
-
}, {
|
|
750
|
-
readonly name: "tokenPath";
|
|
751
|
-
readonly type: "address[]";
|
|
752
|
-
}, {
|
|
753
|
-
readonly name: "poolPath";
|
|
754
|
-
readonly type: "address[]";
|
|
755
|
-
}];
|
|
752
|
+
readonly name: "_amount";
|
|
753
|
+
readonly type: "uint256";
|
|
756
754
|
}];
|
|
757
755
|
readonly outputs: readonly [{
|
|
758
756
|
readonly name: "";
|
|
759
|
-
readonly type: "
|
|
757
|
+
readonly type: "uint256";
|
|
760
758
|
}, {
|
|
761
759
|
readonly name: "";
|
|
762
760
|
readonly type: "uint256";
|
|
763
|
-
}
|
|
761
|
+
}];
|
|
762
|
+
}, {
|
|
763
|
+
readonly stateMutability: "nonpayable";
|
|
764
|
+
readonly type: "function";
|
|
765
|
+
readonly name: "convertWethToEth";
|
|
766
|
+
readonly inputs: readonly [];
|
|
767
|
+
readonly outputs: readonly [{
|
|
764
768
|
readonly name: "";
|
|
765
|
-
readonly type: "
|
|
769
|
+
readonly type: "uint256";
|
|
766
770
|
}, {
|
|
767
771
|
readonly name: "";
|
|
768
772
|
readonly type: "uint256";
|
|
773
|
+
}];
|
|
774
|
+
}, {
|
|
775
|
+
readonly stateMutability: "nonpayable";
|
|
776
|
+
readonly type: "function";
|
|
777
|
+
readonly name: "convertWethToEth";
|
|
778
|
+
readonly inputs: readonly [{
|
|
779
|
+
readonly name: "_amount";
|
|
780
|
+
readonly type: "uint256";
|
|
781
|
+
}];
|
|
782
|
+
readonly outputs: readonly [{
|
|
783
|
+
readonly name: "";
|
|
784
|
+
readonly type: "uint256";
|
|
769
785
|
}, {
|
|
770
786
|
readonly name: "";
|
|
771
787
|
readonly type: "uint256";
|
|
@@ -773,15 +789,18 @@ export declare const abi: readonly [{
|
|
|
773
789
|
}, {
|
|
774
790
|
readonly stateMutability: "nonpayable";
|
|
775
791
|
readonly type: "function";
|
|
776
|
-
readonly name: "
|
|
792
|
+
readonly name: "addLiquidity";
|
|
777
793
|
readonly inputs: readonly [{
|
|
778
794
|
readonly name: "_legoId";
|
|
779
795
|
readonly type: "uint256";
|
|
780
796
|
}, {
|
|
781
|
-
readonly name: "
|
|
797
|
+
readonly name: "_pool";
|
|
798
|
+
readonly type: "address";
|
|
799
|
+
}, {
|
|
800
|
+
readonly name: "_tokenA";
|
|
782
801
|
readonly type: "address";
|
|
783
802
|
}, {
|
|
784
|
-
readonly name: "
|
|
803
|
+
readonly name: "_tokenB";
|
|
785
804
|
readonly type: "address";
|
|
786
805
|
}];
|
|
787
806
|
readonly outputs: readonly [{
|
|
@@ -792,7 +811,7 @@ export declare const abi: readonly [{
|
|
|
792
811
|
readonly type: "uint256";
|
|
793
812
|
}, {
|
|
794
813
|
readonly name: "";
|
|
795
|
-
readonly type: "
|
|
814
|
+
readonly type: "uint256";
|
|
796
815
|
}, {
|
|
797
816
|
readonly name: "";
|
|
798
817
|
readonly type: "uint256";
|
|
@@ -800,18 +819,21 @@ export declare const abi: readonly [{
|
|
|
800
819
|
}, {
|
|
801
820
|
readonly stateMutability: "nonpayable";
|
|
802
821
|
readonly type: "function";
|
|
803
|
-
readonly name: "
|
|
822
|
+
readonly name: "addLiquidity";
|
|
804
823
|
readonly inputs: readonly [{
|
|
805
824
|
readonly name: "_legoId";
|
|
806
825
|
readonly type: "uint256";
|
|
807
826
|
}, {
|
|
808
|
-
readonly name: "
|
|
827
|
+
readonly name: "_pool";
|
|
828
|
+
readonly type: "address";
|
|
829
|
+
}, {
|
|
830
|
+
readonly name: "_tokenA";
|
|
809
831
|
readonly type: "address";
|
|
810
832
|
}, {
|
|
811
|
-
readonly name: "
|
|
833
|
+
readonly name: "_tokenB";
|
|
812
834
|
readonly type: "address";
|
|
813
835
|
}, {
|
|
814
|
-
readonly name: "
|
|
836
|
+
readonly name: "_amountA";
|
|
815
837
|
readonly type: "uint256";
|
|
816
838
|
}];
|
|
817
839
|
readonly outputs: readonly [{
|
|
@@ -822,7 +844,7 @@ export declare const abi: readonly [{
|
|
|
822
844
|
readonly type: "uint256";
|
|
823
845
|
}, {
|
|
824
846
|
readonly name: "";
|
|
825
|
-
readonly type: "
|
|
847
|
+
readonly type: "uint256";
|
|
826
848
|
}, {
|
|
827
849
|
readonly name: "";
|
|
828
850
|
readonly type: "uint256";
|
|
@@ -830,21 +852,24 @@ export declare const abi: readonly [{
|
|
|
830
852
|
}, {
|
|
831
853
|
readonly stateMutability: "nonpayable";
|
|
832
854
|
readonly type: "function";
|
|
833
|
-
readonly name: "
|
|
855
|
+
readonly name: "addLiquidity";
|
|
834
856
|
readonly inputs: readonly [{
|
|
835
857
|
readonly name: "_legoId";
|
|
836
858
|
readonly type: "uint256";
|
|
837
859
|
}, {
|
|
838
|
-
readonly name: "
|
|
860
|
+
readonly name: "_pool";
|
|
861
|
+
readonly type: "address";
|
|
862
|
+
}, {
|
|
863
|
+
readonly name: "_tokenA";
|
|
839
864
|
readonly type: "address";
|
|
840
865
|
}, {
|
|
841
|
-
readonly name: "
|
|
866
|
+
readonly name: "_tokenB";
|
|
842
867
|
readonly type: "address";
|
|
843
868
|
}, {
|
|
844
|
-
readonly name: "
|
|
869
|
+
readonly name: "_amountA";
|
|
845
870
|
readonly type: "uint256";
|
|
846
871
|
}, {
|
|
847
|
-
readonly name: "
|
|
872
|
+
readonly name: "_amountB";
|
|
848
873
|
readonly type: "uint256";
|
|
849
874
|
}];
|
|
850
875
|
readonly outputs: readonly [{
|
|
@@ -855,7 +880,7 @@ export declare const abi: readonly [{
|
|
|
855
880
|
readonly type: "uint256";
|
|
856
881
|
}, {
|
|
857
882
|
readonly name: "";
|
|
858
|
-
readonly type: "
|
|
883
|
+
readonly type: "uint256";
|
|
859
884
|
}, {
|
|
860
885
|
readonly name: "";
|
|
861
886
|
readonly type: "uint256";
|
|
@@ -863,25 +888,28 @@ export declare const abi: readonly [{
|
|
|
863
888
|
}, {
|
|
864
889
|
readonly stateMutability: "nonpayable";
|
|
865
890
|
readonly type: "function";
|
|
866
|
-
readonly name: "
|
|
891
|
+
readonly name: "addLiquidity";
|
|
867
892
|
readonly inputs: readonly [{
|
|
868
893
|
readonly name: "_legoId";
|
|
869
894
|
readonly type: "uint256";
|
|
870
895
|
}, {
|
|
871
|
-
readonly name: "
|
|
896
|
+
readonly name: "_pool";
|
|
897
|
+
readonly type: "address";
|
|
898
|
+
}, {
|
|
899
|
+
readonly name: "_tokenA";
|
|
872
900
|
readonly type: "address";
|
|
873
901
|
}, {
|
|
874
|
-
readonly name: "
|
|
902
|
+
readonly name: "_tokenB";
|
|
875
903
|
readonly type: "address";
|
|
876
904
|
}, {
|
|
877
|
-
readonly name: "
|
|
905
|
+
readonly name: "_amountA";
|
|
878
906
|
readonly type: "uint256";
|
|
879
907
|
}, {
|
|
880
|
-
readonly name: "
|
|
908
|
+
readonly name: "_amountB";
|
|
881
909
|
readonly type: "uint256";
|
|
882
910
|
}, {
|
|
883
|
-
readonly name: "
|
|
884
|
-
readonly type: "
|
|
911
|
+
readonly name: "_minAmountA";
|
|
912
|
+
readonly type: "uint256";
|
|
885
913
|
}];
|
|
886
914
|
readonly outputs: readonly [{
|
|
887
915
|
readonly name: "";
|
|
@@ -891,7 +919,7 @@ export declare const abi: readonly [{
|
|
|
891
919
|
readonly type: "uint256";
|
|
892
920
|
}, {
|
|
893
921
|
readonly name: "";
|
|
894
|
-
readonly type: "
|
|
922
|
+
readonly type: "uint256";
|
|
895
923
|
}, {
|
|
896
924
|
readonly name: "";
|
|
897
925
|
readonly type: "uint256";
|
|
@@ -899,16 +927,31 @@ export declare const abi: readonly [{
|
|
|
899
927
|
}, {
|
|
900
928
|
readonly stateMutability: "nonpayable";
|
|
901
929
|
readonly type: "function";
|
|
902
|
-
readonly name: "
|
|
930
|
+
readonly name: "addLiquidity";
|
|
903
931
|
readonly inputs: readonly [{
|
|
904
932
|
readonly name: "_legoId";
|
|
905
933
|
readonly type: "uint256";
|
|
906
934
|
}, {
|
|
907
|
-
readonly name: "
|
|
935
|
+
readonly name: "_pool";
|
|
936
|
+
readonly type: "address";
|
|
937
|
+
}, {
|
|
938
|
+
readonly name: "_tokenA";
|
|
908
939
|
readonly type: "address";
|
|
909
940
|
}, {
|
|
910
|
-
readonly name: "
|
|
941
|
+
readonly name: "_tokenB";
|
|
911
942
|
readonly type: "address";
|
|
943
|
+
}, {
|
|
944
|
+
readonly name: "_amountA";
|
|
945
|
+
readonly type: "uint256";
|
|
946
|
+
}, {
|
|
947
|
+
readonly name: "_amountB";
|
|
948
|
+
readonly type: "uint256";
|
|
949
|
+
}, {
|
|
950
|
+
readonly name: "_minAmountA";
|
|
951
|
+
readonly type: "uint256";
|
|
952
|
+
}, {
|
|
953
|
+
readonly name: "_minAmountB";
|
|
954
|
+
readonly type: "uint256";
|
|
912
955
|
}];
|
|
913
956
|
readonly outputs: readonly [{
|
|
914
957
|
readonly name: "";
|
|
@@ -916,788 +959,44 @@ export declare const abi: readonly [{
|
|
|
916
959
|
}, {
|
|
917
960
|
readonly name: "";
|
|
918
961
|
readonly type: "uint256";
|
|
962
|
+
}, {
|
|
963
|
+
readonly name: "";
|
|
964
|
+
readonly type: "uint256";
|
|
965
|
+
}, {
|
|
966
|
+
readonly name: "";
|
|
967
|
+
readonly type: "uint256";
|
|
919
968
|
}];
|
|
920
969
|
}, {
|
|
921
970
|
readonly stateMutability: "nonpayable";
|
|
922
971
|
readonly type: "function";
|
|
923
|
-
readonly name: "
|
|
972
|
+
readonly name: "addLiquidity";
|
|
924
973
|
readonly inputs: readonly [{
|
|
925
974
|
readonly name: "_legoId";
|
|
926
975
|
readonly type: "uint256";
|
|
927
976
|
}, {
|
|
928
|
-
readonly name: "
|
|
977
|
+
readonly name: "_pool";
|
|
929
978
|
readonly type: "address";
|
|
930
979
|
}, {
|
|
931
|
-
readonly name: "
|
|
980
|
+
readonly name: "_tokenA";
|
|
932
981
|
readonly type: "address";
|
|
933
982
|
}, {
|
|
934
|
-
readonly name: "
|
|
935
|
-
readonly type: "
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
readonly name: "";
|
|
983
|
+
readonly name: "_tokenB";
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
}, {
|
|
986
|
+
readonly name: "_amountA";
|
|
939
987
|
readonly type: "uint256";
|
|
940
988
|
}, {
|
|
941
|
-
readonly name: "";
|
|
942
|
-
readonly type: "uint256";
|
|
943
|
-
}];
|
|
944
|
-
}, {
|
|
945
|
-
readonly stateMutability: "nonpayable";
|
|
946
|
-
readonly type: "function";
|
|
947
|
-
readonly name: "claimRewards";
|
|
948
|
-
readonly inputs: readonly [{
|
|
949
|
-
readonly name: "_legoId";
|
|
950
|
-
readonly type: "uint256";
|
|
951
|
-
}];
|
|
952
|
-
readonly outputs: readonly [{
|
|
953
|
-
readonly name: "";
|
|
954
|
-
readonly type: "uint256";
|
|
955
|
-
}, {
|
|
956
|
-
readonly name: "";
|
|
957
|
-
readonly type: "uint256";
|
|
958
|
-
}];
|
|
959
|
-
}, {
|
|
960
|
-
readonly stateMutability: "nonpayable";
|
|
961
|
-
readonly type: "function";
|
|
962
|
-
readonly name: "claimRewards";
|
|
963
|
-
readonly inputs: readonly [{
|
|
964
|
-
readonly name: "_legoId";
|
|
965
|
-
readonly type: "uint256";
|
|
966
|
-
}, {
|
|
967
|
-
readonly name: "_rewardToken";
|
|
968
|
-
readonly type: "address";
|
|
969
|
-
}];
|
|
970
|
-
readonly outputs: readonly [{
|
|
971
|
-
readonly name: "";
|
|
972
|
-
readonly type: "uint256";
|
|
973
|
-
}, {
|
|
974
|
-
readonly name: "";
|
|
975
|
-
readonly type: "uint256";
|
|
976
|
-
}];
|
|
977
|
-
}, {
|
|
978
|
-
readonly stateMutability: "nonpayable";
|
|
979
|
-
readonly type: "function";
|
|
980
|
-
readonly name: "claimRewards";
|
|
981
|
-
readonly inputs: readonly [{
|
|
982
|
-
readonly name: "_legoId";
|
|
983
|
-
readonly type: "uint256";
|
|
984
|
-
}, {
|
|
985
|
-
readonly name: "_rewardToken";
|
|
986
|
-
readonly type: "address";
|
|
987
|
-
}, {
|
|
988
|
-
readonly name: "_rewardAmount";
|
|
989
|
-
readonly type: "uint256";
|
|
990
|
-
}];
|
|
991
|
-
readonly outputs: readonly [{
|
|
992
|
-
readonly name: "";
|
|
993
|
-
readonly type: "uint256";
|
|
994
|
-
}, {
|
|
995
|
-
readonly name: "";
|
|
996
|
-
readonly type: "uint256";
|
|
997
|
-
}];
|
|
998
|
-
}, {
|
|
999
|
-
readonly stateMutability: "nonpayable";
|
|
1000
|
-
readonly type: "function";
|
|
1001
|
-
readonly name: "claimRewards";
|
|
1002
|
-
readonly inputs: readonly [{
|
|
1003
|
-
readonly name: "_legoId";
|
|
1004
|
-
readonly type: "uint256";
|
|
1005
|
-
}, {
|
|
1006
|
-
readonly name: "_rewardToken";
|
|
1007
|
-
readonly type: "address";
|
|
1008
|
-
}, {
|
|
1009
|
-
readonly name: "_rewardAmount";
|
|
1010
|
-
readonly type: "uint256";
|
|
1011
|
-
}, {
|
|
1012
|
-
readonly name: "_extraData";
|
|
1013
|
-
readonly type: "bytes32";
|
|
1014
|
-
}];
|
|
1015
|
-
readonly outputs: readonly [{
|
|
1016
|
-
readonly name: "";
|
|
1017
|
-
readonly type: "uint256";
|
|
1018
|
-
}, {
|
|
1019
|
-
readonly name: "";
|
|
1020
|
-
readonly type: "uint256";
|
|
1021
|
-
}];
|
|
1022
|
-
}, {
|
|
1023
|
-
readonly stateMutability: "payable";
|
|
1024
|
-
readonly type: "function";
|
|
1025
|
-
readonly name: "convertEthToWeth";
|
|
1026
|
-
readonly inputs: readonly [];
|
|
1027
|
-
readonly outputs: readonly [{
|
|
1028
|
-
readonly name: "";
|
|
1029
|
-
readonly type: "uint256";
|
|
1030
|
-
}, {
|
|
1031
|
-
readonly name: "";
|
|
1032
|
-
readonly type: "uint256";
|
|
1033
|
-
}];
|
|
1034
|
-
}, {
|
|
1035
|
-
readonly stateMutability: "payable";
|
|
1036
|
-
readonly type: "function";
|
|
1037
|
-
readonly name: "convertEthToWeth";
|
|
1038
|
-
readonly inputs: readonly [{
|
|
1039
|
-
readonly name: "_amount";
|
|
1040
|
-
readonly type: "uint256";
|
|
1041
|
-
}];
|
|
1042
|
-
readonly outputs: readonly [{
|
|
1043
|
-
readonly name: "";
|
|
1044
|
-
readonly type: "uint256";
|
|
1045
|
-
}, {
|
|
1046
|
-
readonly name: "";
|
|
1047
|
-
readonly type: "uint256";
|
|
1048
|
-
}];
|
|
1049
|
-
}, {
|
|
1050
|
-
readonly stateMutability: "nonpayable";
|
|
1051
|
-
readonly type: "function";
|
|
1052
|
-
readonly name: "convertWethToEth";
|
|
1053
|
-
readonly inputs: readonly [];
|
|
1054
|
-
readonly outputs: readonly [{
|
|
1055
|
-
readonly name: "";
|
|
1056
|
-
readonly type: "uint256";
|
|
1057
|
-
}, {
|
|
1058
|
-
readonly name: "";
|
|
1059
|
-
readonly type: "uint256";
|
|
1060
|
-
}];
|
|
1061
|
-
}, {
|
|
1062
|
-
readonly stateMutability: "nonpayable";
|
|
1063
|
-
readonly type: "function";
|
|
1064
|
-
readonly name: "convertWethToEth";
|
|
1065
|
-
readonly inputs: readonly [{
|
|
1066
|
-
readonly name: "_amount";
|
|
1067
|
-
readonly type: "uint256";
|
|
1068
|
-
}];
|
|
1069
|
-
readonly outputs: readonly [{
|
|
1070
|
-
readonly name: "";
|
|
1071
|
-
readonly type: "uint256";
|
|
1072
|
-
}, {
|
|
1073
|
-
readonly name: "";
|
|
1074
|
-
readonly type: "uint256";
|
|
1075
|
-
}];
|
|
1076
|
-
}, {
|
|
1077
|
-
readonly stateMutability: "nonpayable";
|
|
1078
|
-
readonly type: "function";
|
|
1079
|
-
readonly name: "addLiquidity";
|
|
1080
|
-
readonly inputs: readonly [{
|
|
1081
|
-
readonly name: "_legoId";
|
|
1082
|
-
readonly type: "uint256";
|
|
1083
|
-
}, {
|
|
1084
|
-
readonly name: "_pool";
|
|
1085
|
-
readonly type: "address";
|
|
1086
|
-
}, {
|
|
1087
|
-
readonly name: "_tokenA";
|
|
1088
|
-
readonly type: "address";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly name: "_tokenB";
|
|
1091
|
-
readonly type: "address";
|
|
1092
|
-
}];
|
|
1093
|
-
readonly outputs: readonly [{
|
|
1094
|
-
readonly name: "";
|
|
1095
|
-
readonly type: "uint256";
|
|
1096
|
-
}, {
|
|
1097
|
-
readonly name: "";
|
|
1098
|
-
readonly type: "uint256";
|
|
1099
|
-
}, {
|
|
1100
|
-
readonly name: "";
|
|
1101
|
-
readonly type: "uint256";
|
|
1102
|
-
}, {
|
|
1103
|
-
readonly name: "";
|
|
1104
|
-
readonly type: "uint256";
|
|
1105
|
-
}];
|
|
1106
|
-
}, {
|
|
1107
|
-
readonly stateMutability: "nonpayable";
|
|
1108
|
-
readonly type: "function";
|
|
1109
|
-
readonly name: "addLiquidity";
|
|
1110
|
-
readonly inputs: readonly [{
|
|
1111
|
-
readonly name: "_legoId";
|
|
1112
|
-
readonly type: "uint256";
|
|
1113
|
-
}, {
|
|
1114
|
-
readonly name: "_pool";
|
|
1115
|
-
readonly type: "address";
|
|
1116
|
-
}, {
|
|
1117
|
-
readonly name: "_tokenA";
|
|
1118
|
-
readonly type: "address";
|
|
1119
|
-
}, {
|
|
1120
|
-
readonly name: "_tokenB";
|
|
1121
|
-
readonly type: "address";
|
|
1122
|
-
}, {
|
|
1123
|
-
readonly name: "_amountA";
|
|
1124
|
-
readonly type: "uint256";
|
|
1125
|
-
}];
|
|
1126
|
-
readonly outputs: readonly [{
|
|
1127
|
-
readonly name: "";
|
|
1128
|
-
readonly type: "uint256";
|
|
1129
|
-
}, {
|
|
1130
|
-
readonly name: "";
|
|
1131
|
-
readonly type: "uint256";
|
|
1132
|
-
}, {
|
|
1133
|
-
readonly name: "";
|
|
1134
|
-
readonly type: "uint256";
|
|
1135
|
-
}, {
|
|
1136
|
-
readonly name: "";
|
|
1137
|
-
readonly type: "uint256";
|
|
1138
|
-
}];
|
|
1139
|
-
}, {
|
|
1140
|
-
readonly stateMutability: "nonpayable";
|
|
1141
|
-
readonly type: "function";
|
|
1142
|
-
readonly name: "addLiquidity";
|
|
1143
|
-
readonly inputs: readonly [{
|
|
1144
|
-
readonly name: "_legoId";
|
|
1145
|
-
readonly type: "uint256";
|
|
1146
|
-
}, {
|
|
1147
|
-
readonly name: "_pool";
|
|
1148
|
-
readonly type: "address";
|
|
1149
|
-
}, {
|
|
1150
|
-
readonly name: "_tokenA";
|
|
1151
|
-
readonly type: "address";
|
|
1152
|
-
}, {
|
|
1153
|
-
readonly name: "_tokenB";
|
|
1154
|
-
readonly type: "address";
|
|
1155
|
-
}, {
|
|
1156
|
-
readonly name: "_amountA";
|
|
1157
|
-
readonly type: "uint256";
|
|
1158
|
-
}, {
|
|
1159
|
-
readonly name: "_amountB";
|
|
1160
|
-
readonly type: "uint256";
|
|
1161
|
-
}];
|
|
1162
|
-
readonly outputs: readonly [{
|
|
1163
|
-
readonly name: "";
|
|
1164
|
-
readonly type: "uint256";
|
|
1165
|
-
}, {
|
|
1166
|
-
readonly name: "";
|
|
1167
|
-
readonly type: "uint256";
|
|
1168
|
-
}, {
|
|
1169
|
-
readonly name: "";
|
|
1170
|
-
readonly type: "uint256";
|
|
1171
|
-
}, {
|
|
1172
|
-
readonly name: "";
|
|
1173
|
-
readonly type: "uint256";
|
|
1174
|
-
}];
|
|
1175
|
-
}, {
|
|
1176
|
-
readonly stateMutability: "nonpayable";
|
|
1177
|
-
readonly type: "function";
|
|
1178
|
-
readonly name: "addLiquidity";
|
|
1179
|
-
readonly inputs: readonly [{
|
|
1180
|
-
readonly name: "_legoId";
|
|
1181
|
-
readonly type: "uint256";
|
|
1182
|
-
}, {
|
|
1183
|
-
readonly name: "_pool";
|
|
1184
|
-
readonly type: "address";
|
|
1185
|
-
}, {
|
|
1186
|
-
readonly name: "_tokenA";
|
|
1187
|
-
readonly type: "address";
|
|
1188
|
-
}, {
|
|
1189
|
-
readonly name: "_tokenB";
|
|
1190
|
-
readonly type: "address";
|
|
1191
|
-
}, {
|
|
1192
|
-
readonly name: "_amountA";
|
|
1193
|
-
readonly type: "uint256";
|
|
1194
|
-
}, {
|
|
1195
|
-
readonly name: "_amountB";
|
|
1196
|
-
readonly type: "uint256";
|
|
1197
|
-
}, {
|
|
1198
|
-
readonly name: "_minAmountA";
|
|
1199
|
-
readonly type: "uint256";
|
|
1200
|
-
}];
|
|
1201
|
-
readonly outputs: readonly [{
|
|
1202
|
-
readonly name: "";
|
|
1203
|
-
readonly type: "uint256";
|
|
1204
|
-
}, {
|
|
1205
|
-
readonly name: "";
|
|
1206
|
-
readonly type: "uint256";
|
|
1207
|
-
}, {
|
|
1208
|
-
readonly name: "";
|
|
1209
|
-
readonly type: "uint256";
|
|
1210
|
-
}, {
|
|
1211
|
-
readonly name: "";
|
|
1212
|
-
readonly type: "uint256";
|
|
1213
|
-
}];
|
|
1214
|
-
}, {
|
|
1215
|
-
readonly stateMutability: "nonpayable";
|
|
1216
|
-
readonly type: "function";
|
|
1217
|
-
readonly name: "addLiquidity";
|
|
1218
|
-
readonly inputs: readonly [{
|
|
1219
|
-
readonly name: "_legoId";
|
|
1220
|
-
readonly type: "uint256";
|
|
1221
|
-
}, {
|
|
1222
|
-
readonly name: "_pool";
|
|
1223
|
-
readonly type: "address";
|
|
1224
|
-
}, {
|
|
1225
|
-
readonly name: "_tokenA";
|
|
1226
|
-
readonly type: "address";
|
|
1227
|
-
}, {
|
|
1228
|
-
readonly name: "_tokenB";
|
|
1229
|
-
readonly type: "address";
|
|
1230
|
-
}, {
|
|
1231
|
-
readonly name: "_amountA";
|
|
1232
|
-
readonly type: "uint256";
|
|
1233
|
-
}, {
|
|
1234
|
-
readonly name: "_amountB";
|
|
1235
|
-
readonly type: "uint256";
|
|
1236
|
-
}, {
|
|
1237
|
-
readonly name: "_minAmountA";
|
|
1238
|
-
readonly type: "uint256";
|
|
1239
|
-
}, {
|
|
1240
|
-
readonly name: "_minAmountB";
|
|
1241
|
-
readonly type: "uint256";
|
|
1242
|
-
}];
|
|
1243
|
-
readonly outputs: readonly [{
|
|
1244
|
-
readonly name: "";
|
|
1245
|
-
readonly type: "uint256";
|
|
1246
|
-
}, {
|
|
1247
|
-
readonly name: "";
|
|
1248
|
-
readonly type: "uint256";
|
|
1249
|
-
}, {
|
|
1250
|
-
readonly name: "";
|
|
1251
|
-
readonly type: "uint256";
|
|
1252
|
-
}, {
|
|
1253
|
-
readonly name: "";
|
|
1254
|
-
readonly type: "uint256";
|
|
1255
|
-
}];
|
|
1256
|
-
}, {
|
|
1257
|
-
readonly stateMutability: "nonpayable";
|
|
1258
|
-
readonly type: "function";
|
|
1259
|
-
readonly name: "addLiquidity";
|
|
1260
|
-
readonly inputs: readonly [{
|
|
1261
|
-
readonly name: "_legoId";
|
|
1262
|
-
readonly type: "uint256";
|
|
1263
|
-
}, {
|
|
1264
|
-
readonly name: "_pool";
|
|
1265
|
-
readonly type: "address";
|
|
1266
|
-
}, {
|
|
1267
|
-
readonly name: "_tokenA";
|
|
1268
|
-
readonly type: "address";
|
|
1269
|
-
}, {
|
|
1270
|
-
readonly name: "_tokenB";
|
|
1271
|
-
readonly type: "address";
|
|
1272
|
-
}, {
|
|
1273
|
-
readonly name: "_amountA";
|
|
1274
|
-
readonly type: "uint256";
|
|
1275
|
-
}, {
|
|
1276
|
-
readonly name: "_amountB";
|
|
1277
|
-
readonly type: "uint256";
|
|
1278
|
-
}, {
|
|
1279
|
-
readonly name: "_minAmountA";
|
|
1280
|
-
readonly type: "uint256";
|
|
1281
|
-
}, {
|
|
1282
|
-
readonly name: "_minAmountB";
|
|
1283
|
-
readonly type: "uint256";
|
|
1284
|
-
}, {
|
|
1285
|
-
readonly name: "_minLpAmount";
|
|
1286
|
-
readonly type: "uint256";
|
|
1287
|
-
}];
|
|
1288
|
-
readonly outputs: readonly [{
|
|
1289
|
-
readonly name: "";
|
|
1290
|
-
readonly type: "uint256";
|
|
1291
|
-
}, {
|
|
1292
|
-
readonly name: "";
|
|
1293
|
-
readonly type: "uint256";
|
|
1294
|
-
}, {
|
|
1295
|
-
readonly name: "";
|
|
1296
|
-
readonly type: "uint256";
|
|
1297
|
-
}, {
|
|
1298
|
-
readonly name: "";
|
|
1299
|
-
readonly type: "uint256";
|
|
1300
|
-
}];
|
|
1301
|
-
}, {
|
|
1302
|
-
readonly stateMutability: "nonpayable";
|
|
1303
|
-
readonly type: "function";
|
|
1304
|
-
readonly name: "addLiquidity";
|
|
1305
|
-
readonly inputs: readonly [{
|
|
1306
|
-
readonly name: "_legoId";
|
|
1307
|
-
readonly type: "uint256";
|
|
1308
|
-
}, {
|
|
1309
|
-
readonly name: "_pool";
|
|
1310
|
-
readonly type: "address";
|
|
1311
|
-
}, {
|
|
1312
|
-
readonly name: "_tokenA";
|
|
1313
|
-
readonly type: "address";
|
|
1314
|
-
}, {
|
|
1315
|
-
readonly name: "_tokenB";
|
|
1316
|
-
readonly type: "address";
|
|
1317
|
-
}, {
|
|
1318
|
-
readonly name: "_amountA";
|
|
1319
|
-
readonly type: "uint256";
|
|
1320
|
-
}, {
|
|
1321
|
-
readonly name: "_amountB";
|
|
1322
|
-
readonly type: "uint256";
|
|
1323
|
-
}, {
|
|
1324
|
-
readonly name: "_minAmountA";
|
|
1325
|
-
readonly type: "uint256";
|
|
1326
|
-
}, {
|
|
1327
|
-
readonly name: "_minAmountB";
|
|
1328
|
-
readonly type: "uint256";
|
|
1329
|
-
}, {
|
|
1330
|
-
readonly name: "_minLpAmount";
|
|
1331
|
-
readonly type: "uint256";
|
|
1332
|
-
}, {
|
|
1333
|
-
readonly name: "_extraData";
|
|
1334
|
-
readonly type: "bytes32";
|
|
1335
|
-
}];
|
|
1336
|
-
readonly outputs: readonly [{
|
|
1337
|
-
readonly name: "";
|
|
1338
|
-
readonly type: "uint256";
|
|
1339
|
-
}, {
|
|
1340
|
-
readonly name: "";
|
|
1341
|
-
readonly type: "uint256";
|
|
1342
|
-
}, {
|
|
1343
|
-
readonly name: "";
|
|
1344
|
-
readonly type: "uint256";
|
|
1345
|
-
}, {
|
|
1346
|
-
readonly name: "";
|
|
1347
|
-
readonly type: "uint256";
|
|
1348
|
-
}];
|
|
1349
|
-
}, {
|
|
1350
|
-
readonly stateMutability: "nonpayable";
|
|
1351
|
-
readonly type: "function";
|
|
1352
|
-
readonly name: "removeLiquidity";
|
|
1353
|
-
readonly inputs: readonly [{
|
|
1354
|
-
readonly name: "_legoId";
|
|
1355
|
-
readonly type: "uint256";
|
|
1356
|
-
}, {
|
|
1357
|
-
readonly name: "_pool";
|
|
1358
|
-
readonly type: "address";
|
|
1359
|
-
}, {
|
|
1360
|
-
readonly name: "_tokenA";
|
|
1361
|
-
readonly type: "address";
|
|
1362
|
-
}, {
|
|
1363
|
-
readonly name: "_tokenB";
|
|
1364
|
-
readonly type: "address";
|
|
1365
|
-
}, {
|
|
1366
|
-
readonly name: "_lpToken";
|
|
1367
|
-
readonly type: "address";
|
|
1368
|
-
}];
|
|
1369
|
-
readonly outputs: readonly [{
|
|
1370
|
-
readonly name: "";
|
|
1371
|
-
readonly type: "uint256";
|
|
1372
|
-
}, {
|
|
1373
|
-
readonly name: "";
|
|
1374
|
-
readonly type: "uint256";
|
|
1375
|
-
}, {
|
|
1376
|
-
readonly name: "";
|
|
1377
|
-
readonly type: "uint256";
|
|
1378
|
-
}, {
|
|
1379
|
-
readonly name: "";
|
|
1380
|
-
readonly type: "uint256";
|
|
1381
|
-
}];
|
|
1382
|
-
}, {
|
|
1383
|
-
readonly stateMutability: "nonpayable";
|
|
1384
|
-
readonly type: "function";
|
|
1385
|
-
readonly name: "removeLiquidity";
|
|
1386
|
-
readonly inputs: readonly [{
|
|
1387
|
-
readonly name: "_legoId";
|
|
1388
|
-
readonly type: "uint256";
|
|
1389
|
-
}, {
|
|
1390
|
-
readonly name: "_pool";
|
|
1391
|
-
readonly type: "address";
|
|
1392
|
-
}, {
|
|
1393
|
-
readonly name: "_tokenA";
|
|
1394
|
-
readonly type: "address";
|
|
1395
|
-
}, {
|
|
1396
|
-
readonly name: "_tokenB";
|
|
1397
|
-
readonly type: "address";
|
|
1398
|
-
}, {
|
|
1399
|
-
readonly name: "_lpToken";
|
|
1400
|
-
readonly type: "address";
|
|
1401
|
-
}, {
|
|
1402
|
-
readonly name: "_lpAmount";
|
|
1403
|
-
readonly type: "uint256";
|
|
1404
|
-
}];
|
|
1405
|
-
readonly outputs: readonly [{
|
|
1406
|
-
readonly name: "";
|
|
1407
|
-
readonly type: "uint256";
|
|
1408
|
-
}, {
|
|
1409
|
-
readonly name: "";
|
|
1410
|
-
readonly type: "uint256";
|
|
1411
|
-
}, {
|
|
1412
|
-
readonly name: "";
|
|
1413
|
-
readonly type: "uint256";
|
|
1414
|
-
}, {
|
|
1415
|
-
readonly name: "";
|
|
1416
|
-
readonly type: "uint256";
|
|
1417
|
-
}];
|
|
1418
|
-
}, {
|
|
1419
|
-
readonly stateMutability: "nonpayable";
|
|
1420
|
-
readonly type: "function";
|
|
1421
|
-
readonly name: "removeLiquidity";
|
|
1422
|
-
readonly inputs: readonly [{
|
|
1423
|
-
readonly name: "_legoId";
|
|
1424
|
-
readonly type: "uint256";
|
|
1425
|
-
}, {
|
|
1426
|
-
readonly name: "_pool";
|
|
1427
|
-
readonly type: "address";
|
|
1428
|
-
}, {
|
|
1429
|
-
readonly name: "_tokenA";
|
|
1430
|
-
readonly type: "address";
|
|
1431
|
-
}, {
|
|
1432
|
-
readonly name: "_tokenB";
|
|
1433
|
-
readonly type: "address";
|
|
1434
|
-
}, {
|
|
1435
|
-
readonly name: "_lpToken";
|
|
1436
|
-
readonly type: "address";
|
|
1437
|
-
}, {
|
|
1438
|
-
readonly name: "_lpAmount";
|
|
1439
|
-
readonly type: "uint256";
|
|
1440
|
-
}, {
|
|
1441
|
-
readonly name: "_minAmountA";
|
|
1442
|
-
readonly type: "uint256";
|
|
1443
|
-
}];
|
|
1444
|
-
readonly outputs: readonly [{
|
|
1445
|
-
readonly name: "";
|
|
1446
|
-
readonly type: "uint256";
|
|
1447
|
-
}, {
|
|
1448
|
-
readonly name: "";
|
|
1449
|
-
readonly type: "uint256";
|
|
1450
|
-
}, {
|
|
1451
|
-
readonly name: "";
|
|
1452
|
-
readonly type: "uint256";
|
|
1453
|
-
}, {
|
|
1454
|
-
readonly name: "";
|
|
1455
|
-
readonly type: "uint256";
|
|
1456
|
-
}];
|
|
1457
|
-
}, {
|
|
1458
|
-
readonly stateMutability: "nonpayable";
|
|
1459
|
-
readonly type: "function";
|
|
1460
|
-
readonly name: "removeLiquidity";
|
|
1461
|
-
readonly inputs: readonly [{
|
|
1462
|
-
readonly name: "_legoId";
|
|
1463
|
-
readonly type: "uint256";
|
|
1464
|
-
}, {
|
|
1465
|
-
readonly name: "_pool";
|
|
1466
|
-
readonly type: "address";
|
|
1467
|
-
}, {
|
|
1468
|
-
readonly name: "_tokenA";
|
|
1469
|
-
readonly type: "address";
|
|
1470
|
-
}, {
|
|
1471
|
-
readonly name: "_tokenB";
|
|
1472
|
-
readonly type: "address";
|
|
1473
|
-
}, {
|
|
1474
|
-
readonly name: "_lpToken";
|
|
1475
|
-
readonly type: "address";
|
|
1476
|
-
}, {
|
|
1477
|
-
readonly name: "_lpAmount";
|
|
1478
|
-
readonly type: "uint256";
|
|
1479
|
-
}, {
|
|
1480
|
-
readonly name: "_minAmountA";
|
|
1481
|
-
readonly type: "uint256";
|
|
1482
|
-
}, {
|
|
1483
|
-
readonly name: "_minAmountB";
|
|
1484
|
-
readonly type: "uint256";
|
|
1485
|
-
}];
|
|
1486
|
-
readonly outputs: readonly [{
|
|
1487
|
-
readonly name: "";
|
|
1488
|
-
readonly type: "uint256";
|
|
1489
|
-
}, {
|
|
1490
|
-
readonly name: "";
|
|
1491
|
-
readonly type: "uint256";
|
|
1492
|
-
}, {
|
|
1493
|
-
readonly name: "";
|
|
1494
|
-
readonly type: "uint256";
|
|
1495
|
-
}, {
|
|
1496
|
-
readonly name: "";
|
|
1497
|
-
readonly type: "uint256";
|
|
1498
|
-
}];
|
|
1499
|
-
}, {
|
|
1500
|
-
readonly stateMutability: "nonpayable";
|
|
1501
|
-
readonly type: "function";
|
|
1502
|
-
readonly name: "removeLiquidity";
|
|
1503
|
-
readonly inputs: readonly [{
|
|
1504
|
-
readonly name: "_legoId";
|
|
1505
|
-
readonly type: "uint256";
|
|
1506
|
-
}, {
|
|
1507
|
-
readonly name: "_pool";
|
|
1508
|
-
readonly type: "address";
|
|
1509
|
-
}, {
|
|
1510
|
-
readonly name: "_tokenA";
|
|
1511
|
-
readonly type: "address";
|
|
1512
|
-
}, {
|
|
1513
|
-
readonly name: "_tokenB";
|
|
1514
|
-
readonly type: "address";
|
|
1515
|
-
}, {
|
|
1516
|
-
readonly name: "_lpToken";
|
|
1517
|
-
readonly type: "address";
|
|
1518
|
-
}, {
|
|
1519
|
-
readonly name: "_lpAmount";
|
|
1520
|
-
readonly type: "uint256";
|
|
1521
|
-
}, {
|
|
1522
|
-
readonly name: "_minAmountA";
|
|
1523
|
-
readonly type: "uint256";
|
|
1524
|
-
}, {
|
|
1525
|
-
readonly name: "_minAmountB";
|
|
1526
|
-
readonly type: "uint256";
|
|
1527
|
-
}, {
|
|
1528
|
-
readonly name: "_extraData";
|
|
1529
|
-
readonly type: "bytes32";
|
|
1530
|
-
}];
|
|
1531
|
-
readonly outputs: readonly [{
|
|
1532
|
-
readonly name: "";
|
|
1533
|
-
readonly type: "uint256";
|
|
1534
|
-
}, {
|
|
1535
|
-
readonly name: "";
|
|
1536
|
-
readonly type: "uint256";
|
|
1537
|
-
}, {
|
|
1538
|
-
readonly name: "";
|
|
1539
|
-
readonly type: "uint256";
|
|
1540
|
-
}, {
|
|
1541
|
-
readonly name: "";
|
|
1542
|
-
readonly type: "uint256";
|
|
1543
|
-
}];
|
|
1544
|
-
}, {
|
|
1545
|
-
readonly stateMutability: "nonpayable";
|
|
1546
|
-
readonly type: "function";
|
|
1547
|
-
readonly name: "addLiquidityConcentrated";
|
|
1548
|
-
readonly inputs: readonly [{
|
|
1549
|
-
readonly name: "_legoId";
|
|
1550
|
-
readonly type: "uint256";
|
|
1551
|
-
}, {
|
|
1552
|
-
readonly name: "_nftAddr";
|
|
1553
|
-
readonly type: "address";
|
|
1554
|
-
}, {
|
|
1555
|
-
readonly name: "_nftTokenId";
|
|
1556
|
-
readonly type: "uint256";
|
|
1557
|
-
}, {
|
|
1558
|
-
readonly name: "_pool";
|
|
1559
|
-
readonly type: "address";
|
|
1560
|
-
}, {
|
|
1561
|
-
readonly name: "_tokenA";
|
|
1562
|
-
readonly type: "address";
|
|
1563
|
-
}, {
|
|
1564
|
-
readonly name: "_tokenB";
|
|
1565
|
-
readonly type: "address";
|
|
1566
|
-
}];
|
|
1567
|
-
readonly outputs: readonly [{
|
|
1568
|
-
readonly name: "";
|
|
1569
|
-
readonly type: "uint256";
|
|
1570
|
-
}, {
|
|
1571
|
-
readonly name: "";
|
|
1572
|
-
readonly type: "uint256";
|
|
1573
|
-
}, {
|
|
1574
|
-
readonly name: "";
|
|
1575
|
-
readonly type: "uint256";
|
|
1576
|
-
}, {
|
|
1577
|
-
readonly name: "";
|
|
1578
|
-
readonly type: "uint256";
|
|
1579
|
-
}, {
|
|
1580
|
-
readonly name: "";
|
|
1581
|
-
readonly type: "uint256";
|
|
1582
|
-
}];
|
|
1583
|
-
}, {
|
|
1584
|
-
readonly stateMutability: "nonpayable";
|
|
1585
|
-
readonly type: "function";
|
|
1586
|
-
readonly name: "addLiquidityConcentrated";
|
|
1587
|
-
readonly inputs: readonly [{
|
|
1588
|
-
readonly name: "_legoId";
|
|
1589
|
-
readonly type: "uint256";
|
|
1590
|
-
}, {
|
|
1591
|
-
readonly name: "_nftAddr";
|
|
1592
|
-
readonly type: "address";
|
|
1593
|
-
}, {
|
|
1594
|
-
readonly name: "_nftTokenId";
|
|
1595
|
-
readonly type: "uint256";
|
|
1596
|
-
}, {
|
|
1597
|
-
readonly name: "_pool";
|
|
1598
|
-
readonly type: "address";
|
|
1599
|
-
}, {
|
|
1600
|
-
readonly name: "_tokenA";
|
|
1601
|
-
readonly type: "address";
|
|
1602
|
-
}, {
|
|
1603
|
-
readonly name: "_tokenB";
|
|
1604
|
-
readonly type: "address";
|
|
1605
|
-
}, {
|
|
1606
|
-
readonly name: "_amountA";
|
|
1607
|
-
readonly type: "uint256";
|
|
1608
|
-
}];
|
|
1609
|
-
readonly outputs: readonly [{
|
|
1610
|
-
readonly name: "";
|
|
1611
|
-
readonly type: "uint256";
|
|
1612
|
-
}, {
|
|
1613
|
-
readonly name: "";
|
|
1614
|
-
readonly type: "uint256";
|
|
1615
|
-
}, {
|
|
1616
|
-
readonly name: "";
|
|
1617
|
-
readonly type: "uint256";
|
|
1618
|
-
}, {
|
|
1619
|
-
readonly name: "";
|
|
1620
|
-
readonly type: "uint256";
|
|
1621
|
-
}, {
|
|
1622
|
-
readonly name: "";
|
|
1623
|
-
readonly type: "uint256";
|
|
1624
|
-
}];
|
|
1625
|
-
}, {
|
|
1626
|
-
readonly stateMutability: "nonpayable";
|
|
1627
|
-
readonly type: "function";
|
|
1628
|
-
readonly name: "addLiquidityConcentrated";
|
|
1629
|
-
readonly inputs: readonly [{
|
|
1630
|
-
readonly name: "_legoId";
|
|
1631
|
-
readonly type: "uint256";
|
|
1632
|
-
}, {
|
|
1633
|
-
readonly name: "_nftAddr";
|
|
1634
|
-
readonly type: "address";
|
|
1635
|
-
}, {
|
|
1636
|
-
readonly name: "_nftTokenId";
|
|
1637
|
-
readonly type: "uint256";
|
|
1638
|
-
}, {
|
|
1639
|
-
readonly name: "_pool";
|
|
1640
|
-
readonly type: "address";
|
|
1641
|
-
}, {
|
|
1642
|
-
readonly name: "_tokenA";
|
|
1643
|
-
readonly type: "address";
|
|
1644
|
-
}, {
|
|
1645
|
-
readonly name: "_tokenB";
|
|
1646
|
-
readonly type: "address";
|
|
1647
|
-
}, {
|
|
1648
|
-
readonly name: "_amountA";
|
|
1649
|
-
readonly type: "uint256";
|
|
1650
|
-
}, {
|
|
1651
|
-
readonly name: "_amountB";
|
|
1652
|
-
readonly type: "uint256";
|
|
1653
|
-
}];
|
|
1654
|
-
readonly outputs: readonly [{
|
|
1655
|
-
readonly name: "";
|
|
1656
|
-
readonly type: "uint256";
|
|
1657
|
-
}, {
|
|
1658
|
-
readonly name: "";
|
|
1659
|
-
readonly type: "uint256";
|
|
1660
|
-
}, {
|
|
1661
|
-
readonly name: "";
|
|
1662
|
-
readonly type: "uint256";
|
|
1663
|
-
}, {
|
|
1664
|
-
readonly name: "";
|
|
1665
|
-
readonly type: "uint256";
|
|
1666
|
-
}, {
|
|
1667
|
-
readonly name: "";
|
|
1668
|
-
readonly type: "uint256";
|
|
1669
|
-
}];
|
|
1670
|
-
}, {
|
|
1671
|
-
readonly stateMutability: "nonpayable";
|
|
1672
|
-
readonly type: "function";
|
|
1673
|
-
readonly name: "addLiquidityConcentrated";
|
|
1674
|
-
readonly inputs: readonly [{
|
|
1675
|
-
readonly name: "_legoId";
|
|
989
|
+
readonly name: "_amountB";
|
|
1676
990
|
readonly type: "uint256";
|
|
1677
991
|
}, {
|
|
1678
|
-
readonly name: "
|
|
1679
|
-
readonly type: "address";
|
|
1680
|
-
}, {
|
|
1681
|
-
readonly name: "_nftTokenId";
|
|
992
|
+
readonly name: "_minAmountA";
|
|
1682
993
|
readonly type: "uint256";
|
|
1683
994
|
}, {
|
|
1684
|
-
readonly name: "
|
|
1685
|
-
readonly type: "address";
|
|
1686
|
-
}, {
|
|
1687
|
-
readonly name: "_tokenA";
|
|
1688
|
-
readonly type: "address";
|
|
1689
|
-
}, {
|
|
1690
|
-
readonly name: "_tokenB";
|
|
1691
|
-
readonly type: "address";
|
|
1692
|
-
}, {
|
|
1693
|
-
readonly name: "_amountA";
|
|
995
|
+
readonly name: "_minAmountB";
|
|
1694
996
|
readonly type: "uint256";
|
|
1695
997
|
}, {
|
|
1696
|
-
readonly name: "
|
|
998
|
+
readonly name: "_minLpAmount";
|
|
1697
999
|
readonly type: "uint256";
|
|
1698
|
-
}, {
|
|
1699
|
-
readonly name: "_tickLower";
|
|
1700
|
-
readonly type: "int24";
|
|
1701
1000
|
}];
|
|
1702
1001
|
readonly outputs: readonly [{
|
|
1703
1002
|
readonly name: "";
|
|
@@ -1711,23 +1010,14 @@ export declare const abi: readonly [{
|
|
|
1711
1010
|
}, {
|
|
1712
1011
|
readonly name: "";
|
|
1713
1012
|
readonly type: "uint256";
|
|
1714
|
-
}, {
|
|
1715
|
-
readonly name: "";
|
|
1716
|
-
readonly type: "uint256";
|
|
1717
1013
|
}];
|
|
1718
1014
|
}, {
|
|
1719
1015
|
readonly stateMutability: "nonpayable";
|
|
1720
1016
|
readonly type: "function";
|
|
1721
|
-
readonly name: "
|
|
1017
|
+
readonly name: "addLiquidity";
|
|
1722
1018
|
readonly inputs: readonly [{
|
|
1723
1019
|
readonly name: "_legoId";
|
|
1724
1020
|
readonly type: "uint256";
|
|
1725
|
-
}, {
|
|
1726
|
-
readonly name: "_nftAddr";
|
|
1727
|
-
readonly type: "address";
|
|
1728
|
-
}, {
|
|
1729
|
-
readonly name: "_nftTokenId";
|
|
1730
|
-
readonly type: "uint256";
|
|
1731
1021
|
}, {
|
|
1732
1022
|
readonly name: "_pool";
|
|
1733
1023
|
readonly type: "address";
|
|
@@ -1744,65 +1034,17 @@ export declare const abi: readonly [{
|
|
|
1744
1034
|
readonly name: "_amountB";
|
|
1745
1035
|
readonly type: "uint256";
|
|
1746
1036
|
}, {
|
|
1747
|
-
readonly name: "
|
|
1748
|
-
readonly type: "int24";
|
|
1749
|
-
}, {
|
|
1750
|
-
readonly name: "_tickUpper";
|
|
1751
|
-
readonly type: "int24";
|
|
1752
|
-
}];
|
|
1753
|
-
readonly outputs: readonly [{
|
|
1754
|
-
readonly name: "";
|
|
1755
|
-
readonly type: "uint256";
|
|
1756
|
-
}, {
|
|
1757
|
-
readonly name: "";
|
|
1758
|
-
readonly type: "uint256";
|
|
1759
|
-
}, {
|
|
1760
|
-
readonly name: "";
|
|
1761
|
-
readonly type: "uint256";
|
|
1762
|
-
}, {
|
|
1763
|
-
readonly name: "";
|
|
1764
|
-
readonly type: "uint256";
|
|
1765
|
-
}, {
|
|
1766
|
-
readonly name: "";
|
|
1767
|
-
readonly type: "uint256";
|
|
1768
|
-
}];
|
|
1769
|
-
}, {
|
|
1770
|
-
readonly stateMutability: "nonpayable";
|
|
1771
|
-
readonly type: "function";
|
|
1772
|
-
readonly name: "addLiquidityConcentrated";
|
|
1773
|
-
readonly inputs: readonly [{
|
|
1774
|
-
readonly name: "_legoId";
|
|
1775
|
-
readonly type: "uint256";
|
|
1776
|
-
}, {
|
|
1777
|
-
readonly name: "_nftAddr";
|
|
1778
|
-
readonly type: "address";
|
|
1779
|
-
}, {
|
|
1780
|
-
readonly name: "_nftTokenId";
|
|
1037
|
+
readonly name: "_minAmountA";
|
|
1781
1038
|
readonly type: "uint256";
|
|
1782
1039
|
}, {
|
|
1783
|
-
readonly name: "
|
|
1784
|
-
readonly type: "address";
|
|
1785
|
-
}, {
|
|
1786
|
-
readonly name: "_tokenA";
|
|
1787
|
-
readonly type: "address";
|
|
1788
|
-
}, {
|
|
1789
|
-
readonly name: "_tokenB";
|
|
1790
|
-
readonly type: "address";
|
|
1791
|
-
}, {
|
|
1792
|
-
readonly name: "_amountA";
|
|
1040
|
+
readonly name: "_minAmountB";
|
|
1793
1041
|
readonly type: "uint256";
|
|
1794
1042
|
}, {
|
|
1795
|
-
readonly name: "
|
|
1043
|
+
readonly name: "_minLpAmount";
|
|
1796
1044
|
readonly type: "uint256";
|
|
1797
1045
|
}, {
|
|
1798
|
-
readonly name: "
|
|
1799
|
-
readonly type: "
|
|
1800
|
-
}, {
|
|
1801
|
-
readonly name: "_tickUpper";
|
|
1802
|
-
readonly type: "int24";
|
|
1803
|
-
}, {
|
|
1804
|
-
readonly name: "_minAmountA";
|
|
1805
|
-
readonly type: "uint256";
|
|
1046
|
+
readonly name: "_extraData";
|
|
1047
|
+
readonly type: "bytes32";
|
|
1806
1048
|
}];
|
|
1807
1049
|
readonly outputs: readonly [{
|
|
1808
1050
|
readonly name: "";
|
|
@@ -1816,23 +1058,14 @@ export declare const abi: readonly [{
|
|
|
1816
1058
|
}, {
|
|
1817
1059
|
readonly name: "";
|
|
1818
1060
|
readonly type: "uint256";
|
|
1819
|
-
}, {
|
|
1820
|
-
readonly name: "";
|
|
1821
|
-
readonly type: "uint256";
|
|
1822
1061
|
}];
|
|
1823
1062
|
}, {
|
|
1824
1063
|
readonly stateMutability: "nonpayable";
|
|
1825
1064
|
readonly type: "function";
|
|
1826
|
-
readonly name: "
|
|
1065
|
+
readonly name: "removeLiquidity";
|
|
1827
1066
|
readonly inputs: readonly [{
|
|
1828
1067
|
readonly name: "_legoId";
|
|
1829
1068
|
readonly type: "uint256";
|
|
1830
|
-
}, {
|
|
1831
|
-
readonly name: "_nftAddr";
|
|
1832
|
-
readonly type: "address";
|
|
1833
|
-
}, {
|
|
1834
|
-
readonly name: "_nftTokenId";
|
|
1835
|
-
readonly type: "uint256";
|
|
1836
1069
|
}, {
|
|
1837
1070
|
readonly name: "_pool";
|
|
1838
1071
|
readonly type: "address";
|
|
@@ -1843,23 +1076,8 @@ export declare const abi: readonly [{
|
|
|
1843
1076
|
readonly name: "_tokenB";
|
|
1844
1077
|
readonly type: "address";
|
|
1845
1078
|
}, {
|
|
1846
|
-
readonly name: "
|
|
1847
|
-
readonly type: "
|
|
1848
|
-
}, {
|
|
1849
|
-
readonly name: "_amountB";
|
|
1850
|
-
readonly type: "uint256";
|
|
1851
|
-
}, {
|
|
1852
|
-
readonly name: "_tickLower";
|
|
1853
|
-
readonly type: "int24";
|
|
1854
|
-
}, {
|
|
1855
|
-
readonly name: "_tickUpper";
|
|
1856
|
-
readonly type: "int24";
|
|
1857
|
-
}, {
|
|
1858
|
-
readonly name: "_minAmountA";
|
|
1859
|
-
readonly type: "uint256";
|
|
1860
|
-
}, {
|
|
1861
|
-
readonly name: "_minAmountB";
|
|
1862
|
-
readonly type: "uint256";
|
|
1079
|
+
readonly name: "_lpToken";
|
|
1080
|
+
readonly type: "address";
|
|
1863
1081
|
}];
|
|
1864
1082
|
readonly outputs: readonly [{
|
|
1865
1083
|
readonly name: "";
|
|
@@ -1873,23 +1091,14 @@ export declare const abi: readonly [{
|
|
|
1873
1091
|
}, {
|
|
1874
1092
|
readonly name: "";
|
|
1875
1093
|
readonly type: "uint256";
|
|
1876
|
-
}, {
|
|
1877
|
-
readonly name: "";
|
|
1878
|
-
readonly type: "uint256";
|
|
1879
1094
|
}];
|
|
1880
1095
|
}, {
|
|
1881
1096
|
readonly stateMutability: "nonpayable";
|
|
1882
1097
|
readonly type: "function";
|
|
1883
|
-
readonly name: "
|
|
1098
|
+
readonly name: "removeLiquidity";
|
|
1884
1099
|
readonly inputs: readonly [{
|
|
1885
1100
|
readonly name: "_legoId";
|
|
1886
1101
|
readonly type: "uint256";
|
|
1887
|
-
}, {
|
|
1888
|
-
readonly name: "_nftAddr";
|
|
1889
|
-
readonly type: "address";
|
|
1890
|
-
}, {
|
|
1891
|
-
readonly name: "_nftTokenId";
|
|
1892
|
-
readonly type: "uint256";
|
|
1893
1102
|
}, {
|
|
1894
1103
|
readonly name: "_pool";
|
|
1895
1104
|
readonly type: "address";
|
|
@@ -1900,65 +1109,11 @@ export declare const abi: readonly [{
|
|
|
1900
1109
|
readonly name: "_tokenB";
|
|
1901
1110
|
readonly type: "address";
|
|
1902
1111
|
}, {
|
|
1903
|
-
readonly name: "
|
|
1904
|
-
readonly type: "uint256";
|
|
1905
|
-
}, {
|
|
1906
|
-
readonly name: "_amountB";
|
|
1907
|
-
readonly type: "uint256";
|
|
1908
|
-
}, {
|
|
1909
|
-
readonly name: "_tickLower";
|
|
1910
|
-
readonly type: "int24";
|
|
1911
|
-
}, {
|
|
1912
|
-
readonly name: "_tickUpper";
|
|
1913
|
-
readonly type: "int24";
|
|
1914
|
-
}, {
|
|
1915
|
-
readonly name: "_minAmountA";
|
|
1916
|
-
readonly type: "uint256";
|
|
1917
|
-
}, {
|
|
1918
|
-
readonly name: "_minAmountB";
|
|
1919
|
-
readonly type: "uint256";
|
|
1920
|
-
}, {
|
|
1921
|
-
readonly name: "_extraData";
|
|
1922
|
-
readonly type: "bytes32";
|
|
1923
|
-
}];
|
|
1924
|
-
readonly outputs: readonly [{
|
|
1925
|
-
readonly name: "";
|
|
1926
|
-
readonly type: "uint256";
|
|
1927
|
-
}, {
|
|
1928
|
-
readonly name: "";
|
|
1929
|
-
readonly type: "uint256";
|
|
1930
|
-
}, {
|
|
1931
|
-
readonly name: "";
|
|
1932
|
-
readonly type: "uint256";
|
|
1933
|
-
}, {
|
|
1934
|
-
readonly name: "";
|
|
1935
|
-
readonly type: "uint256";
|
|
1936
|
-
}, {
|
|
1937
|
-
readonly name: "";
|
|
1938
|
-
readonly type: "uint256";
|
|
1939
|
-
}];
|
|
1940
|
-
}, {
|
|
1941
|
-
readonly stateMutability: "nonpayable";
|
|
1942
|
-
readonly type: "function";
|
|
1943
|
-
readonly name: "removeLiquidityConcentrated";
|
|
1944
|
-
readonly inputs: readonly [{
|
|
1945
|
-
readonly name: "_legoId";
|
|
1946
|
-
readonly type: "uint256";
|
|
1947
|
-
}, {
|
|
1948
|
-
readonly name: "_nftAddr";
|
|
1112
|
+
readonly name: "_lpToken";
|
|
1949
1113
|
readonly type: "address";
|
|
1950
1114
|
}, {
|
|
1951
|
-
readonly name: "
|
|
1115
|
+
readonly name: "_lpAmount";
|
|
1952
1116
|
readonly type: "uint256";
|
|
1953
|
-
}, {
|
|
1954
|
-
readonly name: "_pool";
|
|
1955
|
-
readonly type: "address";
|
|
1956
|
-
}, {
|
|
1957
|
-
readonly name: "_tokenA";
|
|
1958
|
-
readonly type: "address";
|
|
1959
|
-
}, {
|
|
1960
|
-
readonly name: "_tokenB";
|
|
1961
|
-
readonly type: "address";
|
|
1962
1117
|
}];
|
|
1963
1118
|
readonly outputs: readonly [{
|
|
1964
1119
|
readonly name: "";
|
|
@@ -1976,16 +1131,10 @@ export declare const abi: readonly [{
|
|
|
1976
1131
|
}, {
|
|
1977
1132
|
readonly stateMutability: "nonpayable";
|
|
1978
1133
|
readonly type: "function";
|
|
1979
|
-
readonly name: "
|
|
1134
|
+
readonly name: "removeLiquidity";
|
|
1980
1135
|
readonly inputs: readonly [{
|
|
1981
1136
|
readonly name: "_legoId";
|
|
1982
1137
|
readonly type: "uint256";
|
|
1983
|
-
}, {
|
|
1984
|
-
readonly name: "_nftAddr";
|
|
1985
|
-
readonly type: "address";
|
|
1986
|
-
}, {
|
|
1987
|
-
readonly name: "_nftTokenId";
|
|
1988
|
-
readonly type: "uint256";
|
|
1989
1138
|
}, {
|
|
1990
1139
|
readonly name: "_pool";
|
|
1991
1140
|
readonly type: "address";
|
|
@@ -1996,46 +1145,10 @@ export declare const abi: readonly [{
|
|
|
1996
1145
|
readonly name: "_tokenB";
|
|
1997
1146
|
readonly type: "address";
|
|
1998
1147
|
}, {
|
|
1999
|
-
readonly name: "
|
|
2000
|
-
readonly type: "uint256";
|
|
2001
|
-
}];
|
|
2002
|
-
readonly outputs: readonly [{
|
|
2003
|
-
readonly name: "";
|
|
2004
|
-
readonly type: "uint256";
|
|
2005
|
-
}, {
|
|
2006
|
-
readonly name: "";
|
|
2007
|
-
readonly type: "uint256";
|
|
2008
|
-
}, {
|
|
2009
|
-
readonly name: "";
|
|
2010
|
-
readonly type: "uint256";
|
|
2011
|
-
}, {
|
|
2012
|
-
readonly name: "";
|
|
2013
|
-
readonly type: "uint256";
|
|
2014
|
-
}];
|
|
2015
|
-
}, {
|
|
2016
|
-
readonly stateMutability: "nonpayable";
|
|
2017
|
-
readonly type: "function";
|
|
2018
|
-
readonly name: "removeLiquidityConcentrated";
|
|
2019
|
-
readonly inputs: readonly [{
|
|
2020
|
-
readonly name: "_legoId";
|
|
2021
|
-
readonly type: "uint256";
|
|
2022
|
-
}, {
|
|
2023
|
-
readonly name: "_nftAddr";
|
|
2024
|
-
readonly type: "address";
|
|
2025
|
-
}, {
|
|
2026
|
-
readonly name: "_nftTokenId";
|
|
2027
|
-
readonly type: "uint256";
|
|
2028
|
-
}, {
|
|
2029
|
-
readonly name: "_pool";
|
|
2030
|
-
readonly type: "address";
|
|
2031
|
-
}, {
|
|
2032
|
-
readonly name: "_tokenA";
|
|
2033
|
-
readonly type: "address";
|
|
2034
|
-
}, {
|
|
2035
|
-
readonly name: "_tokenB";
|
|
1148
|
+
readonly name: "_lpToken";
|
|
2036
1149
|
readonly type: "address";
|
|
2037
1150
|
}, {
|
|
2038
|
-
readonly name: "
|
|
1151
|
+
readonly name: "_lpAmount";
|
|
2039
1152
|
readonly type: "uint256";
|
|
2040
1153
|
}, {
|
|
2041
1154
|
readonly name: "_minAmountA";
|
|
@@ -2057,16 +1170,10 @@ export declare const abi: readonly [{
|
|
|
2057
1170
|
}, {
|
|
2058
1171
|
readonly stateMutability: "nonpayable";
|
|
2059
1172
|
readonly type: "function";
|
|
2060
|
-
readonly name: "
|
|
1173
|
+
readonly name: "removeLiquidity";
|
|
2061
1174
|
readonly inputs: readonly [{
|
|
2062
1175
|
readonly name: "_legoId";
|
|
2063
1176
|
readonly type: "uint256";
|
|
2064
|
-
}, {
|
|
2065
|
-
readonly name: "_nftAddr";
|
|
2066
|
-
readonly type: "address";
|
|
2067
|
-
}, {
|
|
2068
|
-
readonly name: "_nftTokenId";
|
|
2069
|
-
readonly type: "uint256";
|
|
2070
1177
|
}, {
|
|
2071
1178
|
readonly name: "_pool";
|
|
2072
1179
|
readonly type: "address";
|
|
@@ -2077,7 +1184,10 @@ export declare const abi: readonly [{
|
|
|
2077
1184
|
readonly name: "_tokenB";
|
|
2078
1185
|
readonly type: "address";
|
|
2079
1186
|
}, {
|
|
2080
|
-
readonly name: "
|
|
1187
|
+
readonly name: "_lpToken";
|
|
1188
|
+
readonly type: "address";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly name: "_lpAmount";
|
|
2081
1191
|
readonly type: "uint256";
|
|
2082
1192
|
}, {
|
|
2083
1193
|
readonly name: "_minAmountA";
|
|
@@ -2102,16 +1212,10 @@ export declare const abi: readonly [{
|
|
|
2102
1212
|
}, {
|
|
2103
1213
|
readonly stateMutability: "nonpayable";
|
|
2104
1214
|
readonly type: "function";
|
|
2105
|
-
readonly name: "
|
|
1215
|
+
readonly name: "removeLiquidity";
|
|
2106
1216
|
readonly inputs: readonly [{
|
|
2107
1217
|
readonly name: "_legoId";
|
|
2108
1218
|
readonly type: "uint256";
|
|
2109
|
-
}, {
|
|
2110
|
-
readonly name: "_nftAddr";
|
|
2111
|
-
readonly type: "address";
|
|
2112
|
-
}, {
|
|
2113
|
-
readonly name: "_nftTokenId";
|
|
2114
|
-
readonly type: "uint256";
|
|
2115
1219
|
}, {
|
|
2116
1220
|
readonly name: "_pool";
|
|
2117
1221
|
readonly type: "address";
|
|
@@ -2122,7 +1226,10 @@ export declare const abi: readonly [{
|
|
|
2122
1226
|
readonly name: "_tokenB";
|
|
2123
1227
|
readonly type: "address";
|
|
2124
1228
|
}, {
|
|
2125
|
-
readonly name: "
|
|
1229
|
+
readonly name: "_lpToken";
|
|
1230
|
+
readonly type: "address";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly name: "_lpAmount";
|
|
2126
1233
|
readonly type: "uint256";
|
|
2127
1234
|
}, {
|
|
2128
1235
|
readonly name: "_minAmountA";
|
|
@@ -2174,6 +1281,15 @@ export declare const abi: readonly [{
|
|
|
2174
1281
|
readonly name: "";
|
|
2175
1282
|
readonly type: "uint256";
|
|
2176
1283
|
}];
|
|
1284
|
+
}, {
|
|
1285
|
+
readonly stateMutability: "view";
|
|
1286
|
+
readonly type: "function";
|
|
1287
|
+
readonly name: "calcProfitForStabilizer";
|
|
1288
|
+
readonly inputs: readonly [];
|
|
1289
|
+
readonly outputs: readonly [{
|
|
1290
|
+
readonly name: "";
|
|
1291
|
+
readonly type: "uint256";
|
|
1292
|
+
}];
|
|
2177
1293
|
}, {
|
|
2178
1294
|
readonly stateMutability: "nonpayable";
|
|
2179
1295
|
readonly type: "function";
|
|
@@ -2324,21 +1440,6 @@ export declare const abi: readonly [{
|
|
|
2324
1440
|
readonly name: "";
|
|
2325
1441
|
readonly type: "bool";
|
|
2326
1442
|
}];
|
|
2327
|
-
}, {
|
|
2328
|
-
readonly stateMutability: "nonpayable";
|
|
2329
|
-
readonly type: "function";
|
|
2330
|
-
readonly name: "recoverNft";
|
|
2331
|
-
readonly inputs: readonly [{
|
|
2332
|
-
readonly name: "_collection";
|
|
2333
|
-
readonly type: "address";
|
|
2334
|
-
}, {
|
|
2335
|
-
readonly name: "_nftTokenId";
|
|
2336
|
-
readonly type: "uint256";
|
|
2337
|
-
}, {
|
|
2338
|
-
readonly name: "_recipient";
|
|
2339
|
-
readonly type: "address";
|
|
2340
|
-
}];
|
|
2341
|
-
readonly outputs: readonly [];
|
|
2342
1443
|
}, {
|
|
2343
1444
|
readonly stateMutability: "view";
|
|
2344
1445
|
readonly type: "function";
|
|
@@ -2399,9 +1500,9 @@ export type Contract = {
|
|
|
2399
1500
|
canMintGreen: () => Promise<boolean>;
|
|
2400
1501
|
canMintRipe: () => Promise<boolean>;
|
|
2401
1502
|
isPaused: () => Promise<boolean>;
|
|
2402
|
-
onERC721Received: (operator: `0x${string}`, owner: `0x${string}`, tokenId: bigint, data: `0x${string}`) => Promise<`0x${string}`>;
|
|
2403
1503
|
getGreenAmountToAddInStabilizer: () => Promise<bigint>;
|
|
2404
1504
|
getGreenAmountToRemoveInStabilizer: () => Promise<bigint>;
|
|
1505
|
+
calcProfitForStabilizer: () => Promise<bigint>;
|
|
2405
1506
|
WETH: () => Promise<`0x${string}`>;
|
|
2406
1507
|
ETH: () => Promise<`0x${string}`>;
|
|
2407
1508
|
};
|
|
@@ -2410,9 +1511,10 @@ export type Contract = {
|
|
|
2410
1511
|
recoverFunds: (recipient: `0x${string}`, asset: `0x${string}`) => Promise<void>;
|
|
2411
1512
|
recoverFundsMany: (recipient: `0x${string}`, assets: `0x${string}`[]) => Promise<void>;
|
|
2412
1513
|
transferFundsToGov: (asset: `0x${string}`, amount?: bigint) => Promise<[bigint, bigint]>;
|
|
1514
|
+
transferFundsToVault: (assets: `0x${string}`[]) => Promise<void>;
|
|
1515
|
+
transferFundsToEndaomentPSM: (amount?: bigint) => Promise<[bigint, bigint]>;
|
|
2413
1516
|
depositForYield: (legoId: bigint, asset: `0x${string}`, vaultAddr?: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2414
1517
|
withdrawFromYield: (legoId: bigint, vaultToken: `0x${string}`, amount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2415
|
-
rebalanceYieldPosition: (fromLegoId: bigint, fromVaultToken: `0x${string}`, toLegoId: bigint, toVaultAddr?: `0x${string}`, fromVaultAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, `0x${string}`, bigint, bigint]>;
|
|
2416
1518
|
swapTokens: (instructions: {
|
|
2417
1519
|
legoId: bigint;
|
|
2418
1520
|
amountIn: bigint;
|
|
@@ -2420,25 +1522,19 @@ export type Contract = {
|
|
|
2420
1522
|
tokenPath: `0x${string}`[];
|
|
2421
1523
|
poolPath: `0x${string}`[];
|
|
2422
1524
|
}[]) => Promise<[`0x${string}`, bigint, `0x${string}`, bigint, bigint]>;
|
|
2423
|
-
|
|
2424
|
-
confirmMintOrRedeemAsset: (legoId: bigint, tokenIn: `0x${string}`, tokenOut: `0x${string}`, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
2425
|
-
claimRewards: (legoId: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint]>;
|
|
1525
|
+
claimIncentives: (user: `0x${string}`, legoId: bigint, rewardToken?: `0x${string}`, rewardAmount?: bigint, proofs?: `0x${string}`[]) => Promise<[bigint, bigint]>;
|
|
2426
1526
|
convertEthToWeth: (amount?: bigint) => Promise<[bigint, bigint]>;
|
|
2427
1527
|
convertWethToEth: (amount?: bigint) => Promise<[bigint, bigint]>;
|
|
2428
1528
|
addLiquidity: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, minAmountA?: bigint, minAmountB?: bigint, minLpAmount?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
2429
1529
|
removeLiquidity: (legoId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, lpToken: `0x${string}`, lpAmount?: bigint, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
2430
|
-
addLiquidityConcentrated: (legoId: bigint, nftAddr: `0x${string}`, nftTokenId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, amountA?: bigint, amountB?: bigint, tickLower?: unknown, tickUpper?: unknown, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint, bigint]>;
|
|
2431
|
-
removeLiquidityConcentrated: (legoId: bigint, nftAddr: `0x${string}`, nftTokenId: bigint, pool: `0x${string}`, tokenA: `0x${string}`, tokenB: `0x${string}`, liqToRemove?: bigint, minAmountA?: bigint, minAmountB?: bigint, extraData?: `0x${string}`) => Promise<[bigint, bigint, bigint, bigint]>;
|
|
2432
1530
|
stabilizeGreenRefPool: () => Promise<boolean>;
|
|
2433
1531
|
mintPartnerLiquidity: (partner: `0x${string}`, asset: `0x${string}`, amount?: bigint) => Promise<bigint>;
|
|
2434
1532
|
addPartnerLiquidity: (legoId: bigint, pool: `0x${string}`, partner: `0x${string}`, asset: `0x${string}`, amount?: bigint, minLpAmount?: bigint) => Promise<[bigint, bigint, bigint]>;
|
|
2435
1533
|
repayPoolDebt: (pool: `0x${string}`, amount?: bigint) => Promise<boolean>;
|
|
2436
|
-
recoverNft: (collection: `0x${string}`, nftTokenId: bigint, recipient: `0x${string}`) => Promise<void>;
|
|
2437
1534
|
};
|
|
2438
1535
|
events: {
|
|
2439
1536
|
WalletAction: (op: number, asset1: `0x${string}`, asset2: `0x${string}`, amount1: bigint, amount2: bigint, usdValue: bigint, legoId: bigint) => Promise<void>;
|
|
2440
1537
|
WalletActionExt: (op: number, asset1: `0x${string}`, asset2: `0x${string}`, tokenId: bigint, amount1: bigint, amount2: bigint, usdValue: bigint, extra: bigint) => Promise<void>;
|
|
2441
|
-
EndaomentNftRecovered: (collection: `0x${string}`, nftTokenId: bigint, recipient: `0x${string}`) => Promise<void>;
|
|
2442
1538
|
StabilizerPoolLiqAdded: (pool: `0x${string}`, greenAmountAdded: bigint, lpReceived: bigint, poolDebtAdded: bigint) => Promise<void>;
|
|
2443
1539
|
StabilizerPoolLiqRemoved: (pool: `0x${string}`, lpBurned: bigint, greenAmountRemoved: bigint, debtRepaid: bigint) => Promise<void>;
|
|
2444
1540
|
PoolDebtRepaid: (pool: `0x${string}`, amount: bigint) => Promise<void>;
|
|
@@ -2491,33 +1587,29 @@ export type SDK = {
|
|
|
2491
1587
|
canMintGreen: (...args: ExtractArgs<Contract['calls']['canMintGreen']>) => Promise<CallReturn<'canMintGreen'>>;
|
|
2492
1588
|
canMintRipe: (...args: ExtractArgs<Contract['calls']['canMintRipe']>) => Promise<CallReturn<'canMintRipe'>>;
|
|
2493
1589
|
isPaused: (...args: ExtractArgs<Contract['calls']['isPaused']>) => Promise<CallReturn<'isPaused'>>;
|
|
2494
|
-
onERC721Received: (...args: ExtractArgs<Contract['calls']['onERC721Received']>) => Promise<CallReturn<'onERC721Received'>>;
|
|
2495
1590
|
getGreenAmountToAddInStabilizer: (...args: ExtractArgs<Contract['calls']['getGreenAmountToAddInStabilizer']>) => Promise<CallReturn<'getGreenAmountToAddInStabilizer'>>;
|
|
2496
1591
|
getGreenAmountToRemoveInStabilizer: (...args: ExtractArgs<Contract['calls']['getGreenAmountToRemoveInStabilizer']>) => Promise<CallReturn<'getGreenAmountToRemoveInStabilizer'>>;
|
|
1592
|
+
calcProfitForStabilizer: (...args: ExtractArgs<Contract['calls']['calcProfitForStabilizer']>) => Promise<CallReturn<'calcProfitForStabilizer'>>;
|
|
2497
1593
|
WETH: (...args: ExtractArgs<Contract['calls']['WETH']>) => Promise<CallReturn<'WETH'>>;
|
|
2498
1594
|
ETH: (...args: ExtractArgs<Contract['calls']['ETH']>) => Promise<CallReturn<'ETH'>>;
|
|
2499
1595
|
pause: (...args: ExtractArgs<Contract['mutations']['pause']>) => Promise<Address>;
|
|
2500
1596
|
recoverFunds: (...args: ExtractArgs<Contract['mutations']['recoverFunds']>) => Promise<Address>;
|
|
2501
1597
|
recoverFundsMany: (...args: ExtractArgs<Contract['mutations']['recoverFundsMany']>) => Promise<Address>;
|
|
2502
1598
|
transferFundsToGov: (...args: ExtractArgs<Contract['mutations']['transferFundsToGov']>) => Promise<Address>;
|
|
1599
|
+
transferFundsToVault: (...args: ExtractArgs<Contract['mutations']['transferFundsToVault']>) => Promise<Address>;
|
|
1600
|
+
transferFundsToEndaomentPSM: (...args: ExtractArgs<Contract['mutations']['transferFundsToEndaomentPSM']>) => Promise<Address>;
|
|
2503
1601
|
depositForYield: (...args: ExtractArgs<Contract['mutations']['depositForYield']>) => Promise<Address>;
|
|
2504
1602
|
withdrawFromYield: (...args: ExtractArgs<Contract['mutations']['withdrawFromYield']>) => Promise<Address>;
|
|
2505
|
-
rebalanceYieldPosition: (...args: ExtractArgs<Contract['mutations']['rebalanceYieldPosition']>) => Promise<Address>;
|
|
2506
1603
|
swapTokens: (...args: ExtractArgs<Contract['mutations']['swapTokens']>) => Promise<Address>;
|
|
2507
|
-
|
|
2508
|
-
confirmMintOrRedeemAsset: (...args: ExtractArgs<Contract['mutations']['confirmMintOrRedeemAsset']>) => Promise<Address>;
|
|
2509
|
-
claimRewards: (...args: ExtractArgs<Contract['mutations']['claimRewards']>) => Promise<Address>;
|
|
1604
|
+
claimIncentives: (...args: ExtractArgs<Contract['mutations']['claimIncentives']>) => Promise<Address>;
|
|
2510
1605
|
convertEthToWeth: (...args: ExtractArgs<Contract['mutations']['convertEthToWeth']>) => Promise<Address>;
|
|
2511
1606
|
convertWethToEth: (...args: ExtractArgs<Contract['mutations']['convertWethToEth']>) => Promise<Address>;
|
|
2512
1607
|
addLiquidity: (...args: ExtractArgs<Contract['mutations']['addLiquidity']>) => Promise<Address>;
|
|
2513
1608
|
removeLiquidity: (...args: ExtractArgs<Contract['mutations']['removeLiquidity']>) => Promise<Address>;
|
|
2514
|
-
addLiquidityConcentrated: (...args: ExtractArgs<Contract['mutations']['addLiquidityConcentrated']>) => Promise<Address>;
|
|
2515
|
-
removeLiquidityConcentrated: (...args: ExtractArgs<Contract['mutations']['removeLiquidityConcentrated']>) => Promise<Address>;
|
|
2516
1609
|
stabilizeGreenRefPool: (...args: ExtractArgs<Contract['mutations']['stabilizeGreenRefPool']>) => Promise<Address>;
|
|
2517
1610
|
mintPartnerLiquidity: (...args: ExtractArgs<Contract['mutations']['mintPartnerLiquidity']>) => Promise<Address>;
|
|
2518
1611
|
addPartnerLiquidity: (...args: ExtractArgs<Contract['mutations']['addPartnerLiquidity']>) => Promise<Address>;
|
|
2519
1612
|
repayPoolDebt: (...args: ExtractArgs<Contract['mutations']['repayPoolDebt']>) => Promise<Address>;
|
|
2520
|
-
recoverNft: (...args: ExtractArgs<Contract['mutations']['recoverNft']>) => Promise<Address>;
|
|
2521
1613
|
};
|
|
2522
1614
|
export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient): SDK;
|
|
2523
1615
|
export {};
|