Function my_collateral

Source
pub fn my_collateral<T: Config>()
Expand description

Inspect and emit the caller’s current total collateral.

Provides an up-to-date view of the caller’s collateral, since on-chain storage may reflect only a lazy or stale balance representation.

§Behavior

  • Emits the latest computed collateral value.
  • Performs no state mutation.

Emits: Event::AuthorTotalCollateral

§Warning: Doc-Only

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