@yodlpay/tokenlists 0.6.23 → 0.7.1
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/chainlist-v1.json +29 -38
- package/dist/index.d.ts +2 -2
- package/dist/routerlist-v1.json +21 -21
- package/dist/tokenlists.cjs.development.js +967 -59
- package/dist/tokenlists.cjs.development.js.map +1 -1
- package/dist/tokenlists.cjs.production.min.js +1 -1
- package/dist/tokenlists.cjs.production.min.js.map +1 -1
- package/dist/tokenlists.esm.js +967 -59
- package/dist/tokenlists.esm.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/chainlist-v1.json
CHANGED
|
@@ -21,23 +21,11 @@
|
|
|
21
21
|
"explorerUrl": "https://etherscan.io",
|
|
22
22
|
"nativeTokenName": "ETH",
|
|
23
23
|
"timestamp": "2024-06-20T08:16:18.193Z",
|
|
24
|
-
"feeTreasury": "0x9C48d180e4eEE0dA2A899EE1E4c533cA5e92db77",
|
|
25
|
-
"curveRouterAddress": "
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"shortName": "gor",
|
|
30
|
-
"testnet": true,
|
|
31
|
-
"chainId": 5,
|
|
32
|
-
"logoUri": "https://raw.githubusercontent.com/yodlpay/logos/main/logos/chains/5/logo.svg",
|
|
33
|
-
"rpcUrls": [
|
|
34
|
-
"https://rpc.ankr.com/eth_goerli"
|
|
35
|
-
],
|
|
36
|
-
"wrappedNativeToken": "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
|
|
37
|
-
"explorerUrl": "https://goerli.etherscan.io",
|
|
38
|
-
"nativeTokenName": "ETH",
|
|
39
|
-
"timestamp": "2022-12-28T14:10:09+00:00",
|
|
40
|
-
"feeTreasury": "0x3E8A61F0532BA2b58660606d61110cC9E90c4D29"
|
|
24
|
+
"feeTreasury": "0x9C48d180e4eEE0dA2A899EE1E4c533cA5e92db77",
|
|
25
|
+
"curveRouterAddress": "0x16C6521Dff6baB339122a0FE25a9116693265353",
|
|
26
|
+
"dexes" : [
|
|
27
|
+
"UNISWAP", "CURVE"
|
|
28
|
+
]
|
|
41
29
|
},
|
|
42
30
|
{
|
|
43
31
|
"chainName": "Arbitrum One",
|
|
@@ -53,7 +41,10 @@
|
|
|
53
41
|
"nativeTokenName": "ETH",
|
|
54
42
|
"timestamp": "2024-06-20T08:16:18.932Z",
|
|
55
43
|
"feeTreasury": "0x5f0947253a8218894af13438ac2e2e0ced30d234",
|
|
56
|
-
"curveRouterAddress": "
|
|
44
|
+
"curveRouterAddress": "0x2191718CD32d02B8E60BAdFFeA33E4B5DD9A0A0D",
|
|
45
|
+
"dexes" : [
|
|
46
|
+
"UNISWAP", "CURVE"
|
|
47
|
+
]
|
|
57
48
|
},
|
|
58
49
|
{
|
|
59
50
|
"chainName": "Optimism",
|
|
@@ -69,22 +60,10 @@
|
|
|
69
60
|
"nativeTokenName": "ETH",
|
|
70
61
|
"timestamp": "2024-06-20T08:16:19.165Z",
|
|
71
62
|
"feeTreasury": "0x5f0947253a8218894af13438ac2e2e0ced30d234",
|
|
72
|
-
"curveRouterAddress": "
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"shortName": "avax",
|
|
77
|
-
"testnet": false,
|
|
78
|
-
"chainId": 43114,
|
|
79
|
-
"logoUri": "https://raw.githubusercontent.com/yodlpay/logos/main/logos/chains/43113/logo.svg",
|
|
80
|
-
"rpcUrls": [
|
|
81
|
-
"https://api.avax.network/ext/bc/C/rpc"
|
|
82
|
-
],
|
|
83
|
-
"wrappedNativeToken": "0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB",
|
|
84
|
-
"explorerUrl": "https://snowtrace.io",
|
|
85
|
-
"nativeTokenName": "AVAX",
|
|
86
|
-
"timestamp": "2023-01-13T14:52:05+00:00",
|
|
87
|
-
"feeTreasury": "0x25e22F3ceE59F34622f7DC9a2078B85f17BfBe95"
|
|
63
|
+
"curveRouterAddress": "0x0DCDED3545D565bA3B19E683431381007245d983",
|
|
64
|
+
"dexes" : [
|
|
65
|
+
"UNISWAP", "CURVE"
|
|
66
|
+
]
|
|
88
67
|
},
|
|
89
68
|
{
|
|
90
69
|
"chainName": "Gnosis",
|
|
@@ -100,7 +79,10 @@
|
|
|
100
79
|
"nativeTokenName": "xDAI",
|
|
101
80
|
"timestamp": "2024-06-20T08:16:18.872Z",
|
|
102
81
|
"feeTreasury": "0x775aaf73a50C25eEBd308BBb9C34C73D081B423b",
|
|
103
|
-
"curveRouterAddress": "
|
|
82
|
+
"curveRouterAddress": "0x0DCDED3545D565bA3B19E683431381007245d983",
|
|
83
|
+
"dexes" : [
|
|
84
|
+
"CURVE"
|
|
85
|
+
]
|
|
104
86
|
},
|
|
105
87
|
{
|
|
106
88
|
"chainName": "Base",
|
|
@@ -116,7 +98,10 @@
|
|
|
116
98
|
"nativeTokenName": "ETH",
|
|
117
99
|
"timestamp": "2024-06-20T08:16:19.051Z",
|
|
118
100
|
"feeTreasury": "0x46959a8a332eca1a05Bd4F18115b8F2E1C2F2f05",
|
|
119
|
-
"curveRouterAddress": "
|
|
101
|
+
"curveRouterAddress": "0x4f37A9d177470499A2dD084621020b023fcffc1F",
|
|
102
|
+
"dexes" : [
|
|
103
|
+
"UNISWAP", "CURVE"
|
|
104
|
+
]
|
|
120
105
|
},
|
|
121
106
|
{
|
|
122
107
|
"chainName": "Polygon",
|
|
@@ -132,7 +117,10 @@
|
|
|
132
117
|
"nativeTokenName": "MATIC",
|
|
133
118
|
"timestamp": "2024-06-20T08:16:18.717Z",
|
|
134
119
|
"feeTreasury": "0x5f0947253a8218894af13438ac2e2E0CeD30d234",
|
|
135
|
-
"curveRouterAddress": "
|
|
120
|
+
"curveRouterAddress": "0x0DCDED3545D565bA3B19E683431381007245d983",
|
|
121
|
+
"dexes" : [
|
|
122
|
+
"UNISWAP", "CURVE"
|
|
123
|
+
]
|
|
136
124
|
},
|
|
137
125
|
{
|
|
138
126
|
"chainName": "BNB Smart Chain",
|
|
@@ -151,7 +139,10 @@
|
|
|
151
139
|
"nativeTokenName": "BNB",
|
|
152
140
|
"timestamp": "2024-07-24T08:16:18.717Z",
|
|
153
141
|
"feeTreasury": "0x698609f1ae8E0ce7e65d3028d1f00297A6bF21e5",
|
|
154
|
-
"curveRouterAddress": "
|
|
142
|
+
"curveRouterAddress": "0xA72C85C258A81761433B4e8da60505Fe3Dd551CC",
|
|
143
|
+
"dexes" : [
|
|
144
|
+
"PANCAKE"
|
|
145
|
+
]
|
|
155
146
|
}
|
|
156
147
|
]
|
|
157
148
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChainInfo, RouterInfo, TokenInfo
|
|
1
|
+
import { ChainInfo, RouterInfo, TokenInfo } from './types';
|
|
2
2
|
export * from './abis';
|
|
3
3
|
export * from './types';
|
|
4
4
|
export * from './isVersionUpdate';
|
|
@@ -7,7 +7,7 @@ export * from './diffTokenLists';
|
|
|
7
7
|
export * from './minVersionBump';
|
|
8
8
|
export * from './nextVersion';
|
|
9
9
|
export * from './versionComparator';
|
|
10
|
-
export declare function getCurveRouterAddress(chainId: number):
|
|
10
|
+
export declare function getCurveRouterAddress(chainId: number): string;
|
|
11
11
|
export declare function getChains(): ChainInfo[];
|
|
12
12
|
export declare function getChain(chainId: number): ChainInfo;
|
|
13
13
|
export declare function getTokenByAddress(tokenAddress: string, chainId?: number): TokenInfo | null;
|
package/dist/routerlist-v1.json
CHANGED
|
@@ -10,51 +10,51 @@
|
|
|
10
10
|
"routers": [
|
|
11
11
|
{
|
|
12
12
|
"chainId": 1,
|
|
13
|
-
"address": "
|
|
14
|
-
"timestamp": "2024-09-
|
|
15
|
-
"version": "0.
|
|
13
|
+
"address": "0x33a57Dbf2a0141073795114a8AbD9aCc263c069D",
|
|
14
|
+
"timestamp": "2024-09-12T00:00:00+00:00",
|
|
15
|
+
"version": "0.7",
|
|
16
16
|
"fee": "0.002"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"chainId": 10,
|
|
20
|
-
"address": "
|
|
21
|
-
"timestamp": "2024-08-
|
|
22
|
-
"version": "0.
|
|
20
|
+
"address": "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
21
|
+
"timestamp": "2024-08-12T00:00:00+00:00",
|
|
22
|
+
"version": "0.7",
|
|
23
23
|
"fee": "0.002"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"chainId": 42161,
|
|
27
|
-
"address": "
|
|
28
|
-
"timestamp": "2024-09-
|
|
29
|
-
"version": "0.
|
|
27
|
+
"address": "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
28
|
+
"timestamp": "2024-09-12T00:00:00+00:00",
|
|
29
|
+
"version": "0.7",
|
|
30
30
|
"fee": "0.002"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"chainId": 100,
|
|
34
|
-
"address": "
|
|
35
|
-
"timestamp": "2024-09-
|
|
36
|
-
"version": "0.
|
|
34
|
+
"address": "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
35
|
+
"timestamp": "2024-09-12T00:00:00+00:00",
|
|
36
|
+
"version": "0.7",
|
|
37
37
|
"fee": "0.002"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"chainId": 137,
|
|
41
|
-
"address": "
|
|
42
|
-
"timestamp": "2024-09-
|
|
43
|
-
"version": "0.
|
|
41
|
+
"address": "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
42
|
+
"timestamp": "2024-09-12T00:00:00+00:00",
|
|
43
|
+
"version": "0.7",
|
|
44
44
|
"fee": "0.002"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"chainId": 8453,
|
|
48
|
-
"address": "
|
|
49
|
-
"timestamp": "2024-09-
|
|
50
|
-
"version": "0.
|
|
48
|
+
"address": "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
49
|
+
"timestamp": "2024-09-12T00:00:00+00:00",
|
|
50
|
+
"version": "0.7",
|
|
51
51
|
"fee": "0.002"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"chainId": 56,
|
|
55
|
-
"address": "
|
|
56
|
-
"timestamp": "2024-09-
|
|
57
|
-
"version": "0.
|
|
55
|
+
"address": "0x5a1564F9B26493311A7bF6cCA0873E8Bb093C4f6",
|
|
56
|
+
"timestamp": "2024-09-12T00:00:00+00:00",
|
|
57
|
+
"version": "0.7",
|
|
58
58
|
"fee": "0.002"
|
|
59
59
|
}
|
|
60
60
|
]
|