unregister_dao: TxDescriptor<undefined>

Unregister existing dao for staking, making it ineligible for rewards from current era onwards and starts the unbonding period for the stakers.

The origin has to be the dao origin.

Deposit is returned to the dao account.

  • dao_id: Id of the dao to be unregistered.