UNPKG

secret-polar

Version:

Polar is a development environment to compile, deploy, test, run scrt contracts on different networks.

12 lines (11 loc) 535 B
import { Account as WasmAccount, SecretNetworkClient } from "secretjs"; import { Account, Coin, PolarRuntimeEnvironment, UserAccount } from "../types"; export declare class UserAccountI implements UserAccount { account: Account; client?: SecretNetworkClient; constructor(account: Account); setupClient(env: PolarRuntimeEnvironment): Promise<void>; getAccountInfo(): Promise<WasmAccount | undefined>; getBalance(): Promise<Coin[]>; } export declare function getAccountByName(name: string): Promise<UserAccount>;