credits_of_addresses_for_mints

Function credits_of_addresses_for_mints 

pub fn credits_of_addresses_for_mints<I, F>(
    addresses: I,
    nft_build: F,
) -> Vec<(Address, Vec<NFT>)>
where I: IntoIterator<Item = Address>, F: Fn(u64, Address) -> NFT,
Expand description

Transform a list of (potentially duplicated) Address into Credits

The list encodes an implicit map of nft::Id -> Address where the nft::Id is the index within the iterator.

ยงNote

The Credits value generated by this function will provoke failure in ensuing checks when used with Operation::IncreaseSupply. Only use it with Operation::Create.