olympus-protocol-connector
Version:
Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript
12 lines (11 loc) • 445 B
TypeScript
import { Tx } from '.';
import { BigNumber } from 'bignumber.js';
export interface IManagedDerivative {
close(): Promise<Tx>;
withdrawFee(amountEth: number, gasPrice: number): Promise<Tx | null>;
calculateWithdrawFeeGas(amountEth: number): Promise<BigNumber>;
getManagementFee(): Promise<BigNumber>;
getETHBalance(): Promise<BigNumber>;
getAccumulatedFee(): Promise<BigNumber>;
sellAllTokens(): Promise<Tx | null>;
}