olympus-protocol-connector
Version:
Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript
15 lines (14 loc) • 627 B
TypeScript
import { Service } from '../../Service';
import { DerivativeService } from '../../derivatives/Derivative';
export declare class LockerService extends Service {
/**
* @deprecated Use method create
* @param address address
*/
static get(address: string): Promise<LockerService>;
static create(derivative: DerivativeService): Promise<LockerService>;
private constructor();
checkLockerByTime(derivativeAddress: string, category: string): Promise<boolean>;
unlockTime(service: string, category: string): Promise<number>;
timeInterval(service: string, category: string): Promise<number>;
}