All chains
    Preparing search index...
    set_state: TxDescriptor<{ pool_id: number; state: NominationPoolsPoolState }>

    Set a new state for the pool.

    If a pool is already in the Destroying state, then under no condition can its state change again.

    The dispatch origin of this call must be either:

    1. signed by the bouncer, or the root role of the pool,
    2. if the pool conditions to be open are NOT met (as described by ok_to_be_open), and then the state of the pool can be permissionlessly changed to Destroying.