Missing event for admin function setBaseURI #16
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
BouSalman
Vulnerability details
Vulnerability description
In Contract XDEFIDistribution the function setBaseURI is missing an event for this admin functionality.
Impact
Users can't monitor admin changes done to the contract to reflect it in their clients.
Proof of Concept
https://github.com/XDeFi-tech/xdefi-distribution/blob/3856a42df295183b40c6eee89307308f196612fe/contracts/XDEFIDistribution.sol#L73
Tools Used
manual code review.
Recommended Mitigation Steps
create event for base URI changes and emit it.
The text was updated successfully, but these errors were encountered: