UNPKG

olympus-protocol-connector

Version:

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

19 lines (18 loc) 643 B
import { Service } from '../../Service'; import { DerivativeService } from '../../derivatives/Derivative'; export declare class ChainlinkService extends Service { /** * @deprecated Use method create * @param address address */ static get(address: string): Promise<ChainlinkService>; static create(derivative: DerivativeService): Promise<ChainlinkService>; private constructor(); /** * shouldUpdate * @param maxTimeout seconds */ shouldUpdate(maxTimeout: number): Promise<boolean>; getLastUpdateTime(): Promise<number>; updatePrice(jobId: string, currency: string): Promise<any>; }