Protocol Math

The Port Finance protocol represents the number as mantissa, an unsigned integer divided by 10 ^ 18. That is the raw representation of 1 is actually 1 * 10 ^ (-18). All the calculation that is related to deposit, withdraw, borrow and repay is calculated using this system.

Last updated