@curvefi/api 2.69.8 → 2.69.10

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.
Files changed (71) hide show
  1. package/lib/constants/chainIds.d.ts +0 -1
  2. package/lib/constants/chainIds.js +0 -1
  3. package/lib/constants/coins/index.d.ts +1 -11
  4. package/lib/constants/coins/index.js +1 -11
  5. package/lib/constants/factory/crypto.d.ts +0 -50
  6. package/lib/constants/factory/crypto.js +0 -80
  7. package/lib/constants/factory/stable.d.ts +0 -13
  8. package/lib/constants/factory/stable.js +0 -139
  9. package/lib/constants/network_constants.js +2 -292
  10. package/lib/constants/pools/index.d.ts +1 -11
  11. package/lib/constants/pools/index.js +1 -11
  12. package/lib/constants/rewardNetworks.js +1 -1
  13. package/lib/constants/volumeNetworks.d.ts +0 -2
  14. package/lib/constants/volumeNetworks.js +1 -3
  15. package/lib/curve.js +1 -4
  16. package/lib/external-api.d.ts +0 -2
  17. package/lib/external-api.js +0 -41
  18. package/lib/pools/PoolTemplate.js +0 -2
  19. package/lib/pools/subClasses/statsPool.js +2 -2
  20. package/lib/pools/utils.js +2 -12
  21. package/lib/route-graph.worker.js +2 -4
  22. package/lib/utils.js +3 -57
  23. package/package.json +1 -1
  24. package/lib/constants/abis/avaxcrypto/swap.json +0 -1195
  25. package/lib/constants/abis/avaxcrypto/zap.json +0 -250
  26. package/lib/constants/abis/factory-v2/DepositZapMetaUsd2Fantom.json +0 -197
  27. package/lib/constants/abis/factory-v2/MetaUSDGeist.json +0 -932
  28. package/lib/constants/abis/fusdt/swap.json +0 -1221
  29. package/lib/constants/abis/fusdt/zap.json +0 -215
  30. package/lib/constants/abis/ren-fantom/swap.json +0 -868
  31. package/lib/constants/abis/tricrypto/swapNoZap.json +0 -1250
  32. package/lib/constants/coins/aurora.d.ts +0 -3
  33. package/lib/constants/coins/aurora.js +0 -9
  34. package/lib/constants/coins/avalanche.d.ts +0 -4
  35. package/lib/constants/coins/avalanche.js +0 -34
  36. package/lib/constants/coins/celo.d.ts +0 -3
  37. package/lib/constants/coins/celo.js +0 -9
  38. package/lib/constants/coins/fantom.d.ts +0 -5
  39. package/lib/constants/coins/fantom.js +0 -31
  40. package/lib/constants/coins/kava.d.ts +0 -3
  41. package/lib/constants/coins/kava.js +0 -9
  42. package/lib/constants/coins/mantle.d.ts +0 -2
  43. package/lib/constants/coins/mantle.js +0 -5
  44. package/lib/constants/coins/moonbeam.d.ts +0 -3
  45. package/lib/constants/coins/moonbeam.js +0 -9
  46. package/lib/constants/coins/sonic.d.ts +0 -2
  47. package/lib/constants/coins/sonic.js +0 -5
  48. package/lib/constants/coins/xlayer.d.ts +0 -2
  49. package/lib/constants/coins/xlayer.js +0 -5
  50. package/lib/constants/coins/zksync.d.ts +0 -2
  51. package/lib/constants/coins/zksync.js +0 -6
  52. package/lib/constants/pools/aurora.d.ts +0 -2
  53. package/lib/constants/pools/aurora.js +0 -31
  54. package/lib/constants/pools/avalanche.d.ts +0 -2
  55. package/lib/constants/pools/avalanche.js +0 -166
  56. package/lib/constants/pools/celo.d.ts +0 -2
  57. package/lib/constants/pools/celo.js +0 -2
  58. package/lib/constants/pools/fantom.d.ts +0 -2
  59. package/lib/constants/pools/fantom.js +0 -185
  60. package/lib/constants/pools/kava.d.ts +0 -2
  61. package/lib/constants/pools/kava.js +0 -2
  62. package/lib/constants/pools/mantle.d.ts +0 -2
  63. package/lib/constants/pools/mantle.js +0 -2
  64. package/lib/constants/pools/moonbeam.d.ts +0 -2
  65. package/lib/constants/pools/moonbeam.js +0 -31
  66. package/lib/constants/pools/sonic.d.ts +0 -2
  67. package/lib/constants/pools/sonic.js +0 -2
  68. package/lib/constants/pools/xlayer.d.ts +0 -2
  69. package/lib/constants/pools/xlayer.js +0 -2
  70. package/lib/constants/pools/zksync.d.ts +0 -2
  71. package/lib/constants/pools/zksync.js +0 -2
@@ -1,215 +0,0 @@
1
- [
2
- {
3
- "stateMutability": "nonpayable",
4
- "type": "constructor",
5
- "inputs": [
6
- {
7
- "name": "_pool",
8
- "type": "address"
9
- },
10
- {
11
- "name": "_base_pool",
12
- "type": "address"
13
- }
14
- ],
15
- "outputs": []
16
- },
17
- {
18
- "stateMutability": "nonpayable",
19
- "type": "function",
20
- "name": "add_liquidity",
21
- "inputs": [
22
- {
23
- "name": "_amounts",
24
- "type": "uint256[3]"
25
- },
26
- {
27
- "name": "_min_mint_amount",
28
- "type": "uint256"
29
- }
30
- ],
31
- "outputs": [
32
- {
33
- "name": "",
34
- "type": "uint256"
35
- }
36
- ],
37
- "gas": "25605"
38
- },
39
- {
40
- "stateMutability": "nonpayable",
41
- "type": "function",
42
- "name": "remove_liquidity",
43
- "inputs": [
44
- {
45
- "name": "_amount",
46
- "type": "uint256"
47
- },
48
- {
49
- "name": "_min_amounts",
50
- "type": "uint256[3]"
51
- }
52
- ],
53
- "outputs": [
54
- {
55
- "name": "",
56
- "type": "uint256[3]"
57
- }
58
- ],
59
- "gas": "26803"
60
- },
61
- {
62
- "stateMutability": "nonpayable",
63
- "type": "function",
64
- "name": "remove_liquidity_one_coin",
65
- "inputs": [
66
- {
67
- "name": "_token_amount",
68
- "type": "uint256"
69
- },
70
- {
71
- "name": "i",
72
- "type": "int128"
73
- },
74
- {
75
- "name": "_min_amount",
76
- "type": "uint256"
77
- }
78
- ],
79
- "outputs": [
80
- {
81
- "name": "",
82
- "type": "uint256"
83
- }
84
- ],
85
- "gas": "14494"
86
- },
87
- {
88
- "stateMutability": "nonpayable",
89
- "type": "function",
90
- "name": "remove_liquidity_imbalance",
91
- "inputs": [
92
- {
93
- "name": "_amounts",
94
- "type": "uint256[3]"
95
- },
96
- {
97
- "name": "_max_burn_amount",
98
- "type": "uint256"
99
- }
100
- ],
101
- "outputs": [
102
- {
103
- "name": "",
104
- "type": "uint256"
105
- }
106
- ],
107
- "gas": "32024"
108
- },
109
- {
110
- "stateMutability": "view",
111
- "type": "function",
112
- "name": "calc_withdraw_one_coin",
113
- "inputs": [
114
- {
115
- "name": "_token_amount",
116
- "type": "uint256"
117
- },
118
- {
119
- "name": "i",
120
- "type": "int128"
121
- }
122
- ],
123
- "outputs": [
124
- {
125
- "name": "",
126
- "type": "uint256"
127
- }
128
- ],
129
- "gas": "3174"
130
- },
131
- {
132
- "stateMutability": "view",
133
- "type": "function",
134
- "name": "calc_token_amount",
135
- "inputs": [
136
- {
137
- "name": "_amounts",
138
- "type": "uint256[3]"
139
- },
140
- {
141
- "name": "_is_deposit",
142
- "type": "bool"
143
- }
144
- ],
145
- "outputs": [
146
- {
147
- "name": "",
148
- "type": "uint256"
149
- }
150
- ],
151
- "gas": "3998"
152
- },
153
- {
154
- "stateMutability": "view",
155
- "type": "function",
156
- "name": "pool",
157
- "inputs": [],
158
- "outputs": [
159
- {
160
- "name": "",
161
- "type": "address"
162
- }
163
- ],
164
- "gas": "1268"
165
- },
166
- {
167
- "stateMutability": "view",
168
- "type": "function",
169
- "name": "base_pool",
170
- "inputs": [],
171
- "outputs": [
172
- {
173
- "name": "",
174
- "type": "address"
175
- }
176
- ],
177
- "gas": "1298"
178
- },
179
- {
180
- "stateMutability": "view",
181
- "type": "function",
182
- "name": "coins",
183
- "inputs": [
184
- {
185
- "name": "arg0",
186
- "type": "uint256"
187
- }
188
- ],
189
- "outputs": [
190
- {
191
- "name": "",
192
- "type": "address"
193
- }
194
- ],
195
- "gas": "1437"
196
- },
197
- {
198
- "stateMutability": "view",
199
- "type": "function",
200
- "name": "base_coins",
201
- "inputs": [
202
- {
203
- "name": "arg0",
204
- "type": "uint256"
205
- }
206
- ],
207
- "outputs": [
208
- {
209
- "name": "",
210
- "type": "address"
211
- }
212
- ],
213
- "gas": "1467"
214
- }
215
- ]