Hooks.wtf

Audit Findings

ClaimFees.sol

The ClaimFees contract allows a memecoin treasury to make calls to a Merkle Airdrop and claim fees that have been allocated to the memecoin treasury address.


[MINOR] No receive function defined

No receive function is defined, meaning that if the merkle distributes ETH it would be unable to claim and receive it. It is likely that fees would be distributed as flETH, but this may not be the case.

Proof of Concept

Coming soon.

Suggested Remediation

By adding a receive function, the contract will be able to receive ETH allocations from the merkle distribution. This could also be extended to automatically convert the received ETH into flETH.

receive() external payable {}
Previous
Getting started