Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/formatter/helpers/amountParser

Index

Functions

Const formatAssetBySymbol

  • formatAssetBySymbol(_amount: any, symbol: any, icpPrice: any): any
  • Parameters

    • _amount: any
    • symbol: any
    • icpPrice: any

    Returns any

Const parseAmount

  • parseAmount(transactionObject: any): string
  • Parameters

    • transactionObject: any

    Returns string

Const parseFee

  • parseFee(fee: any): any
  • Parameters

    • fee: any

    Returns any

Const parseToFloatAmount

  • parseToFloatAmount(amount: any, decimals: any): string
  • Parameters

    • amount: any
    • decimals: any

    Returns string

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class
  • Class with type parameter
  • Enumeration