UNPKG

@ledgerhq/live-common

Version:
115 lines 4.91 kB
import { Currency } from "./Currency"; import { TokenType } from "./TokenType"; export declare class Account { readonly currency: Currency; readonly accountName: string; readonly index: number; readonly accountPath: string; readonly tokenType?: TokenType | undefined; readonly ensName?: string | undefined; readonly derivationMode?: string | undefined; readonly parentAccount?: Account | undefined; address?: string | undefined; constructor(currency: Currency, accountName: string, index: number, accountPath: string, tokenType?: TokenType | undefined, ensName?: string | undefined, derivationMode?: string | undefined, parentAccount?: Account | undefined, address?: string | undefined); static readonly ADA_1: Account; static readonly ADA_2: Account; static readonly ALGO_1: Account; static readonly ALGO_2: Account; static readonly APTOS_1: Account; static readonly APTOS_2: Account; static readonly ATOM_1: Account; static readonly ATOM_2: Account; static readonly BCH_1: Account; static readonly BCH_2: Account; static readonly BSC_1: Account; static readonly BSC_2: Account; static readonly BTC_LEGACY_1: Account; static readonly BTC_LEGACY_2: Account; static readonly BTC_NATIVE_SEGWIT_1: Account; static readonly BTC_NATIVE_SEGWIT_2: Account; static readonly BTC_SEGWIT_1: Account; static readonly BTC_SEGWIT_2: Account; static readonly BTC_TAPROOT_1: Account; static readonly BTC_TAPROOT_2: Account; static readonly CELO_1: Account; static readonly DOGE_1: Account; static readonly DOGE_2: Account; static readonly DOT_1: Account; static readonly DOT_2: Account; static readonly DOT_3: Account; static readonly ETH_1: Account; static readonly ETH_2: Account; static readonly ETH_2_WITH_ENS: Account; static readonly ETH_2_LOWER_CASE: Account; static readonly ETH_3: Account; static readonly SANCTIONED_ETH: Account; static readonly HEDERA_1: Account; static readonly HEDERA_2: Account; static readonly INJ_1: Account; static readonly KASPA_1: Account; static readonly KASPA_2: Account; static readonly LTC_1: Account; static readonly MULTIVERS_X_1: Account; static readonly MULTIVERS_X_2: Account; static readonly NEAR_1: Account; static readonly NEAR_2: Account; static readonly OSMO_1: Account; static readonly OSMO_2: Account; static readonly POL_1: Account; static readonly POL_2: Account; static readonly SOL_1: Account; static readonly SOL_2: Account; static readonly SOL_3: Account; static readonly SOL_4: Account; static readonly TRX_1: Account; static readonly TRX_2: Account; static readonly TRX_3: Account; static readonly XLM_1: Account; static readonly XLM_2: Account; static readonly XRP_1: Account; static readonly XRP_2: Account; static readonly XRP_3: Account; static readonly XTZ_1: Account; static readonly XTZ_2: Account; static readonly sep_ETH_1: Account; static readonly sep_ETH_2: Account; static readonly SUI_1: Account; static readonly SUI_2: Account; static readonly BASE_1: Account; static readonly BASE_2: Account; static readonly OP_1: Account; static readonly VET_1: Account; static readonly VET_2: Account; static readonly ZEC_1: Account; static readonly ZEC_2: Account; static readonly ICP_1: Account; static readonly ICP_2: Account; static readonly EMPTY: Account; } export declare class TokenAccount extends Account { constructor(currency: Currency, accountName: string, index: number, path: string, tokenType: TokenType, parentAccount: Account, ensName?: string, derivationMode?: string, address?: string); static readonly ETH_LIDO: TokenAccount; static readonly ETH_USDC_1: TokenAccount; static readonly ETH_USDT_1: TokenAccount; static readonly ETH_USDT_2: TokenAccount; static readonly ETH_USDT_3: TokenAccount; static readonly SOL_GIGA_1: TokenAccount; static readonly SOL_GIGA_2: TokenAccount; static readonly SOL_GIGA_3: TokenAccount; static readonly SOL_WIF_1: TokenAccount; static readonly SOL_WIF_2: TokenAccount; static readonly TRX_BTT: TokenAccount; static readonly SUI_USDC_1: TokenAccount; static readonly SUI_USDC_2: TokenAccount; static readonly BSC_BUSD_1: TokenAccount; static readonly BSC_BUSD_2: TokenAccount; static readonly ALGO_USDT_1: TokenAccount; static readonly ALGO_USDT_2: TokenAccount; static readonly XLM_USDC: TokenAccount; static readonly POL_DAI_1: TokenAccount; static readonly POL_UNI: TokenAccount; static readonly TRX_USDT: TokenAccount; } export type AccountType = Account | TokenAccount; export declare const getParentAccountName: (account: AccountType) => string; //# sourceMappingURL=Account.d.ts.map