| Field | Impact |
|---|---|
healthFactor.[current → after]: BigDecimal|null | Higher is better ( null if not applicable) |
riskPremium.[current → after]: PercentNumber | Lower is better |
netApy.[current → after]: PercentNumber | Higher is better |
netCollateral.[current → after]: ExchangeAmount | Higher is better |
netBalance.[current → after]: ExchangeAmount | Updated balance |
projectedEarning.[current → after]: ExchangeAmount | Projected earnings |
maxBorrowingPower.[current → after]: ExchangeAmount | Maximum borrowing power |
remainingBorrowingPower.[current → after]: ExchangeAmount | Remaining borrowing power |
otherConditions: UserPositionConditionVariation[] | Dynamic config changes |
When swapping supply positions, Position Conditions update depending on the collateral status:
- Swapping collateral: Swapping out of collateral updates the dynamic config for all reserves in the position and refreshes the user risk premium.
- Swapping non-collateral into collateral: The reserve being swapped into uses the latest dynamic config, with no implicit risk premium changes.
The otherConditions field is an array of objects describing the resulting dynamic config changes.
CollateralFactorVariation– Collateral factor changeLiquidationFeeVariation– Liquidation fee changeMaxLiquidationBonusVariation– Maximum liquidation bonus change