Protocol Math

The Belugas protocol contracts use a system of exponential math, Exponential.solarrow-up-right, in order to represent fractional quantities with sufficient precision.

Most numbers are represented as a mantissa, an unsigned integer scaled by 1 * 10 ^ 18, in order to perform basic math at a high level of precision.

bToken and Underlying Decimalschevron-rightInterpreting Exchange Rateschevron-rightCalculating Accrued Interestchevron-rightCalculating the APY Using Rate Per Blockchevron-right

Last updated