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

FeralfileExhibitionV5 contract to support ERC1155 #32

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion contracts/Authorizable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract Authorizable is Ownable {
constructor() {}

modifier onlyAuthorized() {
require(trustees[msg.sender] || msg.sender == owner());
require(trustees[_msgSender()] ||_msgSender() == owner());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Provide an error message for require

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Use Custom Errors instead of require statements

_;
}

Expand Down
Loading
Loading