🧭Definitions
This page contains a table of definitions used to rigorously and unambiguously define key parts of protocol behavior, and may be updated from time to time.
Bp
Total outstanding principal.
Bp=i=0∑nBPxwhere there are n Vaults
Bt
Total outstanding debt.
Bt=i=0∑nBCxwhere there are nVaults
Csenior
Cash balance of the senior tranche.
Balance of the senior tranche contract returned by the underlying ERC20 asset when balanceOf is called.
Cjunior
Cash balance of the junior tranche.
Balance of the senior tranche contract returned by the underlying ERC20 asset when balanceOf is called.
Lsenior
Assets held by the senior tranche, including loans (principal).
Lsenior=Csenior+Bp
Ljunior
Assets held by the junior tranche.
Ljunior=Cjunior
Uoptimal
Optimal utilisation rate.
Percentage expressed in ray.
U
Utilisation rate (actual).
U={0 LseniorBt if Lsenior=0else
Rb
Base borrow rate.
The base interest rate. Set by governance.
Rslope1
Slope when U>Uoptimal
Set by governance.
Rst
Current slope rate. New borrows receive this rate.
Rst={Rb,Rb+UoptimalURslope1,if U≤Uoptimalif U>Uoptimal
Rˉb
Average borrow APR
Rˉb=Bp∑i=0nRinPi
LiRoptimal
Optimal tranche liquidity ratio
Set by governance.
LiRt
Current tranche liquidity ratio
LiRt=LjuniorLsenior
E(LiR)
Deviation of LiRt from LiRoptimal. Presently not in use.
E(LiR)=LiRoptimal−LiRt
Ysenior
Optimal senior yield allocation
Percentage, expressed in basis points.
Yjunior
Optimal junior yield allocation
1−Ysenior
Yt
Current actual income allocation, PID-like. Presently not in use.
Yt=⎩⎨⎧YYoptimal⋅1+LiRoptimalE(LiR)1Yoptimal⋅1+LiRoptimalE(LiR)ifLiRt=LiRsifE(LiR)>0ifE(LiR)<0
Rl
Current lender interest rate
Rl=RbU
Rsenior
Senior tranche effective interest rate
Rsenior=Rl⋅Ysenior
Rjunior
Junior tranche effective interest rate
Rjunior=Rl⋅Yjunior⋅LiRt
Ssenior
Total supply of senior tranche shares
vToken totalSupply()
Sjunior
Total supply of junior tranche shares
vToken totalSupply()
Ex(t)
Exchange rate of shares to the underlying asset
Ex(x)=Lx/Sx where x is one of junior or senior
FVo
Asset floor price at purchase block height
Provided by Oracle
FVt
Asset floor price at current block height
Provided by Oracle
GAVx
Gross asset value of a Vault x, by current floor price. Presently not in use.
GAVx=Σi∈liensFVt+VTwhere liens is the set of unredeemed non-fungible assets in the Vault.
VTx
Underlying ERC20 balance for a Vault x.
Return value of balanceOf()
DRα
A drawdown by a Vault.
DRα=(P,R,Term,Epoch,NPer,Pmt)
Pα
Principal component of a drawdown DRα
-
Rα
Interest rate applied to DRα.
Rα=Rst
where Rst is the prevailing slope rate at time of origination t
Iα
Interest component of DRα.
Iα=RαPα
Termα
The loan term of DRα in seconds.
Always a multiple of Tmonth.
Epochα
The payment interval of DRα in seconds.
Always a multiple of Tmonth
EPY(α)
Number of payment intervals per year for DRα.
EPY(α)=EpochαTyear
NPer(α)
Number of instalments needed to repay the principal and interest for DRα.
NPer(α)=EpochαTermα
IPmti(α)
Interest component of an instalment at period i.
IPmti(α)=NPer(α)I(α)
PPmti(α)
Principal component of an instalment at period i.
PPmti(α)=NPer(α)Pα
Pmti(α)
Total instalment amount at period i.
Pmti(α)=IPmti(α)+PPmti(α)
Tiα
Timestamp of due date of the next instalment of DRα.
Tiα={T+EpochαTi−1α+Epochαif i=0else
TPD(α)
Time past due for DRα expressed in seconds.
TPD(α)={0T−Tiαif T≤Tiαelse
REαt
Total repayments made toward DRα.
REat=i=1∑nPmt(α) where n is the number of repayments that have been made.
BCx
Total debt of a Vault x, including interest.
BCx=i=0∑nPmt(i) for Vault xwith n active Drawdowns.
BPx
Total principal debt of a Vault x
BPx=i=0∑nPi for Vault x with n active Drawdowns.
BIx
Total interest owed by a Vault x
BIx=BCx−BPx
Bmax
Current Vault credit limit.
Bmax=max(FVt⋅(1+log2(1+Repvx)),FVt)
LF
Liquidation threshold.
Currently set to 1
LB
Liquidation bonus.
Currently set to 0.1
LTV
Loan-to-value.
HF=LTV⋅LF Currently disabled.
T
Current block timestamp
-
Tyear
Seconds per year
31536000
Tmonth
Seconds per month
2592000
Last updated
Was this helpful?
