@unilogin/sdk
Version:
SDK is a JS library, that communicates with relayer. SDK allows managing contract, by creating basic contract-calling messages.
13 lines • 679 B
TypeScript
import { MineableState, MineableStatus } from '@unilogin/commons';
export declare class MineableFactory {
protected tick: number;
protected timeout: number;
protected getStatus: (hash: string) => Promise<any>;
constructor(tick: number, timeout: number, getStatus: (hash: string) => Promise<any>);
protected isMined(state: MineableState): boolean;
protected hasTransactionHash(status: MineableStatus): boolean;
protected createWaitForTransactionHash(hash: string): () => Promise<MineableStatus>;
protected createWaitToBeSuccess(hash: string): () => Promise<MineableStatus>;
private waitForStatus;
}
//# sourceMappingURL=MineableFactory.d.ts.map