UNPKG

@ledgerhq/coin-celo

Version:
27 lines 1.07 kB
import { ContractKit } from "@celo/contractkit"; import { CeloVote } from "../types/types"; import { CeloTx } from "@celo/connect"; export declare const celoKit: () => ContractKit; /** * Fetch account registered status. To lock any Celo, account needs to be registered first */ export declare const getAccountRegistrationStatus: (address: string) => Promise<boolean>; export declare const determineFees: (txParams: CeloTx) => Promise<void>; /** * Fetch pending withdrawals, with an index */ export declare const getPendingWithdrawals: (address: string) => Promise<{ index: number; time: import("bignumber.js").BigNumber; value: import("bignumber.js").BigNumber; }[]>; /** * Fetch all votes */ export declare const getVotes: (address: string) => Promise<CeloVote[]>; /** * Fetch and cache address of a vote signer account * Cache it for 1h since vote signer is usually the same account as our address */ export declare const voteSignerAccount: import("@ledgerhq/live-network/cache").CacheRes<[address: string], string>; //# sourceMappingURL=sdk.d.ts.map