Formulas
Borrow Index

BI(n)​ = Borrow Index in block n
BI(n-1)​ = Borrow Index in block n - 1
R(second)​ = Borrow rate per second
Δt = The time interval between two blocks in seconds
Borrow Rate
APR(Simple Rate): 5%
Seconds in a year: 365 * 24 * 60 * 60

R(second): Borrow rate per second:
N(year): Number of blocks in a year
T(block): Average block time in seconds(6s)

Liquidation Price

P(Liquidation) = Liquidation Price
Liquidation Threshold = Threshold for liquidation (e.g., 80%)
Loan Total Interest (Estimated)
Estimated number of blocks:

N(blocks) = Estimated number of blocks in the loan period
T(block) = Average block time in seconds(6s)
Estimated total interest:

Last updated