UNPKG

@ledgerhq/live-common

Version:
10 lines 1.01 kB
import { CryptoOrTokenCurrency, Currency } from "@ledgerhq/types-cryptoassets"; import { PlatformCurrency, PlatformSupportedCurrency, PlatformERC20TokenCurrency, PlatformCryptoCurrency } from "./types"; import { CurrencyFilters } from "./filters"; export declare function isPlatformSupportedCurrency(currency: Currency): currency is PlatformSupportedCurrency; export declare function isPlatformCryptoCurrency(currency: PlatformCurrency): currency is PlatformCryptoCurrency; export declare function isPlatformTokenCurrency(currency: PlatformCurrency): currency is PlatformERC20TokenCurrency; export declare function isPlatformERC20TokenCurrency(currency: PlatformCurrency): currency is PlatformERC20TokenCurrency; export declare function filterCurrencies(currencies: PlatformSupportedCurrency[], filters: CurrencyFilters): CryptoOrTokenCurrency[]; export declare function listAndFilterCurrencies({ includeTokens, currencies, }: CurrencyFilters): CryptoOrTokenCurrency[]; //# sourceMappingURL=helpers.d.ts.map