referrerpolicy=no-referrer-when-downgrade
pub fn update_roles<T: Config>(
    pool_id: PoolId,
    new_root: ConfigOp<T::AccountId>,
    new_nominator: ConfigOp<T::AccountId>,
    new_bouncer: ConfigOp<T::AccountId>,
)
Expand description

Update the roles of the pool.

The root is the only entity that can change any of the roles, including itself, excluding the depositor, who can never change.

It emits an event, notifying UIs of the role change. This event is quite relevant to most pool members and they should be informed of changes to pool roles.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::update_roles.