The merkle root generated in line bytes32 public s_merkleRoot = 0xf69aaa25bd4dd10deb2ccd8235266f7cc815f6e9d539e9f4d47cae16e0c36a05
in Deploy.s.sol
is passed to the MerkleAirdrop
contract for verifying merkle proofs. This merkle root is generated in merkle.js
In makeMerkle.js
, in line const amount = (25 * 1e18).toString()
, the variable amount
is initialized with 18
decimal places while it should have been 6
for USDC
causing incorrect merkle root generation
More funds i.e. 25 * 1e18
wei of USDC can be claimed by each user while they are only eligible for 25 * 1e6
The merkleRoot
mentioned above is generated for address 0x20F41376c713072937eb02Be70ee1eD0D639966C
with new claim amount 25 * 1e18
(instead of 25* 1e6 (old amountToCollect)), and proof 0x4fd31fee0e75780cd67704fbc43caee70fddcaa43631e2e1bc9fb233fada2394
and 0xc88d18957ad6849229355580c1bde5de3ae3b78024db2e6c2a9ad674f7b59f84
using the script mentioned in makeMerkle.js
Change line const amount = (25 * 1e18).toString()
in makeMerkle.js
to const amount = (25 * 1e6).toString()
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.