pallet_timegraph::pallet::dispatchables

Function set_timegraph_account

Source
pub fn set_timegraph_account<T: Config>(account: T::AccountId)
Expand description

The extrinsic allows setting a new timegraph account

§Flow

  1. Ensure the origin is the root account.
  2. Ensure the new account is different from the current timegraph account.
  3. Emit a Event::TimegraphAccountReset event.
  4. Set the new timegraph account.

§Warning: Doc-Only

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