pub type DelegatorAndProviderToDelegation<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageDelegatorAndProviderToDelegation<T>, Twox64Concat, DelegatorId, Twox64Concat, ProviderId, Delegation<SchemaId, BlockNumberFor<T>, T::MaxSchemaGrantsPerDelegation>, OptionQuery>;
Expand description
Storage type for mapping the relationship between a Delegator and its Provider.
- Keys: Delegator MSA, Provider MSA
- Value:
Delegation
Storage type is [StorageDoubleMap
] with key1 type DelegatorId, key2 type ProviderId and value type Delegation < SchemaId, BlockNumberFor < T > , T ::
MaxSchemaGrantsPerDelegation >.
Aliased Typeยง
struct DelegatorAndProviderToDelegation<T: Config>(/* private fields */);