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

Pallet-pool-registry: Unregister extrinsic #1169

Open
mustermeiszer opened this issue Jan 14, 2023 · 0 comments
Open

Pallet-pool-registry: Unregister extrinsic #1169

mustermeiszer opened this issue Jan 14, 2023 · 0 comments
Labels
I8-enhancement An additional feature. P2-nice-to-have Issue is worth doing. Q3-medium Can be done with good experience in the language, but little knowledge of the codebase.

Comments

@mustermeiszer
Copy link
Collaborator

The registry should provide a functionality for

  • unregistering a pool
  • removing the pool from all storages of the JUST the registry

From a business logic perspective, if a pool is unregistered it is no longing available, although we do not remove the actual pool from the pools storage.

In order to actually unregister a pool the following prerequisites must be fulfilled:

  • the pool is closed
  • all tranches have a value of 0
@mustermeiszer mustermeiszer added Q3-medium Can be done with good experience in the language, but little knowledge of the codebase. P2-nice-to-have Issue is worth doing. I8-enhancement An additional feature. labels Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I8-enhancement An additional feature. P2-nice-to-have Issue is worth doing. Q3-medium Can be done with good experience in the language, but little knowledge of the codebase.
Projects
None yet
Development

No branches or pull requests

1 participant