Skip to content

Latest commit

 

History

History
23 lines (10 loc) · 1.07 KB

Sentiment V2 - The superPool contract cannot be paused and unpaused completely when needed (i.e. superPool is hacked) because none of the functions in it use the whenNotPaused and whenPaused modifiers.md

File metadata and controls

23 lines (10 loc) · 1.07 KB

The superPool contract cannot be paused and unpaused completely when needed (i.e. superPool is hacked) because none of the functions in it use the whenNotPaused and whenPaused modifiers

Summary

A summary with the following structure: {root cause} will cause [a/an] {impact} for {affected party} as {actor} will {attack path}

The superPool contract cannot be paused and unpaused completely when needed (i.e. superPool is hacked) because none of the functions in it use the whenNotPaused and whenPaused modifiers

Root Cause

superPool contract inherits from Pausable , but none of the functions in it use the whenNotPaused and whenPaused modifiers

Impact

The superPool contract cannot be paused and unpaused completely

Mitigation

Consider adding whenNotPaused and whenPaused modifiers to critical functions (i.e deposit, mint, withdraw, redeem, and reallocate)