prettier and lint everything

This commit is contained in:
Noah Khamliche 2022-05-18 11:36:39 -04:00 committed by Noah Khamliche
parent cf740b74f5
commit 6774d2f588
3 changed files with 3 additions and 10 deletions

View File

@ -1,5 +1,4 @@
[
{
"version": "16.60.0",
"changes": [

View File

@ -526,7 +526,7 @@ export const BRIDGE_ENCODERS: {
[ERC20BridgeSource.SpookySwap]: routerAddressPathEncoder,
[ERC20BridgeSource.MorpheusSwap]: routerAddressPathEncoder,
[ERC20BridgeSource.BiSwap]: routerAddressPathEncoder,
// Avalanche
// Avalanche
[ERC20BridgeSource.GMX]: gmxAddressPathEncoder,
[ERC20BridgeSource.Platypus]: platypusAddressPathEncoder,
// Celo

View File

@ -1719,10 +1719,7 @@ export class SamplerOperations {
}
case ERC20BridgeSource.GMX: {
// low liquidity mim pool dont quote
if (
takerToken === AVALANCHE_TOKENS.MIM ||
makerToken === 'AVALANCHE_TOKENS.MIM'
) {
if (takerToken === AVALANCHE_TOKENS.MIM || makerToken === 'AVALANCHE_TOKENS.MIM') {
return [];
}
return this.getGMXSellQuotes(
@ -2047,10 +2044,7 @@ export class SamplerOperations {
}
case ERC20BridgeSource.GMX: {
// bad mim pool dont quote
if (
takerToken === 'AVALANCHE_TOKENS.MIM' ||
makerToken === 'AVALANCHE_TOKENS.MIM'
) {
if (takerToken === 'AVALANCHE_TOKENS.MIM' || makerToken === 'AVALANCHE_TOKENS.MIM') {
return [];
}
return this.getGMXBuyQuotes(