stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Invalid

State changing functions lacks Event emissions in SDLPool.sol

Summary

State changing functions lacks Event emissions.

Vulnerability Details

Certain functions in the SDLPool don't emit events for parameters change of the protocol. These are the contexts shown below:

Context: SDLPool.sol

function setBoostController(address _boostController) external onlyOwner {
boostController = IBoostController(_boostController);
// @audit no event emission.
}

Context: SDLPool.sol

function setCCIPController(address _ccipController) external onlyOwner {
ccipController = _ccipController;
// @audit no event emission.
}

Context: SDLPool.sol

function setBaseURI(string calldata _baseURI) external onlyOwner {
baseURI = _baseURI;
}

Impact

Not adding an event will not facilitate off-chain monitoring when changing system parameters.

Tools Used

Manual Review

Recommendations

Make sure these endpoints emit events as some off-chain agents might be monitoring the protocol for these events.

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.