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

Is the onlyOwner modifier being used? #28

Open
acuarica opened this issue Nov 27, 2021 · 0 comments
Open

Is the onlyOwner modifier being used? #28

acuarica opened this issue Nov 27, 2021 · 0 comments
Labels
refactor Improves project quality without added value review Further information is requested
Milestone

Comments

@acuarica
Copy link
Contributor

It seems we are currently not using this modifier.

modifier onlyOwner() {
require (
msg.sender == owner,
"RenPool: Caller is not owner"
);
_;
}

We might need to review whether the Owner of the contract is allowed to do some special or just earn fees for being the owner.

@acuarica acuarica added review Further information is requested refactor Improves project quality without added value labels Nov 27, 2021
@acuarica acuarica added this to the MVP milestone Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improves project quality without added value review Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant