pallet_timegraph::pallet::dispatchables

Function transfer_to_pool

Source
pub fn transfer_to_pool<T: Config>(account: T::AccountId, amount: BalanceOf<T>)
Expand description

The extrinsic from timegraph allows transferring funds to the reward pool

§Flow

  1. Ensure the origin is the timegraph account.
  2. Unreserve the specified amount from the given account.
  3. Transfer the unreserved funds to the reward pool account.
  4. Emit a Event::TransferToPool event.

§Warning: Doc-Only

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