Function pallet_pool_registry::pallet::dispatchables::update
source · pub fn update<T: Config>(
pool_id: T::PoolId,
changes: <<T as Config>::ModifyPool as PoolMutate<<T as Config>::AccountId, <T as Config>::PoolId>>::PoolChanges
)
Expand description
Update per-pool configuration settings.
This updates the tranches of the pool, sets the minimum epoch length, and maximum NAV age.
If no delay is required for updates and redemptions don’t have to be fulfilled, then this is executed immediately. Otherwise, the update is scheduled to be executed later.
The caller must have the PoolAdmin
role in order to
invoke this extrinsic.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update
.