Type Alias pallet_ip_pallet::pallet::Contracts

source ·
pub type Contracts<T: Config> = StorageMap<_GeneratedPrefixForStorageContracts<T>, Blake2_128Concat, T::ContractId, Contract<T>>;
Expand description

Storage for all active contracts

Maps contract IDs to their corresponding Contract enum containing either a license or purchase agreement. Contracts are created when offers are accepted and removed when completed or expired.

Storage type is [StorageMap] with key type T :: ContractId and value type Contract < T >.

Aliased Type§

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