Ensure consistency for auctions on how token amounts are stored and computed against. More specifically, develop a consistent way to store values as uint96, but ensure overflows are handled when performing mulDiv operations, likely by using uint256 on the stack and in memory. Care must be taken when converting uint256 back to uint96 for storage.
Objective
Ensure consistency for auctions on how token amounts are stored and computed against. More specifically, develop a consistent way to store values as
uint96
, but ensure overflows are handled when performing mulDiv operations, likely by usinguint256
on the stack and in memory. Care must be taken when convertinguint256
back touint96
for storage.