@curvefi/api 2.69.9 → 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 (62) 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 -10
  4. package/lib/constants/coins/index.js +1 -10
  5. package/lib/constants/factory/crypto.d.ts +0 -45
  6. package/lib/constants/factory/crypto.js +0 -72
  7. package/lib/constants/factory/stable.d.ts +0 -9
  8. package/lib/constants/factory/stable.js +0 -119
  9. package/lib/constants/network_constants.js +2 -258
  10. package/lib/constants/pools/index.d.ts +1 -10
  11. package/lib/constants/pools/index.js +1 -10
  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 -7
  21. package/lib/route-graph.worker.js +2 -3
  22. package/lib/utils.js +3 -55
  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/MetaUSDGeist.json +0 -932
  27. package/lib/constants/coins/aurora.d.ts +0 -3
  28. package/lib/constants/coins/aurora.js +0 -9
  29. package/lib/constants/coins/avalanche.d.ts +0 -4
  30. package/lib/constants/coins/avalanche.js +0 -34
  31. package/lib/constants/coins/celo.d.ts +0 -3
  32. package/lib/constants/coins/celo.js +0 -9
  33. package/lib/constants/coins/kava.d.ts +0 -3
  34. package/lib/constants/coins/kava.js +0 -9
  35. package/lib/constants/coins/mantle.d.ts +0 -2
  36. package/lib/constants/coins/mantle.js +0 -5
  37. package/lib/constants/coins/moonbeam.d.ts +0 -3
  38. package/lib/constants/coins/moonbeam.js +0 -9
  39. package/lib/constants/coins/sonic.d.ts +0 -2
  40. package/lib/constants/coins/sonic.js +0 -5
  41. package/lib/constants/coins/xlayer.d.ts +0 -2
  42. package/lib/constants/coins/xlayer.js +0 -5
  43. package/lib/constants/coins/zksync.d.ts +0 -2
  44. package/lib/constants/coins/zksync.js +0 -6
  45. package/lib/constants/pools/aurora.d.ts +0 -2
  46. package/lib/constants/pools/aurora.js +0 -31
  47. package/lib/constants/pools/avalanche.d.ts +0 -2
  48. package/lib/constants/pools/avalanche.js +0 -166
  49. package/lib/constants/pools/celo.d.ts +0 -2
  50. package/lib/constants/pools/celo.js +0 -2
  51. package/lib/constants/pools/kava.d.ts +0 -2
  52. package/lib/constants/pools/kava.js +0 -2
  53. package/lib/constants/pools/mantle.d.ts +0 -2
  54. package/lib/constants/pools/mantle.js +0 -2
  55. package/lib/constants/pools/moonbeam.d.ts +0 -2
  56. package/lib/constants/pools/moonbeam.js +0 -31
  57. package/lib/constants/pools/sonic.d.ts +0 -2
  58. package/lib/constants/pools/sonic.js +0 -2
  59. package/lib/constants/pools/xlayer.d.ts +0 -2
  60. package/lib/constants/pools/xlayer.js +0 -2
  61. package/lib/constants/pools/zksync.d.ts +0 -2
  62. package/lib/constants/pools/zksync.js +0 -2
@@ -1,250 +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": "payable",
19
- "type": "fallback"
20
- },
21
- {
22
- "stateMutability": "payable",
23
- "type": "function",
24
- "name": "add_liquidity",
25
- "inputs": [
26
- {
27
- "name": "_amounts",
28
- "type": "uint256[4]"
29
- },
30
- {
31
- "name": "_min_mint_amount",
32
- "type": "uint256"
33
- },
34
- {
35
- "name": "use_eth",
36
- "type": "bool"
37
- }
38
- ],
39
- "outputs": []
40
- },
41
- {
42
- "stateMutability": "payable",
43
- "type": "function",
44
- "name": "exchange_underlying",
45
- "inputs": [
46
- {
47
- "name": "i",
48
- "type": "uint256"
49
- },
50
- {
51
- "name": "j",
52
- "type": "uint256"
53
- },
54
- {
55
- "name": "_dx",
56
- "type": "uint256"
57
- },
58
- {
59
- "name": "_min_dy",
60
- "type": "uint256"
61
- },
62
- {
63
- "name": "use_eth",
64
- "type": "bool"
65
- }
66
- ],
67
- "outputs": []
68
- },
69
- {
70
- "stateMutability": "nonpayable",
71
- "type": "function",
72
- "name": "remove_liquidity",
73
- "inputs": [
74
- {
75
- "name": "_amount",
76
- "type": "uint256"
77
- },
78
- {
79
- "name": "_min_amounts",
80
- "type": "uint256[4]"
81
- },
82
- {
83
- "name": "use_eth",
84
- "type": "bool"
85
- }
86
- ],
87
- "outputs": []
88
- },
89
- {
90
- "stateMutability": "nonpayable",
91
- "type": "function",
92
- "name": "remove_liquidity_one_coin",
93
- "inputs": [
94
- {
95
- "name": "_token_amount",
96
- "type": "uint256"
97
- },
98
- {
99
- "name": "i",
100
- "type": "uint256"
101
- },
102
- {
103
- "name": "_min_amount",
104
- "type": "uint256"
105
- },
106
- {
107
- "name": "use_eth",
108
- "type": "bool"
109
- }
110
- ],
111
- "outputs": []
112
- },
113
- {
114
- "stateMutability": "view",
115
- "type": "function",
116
- "name": "get_dy_underlying",
117
- "inputs": [
118
- {
119
- "name": "i",
120
- "type": "uint256"
121
- },
122
- {
123
- "name": "j",
124
- "type": "uint256"
125
- },
126
- {
127
- "name": "_dx",
128
- "type": "uint256"
129
- }
130
- ],
131
- "outputs": [
132
- {
133
- "name": "",
134
- "type": "uint256"
135
- }
136
- ]
137
- },
138
- {
139
- "stateMutability": "view",
140
- "type": "function",
141
- "name": "calc_token_amount",
142
- "inputs": [
143
- {
144
- "name": "_amounts",
145
- "type": "uint256[4]"
146
- },
147
- {
148
- "name": "_is_deposit",
149
- "type": "bool"
150
- }
151
- ],
152
- "outputs": [
153
- {
154
- "name": "",
155
- "type": "uint256"
156
- }
157
- ]
158
- },
159
- {
160
- "stateMutability": "view",
161
- "type": "function",
162
- "name": "calc_withdraw_one_coin",
163
- "inputs": [
164
- {
165
- "name": "token_amount",
166
- "type": "uint256"
167
- },
168
- {
169
- "name": "i",
170
- "type": "uint256"
171
- }
172
- ],
173
- "outputs": [
174
- {
175
- "name": "",
176
- "type": "uint256"
177
- }
178
- ]
179
- },
180
- {
181
- "stateMutability": "view",
182
- "type": "function",
183
- "name": "coins",
184
- "inputs": [
185
- {
186
- "name": "arg0",
187
- "type": "uint256"
188
- }
189
- ],
190
- "outputs": [
191
- {
192
- "name": "",
193
- "type": "address"
194
- }
195
- ]
196
- },
197
- {
198
- "stateMutability": "view",
199
- "type": "function",
200
- "name": "underlying_coins",
201
- "inputs": [
202
- {
203
- "name": "arg0",
204
- "type": "uint256"
205
- }
206
- ],
207
- "outputs": [
208
- {
209
- "name": "",
210
- "type": "address"
211
- }
212
- ]
213
- },
214
- {
215
- "stateMutability": "view",
216
- "type": "function",
217
- "name": "pool",
218
- "inputs": [],
219
- "outputs": [
220
- {
221
- "name": "",
222
- "type": "address"
223
- }
224
- ]
225
- },
226
- {
227
- "stateMutability": "view",
228
- "type": "function",
229
- "name": "base_pool",
230
- "inputs": [],
231
- "outputs": [
232
- {
233
- "name": "",
234
- "type": "address"
235
- }
236
- ]
237
- },
238
- {
239
- "stateMutability": "view",
240
- "type": "function",
241
- "name": "token",
242
- "inputs": [],
243
- "outputs": [
244
- {
245
- "name": "",
246
- "type": "address"
247
- }
248
- ]
249
- }
250
- ]