@curvefi/api 2.56.2 → 2.56.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.
|
@@ -190,10 +190,10 @@ export function getFactoryPoolsDataFromApi(factoryType) {
|
|
|
190
190
|
else if (factoryType === 'factory-tricrypto') {
|
|
191
191
|
var isETHEnabled = pool.implementationAddress === tricryptoDeployImplementations[curve.chainId].amm_native_transfers_enabled;
|
|
192
192
|
if (isETHEnabled) {
|
|
193
|
-
return c.symbol;
|
|
193
|
+
return c.symbol === nativeToken.wrappedSymbol ? nativeToken.symbol : c.symbol;
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
196
|
-
return c.symbol
|
|
196
|
+
return c.symbol;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
else {
|
|
@@ -207,10 +207,10 @@ export function getFactoryPoolsDataFromApi(factoryType) {
|
|
|
207
207
|
else if (factoryType === 'factory-tricrypto') {
|
|
208
208
|
var isETHEnabled = pool.implementationAddress === tricryptoDeployImplementations[curve.chainId].amm_native_transfers_enabled;
|
|
209
209
|
if (isETHEnabled) {
|
|
210
|
-
return addr;
|
|
210
|
+
return addr === nativeToken.wrappedAddress ? nativeToken.address : addr;
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
|
-
return addr
|
|
213
|
+
return addr;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
else {
|