Skip to content

Commit

Permalink
feat: add lif3swap dex on POL and BSC (#120)
Browse files Browse the repository at this point in the history
* feat: add lif3swap dex on POL and BSC

* chore: code cleanup
  • Loading branch information
melianessa committed Jan 26, 2023
1 parent 0447ffc commit b213e28
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Binary file added src/assets/icons/exchanges/lif3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions src/exchanges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,23 @@ export const supportedExchanges: Array<Exchange> = [
findDefaultToken(CoinKey.SUSHI, ChainId.POL),
],
},
{
key: 'lif3swap-pol',
name: 'Lif3 Swap',
chainId: ChainId.POL,
webUrl: 'https://lif3.com/',
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/lif3.png',
tokenlistUrl: 'https://assets.lif3.com/swap/polygon/tokens.json',
routerAddress: '0x67dC2703D306F72E94DbB0cE0aa0CB86149EAc70',
factoryAddress: '0x3FB1E7D5d9C974141A5B6E5fa4edab0a7Aa15C6A',
initCodeHash:
'0x57cf36086932d62d26c562d18d87afe373f166c06011dc35be0783e29c6eb4eb',
baseTokens: [
findWrappedGasOnChain(ChainId.POL),
findDefaultToken(CoinKey.USDC, ChainId.POL),
],
},

// 56 - Binance Smart Chain
{
Expand Down Expand Up @@ -295,6 +312,23 @@ export const supportedExchanges: Array<Exchange> = [
findDefaultToken(CoinKey.SUSHI, ChainId.BSC),
],
},
{
key: 'lif3swap-bsc',
name: 'Lif3 Swap',
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/lif3.png',
chainId: ChainId.BSC,
webUrl: 'https://lif3.com/',
tokenlistUrl: 'https://assets.lif3.com/swap/bnb/tokens.json',
routerAddress: '0x1956005bA9690B7A00b09c78769675C0cE1457AF',
factoryAddress: '0x3FB1E7D5d9C974141A5B6E5fa4edab0a7Aa15C6A',
initCodeHash:
'0x57cf36086932d62d26c562d18d87afe373f166c06011dc35be0783e29c6eb4eb',
baseTokens: [
findWrappedGasOnChain(ChainId.BSC),
findDefaultToken(CoinKey.USDC, ChainId.BSC),
],
},

// 100 - Gnosis
{
Expand Down

0 comments on commit b213e28

Please sign in to comment.