UNPKG

@parity/light.js

Version:

A high-level reactive JS library optimized for light clients

25 lines (24 loc) 639 B
interface MakeContract { abi: any; address: string; readonly contractObject: any; [index: string]: any | string | ((...args: any[]) => any); } /** * Create a contract. * * @param address - The contract address. * @param abiJson - The contract abi. * @param options - The options to pass in when creating the contract. * @return - An object whose keys are all the functions of the * contract, and each function return an Observable which will fire when the * function resolves. */ export declare const makeContract: ( address: string, abiJson: any[], options?: { provider?: any; } ) => MakeContract; export {};