Skip to content

Commit

Permalink
feat(moonbeam): add moonbeam tokenlist #18 (#25)
Browse files Browse the repository at this point in the history
* feat(moonbeam): add moonbeam tokenlist #18

* bump version 0.0.30

* chore: bump version to 31

Co-authored-by: guanbinrui <[email protected]>
  • Loading branch information
developerfred and guanbinrui authored Mar 29, 2022
1 parent 405c969 commit 7b2b770
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ yarn build # build token lists
| Polygon | 137 | [latest][link-polygon] | [token-list][viewer-polygon] |
| Mumbai | 80001 | [latest][link-mumbai] | [token-list][viewer-mumbai] |
| Conflux | 1030 | [latest][link-conflux] | [token-list][viewer-conflux] |
| Moonbeam | 1284 | [latest][link-moonbeam] | [token-list][viewer-moobeam] |
| Arbiturm | 42161 | [latest][link-arbiturm] | [token-list][viewer-arbiturm] |
| Celo | 42220 | [latest][link-celo] | [token-list][viewer-celo] |
| Avalanche | 43114 | [latest][link-avalanche] | [token-list][viewer-avalanche] |
Expand All @@ -65,6 +66,7 @@ yarn build # build token lists
[link-celo]: https://tokens.r2d2.to/latest/42220/tokens.json
[link-avalanche]: https://tokens.r2d2.to/latest/43114/tokens.json
[link-aurora]: https://tokens.r2d2.to/latest/1313161554/tokens.json
[link-moonbeam]: https://tokens.r2d2.to/latest/1284/tokens.json
[viewer-mainnet]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/1/tokens.json
[viewer-ropsten]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/3/tokens.json
[viewer-rinkeby]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/4/tokens.json
Expand All @@ -83,6 +85,7 @@ yarn build # build token lists
[viewer-celo]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/42220/tokens.json
[viewer-avalanche]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/43114/tokens.json
[viewer-aurora]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/1313161554/tokens.json
[viewer-moonbeam]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/1284/tokens.json
[viewer-kardiachain]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/24/tokens.json

<!-- end versions -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mask-token-lists",
"version": "0.0.30",
"version": "0.0.31",
"repository": "https://github.com/DimensionDev/Mask-Token-Lists.git",
"license": "MIT",
"author": "guanbinrui <[email protected]>",
Expand Down
146 changes: 146 additions & 0 deletions src/fungible-tokens/moonbeam.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
[
{
"name": "Wrapped Ether",
"address": "0x30D2a9F5FDf90ACe8c17952cbb4eE48a55D916A7",
"symbol": "WETH",
"decimals": 18,
"chainId": 1284,
"logoURI": "assets.coingecko.com/coins/images/2518/thumb/weth.png?1628852295"
},
{
"name": "Wrapped BTC",
"address": "0x1DC78Acda13a8BC4408B207c9E48CDBc096D95e0",
"symbol": "WBTC",
"decimals": 8,
"chainId": 1284,
"logoURI": "assets.coingecko.com/coins/images/7598/thumb/wrapped_bitcoin_wbtc.png?1548822744"
},
{
"name": "Dai Stablecoin",
"address": "0xc234A67a4F840E61adE794be47de455361b52413",
"symbol": "DAI",
"decimals": 18,
"chainId": 1284,
"logoURI": "raw.githubusercontent.com/sushiswap/icons/master/token/DAI.jpg"
},
{
"name": "USD Coin",
"address": "0x8f552a71EFE5eeFc207Bf75485b356A0b3f01eC9",
"symbol": "USDC",
"decimals": 6,
"chainId": 1284,
"logoURI": "raw.githubusercontent.com/sushiswap/icons/master/token/USDC.jpg"
},
{
"name": "Tether USD",
"address": "0x8e70cD5B4Ff3f62659049e74b6649c6603A0E594",
"symbol": "USDT",
"decimals": 6,
"chainId": 1284,
"logoURI": "raw.githubusercontent.com/sushiswap/icons/master/token/usdt.jpg"
},
{
"name": "Wrapped GLMR",
"address": "0xAcc15dC74880C9944775448304B263D191c6077F",
"symbol": "WGLMR",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Binance-Peg BUSD Token",
"address": "0xA649325Aa7C5093d12D6F98EB4378deAe68CE23F",
"symbol": "multiBUSD",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Vested SolarBeam Token",
"address": "0x0DB6729C03C85B0708166cA92801BcB5CAc781fC",
"symbol": "veSOLAR",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Vested Flare Token",
"address": "0x08c98AD2d4856BEC0a0EaF18C2a06E7201613F90",
"symbol": "veFLARE",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Flare Token",
"address": "0xE3e43888fa7803cDC7BEA478aB327cF1A0dc11a7",
"symbol": "FLARE",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Moonriver",
"address": "0x1d4C2a246311bB9f827F4C768e277FF5787B7D7E",
"symbol": "MOVR",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Binance",
"address": "0xc9BAA8cfdDe8E328787E29b4B078abf2DaDc2055",
"symbol": "BNB",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Moonscape",
"address": "0xB60590313975f0d98821B6Cab5Ea2a6d9641D7B6",
"symbol": "MSCP",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "RiverBoat",
"address": "0x4bDE98731149093a12579D71338fd3741fe6E5Ce",
"symbol": "RIB",
"decimals": 18,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Axelar Wrapped UST",
"address": "0x085416975fe14C2A731a97eC38B9bF8135231F62",
"symbol": "UST",
"decimals": 6,
"chainId": 1284,
"logoURI": ""
},
{
"name": "USD Coin",
"address": "0x818ec0A7Fe18Ff94269904fCED6AE3DaE6d6dC0b",
"symbol": "multiUSDC",
"decimals": 6,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Tether USD",
"address": "0xeFAeeE334F0Fd1712f9a8cc375f427D9Cdd40d73",
"symbol": "multiUSDT",
"decimals": 6,
"chainId": 1284,
"logoURI": ""
},
{
"name": "Axelar Wrapped LUNA",
"address": "0x31DAB3430f3081dfF3Ccd80F17AD98583437B213",
"symbol": "LUNA",
"decimals": 6,
"chainId": 1284,
"logoURI": ""
}
]
2 changes: 2 additions & 0 deletions src/generate-fungible-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import Aurora from "./fungible-tokens/aurora.json";
import Avalanche from "./fungible-tokens/avalanche.json";
import Boba from "./fungible-tokens/boba.json";
import Heco from "./fungible-tokens/heco.json";
import Moonbeam from "./fungible-tokens/moonbeam.json";
import Pancake from "./fungible-tokens/pancake.json";
import QucikSwapTokens from "./fungible-tokens/quickswap.json";
import Conflux from "./fungible-tokens/conflux.json";
Expand Down Expand Up @@ -77,6 +78,7 @@ function getFungibleTokenLists(): Record<ChainId, FungibleToken[][]> {
[ChainId.Celo]: [Celo],
[ChainId.Avalanche]: [Avalanche],
[ChainId.Aurora]: [Aurora],
[ChainId.Moonbeam]: [Moonbeam],
[ChainId.Kardiachain]: [Kardiachain],
};
}
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export enum ChainId {
Celo = 42220,
Avalanche = 43114,
Aurora = 1313161554,
Moonbeam = 1284,
}

export interface FungibleToken {
Expand Down

0 comments on commit 7b2b770

Please sign in to comment.