Borrow APY Formulas
Used for calculating Borrow APY for Prologue Leverage
Let:
base=4.5%
slope1ā=7%
slope2ā=50%
slope3ā=600%
slopeLā=200%
kink1ā=75%
kink2ā=85%
kinkLā=60%
Where:
U = Loans/TVL in vault
LTV= Loan to Value
If:
LTV>kinkLā,
The following function is added to base:
(LTVāslopeLā)ā(kinkLāāslopeLā)
The following logic is used to calculate borrow APY:
If:
U<=kink1ā,
APY=base+(Uāslope1ā)
If:
kink1ā<=U<=kink2ā
apy=base+(kink1āāslope1ā)+((Uākink1ā)āslope2ā)
If:
kink2ā<=U,
apy=((base+(kink1āāslope1ā)+((kink2āākink1ā)āslope2ā))+((Uākink2ā)āslope3ā)