In SpiceAuction
, there can be two activation mode in auction config. However, this is not used properly in the contract and can be removed.
The SpiceAuction
contract currently has following code for checking ActivationMode
config.
It doesn't matter whether the config.activationMode
is AcitvationMode.AUCTION_TOKEN_BALANCE
or ActivationMode.USER_FIRST_BID
because config.minimumDistributedAuctionToken
won't be 0
in any case because it is already checked during setAuctionConfig
.
SpiceAuction
contract contains unneeded functionality and can be removed.
Manual review
Remove the checks or add more functionality.
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.