IFeeTiers

Contains the types for the GNSFeeTiers facet

FeeTiersStorage

struct FeeTiersStorage {
  struct IFeeTiers.FeeTier[8] feeTiers;
  mapping(uint256 => uint256) groupVolumeMultipliers;
  mapping(address => struct IFeeTiers.TraderInfo) traderInfos;
  mapping(address => mapping(uint32 => struct IFeeTiers.TraderDailyInfo)) traderDailyInfos;
  uint256[39] __gap;
}

FeeTier

struct FeeTier {
  uint32 feeMultiplier;
  uint32 pointsThreshold;
}

TraderInfo

struct TraderInfo {
  uint32 lastDayUpdated;
  uint224 trailingPoints;
}

TraderDailyInfo

struct TraderDailyInfo {
  uint32 feeMultiplierCache;
  uint224 points;
}