Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new ExchangeUniswap(sellToken: string, buyToken: string): ExchangeUniswap

Properties

buyToken

buyToken: string

name

name: Exchange

sellToken

sellToken: string

Methods

estimate

  • estimate(sellAmount: string, provider: Provider): Promise<string>

trade

  • trade(sellAmount: string, buyAmount: string, wallet: Wallet, txOptions: ITxOptions): Promise<ContractTransaction>

tradeFromSell

  • tradeFromSell(sellAmount: string, buyAmount: string, destAddress: string, wallet: Wallet, txOptions: ITxOptions): Promise<ContractTransaction>

trade_delayed

  • trade_delayed(sellAmount: string, buyAmount: string, wallet: Wallet, nonce: number, txOptions: ITxOptions): Promise<any>

Generated using TypeDoc