@yodlpay/tokenlists 0.6.23 → 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.
@@ -22,22 +22,7 @@
22
22
  "nativeTokenName": "ETH",
23
23
  "timestamp": "2024-06-20T08:16:18.193Z",
24
24
  "feeTreasury": "0x9C48d180e4eEE0dA2A899EE1E4c533cA5e92db77",
25
- "curveRouterAddress": "0x99a58482BD75cbab83b27EC03CA68fF489b5788f"
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": "0x4c2af2df2a7e567b5155879720619ea06c5bb15d"
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": "0x89287c32c2cac1c76227f6d300b2dbbab6b75c08"
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": "0xe6358f6a45b502477e83cc1cda759f540e4459ee"
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": "0x0000000000000000000000000000000000000000"
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": "0x2a426b3Bb4fa87488387545f15D01d81352732F9"
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": "0x0000000000000000000000000000000000000000"
139
+ "curveRouterAddress": "0xA72C85C258A81761433B4e8da60505Fe3Dd551CC"
155
140
  }
156
141
  ]
157
142
  }
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ChainInfo, RouterInfo, TokenInfo, CurveRouterInfo } from './types';
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): CurveRouterInfo;
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;
@@ -10,51 +10,51 @@
10
10
  "routers": [
11
11
  {
12
12
  "chainId": 1,
13
- "address": "0xd89F15383385a492A86005Af4AcCD9486312A3f3",
14
- "timestamp": "2024-09-01T00:00:00+00:00",
15
- "version": "0.6",
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": "0xe3b5e219d01Ee6aE42eC0bC20f18f91502DC69e5",
21
- "timestamp": "2024-08-09T00:00:00+00:00",
22
- "version": "0.6",
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": "0xe3b5e219d01Ee6aE42eC0bC20f18f91502DC69e5",
28
- "timestamp": "2024-09-03T00:00:00+00:00",
29
- "version": "0.6",
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": "0xe3b5e219d01Ee6aE42eC0bC20f18f91502DC69e5",
35
- "timestamp": "2024-09-03T00:00:00+00:00",
36
- "version": "0.6",
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": "0xe3b5e219d01Ee6aE42eC0bC20f18f91502DC69e5",
42
- "timestamp": "2024-09-03T00:00:00+00:00",
43
- "version": "0.6",
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": "0xe3b5e219d01Ee6aE42eC0bC20f18f91502DC69e5",
49
- "timestamp": "2024-09-03T00:00:00+00:00",
50
- "version": "0.6",
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": "0xe3b5e219d01Ee6aE42eC0bC20f18f91502DC69e5",
56
- "timestamp": "2024-09-03T00:00:00+00:00",
57
- "version": "0.6",
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
  ]