pub fn id_from_index(index: FundIndex) -> child::ChildInfo {
		let mut buf = Vec::new();
		buf.extend_from_slice(b"crowdfnd");
		buf.extend_from_slice(&index.to_le_bytes()[..]);

		child::ChildInfo::new_default(T::Hashing::hash(&buf[..]).as_ref())
	}
/// Find the ID associated with the fund
///
/// Each fund stores information about its contributors and their contributions in a child trie
/// This helper function calculates the id of the associated child trie.
Find the ID associated with the fund
Each fund stores information about its contributors and their contributions in a child trie
This helper function calculates the id of the associated child trie.
Find the ID associated with the fund Each fund stores information about its contributors and their contributions in a child trie This helper function calculates the id of the associated child trie .
pub fn id_from_index(index: FundIndex) -> child::ChildInfo {
		let mut buf = Vec::new();
		buf.extend_from_slice(b"crowdfnd");
		buf.extend_from_slice(&index.to_le_bytes()[..]);
		child::ChildInfo::new_default(T::Hashing::hash(&buf[..]).as_ref())
	}
pub fn id_from_index ( index : FundIndex ) -> child :: ChildInfo { let mut buf = Vec :: new ( ) ; buf . extend_from_slice ( b" " ) ; buf . extend_from_slice ( & index . to_le_bytes ( ) [ .. ] ) ; child :: ChildInfo :: new_default ( T :: Hashing :: hash ( & buf [ .. ] ) . as_ref ( ) ) }
Find the ID associated with the fund
Each fund stores information about its contributors and their contributions in a child trie
This helper function calculates the id of the associated child trie.
Find the ID associated with the fund Each fund stores information about its contributors and their contributions in a child trie This helper function calculates the id of the associated child trie .
index
FundIndex
index
FundIndex