There is no mechanism for hiding the actual withdrawal amounts until they are processed.
Using a commit-reveal scheme in the withdrawal process of this smart contract can offer several benefits and enhance security.
The most significant benefit of commit-reveal is its ability to prevent front-running attacks. By hiding transaction details until the reveal phase, it becomes impossible for attackers to anticipate and manipulate transactions before they're executed.
Attackers can't see the full details of a transaction until it's time to execute it. This prevents strategies like sandwich attacks or flash loans that rely on knowing transaction details beforehand
Commit-reveal allows users to keep their inputs private until the reveal phase, enhancing privacy and security.
prevent strategies like sandwich attacks or flash loans that rely on knowing transaction details beforehand.
Modify the contract so that withdrawal operations and amounts are hidden until disclosure to prevent attacks
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.