Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISwitcher

You need to implement this interface if you want to integrate new tokens into Ankr Switch.

interface

Hierarchy

  • ISwitcher

Implemented by

Index

Methods

  • addTokenToWallet(token: string): Promise<boolean>
  • approveACForAB(amount?: BigNumber, scale?: Value): Promise<undefined | IWeb3SendResult>
  • fetchTxReceipt(txHash: string): Promise<null | TransactionReceipt>
  • getABBalance(isFormatted?: boolean): Promise<BigNumber>
  • getACAllowance(spender?: string): Promise<BigNumber>
  • getACBalance(isFormatted?: boolean): Promise<BigNumber>
  • getACRatio(isFormatted?: boolean): Promise<BigNumber>
  • lockShares(data: IShareArgs): Promise<IWeb3SendResult>
  • unlockShares(data: IShareArgs): Promise<IWeb3SendResult>

Generated using TypeDoc