@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
50 lines • 1.98 kB
TypeScript
import React from "react";
import { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets";
import { AssetConfigurationOptions } from "../../utils/type";
export declare const useLeftMarketTrendModule: (currencies: CryptoOrTokenCurrency[], { MarketPercentIndicator }: Pick<AssetConfigurationOptions, "MarketPercentIndicator">) => (import("@ledgerhq/types-cryptoassets").CryptoCurrency | import("@ledgerhq/types-cryptoassets").TokenCurrency | {
leftElement: React.JSX.Element;
name: string;
ticker: string;
units: import("@ledgerhq/types-cryptoassets").Unit[];
symbol?: string;
disableCountervalue?: boolean;
delisted?: boolean;
keywords?: string[];
type: "CryptoCurrency";
id: import("@ledgerhq/types-cryptoassets").CryptoCurrencyId;
forkedFrom?: string;
managerAppName: string;
coinType: import("@ledgerhq/types-cryptoassets").CoinType;
scheme: string;
color: string;
family: string;
blockAvgTime?: number;
supportsSegwit?: boolean;
supportsNativeSegwit?: boolean;
isTestnetFor?: string;
bitcoinLikeInfo?: import("@ledgerhq/types-cryptoassets").BitcoinLikeInfo;
ethereumLikeInfo?: import("@ledgerhq/types-cryptoassets").EthereumLikeInfo;
explorerViews: import("@ledgerhq/types-cryptoassets").ExplorerView[];
terminated?: {
link: string;
};
deviceTicker?: string;
explorerId?: import("@ledgerhq/types-cryptoassets").LedgerExplorerId;
tokenTypes?: string[];
} | {
leftElement: React.JSX.Element;
name: string;
ticker: string;
units: import("@ledgerhq/types-cryptoassets").Unit[];
symbol?: string;
disableCountervalue?: boolean;
delisted?: boolean;
keywords?: string[];
type: "TokenCurrency";
id: string;
ledgerSignature?: string;
contractAddress: string;
parentCurrency: import("@ledgerhq/types-cryptoassets").CryptoCurrency;
tokenType: string;
})[];
//# sourceMappingURL=useLeftMarketTrendModule.d.ts.map