Hierarchy

Constructors

Properties

_assetInfo: AssetInfo
_blockchain: Blockchain
_chainId: ChainId
_decimals: number
_network: Network
_symbol: string
_weight: number

Methods

  • Build a pTokensAsset object from the parameters specified to the builder.

    Returns

    A Promise that resolves with the created pTokensAsset object.

    Returns Promise<pTokensAsset>

  • Set a weight for the asset during the swap. Its usage is currently not supported.

    Returns

    The same builder. This allows methods chaining.

    Parameters

    • _weight: number

      A weight for the token.

    Returns pTokensEvmAssetBuilder

Generated using TypeDoc