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
Gnosis Executor Extension #146
Conversation
emit NewPendingAdmin(pendingAdmin); | ||
} | ||
|
||
function setAvatar(address _avatar) public onlyAvatar { |
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.
Do we only want to let the avatar set another avatar here? or should it be the admin
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.
Yeah, makes sense to replace this with an onlyAdmin()
modifier, rather than onlyAvatar()
.
On that, you currently have this same require statement duplicated multiple times require(msg.sender == admin...
, I'd suggest putting this into an onlyAdmin()
modifier.
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 on second thought - the admin is the DAOLogic contract, which currently doesn't have a function to setAvatar. I think we should call rq to discuss the intended design here
… help frontends differentiate upgraded contracts
No description provided.