@swapkit/tokens 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +10 -11
- package/package.json +2 -2
- package/src/index.ts +8 -9
- package/src/tokenLists/caviar_v1.ts +1 -1
- package/src/tokenLists/mayachain.ts +26 -2
- package/src/tokenLists/mayachain_streaming.ts +26 -2
- package/src/tokenLists/oneinch.ts +1 -1
- package/src/tokenLists/pangolin_v1.ts +1 -1
- package/src/tokenLists/sushiswap_v2.ts +2 -32
- package/src/tokenLists/thorchain.ts +1 -1
- package/src/tokenLists/thorchain_streaming.ts +659 -0
- package/src/tokenLists/traderjoe_v2.ts +74 -94
- package/src/tokenLists/traderjoe_v1.ts +0 -911
package/package.json
CHANGED
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"build": "bun run ./build.ts",
|
|
19
19
|
"clean": "rm -rf dist node_modules *.tsbuildinfo",
|
|
20
20
|
"generate-tokens": "bun run ./fetchTokenLists.ts",
|
|
21
|
-
"lint": "biome check --write --unsafe ./src",
|
|
21
|
+
"lint": "biome check --diagnostic-level=error --write --unsafe ./src",
|
|
22
22
|
"test": "echo 'bun test'",
|
|
23
23
|
"test:coverage": "bun test --coverage",
|
|
24
24
|
"type-check": "tsc --noEmit"
|
|
25
25
|
},
|
|
26
26
|
"type": "module",
|
|
27
27
|
"types": "./src/index.ts",
|
|
28
|
-
"version": "1.
|
|
28
|
+
"version": "1.6.0"
|
|
29
29
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
export { list as CaviarV1List } from "./tokenLists/caviar_v1
|
|
1
|
+
export { list as CaviarV1List } from "./tokenLists/caviar_v1";
|
|
2
2
|
export { list as ChainflipList } from "./tokenLists/chainflip.js";
|
|
3
|
-
export { list as MayaList } from "./tokenLists/mayachain
|
|
4
|
-
export { list as OneInchList } from "./tokenLists/oneinch
|
|
3
|
+
export { list as MayaList } from "./tokenLists/mayachain";
|
|
4
|
+
export { list as OneInchList } from "./tokenLists/oneinch";
|
|
5
5
|
export { list as PancakeswapList } from "./tokenLists/pancakeswap.js";
|
|
6
|
-
export { list as PangolinList } from "./tokenLists/pangolin_v1
|
|
7
|
-
export { list as SushiswapList } from "./tokenLists/sushiswap_v2
|
|
6
|
+
export { list as PangolinList } from "./tokenLists/pangolin_v1";
|
|
7
|
+
export { list as SushiswapList } from "./tokenLists/sushiswap_v2";
|
|
8
8
|
export { list as ThorchainList } from "./tokenLists/thorchain.js";
|
|
9
|
-
export { list as
|
|
10
|
-
export { list as
|
|
11
|
-
export { list as
|
|
12
|
-
export { list as UniswapV3List } from "./tokenLists/uniswap_v3.ts";
|
|
9
|
+
export { list as TraderjoeV2List } from "./tokenLists/traderjoe_v2";
|
|
10
|
+
export { list as UniswapV2List } from "./tokenLists/uniswap_v2";
|
|
11
|
+
export { list as UniswapV3List } from "./tokenLists/uniswap_v3";
|
|
@@ -2,14 +2,14 @@ export const list = {
|
|
|
2
2
|
provider: "MAYACHAIN",
|
|
3
3
|
chainId: "mayachain-mainnet-v1",
|
|
4
4
|
name: "MAYACHAIN",
|
|
5
|
-
timestamp: "2024-08-
|
|
5
|
+
timestamp: "2024-08-27T16:30:30.938Z",
|
|
6
6
|
version: {
|
|
7
7
|
major: 1,
|
|
8
8
|
minor: 0,
|
|
9
9
|
patch: 0,
|
|
10
10
|
},
|
|
11
11
|
keywords: [],
|
|
12
|
-
count:
|
|
12
|
+
count: 52,
|
|
13
13
|
tokens: [
|
|
14
14
|
{
|
|
15
15
|
address: "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
@@ -439,6 +439,14 @@ export const list = {
|
|
|
439
439
|
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.wsteth-0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0.png",
|
|
440
440
|
ticker: "WstETH",
|
|
441
441
|
},
|
|
442
|
+
{
|
|
443
|
+
chain: "MAYA",
|
|
444
|
+
chainId: "mayachain-mainnet-v1",
|
|
445
|
+
decimals: 8,
|
|
446
|
+
identifier: "MAYA.KUJI/AXLYUM",
|
|
447
|
+
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/kuji.axlyum.png",
|
|
448
|
+
ticker: "AXLYUM",
|
|
449
|
+
},
|
|
442
450
|
{
|
|
443
451
|
chain: "MAYA",
|
|
444
452
|
chainId: "mayachain-mainnet-v1",
|
|
@@ -463,6 +471,14 @@ export const list = {
|
|
|
463
471
|
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/thor.rune.png",
|
|
464
472
|
ticker: "RUNE",
|
|
465
473
|
},
|
|
474
|
+
{
|
|
475
|
+
chain: "MAYA",
|
|
476
|
+
chainId: "mayachain-mainnet-v1",
|
|
477
|
+
decimals: 8,
|
|
478
|
+
identifier: "MAYA.XRD/XRD",
|
|
479
|
+
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.xrd.png",
|
|
480
|
+
ticker: "XRD",
|
|
481
|
+
},
|
|
466
482
|
{
|
|
467
483
|
chain: "THOR",
|
|
468
484
|
chainId: "thorchain-mainnet-v1",
|
|
@@ -471,5 +487,13 @@ export const list = {
|
|
|
471
487
|
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/thor.rune.png",
|
|
472
488
|
ticker: "RUNE",
|
|
473
489
|
},
|
|
490
|
+
{
|
|
491
|
+
chain: "XRD",
|
|
492
|
+
chainId: "radix-mainnet",
|
|
493
|
+
decimals: 18,
|
|
494
|
+
identifier: "XRD.XRD",
|
|
495
|
+
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.xrd.png",
|
|
496
|
+
ticker: "XRD",
|
|
497
|
+
},
|
|
474
498
|
],
|
|
475
499
|
} as const;
|
|
@@ -2,14 +2,14 @@ export const list = {
|
|
|
2
2
|
provider: "MAYACHAIN_STREAMING",
|
|
3
3
|
chainId: "mayachain-mainnet-v1",
|
|
4
4
|
name: "MAYACHAIN_STREAMING",
|
|
5
|
-
timestamp: "2024-08-
|
|
5
|
+
timestamp: "2024-08-27T16:30:31.531Z",
|
|
6
6
|
version: {
|
|
7
7
|
major: 1,
|
|
8
8
|
minor: 0,
|
|
9
9
|
patch: 0,
|
|
10
10
|
},
|
|
11
11
|
keywords: [],
|
|
12
|
-
count:
|
|
12
|
+
count: 52,
|
|
13
13
|
tokens: [
|
|
14
14
|
{
|
|
15
15
|
address: "0x912ce59144191c1204e64559fe8253a0e49e6548",
|
|
@@ -439,6 +439,14 @@ export const list = {
|
|
|
439
439
|
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.wsteth-0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0.png",
|
|
440
440
|
ticker: "WstETH",
|
|
441
441
|
},
|
|
442
|
+
{
|
|
443
|
+
chain: "MAYA",
|
|
444
|
+
chainId: "mayachain-mainnet-v1",
|
|
445
|
+
decimals: 8,
|
|
446
|
+
identifier: "MAYA.KUJI/AXLYUM",
|
|
447
|
+
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/kuji.axlyum.png",
|
|
448
|
+
ticker: "AXLYUM",
|
|
449
|
+
},
|
|
442
450
|
{
|
|
443
451
|
chain: "MAYA",
|
|
444
452
|
chainId: "mayachain-mainnet-v1",
|
|
@@ -463,6 +471,14 @@ export const list = {
|
|
|
463
471
|
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/thor.rune.png",
|
|
464
472
|
ticker: "RUNE",
|
|
465
473
|
},
|
|
474
|
+
{
|
|
475
|
+
chain: "MAYA",
|
|
476
|
+
chainId: "mayachain-mainnet-v1",
|
|
477
|
+
decimals: 8,
|
|
478
|
+
identifier: "MAYA.XRD/XRD",
|
|
479
|
+
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.xrd.png",
|
|
480
|
+
ticker: "XRD",
|
|
481
|
+
},
|
|
466
482
|
{
|
|
467
483
|
chain: "THOR",
|
|
468
484
|
chainId: "thorchain-mainnet-v1",
|
|
@@ -471,5 +487,13 @@ export const list = {
|
|
|
471
487
|
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/thor.rune.png",
|
|
472
488
|
ticker: "RUNE",
|
|
473
489
|
},
|
|
490
|
+
{
|
|
491
|
+
chain: "XRD",
|
|
492
|
+
chainId: "radix-mainnet",
|
|
493
|
+
decimals: 18,
|
|
494
|
+
identifier: "XRD.XRD",
|
|
495
|
+
logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.xrd.png",
|
|
496
|
+
ticker: "XRD",
|
|
497
|
+
},
|
|
474
498
|
],
|
|
475
499
|
} as const;
|
|
@@ -2,14 +2,14 @@ export const list = {
|
|
|
2
2
|
provider: "SUSHISWAP_V2",
|
|
3
3
|
chainId: "1",
|
|
4
4
|
name: "SUSHISWAP_V2",
|
|
5
|
-
timestamp: "2024-08-
|
|
5
|
+
timestamp: "2024-08-27T16:30:37.843Z",
|
|
6
6
|
version: {
|
|
7
7
|
major: 1,
|
|
8
8
|
minor: 0,
|
|
9
9
|
patch: 0,
|
|
10
10
|
},
|
|
11
11
|
keywords: [],
|
|
12
|
-
count:
|
|
12
|
+
count: 93,
|
|
13
13
|
tokens: [
|
|
14
14
|
{
|
|
15
15
|
address: "0x4Af698B479D0098229DC715655c667Ceb6cd8433",
|
|
@@ -101,16 +101,6 @@ export const list = {
|
|
|
101
101
|
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.bdi-0x0309c98b1bffa350bcb3f9fb9780970ca32a5060.png",
|
|
102
102
|
ticker: "BDI",
|
|
103
103
|
},
|
|
104
|
-
{
|
|
105
|
-
address: "0xF17e65822b568B3903685a7c9F496CF7656Cc6C2",
|
|
106
|
-
chain: "ETH",
|
|
107
|
-
chainId: "1",
|
|
108
|
-
decimals: 18,
|
|
109
|
-
identifier: "ETH.BICO-0XF17E65822B568B3903685A7C9F496CF7656CC6C2",
|
|
110
|
-
logoURI:
|
|
111
|
-
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.bico-0xf17e65822b568b3903685a7c9f496cf7656cc6c2.png",
|
|
112
|
-
ticker: "BICO",
|
|
113
|
-
},
|
|
114
104
|
{
|
|
115
105
|
address: "0x1A4b46696b2bB4794Eb3D4c26f1c55F9170fa4C5",
|
|
116
106
|
chain: "ETH",
|
|
@@ -721,16 +711,6 @@ export const list = {
|
|
|
721
711
|
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.spell-0x090185f2135308bad17527004364ebcc2d37e5f6.png",
|
|
722
712
|
ticker: "SPELL",
|
|
723
713
|
},
|
|
724
|
-
{
|
|
725
|
-
address: "0x00813E3421E1367353BfE7615c7f7f133C89df74",
|
|
726
|
-
chain: "ETH",
|
|
727
|
-
chainId: "1",
|
|
728
|
-
decimals: 18,
|
|
729
|
-
identifier: "ETH.SPS-0X00813E3421E1367353BFE7615C7F7F133C89DF74",
|
|
730
|
-
logoURI:
|
|
731
|
-
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.sps-0x00813e3421e1367353bfe7615c7f7f133c89df74.png",
|
|
732
|
-
ticker: "SPS",
|
|
733
|
-
},
|
|
734
714
|
{
|
|
735
715
|
address: "0x8d137e3337eb1B58A222Fef2B2Cc7C423903d9cf",
|
|
736
716
|
chain: "ETH",
|
|
@@ -851,16 +831,6 @@ export const list = {
|
|
|
851
831
|
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png",
|
|
852
832
|
ticker: "USDT",
|
|
853
833
|
},
|
|
854
|
-
{
|
|
855
|
-
address: "0xcB84d72e61e383767C4DFEb2d8ff7f4FB89abc6e",
|
|
856
|
-
chain: "ETH",
|
|
857
|
-
chainId: "1",
|
|
858
|
-
decimals: 18,
|
|
859
|
-
identifier: "ETH.VEGA-0XCB84D72E61E383767C4DFEB2D8FF7F4FB89ABC6E",
|
|
860
|
-
logoURI:
|
|
861
|
-
"https://storage.googleapis.com/token-list-swapkit-dev/images/eth.vega-0xcb84d72e61e383767c4dfeb2d8ff7f4fb89abc6e.png",
|
|
862
|
-
ticker: "VEGA",
|
|
863
|
-
},
|
|
864
834
|
{
|
|
865
835
|
address: "0x135B810e48e4307AB2a59ea294A6f1724781bD3C",
|
|
866
836
|
chain: "ETH",
|