ethers.js/packages/json-wallets/lib/crowdsale.d.ts

13 lines
598 B
TypeScript
Raw Normal View History

2019-05-15 01:48:48 +03:00
import { ExternallyOwnedAccount } from "@ethersproject/abstract-signer";
import { Bytes } from "@ethersproject/bytes";
import { Description } from "@ethersproject/properties";
export declare class CrowdsaleAccount extends Description implements ExternallyOwnedAccount {
readonly address: string;
readonly privateKey: string;
readonly mnemonic?: string;
readonly path?: string;
2019-06-12 00:57:04 +03:00
readonly _isCrowdsaleAccount: boolean;
isCrowdsaleAccount(value: any): value is CrowdsaleAccount;
2019-05-15 01:48:48 +03:00
}
export declare function decrypt(json: string, password: Bytes | string): ExternallyOwnedAccount;