@lifi/types 1.0.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.
@@ -0,0 +1,9 @@
1
+ import { ChainId, Coin, CoinKey, Token } from './base';
2
+ export declare const defaultCoins: Array<Coin>;
3
+ export declare const wrappedTokens: {
4
+ [ChainId: string]: Token;
5
+ };
6
+ export declare const findDefaultCoin: (coinKey: CoinKey) => Coin;
7
+ export declare const findDefaultToken: (coinKey: CoinKey, chainId: ChainId) => Token;
8
+ export declare const findWrappedGasOnChain: (chainId: ChainId) => Token;
9
+ export declare const findTokenByChainIdAndAddress: (chainId: number, tokenAddress: string) => Token | null;