Skip to content

Commit

Permalink
Remove chain and token restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Feb 9, 2024
1 parent 56a65ad commit 6154965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
11 changes: 1 addition & 10 deletions src/swap/central/exolix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,8 @@ const asInitOptions = asObject({
})

const INVALID_CURRENCY_CODES: InvalidCurrencyCodes = {
from: {
binancesmartchain: 'allCodes',
ethereum: ['MATIC'],
optimism: 'allCodes',
polygon: 'allCodes'
},
from: {},
to: {
binancesmartchain: 'allCodes',
ethereum: ['MATIC'],
optimism: 'allCodes',
polygon: 'allCodes',
zcash: ['ZEC']
}
}
Expand Down
15 changes: 2 additions & 13 deletions src/swap/central/godex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,10 @@ const asQuoteInfo = asObject({

const INVALID_CURRENCY_CODES: InvalidCurrencyCodes = {
from: {
avalanche: 'allTokens',
celo: 'allTokens',
digibyte: 'allCodes',
ethereum: ['MATIC'],
fantom: 'allTokens',
optimism: ['VELO'],
polygon: 'allCodes'
digibyte: 'allCodes'
},
to: {
avalanche: 'allTokens',
celo: 'allTokens',
ethereum: ['MATIC'],
fantom: 'allTokens',
polygon: 'allCodes',
zcash: ['ZEC'] // ChangeHero doesn't support sending to unified addresses
zcash: ['ZEC'] // Godex doesn't support sending to unified addresses
}
}

Expand Down

0 comments on commit 6154965

Please sign in to comment.