referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_nfts::PreSignedAttributesOf

source ·
pub type PreSignedAttributesOf<T, I = ()> = PreSignedAttributes<<T as Config<I>>::CollectionId, <T as Config<I>>::ItemId, <T as SystemConfig>::AccountId, BlockNumberFor<T>>;
Expand description

A type alias for the pre-signed minting configuration on the attribute level of an item.

Aliased Type§

struct PreSignedAttributesOf<T, I = ()> {
    pub collection: <T as Config<I>>::CollectionId,
    pub item: <T as Config<I>>::ItemId,
    pub attributes: Vec<(Vec<u8>, Vec<u8>)>,
    pub namespace: AttributeNamespace<<T as Config>::AccountId>,
    pub deadline: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,
}

Fields§

§collection: <T as Config<I>>::CollectionId

Collection’s ID.

§item: <T as Config<I>>::ItemId

Item’s ID.

§attributes: Vec<(Vec<u8>, Vec<u8>)>

Key-value attributes.

§namespace: AttributeNamespace<<T as Config>::AccountId>

Attributes’ namespace.

§deadline: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

A deadline for the signature.