Withdrawal fee should not be set to 0.
For Ditto to be profitable, withdrawal fee cannot be 0.
In the BridgeRouterFacet#withdraw function
When zethAmount is very small, the withdrawal fee might be 0. This means no withdrawal fee will be taken, and the escrowed value won't change.
Without collecting fees, Ditto won't earn profits. Also, users might exploit the function because it doesn't cost them anything.
Manual
Make sure withdrawal fee is always greater than 0.
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.