Skip to content

Conversation

@jayantk
Copy link
Contributor

@jayantk jayantk commented May 28, 2024

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.

@vercel
Copy link

vercel bot commented May 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview May 30, 2024 3:40am
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview May 30, 2024 3:40am

(bool sent, ) = msg.sender.call{value: amount}("");
require(sent, "withdrawal to msg.sender failed");

emit Withdrawal(msg.sender, msg.sender, amount);
Copy link
Contributor Author

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

Copy link
Contributor

@m30m m30m left a 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.

@jayantk jayantk merged commit 587a4a7 into main May 30, 2024
@jayantk jayantk deleted the entropy_admin branch May 30, 2024 03:53
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.

3 participants