UNPKG

eth-janus

Version:

Indirection service

17 lines (16 loc) 485 B
import { OnetimeKey } from "../common/models"; export declare class Utils { verifySignature(message: string, signature: string): Promise<{ isValid: boolean; signerAddress: string; error: string; }>; buildTransaction(txn: any): any; objToMap(obj: any): Map<any, any>; checkIfKeyMapHasAllKeys(keyMap: Array<{ partyName: string; onetimeKey: OnetimeKey; }>): boolean; sleep(ms: any): Promise<void>; private _sleep; }