Function create_index

Source
pub fn create_index<T: Config>(entries: Vec<(Author<T>, Shares<T>)>)
Expand description

Create a new funding index over a set of authors.

An index represents a weighted collection of author commitment digests, enabling aggregated funding and proportional exposure.

  • Index entries resolve exclusively to author collateral digests.
  • Share weights are deterministic and auditable.
  • The caller becomes the index owner.

Emits: Event::IndexCreated via deposit event

ยงWarning: Doc-Only

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