Function validateAmount

  • Validates if the given token amount is compatible with the token.

    Returns

    If the amount is valid within the context of the token.

    Throws

    If the token amount is not compatible with the token.

    Parameters

    • token: Token

      The token to validate against.

    • amount: TokenAmount

      The amount to validate.

    Returns true

Generated using TypeDoc