@paradeum/burrow
Version:
TypeScript library that calls a Hyperledger Burrow server over GRPC.
11 lines (10 loc) • 577 B
TypeScript
/// <reference types="node" />
import BN from 'bn.js';
export declare const recApply: <A, B>(func: (input: A) => B, args: A | A[]) => B | B[];
export declare const addressTB: (arg: string) => string;
export declare const addressTA: (arg: string) => string;
export declare const bytesTB: (arg: Buffer) => string;
export declare const bytesTA: (arg: string) => Buffer;
export declare const numberTB: (arg: BN) => number;
export declare const abiToBurrow: (puts: string[], args: Array<any>) => any[];
export declare const burrowToAbi: (puts: string[], args: Array<any>) => any[];