pub fn deposit<T: Config>(amount: BalanceOf<T>)
Expand description
The extrinsic from timegraph allows user to deposit funds into the timegraph account
§Flow
- Ensure the origin is a signed account.
- Validate the amount is greater than zero.
- Ensure the sender .
- Transfer the funds.
- Increment the deposit sequence number for origin.
- Emit a
Event::Deposit
event.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::deposit
.