Skip to content

Commit

Permalink
prettier and lint everything
Browse files Browse the repository at this point in the history
  • Loading branch information
dextracker committed May 18, 2022
1 parent cf740b7 commit 6774d2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/asset-swapper/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[

{
"version": "16.60.0",
"changes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 6774d2f

Please sign in to comment.