No event for Alchemist.sol#setPegMinimum
#24
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
wont fix
Handle
0x0x0x
Vulnerability details
Impact
The change of
pegMinimum
is crucial for the funcionality of the contract. Users should be informed about the changes. Furthermore, whenpegMinimum
is set to be maximum ofuin256
, functions such asmint
,liquidate
andrepay
cannot be used. Therefore, the change ofpegMinimum
should be emitted to create a safe environment for users.Tools Used
Manual analysis
Recommended Mitigation Steps
Emit the changes. Furthermore, it would be better if for such a change users get notified beforehand with a mechanism such as Timelock.
The text was updated successfully, but these errors were encountered: