@yodlpay/tokenlists 0.6.22 → 0.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/chainlist-v1.json +7 -22
- package/dist/curve.json +30 -0
- package/dist/index.d.ts +1 -0
- package/dist/routerlist-v1.json +21 -21
- package/dist/tokenlists.cjs.development.js +1210 -270
- 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 +1210 -271
- package/dist/tokenlists.esm.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/chainlist-v1.json
CHANGED
|
@@ -22,22 +22,7 @@
|
|
|
22
22
|
"nativeTokenName": "ETH",
|
|
23
23
|
"timestamp": "2024-06-20T08:16:18.193Z",
|
|
24
24
|
"feeTreasury": "0x9C48d180e4eEE0dA2A899EE1E4c533cA5e92db77",
|
|
25
|
-
"curveRouterAddress": "
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"chainName": "Ethereum Goerli",
|
|
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"
|
|
25
|
+
"curveRouterAddress": "0x16C6521Dff6baB339122a0FE25a9116693265353"
|
|
41
26
|
},
|
|
42
27
|
{
|
|
43
28
|
"chainName": "Arbitrum One",
|
|
@@ -53,7 +38,7 @@
|
|
|
53
38
|
"nativeTokenName": "ETH",
|
|
54
39
|
"timestamp": "2024-06-20T08:16:18.932Z",
|
|
55
40
|
"feeTreasury": "0x5f0947253a8218894af13438ac2e2e0ced30d234",
|
|
56
|
-
"curveRouterAddress": "
|
|
41
|
+
"curveRouterAddress": "0x2191718CD32d02B8E60BAdFFeA33E4B5DD9A0A0D"
|
|
57
42
|
},
|
|
58
43
|
{
|
|
59
44
|
"chainName": "Optimism",
|
|
@@ -69,7 +54,7 @@
|
|
|
69
54
|
"nativeTokenName": "ETH",
|
|
70
55
|
"timestamp": "2024-06-20T08:16:19.165Z",
|
|
71
56
|
"feeTreasury": "0x5f0947253a8218894af13438ac2e2e0ced30d234",
|
|
72
|
-
"curveRouterAddress": "
|
|
57
|
+
"curveRouterAddress": "0x0DCDED3545D565bA3B19E683431381007245d983"
|
|
73
58
|
},
|
|
74
59
|
{
|
|
75
60
|
"chainName": "Avalanche",
|
|
@@ -100,7 +85,7 @@
|
|
|
100
85
|
"nativeTokenName": "xDAI",
|
|
101
86
|
"timestamp": "2024-06-20T08:16:18.872Z",
|
|
102
87
|
"feeTreasury": "0x775aaf73a50C25eEBd308BBb9C34C73D081B423b",
|
|
103
|
-
"curveRouterAddress": "
|
|
88
|
+
"curveRouterAddress": "0x0DCDED3545D565bA3B19E683431381007245d983"
|
|
104
89
|
},
|
|
105
90
|
{
|
|
106
91
|
"chainName": "Base",
|
|
@@ -116,7 +101,7 @@
|
|
|
116
101
|
"nativeTokenName": "ETH",
|
|
117
102
|
"timestamp": "2024-06-20T08:16:19.051Z",
|
|
118
103
|
"feeTreasury": "0x46959a8a332eca1a05Bd4F18115b8F2E1C2F2f05",
|
|
119
|
-
"curveRouterAddress": "
|
|
104
|
+
"curveRouterAddress": "0x4f37A9d177470499A2dD084621020b023fcffc1F"
|
|
120
105
|
},
|
|
121
106
|
{
|
|
122
107
|
"chainName": "Polygon",
|
|
@@ -132,7 +117,7 @@
|
|
|
132
117
|
"nativeTokenName": "MATIC",
|
|
133
118
|
"timestamp": "2024-06-20T08:16:18.717Z",
|
|
134
119
|
"feeTreasury": "0x5f0947253a8218894af13438ac2e2E0CeD30d234",
|
|
135
|
-
"curveRouterAddress": "
|
|
120
|
+
"curveRouterAddress": "0x0DCDED3545D565bA3B19E683431381007245d983"
|
|
136
121
|
},
|
|
137
122
|
{
|
|
138
123
|
"chainName": "BNB Smart Chain",
|
|
@@ -151,7 +136,7 @@
|
|
|
151
136
|
"nativeTokenName": "BNB",
|
|
152
137
|
"timestamp": "2024-07-24T08:16:18.717Z",
|
|
153
138
|
"feeTreasury": "0x698609f1ae8E0ce7e65d3028d1f00297A6bF21e5",
|
|
154
|
-
"curveRouterAddress": "
|
|
139
|
+
"curveRouterAddress": "0xA72C85C258A81761433B4e8da60505Fe3Dd551CC"
|
|
155
140
|
}
|
|
156
141
|
]
|
|
157
142
|
}
|
package/dist/curve.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"chainId": 1,
|
|
4
|
+
"address": "0x16C6521Dff6baB339122a0FE25a9116693265353"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"chainId": 10,
|
|
8
|
+
"address": "0x0DCDED3545D565bA3B19E683431381007245d983"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"chainId": 56,
|
|
12
|
+
"address": "0xA72C85C258A81761433B4e8da60505Fe3Dd551CC"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"chainId": 100,
|
|
16
|
+
"address": "0x0DCDED3545D565bA3B19E683431381007245d983"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"chainId": 137,
|
|
20
|
+
"address": "0x0DCDED3545D565bA3B19E683431381007245d983"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"chainId": 8453,
|
|
24
|
+
"address": "0x4f37A9d177470499A2dD084621020b023fcffc1F"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"chainId": 42161,
|
|
28
|
+
"address": "0x2191718CD32d02B8E60BAdFFeA33E4B5DD9A0A0D"
|
|
29
|
+
}
|
|
30
|
+
]
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +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): string;
|
|
10
11
|
export declare function getChains(): ChainInfo[];
|
|
11
12
|
export declare function getChain(chainId: number): ChainInfo;
|
|
12
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
|
]
|