@curvefi/api 2.68.1 → 2.68.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -393,8 +393,8 @@ export const NETWORK_CONSTANTS = {
|
|
|
393
393
|
POOLS_DATA: POOLS_DATA_POLYGON,
|
|
394
394
|
COINS: COINS_POLYGON,
|
|
395
395
|
NATIVE_COIN: {
|
|
396
|
-
symbol: '
|
|
397
|
-
wrappedSymbol: '
|
|
396
|
+
symbol: 'POL',
|
|
397
|
+
wrappedSymbol: 'WPOL',
|
|
398
398
|
address: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
399
399
|
wrappedAddress: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270'.toLowerCase(),
|
|
400
400
|
},
|
package/lib/router.js
CHANGED
|
@@ -36,7 +36,7 @@ function mapDict(dict, mapper) {
|
|
|
36
36
|
function _buildRouteGraphImpl(chainId, isLiteChain) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
38
|
const constants = this.constants;
|
|
39
|
-
const allPools = Object.entries(this.getPoolsData()).filter(([id]) => !["crveth", "y", "busd", "pax"].includes(id));
|
|
39
|
+
const allPools = Object.entries(this.getPoolsData()).filter(([id]) => !["crveth", "y", "busd", "pax", "susd"].includes(id));
|
|
40
40
|
const amplificationCoefficientDict = yield _getAmplificationCoefficientsFromApi.call(this);
|
|
41
41
|
const poolTvlDict = yield entriesToDictAsync(allPools, _getTVL.bind(this));
|
|
42
42
|
const input = { constants, chainId, isLiteChain, allPools, amplificationCoefficientDict, poolTvlDict };
|