referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_nfts::ItemMetadataDepositOf

source ·
pub type ItemMetadataDepositOf<T, I> = ItemMetadataDeposit<DepositBalanceOf<T, I>, <T as SystemConfig>::AccountId>;
Expand description

A type that holds the deposit amount for an item’s metadata.

Aliased Type§

struct ItemMetadataDepositOf<T, I> {
    pub account: Option<<T as Config>::AccountId>,
    pub amount: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
}

Fields§

§account: Option<<T as Config>::AccountId>

A depositor account, None means the deposit is collection’s owner.

§amount: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance

An amount that gets reserved.