Purchasing a present only costs 1e18 tokens, not 2e18 as intended.
In SantasList.sol PURCHASED_PRESENT_COST = 2e18 Is declared but never used
AND
SantaToken.sol burn defaults to only 1e18
Twice as many purchased presents will ultimately exist.
A market for the tokens is less likely to develop as people will simply spend the token directly.
N/A
PURCHASED_PRESENT_COST should be passed as a parameter to the SantaToken.sol burn function
This line indicates that the intended cost of presents for naughty people should be 2e18: https://github.com/Cyfrin/2023-11-Santas-List/blob/6627a6387adab89ae2ba2e82b38296723261c08a/src/SantasList.sol#L87 PURCHASE_PRESENT_COST should be implemented to enforce the cost of presents.
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.