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

[LUM-576] Close pool feature #69

Merged
merged 11 commits into from
Mar 8, 2024
Merged

[LUM-576] Close pool feature #69

merged 11 commits into from
Mar 8, 2024

Conversation

Segfaultd
Copy link
Member

@Segfaultd Segfaultd commented Feb 13, 2024

Introduction

This Pull Request introduces a close pool feature, that can be triggered by the community using governance proposal.

It aims to properly stop and close a pool by following the given steps:

  • Block deposits and other operations
  • Launch a final 100% draw with the actual prize pool
  • Initiate all withdrawals
  • Once all the withdrawals have completed, and in case of remaining dusts, transfer it back to fee collector
  • Flag the pool as closed

Every single step requires no human intervention and is relying over IBC / ICA callbacks, but can be re-triggered at some point in case of step failure.

Testing

Unit test has been added
Test is planned on dedicated upgrade network

This was referenced Feb 22, 2024
@lebascou lebascou changed the base branch from master to rc/v1.6.5 February 22, 2024 16:08
@Segfaultd Segfaultd marked this pull request as ready for review March 5, 2024 15:12
@lebascou lebascou added the ready to merge 👌 PR ready to be merged label Mar 8, 2024
@lebascou lebascou merged commit 8ec556d into rc/v1.6.5 Mar 8, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge 👌 PR ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants