DeFiHardhat
12,000 USDC
View results
Submission Details
Severity: low
Invalid

State changing function doesn't emit events in `MultiFlowPump::update`

Vulnerability Details

State changing functionMultiFlowPump::update doesn't emit events for parameters change of the protocol.

Context:

function update(uint256[] calldata reserves, bytes calldata data) external {
(bytes16 alpha, uint256 capInterval, CapReservesParameters memory crp) =
abi.decode(data, (bytes16, uint256, CapReservesParameters));
...
// @audit no event emitted
}

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

giovannidisiena Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational/Invalid

Support

FAQs

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