myria-core-sdk
Version:
Latest version SDK
16 lines (15 loc) • 641 B
TypeScript
import { PromiEvent } from 'web3-core';
import BN from 'bn.js';
import { Contract } from 'web3-eth-contract';
export declare enum OUTCOMES {
INITIAL = 0,
RESOLVED = 1,
REJECTED = 2
}
export declare function sendGaslessTransaction(contractCall: PromiEvent<Contract>): Promise<any>;
export declare function hexToBytes(hex: string): Uint8Array;
export declare function stripHexPrefix(hex: string): string;
export declare function normalizeResponse(txResult: any): any;
export declare function normalizeHex32(hex: string): string;
export declare function bnTohex32(bn: BN): string;
export declare function hexToBn(hex: string): any;