📒

# Protocol Math

The Onyx protocol contracts use a system of exponential math, Exponential.sol, 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.Last modified 2mo ago