Skip to content

Commit c7b41eb

Browse files
committed
Merge remote-tracking branch 'upstream/master' into layer2-token-list
* bump version
2 parents bac960a + b6c1b27 commit c7b41eb

File tree

8 files changed

+31
-7
lines changed

8 files changed

+31
-7
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ jobs:
2929
uses: martinbeentjes/npm-get-version-action@master
3030

3131
- name: Tag Package Version
32-
uses: rickstaa/action-create-tag@v1
33-
with:
34-
tag: v${{ steps.package-version.outputs.current-version }}
35-
message: v${{ steps.package-version.outputs.current-version }}
32+
run: git tag v${{ steps.package-version.outputs.current-version }}
3633

3734
- name: Create Release Package
3835
uses: montudor/action-zip@v1

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ yarn build # build token lists
3535
| BNB | 56 | [latest][link-bnb] | [token-list][viewer-bnb] |
3636
| Chapel | 97 | [latest][link-chapel] | [token-list][viewer-chapel] |
3737
| xDai | 100 | [latest][link-xdai] | [token-list][viewer-xdai] |
38+
| Sokol | 77 | [latest][link-sokol] | [token-list][viewer-sokol] |
3839
| Fuse | 122 | [latest][link-fuse] | [token-list][viewer-fuse] |
3940
| Heco | 128 | [latest][link-heco] | [token-list][viewer-heco] |
4041
| Fantom | 250 | [latest][link-fantom] | [token-list][viewer-fantom] |
@@ -60,6 +61,7 @@ yarn build # build token lists
6061
[link-bnb]: https://tokens.r2d2.to/latest/56/tokens.json
6162
[link-chapel]: https://tokens.r2d2.to/latest/97/tokens.json
6263
[link-xdai]: https://tokens.r2d2.to/latest/100/tokens.json
64+
[link-sokol]: https://tokens.r2d2.to/latest/77/tokens.json
6365
[link-fuse]: https://tokens.r2d2.to/latest/122/tokens.json
6466
[link-heco]: https://tokens.r2d2.to/latest/128/tokens.json
6567
[link-fantom]: https://tokens.r2d2.to/latest/250/tokens.json
@@ -84,6 +86,7 @@ yarn build # build token lists
8486
[viewer-bnb]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/56/tokens.json
8587
[viewer-chapel]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/97/tokens.json
8688
[viewer-xdai]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/100/tokens.json
89+
[viewer-sokol]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/77/tokens.json
8790
[viewer-fuse]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/122/tokens.json
8891
[viewer-heco]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/128/tokens.json
8992
[viewer-fantom]: https://tokenlists.org/token-list?url=https://tokens.r2d2.to/latest/250/tokens.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mask-token-lists",
3-
"version": "0.0.34",
3+
"version": "0.0.38",
44
"repository": "https://github.com/DimensionDev/Mask-Token-Lists.git",
55
"license": "MIT",
66
"author": "guanbinrui <[email protected]>",

src/fungible-tokens/mainnet.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,12 @@
159159
"symbol": "O3",
160160
"name": "O3 Swap Token",
161161
"address": "0xEe9801669C6138E84bD50dEB500827b776777d28"
162+
},
163+
{
164+
"chainId": 1,
165+
"decimals": 18,
166+
"symbol": "ATTR",
167+
"name": "Attrace",
168+
"address": "0x44e2deC86B9F0e0266E9AA66e10323A2bd69CF9A"
162169
}
163170
]

src/fungible-tokens/sokol.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"name": "USDT test token",
4+
"address": "0xe5b51cb429edB62b29cECEBACB574074cd276283",
5+
"symbol": "USDT",
6+
"decimals": 18,
7+
"chainId": 77,
8+
"logoURI": "https://raw.githubusercontent.com/sushiswap/icons/master/token/usdt.jpg"
9+
}
10+
]

src/generate-fungible-tokens.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Fuse from "./fungible-tokens/fuse.json";
99
import BNB from "./fungible-tokens/bnb.json";
1010
import Chapel from "./fungible-tokens/chapel.json";
1111
import xDai from "./fungible-tokens/xdai.json";
12+
import Sokol from "./fungible-tokens/sokol.json";
1213
import Fantom from "./fungible-tokens/fantom.json";
1314
import Celo from "./fungible-tokens/celo.json";
1415
import Polygon from "./fungible-tokens/polygon.json";
@@ -71,6 +72,7 @@ function getFungibleTokenLists(): Record<ChainId, FungibleToken[][]> {
7172
[ChainId.BNB]: [BNB, Pancake],
7273
[ChainId.Chapel]: [Chapel],
7374
[ChainId.xDai]: [xDai],
75+
[ChainId.Sokol]: [Sokol],
7476
[ChainId.Fuse]: [Fuse],
7577
[ChainId.Heco]: [Heco],
7678
[ChainId.Fantom]: [Fantom],

src/generate-non-fungible-tokens.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,26 @@ function getNonFungileTokenLists(): Record<ChainId, NonFungibleToken[][]> {
88
[ChainId.Ropsten]: [],
99
[ChainId.Rinkeby]: [],
1010
[ChainId.Optimistic]: [],
11+
[ChainId.Kardiachain]: [],
1112
[ChainId.BNB]: [],
1213
[ChainId.Chapel]: [],
1314
[ChainId.xDai]: [],
15+
[ChainId.Skol]: [],
1416
[ChainId.Fuse]: [],
1517
[ChainId.Heco]: [],
1618
[ChainId.Fantom]: [],
1719
[ChainId.Boba]: [],
1820
[ChainId.Polygon]: [],
1921
[ChainId.Mumbai]: [],
2022
[ChainId.Conflux]: [],
23+
[ChainId.Moonbeam]: [],
24+
[ChainId.Moonriver]: [],
2125
[ChainId.Arbiturm]: [],
2226
[ChainId.Celo]: [],
2327
[ChainId.Avalanche]: [],
2428
[ChainId.Aurora]: [],
25-
[ChainId.Moonbeam]: [],
26-
[ChainId.Moonriver]: [],
29+
[ChainId.Harmony]: [],
30+
[ChainId.Harmony_Testnet]: [],
2731
[ChainId.Palm]: [],
2832
};
2933
}

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export enum ChainId {
77
BNB = 56,
88
Chapel = 97,
99
xDai = 100,
10+
Sokol = 77,
1011
Fuse = 122,
1112
Heco = 128,
1213
Fantom = 250,

0 commit comments

Comments
 (0)