UNPKG

olympus-protocol-connector

Version:

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

12 lines (11 loc) 601 B
import { Service } from '../../Service'; import { DerivativeService } from '../../derivatives/Derivative'; import { WithdrawData } from '../../interfaces/Enums'; export declare class WithdrawService extends Service { static get(address: string): Promise<WithdrawService>; static create(derivative: DerivativeService): Promise<WithdrawService>; private constructor(); needToWithdraw(productAddress: string): Promise<boolean>; getWithdrawInfo(address: string): Promise<WithdrawData>; getUserWithdrawBalance(address: string, wallet: string, decimals?: number): Promise<number>; }