@yodlpay/tokenlists 1.1.1 → 1.1.3
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/README.md +17 -44
- package/dist/{ccip-xBg9Xffd.cjs → ccip-DHHrdFRp.cjs} +1 -1
- package/dist/{ccip-BgewxUIz.js → ccip-D_Tl0Okc.js} +1 -1
- package/dist/{index-BJWL_ASb.js → index-DDrpnhH2.js} +17537 -2631
- package/dist/{index-Cy6vXO61.cjs → index-DexvUg55.cjs} +17536 -2633
- package/dist/index.cjs +1 -4
- package/dist/index.d.ts +11 -13
- package/dist/index.js +1 -1
- package/dist/tokens/stablecoin-registry.json +32 -3
- package/dist/tokens/tokenlist-featured.json +1 -1
- package/dist/tokens/tokenlist-generated.json +17453 -2573
- package/package.json +3 -6
package/dist/index.cjs
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DexvUg55.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.COINGECKO_PLATFORM_TO_CHAIN_ID = index.COINGECKO_PLATFORM_TO_CHAIN_ID;
|
|
8
7
|
exports.FEATURED_TOKEN_OVERRIDES = index.FEATURED_TOKEN_OVERRIDES;
|
|
9
8
|
exports.NATIVE_TOKEN_ADDRESS = index.NATIVE_TOKEN_ADDRESS;
|
|
10
9
|
exports.YODL_ROUTER_ABIS = index.YODL_ROUTER_ABIS;
|
|
11
10
|
exports.chains = index.chains;
|
|
12
11
|
exports.computeDisplayDecimals = index.computeDisplayDecimals;
|
|
13
|
-
exports.getChain = index.getChain;
|
|
14
12
|
exports.getChainById = index.getChainById;
|
|
15
|
-
exports.getChains = index.getChains;
|
|
16
13
|
exports.getFeaturedTokenBySymbol = index.getFeaturedTokenBySymbol;
|
|
17
14
|
exports.getNativeToken = index.getNativeToken;
|
|
18
15
|
exports.getNativeWrappedToken = index.getNativeWrappedToken;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Address, Chain, PublicClient } from 'viem';
|
|
2
2
|
|
|
3
3
|
declare const yodlRouterAbiV01: readonly [{
|
|
4
4
|
readonly inputs: readonly [{
|
|
@@ -5422,7 +5422,7 @@ declare function getStablecoinsByPeg(currency: FiatCurrency): string[];
|
|
|
5422
5422
|
|
|
5423
5423
|
interface TokenInfo {
|
|
5424
5424
|
readonly chainId: number;
|
|
5425
|
-
readonly address:
|
|
5425
|
+
readonly address: Address;
|
|
5426
5426
|
readonly name: string;
|
|
5427
5427
|
readonly decimals: number;
|
|
5428
5428
|
readonly symbol: string;
|
|
@@ -5449,9 +5449,9 @@ declare const FEATURED_TOKEN_OVERRIDES: Array<{
|
|
|
5449
5449
|
*/
|
|
5450
5450
|
declare function computeDisplayDecimals(symbol: string, decimals: number, coinGeckoId?: string): number;
|
|
5451
5451
|
declare const tokenlist: TokenInfo[];
|
|
5452
|
-
declare function getTokenByAddress(tokenAddress:
|
|
5453
|
-
declare function getFeaturedTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo
|
|
5454
|
-
declare function getTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo
|
|
5452
|
+
declare function getTokenByAddress(tokenAddress: Address, chainId?: number): TokenInfo;
|
|
5453
|
+
declare function getFeaturedTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo;
|
|
5454
|
+
declare function getTokenBySymbol(tokenSymbol: string, chainId?: number): TokenInfo;
|
|
5455
5455
|
declare function getTokens(chainId?: number): TokenInfo[];
|
|
5456
5456
|
declare function getNativeWrappedToken(chainId: number): TokenInfo;
|
|
5457
5457
|
|
|
@@ -5462,6 +5462,7 @@ interface RouterConfig {
|
|
|
5462
5462
|
}
|
|
5463
5463
|
interface YodlChainExtension {
|
|
5464
5464
|
shortName: string;
|
|
5465
|
+
coinGeckoPlatform?: string;
|
|
5465
5466
|
logoUri: string;
|
|
5466
5467
|
wrappedNativeToken: Address;
|
|
5467
5468
|
feeTreasury: Address;
|
|
@@ -5469,27 +5470,24 @@ interface YodlChainExtension {
|
|
|
5469
5470
|
}
|
|
5470
5471
|
type YodlChain = Chain & YodlChainExtension;
|
|
5471
5472
|
declare const chains: YodlChain[];
|
|
5472
|
-
declare function getChainById(chainId: number): YodlChain
|
|
5473
|
+
declare function getChainById(chainId: number): YodlChain;
|
|
5473
5474
|
|
|
5474
5475
|
declare const NATIVE_TOKEN_ADDRESS: Address;
|
|
5475
5476
|
/**
|
|
5476
5477
|
* Check if an address is the native token placeholder address
|
|
5477
5478
|
*/
|
|
5478
5479
|
declare function isNativeToken(address: string): boolean;
|
|
5479
|
-
declare const COINGECKO_PLATFORM_TO_CHAIN_ID: Record<string, number>;
|
|
5480
5480
|
/**
|
|
5481
5481
|
* Get or create a PublicClient for a given chain using viem's chain definitions
|
|
5482
5482
|
*/
|
|
5483
5483
|
declare function getPublicClient(chainId: number): PublicClient | null;
|
|
5484
|
-
declare function getChains(): YodlChain[];
|
|
5485
|
-
declare function getChain(chainId: number): YodlChain;
|
|
5486
5484
|
declare function getShortNames(): string[];
|
|
5487
|
-
declare function getNativeToken(chainId: number): string
|
|
5485
|
+
declare function getNativeToken(chainId: number): string;
|
|
5488
5486
|
declare function getRouter(chainId: number): {
|
|
5489
5487
|
address: Address;
|
|
5490
5488
|
version: AbiVersion;
|
|
5491
5489
|
fee: string;
|
|
5492
|
-
}
|
|
5490
|
+
};
|
|
5493
5491
|
declare function getRouterByAddress(address: string, chainId?: number): {
|
|
5494
5492
|
address: Address;
|
|
5495
5493
|
version: AbiVersion;
|
|
@@ -10855,5 +10853,5 @@ declare function getRouterAbi(version: AbiVersion): readonly [{
|
|
|
10855
10853
|
readonly type: "receive";
|
|
10856
10854
|
}];
|
|
10857
10855
|
|
|
10858
|
-
export {
|
|
10859
|
-
export type { AbiVersion, FiatCurrency, NotStablecoinInfo, RouterAbiMap, StablecoinCheckResult, StablecoinInfo, TokenInfo, YodlChain };
|
|
10856
|
+
export { FEATURED_TOKEN_OVERRIDES, NATIVE_TOKEN_ADDRESS, YODL_ROUTER_ABIS, chains, computeDisplayDecimals, getChainById, getFeaturedTokenBySymbol, getNativeToken, getNativeWrappedToken, getPublicClient, getRouter, getRouterAbi, getRouterByAddress, getShortNames, getStablecoinCurrency, getStablecoinInfo, getStablecoinsByPeg, getTokenByAddress, getTokenBySymbol, getTokens, isNativeToken, isStablecoin, tokenlist };
|
|
10857
|
+
export type { AbiVersion, FiatCurrency, NotStablecoinInfo, RouterAbiMap, RouterConfig, StablecoinCheckResult, StablecoinInfo, TokenInfo, YodlChain, YodlChainExtension };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { F as FEATURED_TOKEN_OVERRIDES, N as NATIVE_TOKEN_ADDRESS, Y as YODL_ROUTER_ABIS, h as chains, j as computeDisplayDecimals, k as getChainById, m as getFeaturedTokenBySymbol, n as getNativeToken, o as getNativeWrappedToken, p as getPublicClient, q as getRouter, r as getRouterAbi, t as getRouterByAddress, u as getShortNames, v as getStablecoinCurrency, w as getStablecoinInfo, x as getStablecoinsByPeg, y as getTokenByAddress, z as getTokenBySymbol, A as getTokens, C as isNativeToken, D as isStablecoin, E as tokenlist } from './index-DDrpnhH2.js';
|
|
@@ -1,37 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-01-
|
|
2
|
+
"timestamp": "2026-01-27T17:51:16.448Z",
|
|
3
3
|
"stablecoins": {
|
|
4
|
+
"aegis-yusd": "USD",
|
|
4
5
|
"ageur": "EUR",
|
|
5
6
|
"agora-dollar": "USD",
|
|
6
7
|
"alchemix-usd": "USD",
|
|
7
8
|
"binance-peg-busd": "USD",
|
|
9
|
+
"bitcoin-usd-btcfi": "USD",
|
|
8
10
|
"crvusd": "USD",
|
|
9
11
|
"dai": "USD",
|
|
10
12
|
"dola-usd": "USD",
|
|
11
13
|
"dollar-on-chain": "USD",
|
|
12
14
|
"electronic-usd": "USD",
|
|
15
|
+
"ethena-usde": "USD",
|
|
13
16
|
"euro-coin": "EUR",
|
|
17
|
+
"f-x-protocol-fxusd": "USD",
|
|
18
|
+
"falcon-finance": "USD",
|
|
19
|
+
"first-digital-usd": "USD",
|
|
20
|
+
"frax": "USD",
|
|
14
21
|
"frax-usd": "USD",
|
|
22
|
+
"gemini-dollar": "USD",
|
|
15
23
|
"gho": "USD",
|
|
24
|
+
"global-dollar": "USD",
|
|
16
25
|
"idrx": "IDR",
|
|
17
26
|
"jpycoin": "JPY",
|
|
18
27
|
"krwt": "KRW",
|
|
19
28
|
"liquity-bold-2": "USD",
|
|
20
29
|
"liquity-usd": "USD",
|
|
30
|
+
"lumi-finance-luausd": "USD",
|
|
21
31
|
"monerium-eur-money": "EUR",
|
|
22
32
|
"nusd": "USD",
|
|
33
|
+
"openusdt": "USD",
|
|
34
|
+
"origin-dollar": "USD",
|
|
35
|
+
"overnight-fi-usd-arbitrum-one": "USD",
|
|
36
|
+
"overnight-fi-usd-base": "USD",
|
|
23
37
|
"parallel-usdp": "USD",
|
|
38
|
+
"paxos-standard": "USD",
|
|
39
|
+
"paypal-usd": "USD",
|
|
40
|
+
"quantoz-eurq": "EUR",
|
|
24
41
|
"quantoz-usdq": "USD",
|
|
25
|
-
"
|
|
42
|
+
"ripple-usd": "USD",
|
|
26
43
|
"schuman-europ": "EUR",
|
|
27
44
|
"sigma-bnb-usd": "USD",
|
|
28
|
-
"
|
|
45
|
+
"societe-generale-forge-eurcv": "EUR",
|
|
29
46
|
"stablr-euro": "EUR",
|
|
47
|
+
"stablr-usd": "USD",
|
|
48
|
+
"standx-dusd": "USD",
|
|
49
|
+
"stasis-eurs": "EUR",
|
|
30
50
|
"tether": "USD",
|
|
51
|
+
"true-usd": "USD",
|
|
31
52
|
"usd-coin": "USD",
|
|
32
53
|
"usd-coinvertible": "USD",
|
|
33
54
|
"usd1-wlfi": "USD",
|
|
55
|
+
"usda-3": "USD",
|
|
56
|
+
"usdd": "USD",
|
|
57
|
+
"usdkg": "USD",
|
|
58
|
+
"usds": "USD",
|
|
59
|
+
"usdtb": "USD",
|
|
60
|
+
"usual-usd": "USD",
|
|
61
|
+
"vai": "USD",
|
|
34
62
|
"vnx-euro": "EUR",
|
|
63
|
+
"web-3-dollar": "USD",
|
|
35
64
|
"xdai": "USD",
|
|
36
65
|
"xsgd": "SGD"
|
|
37
66
|
}
|