Wrong NFT rarity calculation in snek_raffle.vy::fulfillRandomWords
, this breaks the business logic of the contract and devalues the rarity of NFTs.
This calculates as rarity: uint256 = random_words[0] % 3
, so all rarities will have the same chance ~ 33.(3)%
But according to the docs:
Brown Snek - 70% Chance to get
Jungle Snek - 25% Chance to get
Cosmic Snek - 5% Chance to get
This breaks the business logic of the contract and devalues the rarity of NFTs
Manual check
We should add a rarity calculation logic, i.e.
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.