The cost of the gift is defined as 2e18
, but it can be bought for 1e18
.
PURCHASED_PRESENT_COST = 2e18;
is defined as a constant, specifying that this is the cost to buy the gift. However, this is not used in buyPresent
, and with _burn(from, 1e18)
, a present can be purchased for 1e18
Gifts are bought at prices not anticipated by Santa.
Manual
Allow _burn
to be set to any amount and pass PURCHASED_PRESENT_COST
as an argument
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.