Under the ERC4626 standard, the deposit() and withdraw() functions must emit the canonical Deposit and Withdraw events defined in the interface to ensure interoperability with aggregators, vault routers, and accounting systems.
However, in the current implementation, both deposit() and withdraw() are overridden but emit custom events instead of the defined. This breaks compatibility with ERC-4626 frontends, indexers, and external integrators that rely on the standard event signatures.
Likelihood: High
Occurs on every deposit and withdrawal since non-standard events are emitted.
Impact: Low
Off-chain systems relying on ERC-4626 events will not detect deposit/withdrawals.
For deposit function:
For withdrawal function:
Emit the ERC4626 events along with any custom event
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.