olympus-protocol-connector
Version:
Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript
19 lines (18 loc) • 760 B
TypeScript
import { Service } from '../../../Service';
import { IFutureManagement } from '../../../interfaces/IFutureManagement';
export declare class FutureManagementService extends Service implements IFutureManagement {
private derivative;
private future;
private chainlink;
static create(address: string): Promise<FutureManagementService>;
private constructor();
futureIsClosed(): Promise<boolean>;
canCheckPosition(): Promise<boolean>;
getCheckPositionTxData(): Promise<any>;
canClear(): Promise<boolean>;
getClearTxData(): Promise<any>;
canCallCheckPosition(): Promise<boolean>;
canCallClear(): Promise<boolean>;
updatePrice(jobId: string, currency: string): Promise<any>;
shouldUpdatePrice(): Promise<any>;
}