Skip to content

Commit

Permalink
Merge pull request sushi-labs#1602 from sushiswap/pancakeswap-tokenlists
Browse files Browse the repository at this point in the history
feat(pkgs/sushi): add pancakeswap token lists
  • Loading branch information
matthewlilley authored Aug 12, 2024
2 parents 7f5f013 + c753d82 commit da3dcf2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/sushi/src/token-list/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ export const PLASMA_BNB_LIST =
export const LINEA_LIST =
'https://raw.githubusercontent.com/Consensys/linea-token-list/main/json/linea-mainnet-token-fulllist.json'

export const PANCAKESWAP_EXTENDED =
'https://tokens.pancakeswap.finance/pancakeswap-extended.json'
export const PANCAKESWAP_COINGECKO =
'https://tokens.pancakeswap.finance/coingecko.json'
export const PANCAKESWAP_BNB =
'https://tokens.pancakeswap.finance/pancakeswap-bnb-mm.json'

// this is the default list of lists that are exposed to users
// lower index == higher priority for token import
export const DEFAULT_TOKEN_LIST_OF_TOKEN_LISTS_TO_DISPLAY: string[] = [
Expand All @@ -64,6 +71,9 @@ export const DEFAULT_TOKEN_LIST_OF_TOKEN_LISTS_TO_DISPLAY: string[] = [
CELO_LIST,
PLASMA_BNB_LIST,
LINEA_LIST,
PANCAKESWAP_EXTENDED,
PANCAKESWAP_COINGECKO,
PANCAKESWAP_BNB,
]

export const DEFAULT_LIST_OF_LISTS: string[] = [
Expand Down

0 comments on commit da3dcf2

Please sign in to comment.