A _rescuer
or _executor
cannot call the createAuction
function with TGLD
as the spiceToken
due to revert.
According to the docs, the following information is given for the contracts/templegold/SpiceAuction.sol
:
A special auction configured with a "spice" token and TGLD. For every auction epoch spice token or TGLD can be the auction token or vice versa. Spice auctions are controlled by governance. Configuration for an epoch is set before the epoch auction starts.
So, templeGold
or TGLD
can be used as the spiceToken
also. However, in the SpiceAuctionFactory.sol
contract, there is a revert in the createAuction
function if the TGLD
or templeGold
is set as the spiceToken
.
A SpiceAuction with TGLD as the spiceToken
cannot be created which contradicts the docs.
Manual Review
Allow TGLD
as the spiceToken
by removing the following check in the createAuction
function:
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.