Equations
Equations used on the protocol

Vault APY calculation

((1+(periodicRate/100))^numberOfPeriods)-1 * 100 = APY
periodicRate = daily apr / 24
number of periods = 8760

General Liquidation Calculation

% Price Change for liquidation = 1-(debt ratio %/liq threshold %)^2
Last modified 3mo ago