@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
10 lines • 714 B
TypeScript
import { SuiAccount, SuiResources, SuiValidator, MappedStake } from "./types";
import { Unit } from "@ledgerhq/types-cryptoassets";
import { OperationType } from "@ledgerhq/types-live";
export declare function useSuiMappedStakingPositions(account: SuiAccount): MappedStake[];
export declare function useGetExtraDetails(account: SuiAccount, type: OperationType, digest: string): Record<string, string>;
export declare function useLedgerFirstShuffledValidatorsSui(search: string): SuiValidator[];
type Stake = Required<SuiResources>["stakes"];
export declare const mapStakingPositions: (stakingPositions: Stake, validators: SuiValidator[], unit: Unit) => MappedStake[];
export {};
//# sourceMappingURL=react.d.ts.map