Refresh risk premium
Refresh risk premium

Aave V4 · Acts onchain

Recomputes the risk premium the wallet pays on its debt in an Aave V4 spoke from the collateral it holds right now. The spoke charges every borrow the hub's drawn rate plus a premium set by the collateral risk of the cheapest collateral that covers the debt. It recomputes that premium when the wallet borrows, withdraws or disables collateral, never when it supplies or repays, so a position whose collateral mix improved keeps paying the old premium until someone asks. The config position manager asks on the wallet's behalf; the wallet approves it as a position manager on the spoke once and permits the socket to refresh the premium, both in the same confirmation. Reach for it right after a supply of lower-risk collateral or a repayment that changed which collateral covers the debt, or on a schedule that keeps the rate honest without a person remembering to.