-
Notifications
You must be signed in to change notification settings - Fork 48
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
Feat: add update operator for all #141
Conversation
* chore: clean whitespace at end of lines * nit: || operators at the beginning of lines Signed-off-by: Esteban Ordano <esteban@decentraland.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
contracts/estate/EstateRegistry.sol
Outdated
@@ -39,6 +39,15 @@ contract EstateRegistry is Migratable, IEstateRegistry, ERC721Token, ERC721Recei | |||
_; | |||
} | |||
|
|||
modifier onlyManager(uint256 estateId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
canManageOperators?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm idk. It involves also to update content. I thought canManage
but is super generic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"OnlyManager" can be interpreted as "not the owner, not the operator, only the manager".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
canSetUpdateOperator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than the minor nit on "canManage", this is good to go
@eordano ready to merge |
9215438
to
4a73f7a
Compare
circleci está de vacas |
UpdateOperatorForAll
for LAND and Estate registry smart contractsInterface: