-
Notifications
You must be signed in to change notification settings - Fork 308
[entropy] Add Fee Manager Role #1623
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
| (bool sent, ) = msg.sender.call{value: amount}(""); | ||
| require(sent, "withdrawal to msg.sender failed"); | ||
|
|
||
| emit Withdrawal(msg.sender, msg.sender, amount); |
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.
drive-by: we didn't have an event for this action
m30m
left a comment
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.
LGTM, you may want to add another event for setting the fee manager.
Also please bump the solidity version before merging.
This PR adds a new role of a fee manager who is allowed to set / withdraw fees on behalf of a provider. The provider has the authority to set their fee manager.