given that USDC is a 6-decimal-token , WBTC is 8-decimals and WETH is 18, there will be precision loss leading to underpayment or overpayment of platform fees when dealing with smaller numbers in MembershipFactory
.
https://github.com/Cyfrin/2024-11-one-world/blob/1e872c7ab393c380010a507398d4b4caca1ae32b/contracts/dao/MembershipFactory.sol#L144
protocol will either be underpayed or overpayed
manual review
add a constant precision calculation to handle calcualtions for each token
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.