Skip to content
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: autodeposit bidder balance #211

Merged
merged 38 commits into from
Jul 10, 2024
Merged

feat: autodeposit bidder balance #211

merged 38 commits into from
Jul 10, 2024

Conversation

aloknerurkar
Copy link
Collaborator

This PR adds a new autodeposit feature to the Bidder API. With this new API, users can configure a minimum balance per window that the node will deposit into the bidder registry. As and when the windows move ahead, the node will withdraw the old deposits and make new ones for the new window.

All refunds will be made to the bidder's wallet. These include return of decayed amount as well as bid amounts in case of slashes.

@aloknerurkar aloknerurkar requested review from Mikelle and kant777 July 8, 2024 17:43
@aloknerurkar aloknerurkar force-pushed the autodeposit.0 branch 2 times, most recently from 45fe828 to 4a3ca37 Compare July 9, 2024 21:52
oracle/pkg/node/node.go Outdated Show resolved Hide resolved
p2p/pkg/rpc/bidder/service.go Show resolved Hide resolved
@aloknerurkar aloknerurkar merged commit 3946648 into main Jul 10, 2024
5 of 6 checks passed
@aloknerurkar aloknerurkar deleted the autodeposit.0 branch July 10, 2024 09:45
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.

2 participants