The current claim
function in the Distribution contract lacks a mechanism to estimate transaction fees accurately, potentially leading to failures. Users can send arbitrary values, risking insufficient gas and transaction failures. Utilizing the estimateFees()
function, detailed here, is recommended to ensure precise fee calculation for successful transactions.
Integrate the estimateFees()
endpoint into the claim
function to empower users with accurate fee calculations, reducing the risk of transaction failures.
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.