@curvefi/api 2.3.3 → 2.3.4

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.
@@ -529,32 +529,6 @@
529
529
  ],
530
530
  "gas": "2611832"
531
531
  },
532
- {
533
- "stateMutability": "nonpayable",
534
- "type": "function",
535
- "name": "add_liquidity",
536
- "inputs": [
537
- {
538
- "name": "_amounts",
539
- "type": "uint256[2]"
540
- },
541
- {
542
- "name": "_min_mint_amount",
543
- "type": "uint256"
544
- },
545
- {
546
- "name": "_receiver",
547
- "type": "address"
548
- }
549
- ],
550
- "outputs": [
551
- {
552
- "name": "",
553
- "type": "uint256"
554
- }
555
- ],
556
- "gas": "2611832"
557
- },
558
532
  {
559
533
  "stateMutability": "view",
560
534
  "type": "function",
@@ -637,70 +611,6 @@
637
611
  ],
638
612
  "gas": "1300799"
639
613
  },
640
- {
641
- "stateMutability": "nonpayable",
642
- "type": "function",
643
- "name": "exchange",
644
- "inputs": [
645
- {
646
- "name": "i",
647
- "type": "int128"
648
- },
649
- {
650
- "name": "j",
651
- "type": "int128"
652
- },
653
- {
654
- "name": "_dx",
655
- "type": "uint256"
656
- },
657
- {
658
- "name": "_min_dy",
659
- "type": "uint256"
660
- },
661
- {
662
- "name": "_receiver",
663
- "type": "address"
664
- }
665
- ],
666
- "outputs": [
667
- {
668
- "name": "",
669
- "type": "uint256"
670
- }
671
- ],
672
- "gas": "1300799"
673
- },
674
- {
675
- "stateMutability": "nonpayable",
676
- "type": "function",
677
- "name": "exchange_underlying",
678
- "inputs": [
679
- {
680
- "name": "i",
681
- "type": "int128"
682
- },
683
- {
684
- "name": "j",
685
- "type": "int128"
686
- },
687
- {
688
- "name": "_dx",
689
- "type": "uint256"
690
- },
691
- {
692
- "name": "_min_dy",
693
- "type": "uint256"
694
- }
695
- ],
696
- "outputs": [
697
- {
698
- "name": "",
699
- "type": "uint256"
700
- }
701
- ],
702
- "gas": "1323223"
703
- },
704
614
  {
705
615
  "stateMutability": "nonpayable",
706
616
  "type": "function",
@@ -721,10 +631,6 @@
721
631
  {
722
632
  "name": "_min_dy",
723
633
  "type": "uint256"
724
- },
725
- {
726
- "name": "_receiver",
727
- "type": "address"
728
634
  }
729
635
  ],
730
636
  "outputs": [
@@ -757,32 +663,6 @@
757
663
  ],
758
664
  "gas": "229848"
759
665
  },
760
- {
761
- "stateMutability": "nonpayable",
762
- "type": "function",
763
- "name": "remove_liquidity",
764
- "inputs": [
765
- {
766
- "name": "_burn_amount",
767
- "type": "uint256"
768
- },
769
- {
770
- "name": "_min_amounts",
771
- "type": "uint256[2]"
772
- },
773
- {
774
- "name": "_receiver",
775
- "type": "address"
776
- }
777
- ],
778
- "outputs": [
779
- {
780
- "name": "",
781
- "type": "uint256[2]"
782
- }
783
- ],
784
- "gas": "229848"
785
- },
786
666
  {
787
667
  "stateMutability": "nonpayable",
788
668
  "type": "function",
@@ -805,32 +685,6 @@
805
685
  ],
806
686
  "gas": "2612120"
807
687
  },
808
- {
809
- "stateMutability": "nonpayable",
810
- "type": "function",
811
- "name": "remove_liquidity_imbalance",
812
- "inputs": [
813
- {
814
- "name": "_amounts",
815
- "type": "uint256[2]"
816
- },
817
- {
818
- "name": "_max_burn_amount",
819
- "type": "uint256"
820
- },
821
- {
822
- "name": "_receiver",
823
- "type": "address"
824
- }
825
- ],
826
- "outputs": [
827
- {
828
- "name": "",
829
- "type": "uint256"
830
- }
831
- ],
832
- "gas": "2612120"
833
- },
834
688
  {
835
689
  "stateMutability": "view",
836
690
  "type": "function",
@@ -879,36 +733,6 @@
879
733
  ],
880
734
  "gas": "1688189"
881
735
  },
882
- {
883
- "stateMutability": "nonpayable",
884
- "type": "function",
885
- "name": "remove_liquidity_one_coin",
886
- "inputs": [
887
- {
888
- "name": "_burn_amount",
889
- "type": "uint256"
890
- },
891
- {
892
- "name": "i",
893
- "type": "int128"
894
- },
895
- {
896
- "name": "_min_received",
897
- "type": "uint256"
898
- },
899
- {
900
- "name": "_receiver",
901
- "type": "address"
902
- }
903
- ],
904
- "outputs": [
905
- {
906
- "name": "",
907
- "type": "uint256"
908
- }
909
- ],
910
- "gas": "1688189"
911
- },
912
736
  {
913
737
  "stateMutability": "nonpayable",
914
738
  "type": "function",
@@ -560,32 +560,6 @@
560
560
  ],
561
561
  "gas": "2636969"
562
562
  },
563
- {
564
- "stateMutability": "nonpayable",
565
- "type": "function",
566
- "name": "add_liquidity",
567
- "inputs": [
568
- {
569
- "name": "_amounts",
570
- "type": "uint256[2]"
571
- },
572
- {
573
- "name": "_min_mint_amount",
574
- "type": "uint256"
575
- },
576
- {
577
- "name": "_receiver",
578
- "type": "address"
579
- }
580
- ],
581
- "outputs": [
582
- {
583
- "name": "",
584
- "type": "uint256"
585
- }
586
- ],
587
- "gas": "2636969"
588
- },
589
563
  {
590
564
  "stateMutability": "view",
591
565
  "type": "function",
@@ -668,70 +642,6 @@
668
642
  ],
669
643
  "gas": "1283011"
670
644
  },
671
- {
672
- "stateMutability": "nonpayable",
673
- "type": "function",
674
- "name": "exchange",
675
- "inputs": [
676
- {
677
- "name": "i",
678
- "type": "int128"
679
- },
680
- {
681
- "name": "j",
682
- "type": "int128"
683
- },
684
- {
685
- "name": "_dx",
686
- "type": "uint256"
687
- },
688
- {
689
- "name": "_min_dy",
690
- "type": "uint256"
691
- },
692
- {
693
- "name": "_receiver",
694
- "type": "address"
695
- }
696
- ],
697
- "outputs": [
698
- {
699
- "name": "",
700
- "type": "uint256"
701
- }
702
- ],
703
- "gas": "1283011"
704
- },
705
- {
706
- "stateMutability": "nonpayable",
707
- "type": "function",
708
- "name": "exchange_underlying",
709
- "inputs": [
710
- {
711
- "name": "i",
712
- "type": "int128"
713
- },
714
- {
715
- "name": "j",
716
- "type": "int128"
717
- },
718
- {
719
- "name": "_dx",
720
- "type": "uint256"
721
- },
722
- {
723
- "name": "_min_dy",
724
- "type": "uint256"
725
- }
726
- ],
727
- "outputs": [
728
- {
729
- "name": "",
730
- "type": "uint256"
731
- }
732
- ],
733
- "gas": "1305450"
734
- },
735
645
  {
736
646
  "stateMutability": "nonpayable",
737
647
  "type": "function",
@@ -752,10 +662,6 @@
752
662
  {
753
663
  "name": "_min_dy",
754
664
  "type": "uint256"
755
- },
756
- {
757
- "name": "_receiver",
758
- "type": "address"
759
665
  }
760
666
  ],
761
667
  "outputs": [
@@ -788,32 +694,6 @@
788
694
  ],
789
695
  "gas": "169867"
790
696
  },
791
- {
792
- "stateMutability": "nonpayable",
793
- "type": "function",
794
- "name": "remove_liquidity",
795
- "inputs": [
796
- {
797
- "name": "_burn_amount",
798
- "type": "uint256"
799
- },
800
- {
801
- "name": "_min_amounts",
802
- "type": "uint256[2]"
803
- },
804
- {
805
- "name": "_receiver",
806
- "type": "address"
807
- }
808
- ],
809
- "outputs": [
810
- {
811
- "name": "",
812
- "type": "uint256[2]"
813
- }
814
- ],
815
- "gas": "169867"
816
- },
817
697
  {
818
698
  "stateMutability": "nonpayable",
819
699
  "type": "function",
@@ -836,32 +716,6 @@
836
716
  ],
837
717
  "gas": "2627335"
838
718
  },
839
- {
840
- "stateMutability": "nonpayable",
841
- "type": "function",
842
- "name": "remove_liquidity_imbalance",
843
- "inputs": [
844
- {
845
- "name": "_amounts",
846
- "type": "uint256[2]"
847
- },
848
- {
849
- "name": "_max_burn_amount",
850
- "type": "uint256"
851
- },
852
- {
853
- "name": "_receiver",
854
- "type": "address"
855
- }
856
- ],
857
- "outputs": [
858
- {
859
- "name": "",
860
- "type": "uint256"
861
- }
862
- ],
863
- "gas": "2627335"
864
- },
865
719
  {
866
720
  "stateMutability": "view",
867
721
  "type": "function",
@@ -910,36 +764,6 @@
910
764
  ],
911
765
  "gas": "1699060"
912
766
  },
913
- {
914
- "stateMutability": "nonpayable",
915
- "type": "function",
916
- "name": "remove_liquidity_one_coin",
917
- "inputs": [
918
- {
919
- "name": "_burn_amount",
920
- "type": "uint256"
921
- },
922
- {
923
- "name": "i",
924
- "type": "int128"
925
- },
926
- {
927
- "name": "_min_received",
928
- "type": "uint256"
929
- },
930
- {
931
- "name": "_receiver",
932
- "type": "address"
933
- }
934
- ],
935
- "outputs": [
936
- {
937
- "name": "",
938
- "type": "uint256"
939
- }
940
- ],
941
- "gas": "1699060"
942
- },
943
767
  {
944
768
  "stateMutability": "nonpayable",
945
769
  "type": "function",
@@ -30,60 +30,6 @@
30
30
  }
31
31
  ]
32
32
  },
33
- {
34
- "stateMutability": "nonpayable",
35
- "type": "function",
36
- "name": "add_liquidity",
37
- "inputs": [
38
- {
39
- "name": "_pool",
40
- "type": "address"
41
- },
42
- {
43
- "name": "_deposit_amounts",
44
- "type": "uint256[3]"
45
- },
46
- {
47
- "name": "_min_mint_amount",
48
- "type": "uint256"
49
- },
50
- {
51
- "name": "_receiver",
52
- "type": "address"
53
- }
54
- ],
55
- "outputs": [
56
- {
57
- "name": "",
58
- "type": "uint256"
59
- }
60
- ]
61
- },
62
- {
63
- "stateMutability": "nonpayable",
64
- "type": "function",
65
- "name": "remove_liquidity",
66
- "inputs": [
67
- {
68
- "name": "_pool",
69
- "type": "address"
70
- },
71
- {
72
- "name": "_burn_amount",
73
- "type": "uint256"
74
- },
75
- {
76
- "name": "_min_amounts",
77
- "type": "uint256[3]"
78
- }
79
- ],
80
- "outputs": [
81
- {
82
- "name": "",
83
- "type": "uint256[3]"
84
- }
85
- ]
86
- },
87
33
  {
88
34
  "stateMutability": "nonpayable",
89
35
  "type": "function",
@@ -100,10 +46,6 @@
100
46
  {
101
47
  "name": "_min_amounts",
102
48
  "type": "uint256[3]"
103
- },
104
- {
105
- "name": "_receiver",
106
- "type": "address"
107
49
  }
108
50
  ],
109
51
  "outputs": [
@@ -142,64 +84,6 @@
142
84
  }
143
85
  ]
144
86
  },
145
- {
146
- "stateMutability": "nonpayable",
147
- "type": "function",
148
- "name": "remove_liquidity_one_coin",
149
- "inputs": [
150
- {
151
- "name": "_pool",
152
- "type": "address"
153
- },
154
- {
155
- "name": "_burn_amount",
156
- "type": "uint256"
157
- },
158
- {
159
- "name": "i",
160
- "type": "int128"
161
- },
162
- {
163
- "name": "_min_amount",
164
- "type": "uint256"
165
- },
166
- {
167
- "name": "_receiver",
168
- "type": "address"
169
- }
170
- ],
171
- "outputs": [
172
- {
173
- "name": "",
174
- "type": "uint256"
175
- }
176
- ]
177
- },
178
- {
179
- "stateMutability": "nonpayable",
180
- "type": "function",
181
- "name": "remove_liquidity_imbalance",
182
- "inputs": [
183
- {
184
- "name": "_pool",
185
- "type": "address"
186
- },
187
- {
188
- "name": "_amounts",
189
- "type": "uint256[3]"
190
- },
191
- {
192
- "name": "_max_burn_amount",
193
- "type": "uint256"
194
- }
195
- ],
196
- "outputs": [
197
- {
198
- "name": "",
199
- "type": "uint256"
200
- }
201
- ]
202
- },
203
87
  {
204
88
  "stateMutability": "nonpayable",
205
89
  "type": "function",
@@ -216,10 +100,6 @@
216
100
  {
217
101
  "name": "_max_burn_amount",
218
102
  "type": "uint256"
219
- },
220
- {
221
- "name": "_receiver",
222
- "type": "address"
223
103
  }
224
104
  ],
225
105
  "outputs": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",