programs/vanna_lending/src/math/.
Scales
Utilization and kink rate
Accrual
now < last_update (TimestampRegression).
Lender shares
Debt shares
USD and health
value_to_token_amount is the inverse used by liquidation seize.
Liquidation seize
seize_tok ≥ min_collateral_out.
CLOSE_FACTOR_BPS is a compiled constant, not a governed Reserve/ProtocolConfig field. The code comment above it explicitly calls the 50% figure illustrative — “requiring simulation and audit before production, not a frozen protocol parameter” — so treat it as a V1 default, not a permanent guarantee.
