You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Store a per-position fee_accumulator index and global stability_fee_accumulator
On each debt-modifying operation, accrue fees since the last update using continuous compounding: debt *= e^(rate * Δt) approximated with sufficient fixed-point precision
Ensure fee growth is reflected in collateralization ratio checks
fee_accumulatorindex and globalstability_fee_accumulatordebt *= e^(rate * Δt)approximated with sufficient fixed-point precision