Skip to content

Commit 589bee0

Browse files
committed
Updated Risk Premium section and added Reinvestment section
1 parent 7d1c44c commit 589bee0

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

docs/overview.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,15 @@ Users interact with the Spokes, which then interact directly with the Hubs. The
7777

7878
The debt interest of each user is directly impacted by the quality of the assets used as collateral. The risk level (quality) of the collateral assets of the user determines the additional charge for borrowing, on top of the asset's base rate (i.e., the asset's drawn rate).
7979

80-
## Premium
81-
82-
### Collateral Risk
80+
## Collateral Risk
8381

8482
The Collateral Risk $CR_i$ is specified by the quality of the asset $i$, which is a BPS value, ranging from 0 to 1000_00. A value of 0 means highest quality and risk-free, while a value of 1000_00 signifies the lowest quality and maximum risk possible for a collateral.
8583

8684
This parameter is configurable and part of the Spoke's risk parameters. This means the same asset can have a different Collateral Risk value across Spokes.
8785

8886
$CR_i$ is the Collateral Risk of the asset $i$
8987

90-
### User Risk Premium
88+
## User Risk Premium
9189

9290
The User Risk Premium $RP_u$ represents the quality of assets used as collateral by the user $u$ to borrow against. It depends on multiple dynamic parameters:
9391

@@ -101,7 +99,7 @@ An update can also be permissionlessly triggered (`updateUserRiskPremium()`) by
10199

102100
$RP_u$ is the Risk Premium of the user $u$
103101

104-
### Risk Premium Algorithm
102+
## Risk Premium Algorithm
105103

106104
The algorithm used to calculate risk premium for a given user position follows these steps, with the purpose of finding the corresponding amounts of collateral assets which are sufficient to cover the position's debts, in base currency. The weighted average of the Collateral Risk of these collateral assets is then calculated to yield the User Risk Premium:
107105

@@ -133,11 +131,23 @@ $RP_u = f(CR_0, C_{u,0}, P_0) = CR_0$
133131

134132
$RP_u = f(CR_i, C_{u, i}, P_i) = \frac{CR_0C_{u,0}P_0 + CR_1C_{u,1}P_1}{C_{u,0}P_0+C_{u,1}P_1}$
135133

136-
### Premium Offset
134+
## Premium Offset
137135

138136
Operationally, the premium is implemented via additional virtual debt shares (“premium shares”) that increase interest accrual but are never repayable principal. We separate this component from principal interest by tracking a premium offset in asset units. At borrow time, the offset is set so that, in asset terms, it exactly equals the value of the premium shares. As time elapses, interest accrues on the premium shares causing their asset value to exceed the offset; the excess is the premium. Premium shares are recorded in share units. The premium offset is recorded in asset units.
139137

140-
A user’s accrued premium debt at any time equals the assets value of their premium drawn shares minus the premium offset. On user actions, this accrued amount is moved to a realized‑premium variable and both the premium drawn shares and premium offset are reset, since the Risk Premium of a user may change and the accounting must be recalibrated.
138+
A user’s accrued premium debt at any time equals the assets value of their premium drawn shares minus the premium offset. When a user’s Risk Premium changes, the system refreshes premium accounting (via the Hub’s `refreshPremium` mechanism) to recalibrate premium shares and the offset without changing the user’s total accrued premium amount.
139+
140+
## Refresh Premium Mechanism
141+
142+
When a user's Risk Premium changes due to specific actions (such as disabling collateral, withdrawing collateral, or explicitly updating the risk premium), the system must recalibrate the premium accounting without altering the user's total accrued premium debt. This is achieved through the Hub's `refreshPremium` function.
143+
144+
The refresh mechanism preserves the total premium debt while updating the premium shares and offset to reflect the new Risk Premium. This ensures that:
145+
146+
- The user's previously accrued premium debt remains unchanged
147+
- Future premium accrual reflects the updated Risk Premium
148+
- The accounting system maintains consistency across premium recalculations
149+
150+
Actions that trigger a premium refresh include risk‑increasing events that can change $RP_u$, such as `disableUsingAsCollateral()`, `withdraw()` when withdrawing collateral, and explicit `updateUserRiskPremium()` updates (user-initiated or permissioned by the Governor). In these flows, `refreshPremium` updates premium shares and the offset so the total premium debt stays constant, while future accrual reflects the new Risk Premium.
141151

142152
# Interest Accrual
143153

@@ -178,6 +188,20 @@ $D_{u,premium}= D_{u,premium} + R_{sbase,i}RP_uD_{u,ibase}$
178188

179189
$R_{sbase,i}RP_uD_{u,ibase} = ΔD_{u,premium}$
180190

191+
# Reinvestment
192+
193+
Aave V4 includes a Reinvestment Module that provides the infrastructure to allocate idle liquidity from the Hub to external strategies. The module is intentionally strategy‑agnostic: it establishes the framework and mechanisms without prescribing specific strategy implementations. Whether and how the module is utilized is entirely a governance decision.
194+
195+
The Reinvestment Module offers an optional tool to support capital efficiency when deemed appropriate by the Governor. Key characteristics include:
196+
197+
- **Governance‑Controlled**: The Governor manages all funds allocated to reinvestment strategies. Decisions on strategy selection, risk parameters, and operational guidelines are exclusively governance responsibilities.
198+
- **Opt‑In for Users**: Participation in reinvestment is not compulsory. Users can choose whether to allocate their supplied liquidity to reinvestment strategies or maintain their position in the standard Hub pool.
199+
- **Enhanced Yields**: Reinvestment provides the potential for higher yields to liquidity providers who opt in, as idle capital can be deployed to generate additional returns beyond the base interest from borrowers.
200+
- **Risk Allocation**: Any losses incurred from reinvestment strategies are absorbed by the Governor treasury, protecting individual liquidity providers from direct exposure to strategy‑specific risks.
201+
- **Optional by Design**: The module can remain disabled, leaving the core lending and borrowing system unchanged. When disabled, all liquidity remains in the Hub without external deployment.
202+
203+
The reinvestment infrastructure enables the protocol to optimize capital efficiency while maintaining user choice and clear risk allocation. Implementation details, strategy selection, and risk management frameworks are governance decisions that can evolve based on protocol needs and market conditions.
204+
181205
# Dynamic Risk Configuration
182206

183207
One of the major risk‑side limitations of V3 lies in its single, global risk configuration per asset. This design creates significant governance overhead and potential user harm through unexpected liquidations, as any parameter change, in particular lowering the liquidation threshold, immediately affects every open position.

0 commit comments

Comments
 (0)