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

SOLVER BOT: Automatically close pools if DROP redemptions can be taken out of reserve #267

Closed
denniswell opened this issue Jun 27, 2021 · 0 comments · Fixed by #331
Closed
Assignees

Comments

@denniswell
Copy link
Contributor

Currently pool epochs are not automatically closed by the bot if not all orders can be fully executed. This sometimes prevents DROP redemption orders that could be served from the reserve not being executed because, e.g. there are also DROP investments locked that cannot be executed because the pool is oversubscribed

We can easily add an additional case where the bot closes the epoch to the bot:
If DROP redemptions locked > 0 then
check that
(i) no TIN investments/redemptions are locked (we don’t wont do do any crazy stuff)
(ii) Locked redemptions < Pool reserve
Then close epoch

@denniswell denniswell changed the title Automatically close pools if DROP redemptions can be taken out of reserve SOLVER BOT: Automatically close pools if DROP redemptions can be taken out of reserve Jul 26, 2021
@onnovisser onnovisser self-assigned this Aug 13, 2021
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 a pull request may close this issue.

2 participants