Description: In MerkleAirdrop
contract the fee for claiming an airdrop is only 1e9
and it
is not economically profitable to call claimFees
function for contarct owner.
Proof of Concept:
As we know this contract is designed to airdrop 25 usdc to 4 lucky winners and the fee
for claiming this reward is only 1e9
or 1 GWEI. So expected balance will be 4 GWEI but calling claimFees
even with gas price 1 gwei
we will spend 21000
gwei for transfering 4 GWEi to the contract owner. Sounds weird for me.
We have useless function claimFees
that will never be called by contract owner.
Manual review.
I propose to remove fee for claiming the airdrop or make it higher.
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.