@ledgerhq/coin-hedera
Version:
Ledger Hedera Coin integration
52 lines • 1.69 kB
TypeScript
import type { TokenCurrency } from "@ledgerhq/types-cryptoassets";
import type { TokenAccount } from "@ledgerhq/types-live";
import type { HederaAccount, HederaAccountRaw, HederaResources, HederaResourcesRaw } from "../../types";
export declare const mockHederaResources: HederaResources;
export declare const mockHederaResourcesRaw: HederaResourcesRaw;
/**
* default settings:
* - account balance is 1 HBAR
* - auto token association is disabled
* - subAccounts array is empty (no tokens account are used)
*/
export declare const getMockedAccount: (overrides?: Partial<HederaAccount>) => HederaAccount;
export declare const getMockedAccountRaw: (overrides?: Partial<HederaAccountRaw>) => HederaAccountRaw;
/**
* default settings:
* - balance is 10
*/
export declare const getMockedTokenAccount: (token: TokenCurrency, overrides?: Partial<TokenAccount>) => TokenAccount;
export declare const MAINNET_TEST_ACCOUNTS: {
pristine: {
accountId: string;
publicKey: string;
};
withoutTokens: {
accountId: string;
publicKey: string;
};
withTokens: {
accountId: string;
accountIdWithErc20: string;
publicKey: string;
associatedTokenWithBalance: string;
associatedTokenWithoutBalance: string;
notAssociatedToken: string;
erc20Token: string;
};
withQuickBalanceChanges: {
accountId: string;
};
activeStaking: {
accountId: string;
publicKey: string;
};
inactiveStaking: {
accountId: string;
publicKey: string;
};
withStakingHistory: {
accountId: string;
};
};
//# sourceMappingURL=account.fixture.d.ts.map