@swapkit/tokens 1.5.0 → 1.7.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 +14 -15
- package/package.json +2 -2
- package/src/index.ts +8 -9
- package/src/tokenLists/caviar_v1.ts +1 -1
- package/src/tokenLists/chainflip.ts +1 -1
- package/src/tokenLists/mayachain.ts +27 -3
- package/src/tokenLists/ociswap_v1.ts +3699 -0
- package/src/tokenLists/oneinch.ts +586 -1460
- package/src/tokenLists/pancakeswap.ts +33 -3
- package/src/tokenLists/pangolin_v1.ts +2 -42
- package/src/tokenLists/sushiswap_v2.ts +2 -82
- package/src/tokenLists/thorchain.ts +40 -40
- package/src/tokenLists/traderjoe_v2.ts +126 -186
- package/src/tokenLists/uniswap_v2.ts +43 -3
- package/src/tokenLists/uniswap_v3.ts +43 -3
- package/src/tokenLists/mayachain_streaming.ts +0 -475
- 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.7.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-
|
|
5
|
+
timestamp: "2024-09-12T00:30:37.342Z",
|
|
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,13 +471,29 @@ 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
|
-
chainId: "thorchain-
|
|
484
|
+
chainId: "thorchain-1",
|
|
469
485
|
decimals: 8,
|
|
470
486
|
identifier: "THOR.RUNE",
|
|
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;
|