pub fn cleanup_pool<T: Config>(pool_id: PoolId)
Expand description
Cleanup a pool.
Origin must be the pool admin.
Cleanup storage, release any associated storage cost and return the remaining reward tokens to the admin.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cleanup_pool
.