The DaiGoldAuction
and SpiceAuction
contracts retrieve EpochInfo
struct from IAuctionBase
to record auction data for each epoch.
However, the EpochInfo struct lacks a field to track the bid token and auction token.
Both the DaiGoldAuction
and SpiceAuction
contracts can utilize various bid tokens and auction tokens for each epoch auction.
Currently, the DaiGoldAuction
contract can change the bidToken
, and the SpiceAuction
contract can use TGLD
and spice tokens
interchangeably for both bidToken
and auctionToken
.
However, the EpochInfo struct lacks a token field to specifically track these tokens for each epoch.
The off-chain/on-chain contracts handling funds will be unable to accurately track the bid and auction tokens associated with each epochId.
Manual Review
Modify the EpochInfo
struct to include a dedicated token field for bidToken
and auctionToken
, ensuring clarity and accuracy in token tracking for each epoch.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.