Skip to content

Conversation

@Onze981
Copy link

@Onze981 Onze981 commented Nov 21, 2025

Note

Implements Authorized contract details: custom error-based onlyAuthorized modifier, authorization events, idempotent add/remove restricted to owner, and simplified imports.

  • Contracts — src/common/auth/Authorized.sol:
    • Add custom error OnlyAuthorized and onlyAuthorized modifier using it.
    • Define and emit AuthorizationAdded and AuthorizationRemoved events.
    • Implement idempotent addAuthorization/removeAuthorization restricted by onlyOwner.
    • Maintain authorized mapping and owner-initializing constructor.
    • Simplify imports to only IAuthorized (remove IAuthorizedEE).

Written by Cursor Bugbot for commit 8d68c92. This will update automatically on new commits. Configure here.

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

Successfully merging this pull request may close these issues.

1 participant