Function convertMarketplaceFee

  • Name

    convertMarketplaceFee

    Summary

    Checks the type fee and format it accordingly. Numbers are formatted into BN. Percentages are formatted in Permill.

    Parameters

    • fee: Noop | Remove | SetFeeType

      The fee to format : It can only be an CommissionFeeType or ListingFeeType.

    Returns Promise<Noop | Remove | SetFeeType>

    The formatted fee.

Generated using TypeDoc