UNPKG

olympus-protocol-connector

Version:

Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript

16 lines (15 loc) 588 B
import { RpcService } from './services/RpcService'; import { ABI } from './interfaces/Enums'; export declare abstract class Service { private _rpcService; private _contract; private _address; private _abiName; protected constructor(productAddress: string, abi: ABI, abiName?: string); reload(abiName?: string, version?: string): Promise<void>; readonly rpcService: RpcService; readonly address: string; readonly contract: any; retryRequest<T>(method: string, errorValue: T, ...options: any[]): Promise<T>; log(...args: any[]): Promise<void>; }