Type Alias AuthorFunders

Source
pub type AuthorFunders<T: Config> = StorageNMap<_GeneratedPrefixForStorageAuthorFunders<T>, (NMapKey<Blake2_128Concat, Author<T>>, NMapKey<Blake2_128Concat, Backer<T>>), Funder<T>, OptionQuery>;
Expand description

Stores the funder details for each (Author, Backer) pair.

Supports multi-source funding for authors:

  • direct account backing
  • index-based commitments
  • pooled commitments

Enables the runtime to query, update, or audit all funders for an author.

Storage type is [StorageNMap] with keys type (Author < T >, Backer < T >) and value type Funder < T >.

Aliased Typeยง

pub struct AuthorFunders<T: Config>(/* private fields */);