-
Notifications
You must be signed in to change notification settings - Fork 302
feat(fortuna): Automated fair fee withdrawals with multiple keepers #2827
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(fortuna): Automated fair fee withdrawals with multiple keepers #2827
Conversation
…ica support - Add fee_manager_private_key to KeeperConfig for fee manager operations - Add known_keeper_addresses for balance comparison - Modify withdrawal logic to use fee manager key for fee manager calls - Only withdraw fees if current keeper has lowest balance among known keepers - Maintain backward compatibility with existing single-key setup Co-Authored-By: Tejas Badadare <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-Authored-By: Tejas Badadare <[email protected]>
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.
Please update the PR description with the updated implementation details.
ce098a8 to
68fd3f8
Compare
|
Simplified things by using a contract with the fee manager as the signer throughout the fee management functions. This helps because only the fee manager can execute the on-chain fee functions anyway. This way we don't have to juggle a contract with a keeper signer, fee manager wallets, providers, etc. |
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.
nice!
…evin/1751328352-separate-fee-manager-keeper-wallets
Summary
known_keeper_addresses. When below min_balance, a keeper will try to withdraw up to (T/N) where T is the total fees across all keepers and the contract, and N is the number of keepers.disable_fee_withdrawalrun config, since this is no longer required with this change.Test plan