One way to save 2 slots would be to limit the size of a few fields to a more reasonable number. Duration can easily be `uint32` (probably not a great idea to have an auction beyond 100 years etc). `uint32+uint16+address` is still less than `uint256` (one storage slot) `firstBidTime` and `startTime` can both be `uint126` to save one slot as well ``` address uint16 finderFeeBps uint32 duration uint128 firstBidTime uint128 startTime ``` saves two slots over the current configuration. _Originally posted by @iainnash in https://github.com/ourzora/v3/pull/122#r825095330_
One way to save 2 slots would be to limit the size of a few fields to a more reasonable number.
Duration can easily be
uint32(probably not a great idea to have an auction beyond 100 years etc).uint32+uint16+addressis still less thanuint256(one storage slot)firstBidTimeandstartTimecan both beuint126to save one slot as wellsaves two slots over the current configuration.
Originally posted by @iainnash in #122 (comment)