UNPKG

@paradeum/burrow

Version:

TypeScript library that calls a Hyperledger Burrow server over GRPC.

21 lines (20 loc) 611 B
import { Handler } from './function'; import { Burrow } from '../Burrow'; import { Function, Event } from 'solc'; declare type FunctionOrEvent = Function | Event; export interface Handlers { call?: Handler; deploy?: Handler; } export declare class Contract { abi: Array<FunctionOrEvent>; address: string; code: string; deployedBytecode: string; metaData: string; burrow: Burrow; handlers: Handlers; _constructor: any; constructor(abi: Array<FunctionOrEvent>, code: string, deployedBytecode: string, address: string, burrow: Burrow, handlers?: Handlers); } export {};