Structs

OperateMemoryVars

struct OperateMemoryVars {
  uint256 oldColRaw;
  uint256 oldNetDebtRaw;
  int256 oldTick;
  uint256 colRaw;
  uint256 debtRaw;
  uint256 dustDebtRaw;
  int256 tick;
  uint256 tickId;
  uint256 vaultVariables2;
  uint256 branchId;
  int256 topTick;
  uint256 liquidityExPrice;
  uint256 supplyExPrice;
  uint256 borrowExPrice;
  uint256 branchData;
  uint256 userSupplyLiquidityData;
}

BranchData

struct BranchData {
  uint256 id;
  uint256 data;
  uint256 ratio;
  uint256 debtFactor;
  int256 minimaTick;
  uint256 baseBranchData;
}

TickData

struct TickData {
  int256 tick;
  uint256 data;
  uint256 ratio;
  uint256 ratioOneLess;
  uint256 length;
  uint256 currentRatio;
  uint256 partials;
}

CurrentLiquidity

struct CurrentLiquidity {
  uint256 debtRemaining;
  uint256 debt;
  uint256 col;
  uint256 colPerDebt;
  uint256 totalDebtLiq;
  uint256 totalColLiq;
  int256 tick;
  uint256 ratio;
  uint256 tickStatus;
  int256 refTick;
  uint256 refRatio;
  uint256 refTickStatus;
}

TickHasDebt

struct TickHasDebt {
  int256 tick;
  int256 nextTick;
  int256 mapId;
  uint256 bitsToRemove;
  uint256 tickHasDebt;
  uint256 mostSigBit;
}

LiquidateMemoryVars

struct LiquidateMemoryVars {
  uint256 vaultVariables2;
  int256 liquidationTick;
  int256 maxTick;
  uint256 supplyExPrice;
  uint256 borrowExPrice;
}

AbsorbMemoryVariables

struct AbsorbMemoryVariables {
  uint256 debtAbsorbed;
  uint256 colAbsorbed;
  int256 startingTick;
  uint256 mostSigBit;
}

ConstantViews

struct ConstantViews {
  address liquidity;
  address factory;
  address adminImplementation;
  address secondaryImplementation;
  address supplyToken;
  address borrowToken;
  uint8 supplyDecimals;
  uint8 borrowDecimals;
  uint256 vaultId;
  bytes32 liquiditySupplyExchangePriceSlot;
  bytes32 liquidityBorrowExchangePriceSlot;
  bytes32 liquidityUserSupplySlot;
  bytes32 liquidityUserBorrowSlot;
}

RebalanceMemoryVariables

struct RebalanceMemoryVariables {
  uint256 liqSupplyExPrice;
  uint256 liqBorrowExPrice;
  uint256 vaultSupplyExPrice;
  uint256 vaultBorrowExPrice;
}