An ERC-4626 compliant vault must emit the standard Deposit and Withdraw events with their specified parameters. This is need for all external integrations, such as front-ends, analytics dashboards, and other DeFi protocols, to track the vault's activity.
The contract inherits ERC4626 but its custom deposit and withdraw functions do not emit the standard events. Instead, they emit custom, non-compliant events (deposited and a different Withdraw). This breaks the contract's compatibility and defeats the purpose of being ERC-4626 compliant.
Likelihood:
This is not an exploitable vulnerability but a direct failure of implementation. The contract never emits the correct events.
Impact:
The vault will be invisible to all ERC-4626 tooling. Indexers (like The Graph), aggregators (like Zapper), and front-ends will be unable to see any deposits or withdrawals, making the vault unusable within the wider DeFi ecosystem.
The contract's custom events do not match the required ERC-4626 standard.
The deposit and withdraw functions must be updated to emit the standard ERC-4626 events with the correct parameters.
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.