pallet_timegraph::pallet::dispatchables

Function set_reward_pool_account

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

The extrinsic allows setting a new reward pool account

§Flow

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

§Warning: Doc-Only

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