@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
50 lines • 2.02 kB
TypeScript
import React from "react";
import { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets";
import { AssetConfigurationOptions } from "../../utils/type";
export declare const useRightMarketTrendModule: (currencies: CryptoOrTokenCurrency[], { useBalanceDeps, MarketPriceIndicator, }: Pick<AssetConfigurationOptions, "useBalanceDeps" | "MarketPriceIndicator">) => (import("@ledgerhq/types-cryptoassets").CryptoCurrency | import("@ledgerhq/types-cryptoassets").TokenCurrency | {
rightElement: 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[];
} | {
rightElement: 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=useRightMarketTrendModule.d.ts.map