Type Alias pallet_ip_pallet::pallet::Offers

source ·
pub type Offers<T: Config> = StorageMap<_GeneratedPrefixForStorageOffers<T>, Blake2_128Concat, T::OfferId, Offer<T>>;
Expand description

Storage for all active offers

Maps offer IDs to their corresponding Offer enum containing either a license or purchase offer. Offers are removed when accepted or cancelled.

Storage type is [StorageMap] with key type T :: OfferId and value type Offer < T >.

Aliased Type§

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