Skip to main content
Collaterals decimal precision internal library

CollateralConfig

getCollateralConfig

_Calculates precision (10^decimals) and precisionDelta (precision difference between 18 decimals and token decimals) of a given IERC20 token Notice: not compatible with tokens with more than 18 decimals_

Parameters