Skip to content

Commit

Permalink
add sokol tokens list (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianLF authored Apr 29, 2022
1 parent 1e04557 commit b6c1b27
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ yarn build # build token lists
| BNB | 56 | [latest][link-bnb] | [token-list][viewer-bnb] |
| Chapel | 97 | [latest][link-chapel] | [token-list][viewer-chapel] |
| xDai | 100 | [latest][link-xdai] | [token-list][viewer-xdai] |
| Sokol | 77 | [latest][link-sokol] | [token-list][viewer-sokol] |
| Fuse | 122 | [latest][link-fuse] | [token-list][viewer-fuse] |
| Heco | 128 | [latest][link-heco] | [token-list][viewer-heco] |
| Fantom | 250 | [latest][link-fantom] | [token-list][viewer-fantom] |
Expand All @@ -57,6 +58,7 @@ yarn build # build token lists
[link-bnb]: https://tokens.r2d2.to/latest/56/tokens.json
[link-chapel]: https://tokens.r2d2.to/latest/97/tokens.json
[link-xdai]: https://tokens.r2d2.to/latest/100/tokens.json
[link-sokol]: https://tokens.r2d2.to/latest/77/tokens.json
[link-fuse]: https://tokens.r2d2.to/latest/122/tokens.json
[link-heco]: https://tokens.r2d2.to/latest/128/tokens.json
[link-fantom]: https://tokens.r2d2.to/latest/250/tokens.json
Expand All @@ -79,6 +81,7 @@ yarn build # build token lists
[viewer-bnb]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/56/tokens.json
[viewer-chapel]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/97/tokens.json
[viewer-xdai]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/100/tokens.json
[viewer-sokol]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/77/tokens.json
[viewer-fuse]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/122/tokens.json
[viewer-heco]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/128/tokens.json
[viewer-fantom]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/250/tokens.json
Expand Down
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.34",
"version": "0.0.35",
"repository": "https://github.com/DimensionDev/Mask-Token-Lists.git",
"license": "MIT",
"author": "guanbinrui <[email protected]>",
Expand Down
10 changes: 10 additions & 0 deletions src/fungible-tokens/sokol.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"name": "USDT test token",
"address": "0xe5b51cb429edB62b29cECEBACB574074cd276283",
"symbol": "USDT",
"decimals": 18,
"chainId": 77,
"logoURI": "https://raw.githubusercontent.com/sushiswap/icons/master/token/usdt.jpg"
}
]
2 changes: 2 additions & 0 deletions src/generate-fungible-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Fuse from "./fungible-tokens/fuse.json";
import BNB from "./fungible-tokens/bnb.json";
import Chapel from "./fungible-tokens/chapel.json";
import xDai from "./fungible-tokens/xdai.json";
import Sokol from "./fungible-tokens/sokol.json";
import Fantom from "./fungible-tokens/fantom.json";
import Celo from "./fungible-tokens/celo.json";
import Polygon from "./fungible-tokens/polygon.json";
Expand Down Expand Up @@ -69,6 +70,7 @@ function getFungibleTokenLists(): Record<ChainId, FungibleToken[][]> {
[ChainId.BNB]: [BNB, Pancake],
[ChainId.Chapel]: [Chapel],
[ChainId.xDai]: [xDai],
[ChainId.Sokol]: [Sokol],
[ChainId.Fuse]: [Fuse],
[ChainId.Heco]: [Heco],
[ChainId.Fantom]: [Fantom],
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export enum ChainId {
BNB = 56,
Chapel = 97,
xDai = 100,
Sokol = 77,
Fuse = 122,
Heco = 128,
Fantom = 250,
Expand Down

0 comments on commit b6c1b27

Please sign in to comment.