Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stuart_the_minion - Missing Pausing/Unpausing functionality in GoodDollarExpansionController #68

Open
sherlock-admin3 opened this issue Oct 31, 2024 · 0 comments

Comments

@sherlock-admin3
Copy link

sherlock-admin3 commented Oct 31, 2024

stuart_the_minion

Medium

Missing Pausing/Unpausing functionality in GoodDollarExpansionController

Summary

Pausing/Unpausing functionality is missing in GoodDollarExpansionController.

Root Cause

The GoodDollarExpansionController inherits PausableUpgradeable contract, however, the pausing/unpausing functionalities are not implemented in GoodDollarExpansionController.

contract GoodDollarExpansionController is IGoodDollarExpansionController, PausableUpgradeable, OwnableUpgradeable {
  ... ...
}

Internal pre-conditions

No response

External pre-conditions

No response

Attack Path

No response

PoC

No response

Mitigation

  • If missing pausing/unpausing functionality is what intended, then just remove the inheritance of PausableUpgradeable contract.
  • But, if it is required in the GoodDollarExpansionController contract, add pause() and unpause() as external functions, and add whenNotPaused modifier to the proper external & public functions.
@sherlock-admin3 sherlock-admin3 changed the title Pet Tawny Loris - Missing Pausing/Unpausing functionality in GoodDollarExpansionController stuart_the_minion - Missing Pausing/Unpausing functionality in GoodDollarExpansionController Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant