IUpdateLeverage

Interface for leverage updates types

UpdateLeverageInput

Update leverage input values

struct UpdateLeverageInput {
  address user;
  uint32 index;
  uint24 newLeverage;
}

UpdateLeverageValues

Useful values for increase leverage callback

struct UpdateLeverageValues {
  uint256 newLeverage;
  uint256 newCollateralAmount;
  uint256 liqPrice;
  uint256 govFeeCollateral;
}