UNPKG

olympus-protocol-connector

Version:

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

16 lines (15 loc) 682 B
import BigNumber from 'bignumber.js'; import { Service } from '../../../Service'; import { IIndexBuyTokenService } from '../../../interfaces/IIndexBuyTokenService'; export declare class IndexBuyTokenService extends Service implements IIndexBuyTokenService { private derivativeFunctions; private minimumETHBalanceToBuy; private indexAddress; static create(productAddress: string): IndexBuyTokenService; private constructor(); setMinimumETHBalanceToBuy(_minimumETHBalanceToBuy: number): void; getMinimumETHBalanceToBuy(): number; getETHBalance(): Promise<BigNumber>; canBuyTokens(): Promise<boolean>; getIndexBuyTokensTxData(): Promise<any>; }