2019-05-15 01:48:48 +03:00
|
|
|
import { ExternallyOwnedAccount } from "@ethersproject/abstract-signer";
|
|
|
|
import { Bytes } from "@ethersproject/bytes";
|
|
|
|
import { Description } from "@ethersproject/properties";
|
2020-01-08 03:58:04 +03:00
|
|
|
interface _CrowdsaleAccount {
|
|
|
|
address: string;
|
|
|
|
privateKey: string;
|
|
|
|
_isCrowdsaleAccount: boolean;
|
|
|
|
}
|
|
|
|
export declare class CrowdsaleAccount extends Description<_CrowdsaleAccount> implements ExternallyOwnedAccount {
|
2019-05-15 01:48:48 +03:00
|
|
|
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;
|
2020-01-08 03:58:04 +03:00
|
|
|
export {};
|