Skip to content

address PR #264 review comments - #276

Merged
GuiDupont merged 3 commits into
feat/v0.6.0-various-featuresfrom
fix/pr-264-review-comments
Feb 3, 2026
Merged

address PR #264 review comments#276
GuiDupont merged 3 commits into
feat/v0.6.0-various-featuresfrom
fix/pr-264-review-comments

Conversation

@jfrancai

@jfrancai jfrancai commented Feb 2, 2026

Copy link
Copy Markdown
Contributor
  • revert v0.5.0 file changes (import path and typo)
  • rename OperatorPrivileges to SafePrivileges for clarity
  • add maxCap() agetters
  • refactor: split onlyOperator modifier into onlyOperator and onlyOperatorOrSafe
  • move safe-as-operator logic to ERC7540Lib and RolesLib
  • update tests to reflect naming changes

jfrancai and others added 2 commits February 2, 2026 20:42
- revert v0.5.0 file changes (import path and typo)
- rename OperatorPrivileges to SafePrivileges for clarity
- add maxCap() and gaveUpSafePrivileges() getters
- update tests to reflect naming changes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jfrancai
jfrancai force-pushed the fix/pr-264-review-comments branch from 9900f37 to 07ede6a Compare February 3, 2026 03:19
… to library

	- Replace onlyOperator(controller, bool) with two modifiers:
	- onlyOperator(controller): excludes safe as operator
	- onlyOperatorOrSafe(controller): includes safe as operator
	- Move _isOperator, _isSafeAnOperator logic to ERC7540Lib
	- Move _protocolFeeReceiver to RolesLib
	- Add isOperatorOrSafe() public view function
	- Remove _protocolFeeReceiver abstract function from ERC7540
@jfrancai
jfrancai force-pushed the fix/pr-264-review-comments branch from 07ede6a to f2b6be6 Compare February 3, 2026 04:07
@jfrancai
jfrancai requested a review from GuiDupont February 3, 2026 04:11
@GuiDupont
GuiDupont merged commit 1498a24 into feat/v0.6.0-various-features Feb 3, 2026
3 checks passed
@GuiDupont
GuiDupont deleted the fix/pr-264-review-comments branch February 3, 2026 08:30
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.

2 participants