| 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 (less negative for net borrowers) |
netCollateral.[current → after]: ExchangeAmount | Updated collateral value |
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 |
Swap borrowing assets updates the Dynamic Config and User Risk Premium of the user position.
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