Returns the signed (positive for deposit,negative for borrow) token amount based on the balance type.
SpotMarketConfig.precision
The token amount to convert (from getTokenAmount)
getTokenAmount
The balance type to determine the sign of the token amount.
Generated using TypeDoc
Returns the signed (positive for deposit,negative for borrow) token amount based on the balance type.
Returns
SpotMarketConfig.precision