The setOwner function in the FjordAuctionFactory contract is missing an event emission mechanism when the owner is updated. Event emissions are critical for tracking contract state changes off-chain and ensuring transparency for stakeholders.
The function updates the owner without emitting an event. This lack of notification makes it difficult to track changes to the contract's state off-chain. Event emissions are a standard best practice in Solidity to inform external systems of state changes, aiding in transparency and trust.
Location
setOwner function in the FjordAuctionFactory contract:
Low Severity: Affects off-chain monitoring, making state changes less transparent for auditors and stakeholders
Manual Code Review
Emit an OwnerUpdated event inside the setOwner function to enhance transparency:
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.