Class PriceTokenAmount<T>

Contains token structure with price and amount.

Type Parameters

Hierarchy

Constructors

Properties

address: string
blockchain: T
decimals: number
name: string
symbol: string

Accessors

Methods

  • Returns wei amount decreased by (1 - slippage) times.

    Parameters

    • slippage: number

      Slippage in range from 0 to 1.

    Returns BigNumber

  • Returns wei amount increased by (1 - slippage) times.

    Parameters

    • slippage: number

      Slippage in range from 0 to 1.

    Returns BigNumber

Generated using TypeDoc