Skip to content

Commit

Permalink
chore: Update top 15 and top 100 lists (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chef-Chungus authored Jun 21, 2021
1 parent 8845122 commit 6ceacd5
Show file tree
Hide file tree
Showing 9 changed files with 840 additions and 577 deletions.
324 changes: 162 additions & 162 deletions packages/token-lists/lists/pancakeswap-top-100.json

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions packages/token-lists/lists/pancakeswap-top-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
{
"name": "PancakeSwap Top 15",
"timestamp": "2021-06-21T01:44:14.518Z",
"version": {
"major": 2,
"minor": 16,
"patch": 0
},
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/logo.png",
"keywords": [
"pancakeswap",
"top 15"
],
"tokens": [
{
"name": "Cardano Token",
"symbol": "ADA",
"address": "0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47/logo.png"
},
{
"name": "AlpacaToken",
"symbol": "ALPACA",
"address": "0x8F0528cE5eF7B51152A59745bEfDD91D97091d2F",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x8F0528cE5eF7B51152A59745bEfDD91D97091d2F/logo.png"
},
{
"name": "BELT Token",
"symbol": "BELT",
"address": "0xE0e514c71282b6f4e823703a39374Cf58dc3eA4f",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0xE0e514c71282b6f4e823703a39374Cf58dc3eA4f/logo.png"
},
{
"name": "Bunny Token",
"symbol": "BUNNY",
"address": "0xC9849E6fdB743d08fAeE3E34dd2D1bc69EA11a51",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0xC9849E6fdB743d08fAeE3E34dd2D1bc69EA11a51/logo.png"
},
{
"name": "Dai Token",
"symbol": "DAI",
"address": "0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3/logo.png"
},
{
"name": "Dopple Token",
"symbol": "DOP",
"address": "0x844FA82f1E54824655470970F7004Dd90546bB28",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x844FA82f1E54824655470970F7004Dd90546bB28/logo.png"
},
{
"name": "Polkadot Token",
"symbol": "DOT",
"address": "0x7083609fCE4d1d8Dc0C979AAb8c869Ea2C873402",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x7083609fCE4d1d8Dc0C979AAb8c869Ea2C873402/logo.png"
},
{
"name": "MemePad",
"symbol": "MEPAD",
"address": "0x9d70a3EE3079A6FA2bB16591414678b7Ad91f0b5",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x9d70a3EE3079A6FA2bB16591414678b7Ad91f0b5/logo.png"
},
{
"name": "SafeMoon",
"symbol": "SAFEMOON",
"address": "0x8076C74C5e3F5852037F31Ff0093Eeb8c8ADd8D3",
"chainId": 56,
"decimals": 9,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x8076C74C5e3F5852037F31Ff0093Eeb8c8ADd8D3/logo.png"
},
{
"name": "TRONPAD.network",
"symbol": "TRONPAD",
"address": "0x1Bf7AedeC439D6BFE38f8f9b20CF3dc99e3571C4",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x1Bf7AedeC439D6BFE38f8f9b20CF3dc99e3571C4/logo.png"
},
{
"name": "USD Coin",
"symbol": "USDC",
"address": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d/logo.png"
},
{
"name": "Wrapped UST Token",
"symbol": "UST",
"address": "0x23396cF899Ca06c4472205fC903bDB4de249D6fC",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x23396cF899Ca06c4472205fC903bDB4de249D6fC/logo.png"
},
{
"name": "VAI Stablecoin",
"symbol": "VAI",
"address": "0x4BD17003473389A42DAF6a0a729f6Fdb328BbBd7",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x4BD17003473389A42DAF6a0a729f6Fdb328BbBd7/logo.png"
},
{
"name": "XRP Token",
"symbol": "XRP",
"address": "0x1D2F0da169ceB9fC7B3144628dB156f3F6c60dBE",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x1D2F0da169ceB9fC7B3144628dB156f3F6c60dBE/logo.png"
},
{
"name": "Venus",
"symbol": "XVS",
"address": "0xcF6BB5389c92Bdda8a3747Ddb454cB7a64626C63",
"chainId": 56,
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/smartchain/assets/0xcF6BB5389c92Bdda8a3747Ddb454cB7a64626C63/logo.png"
}
]
}
5 changes: 4 additions & 1 deletion packages/token-lists/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pancakeswap/token-lists",
"version": "2.15.5",
"version": "2.16.0",
"main": "dist/index.js",
"type": "module",
"license": "MIT",
Expand All @@ -16,6 +16,9 @@
"checksum:pcs-top-100": "yarn build && node ./dist checksum pancakeswap-top-100",
"generate:pcs-top-100": "yarn test && yarn build && node ./dist generate pancakeswap-top-100",
"makelist:pcs-top-100": "yarn checksum:pcs-top-100 && yarn generate:pcs-top-100",
"checksum:pcs-top-15": "yarn build && node ./dist checksum pancakeswap-top-15",
"generate:pcs-top-15": "yarn test && yarn build && node ./dist generate pancakeswap-top-15",
"makelist:pcs-top-15": "yarn checksum:pcs-top-15 && yarn generate:pcs-top-15",
"fetch:pcs-top-100": "yarn build && node ./dist fetch",
"test": "jest"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/token-lists/src/buildList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { version } from "../package.json";
import pancakeswapDefault from "./tokens/pancakeswap-default.json";
import pancakeswapExtended from "./tokens/pancakeswap-extended.json";
import pancakeswapTop100 from "./tokens/pancakeswap-top-100.json";
import pancakeswapTop15 from "./tokens/pancakeswap-top-15.json";

const lists = {
"pancakeswap-default": {
Expand All @@ -31,6 +32,14 @@ const lists = {
"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/logo.png",
sort: true,
},
"pancakeswap-top-15": {
list: pancakeswapTop15,
name: "PancakeSwap Top 15",
keywords: ["pancakeswap", "top 15"],
logoURI:
"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/logo.png",
sort: true,
},
};

export const buildList = (listName: string): TokenList => {
Expand Down
4 changes: 3 additions & 1 deletion packages/token-lists/src/checksum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import { getAddress } from "@ethersproject/address";
import pancakeswapDefault from "./tokens/pancakeswap-default.json";
import pancakeswapExtended from "./tokens/pancakeswap-extended.json";
import pancakeswapTop100 from "./tokens/pancakeswap-top-100.json";
import pancakeswapTop15 from "./tokens/pancakeswap-top-15.json";

const lists = {
"pancakeswap-default": pancakeswapDefault,
"pancakeswap-extended": pancakeswapExtended,
"pancakeswap-top-100": pancakeswapTop100
"pancakeswap-top-100": pancakeswapTop100,
"pancakeswap-top-15": pancakeswapTop15
};

const checksumAddresses = (listName: string): void => {
Expand Down
Loading

0 comments on commit 6ceacd5

Please sign in to comment.