UNPKG

@melonproject/protocol

Version:

Technology Regulated and Operated Investment Funds

27 lines (26 loc) 807 B
import { Environment } from './Environment'; export interface KeystoreItem { id: string; version: number; crypto: object; address: string; name?: string; meta?: string; } export interface WithKeystoreSignerArgs { keystore: KeystoreItem; password: string; } declare const withKeystoreSigner: (environment: Environment, { keystore, password }: WithKeystoreSignerArgs) => Promise<{ wallet: { address: any; signMessage: (message: any) => any; signTransaction: (unsignedTransaction: any) => any; }; eth: any; track: import("./Environment").Tracks; options: import("./Environment").Options; logger: import("./Environment").CurriedLogger; deployment?: import("./Environment").PartialDeployment; }>; export { withKeystoreSigner };