Function my_fund

Source
pub fn my_fund<T: Config>(from: FundingTarget<T>)
Expand description

Inspect the caller’s total committed funds under a specific funding target.

Provides a read-only view of the caller’s currently locked funds across supported funding models.

§Behavior

  • Direct: Emits funds committed to a single author.
  • Index: Emits total funds committed via an index.
  • Pool: Emits total funds committed via a pool.

§Validation

  • Ensures the provided index or pool digest matches the caller’s active commitment.
  • Fails if the digest is invalid or belongs to another commitment.

Emits:

§Warning: Doc-Only

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