UNPKG

olympus-protocol-connector

Version:

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

24 lines (23 loc) 851 B
import { Service } from '../../../Service'; import { Tx } from '../../../interfaces/Tx'; import { IOlympusFundPartial } from '../../../interfaces/IOlympusFundPartial'; export declare class OlympusFundPartial extends Service implements IOlympusFundPartial { private lockerService; private derivative; static create(productAddress: string): Promise<OlympusFundPartial>; private constructor(); getTokens(): Promise<{ tokenAddresses: string; amounts: string; }>; getUnlockTime(): Promise<{ unlockWithdraw: Date; }>; initializeFund(address: string, fund: { managementFee: number; redeemFrequencyInDays: number; }, initialEth: number, gasPrice?: number): Promise<Tx>; configFrequency(fund: { redeemFrequencyInDays: number; }, gasPrice?: number): Promise<Tx>; }