Hierarchy

  • pTokensSwapBuilder

Constructors

Properties

_amount: BigNumber
_destinationAssets: DestinationInfo[] = []
_sourceAsset: pTokensAsset

Accessors

Methods

  • Add a destination pTokensAsset for the swap.

    Returns

    The same builder. This allows methods chaining.

    Parameters

    • _asset: pTokensAsset

      A pTokenAsset that will be one of the destination assets.

    • _destinationAddress: string

      The destination address that will receive the _asset.

    • _userData: Uint8Array = undefined

      Optional user data.

    Returns pTokensSwapBuilder

Generated using TypeDoc