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
- Ensure the origin is the timegraph account.
- Unreserve the specified amount from the given account.
- Transfer the unreserved funds to the reward pool account.
- 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
.