Type Alias PermissionsByParticipants

Source
pub type PermissionsByParticipants<T: Config> = StorageMap<_GeneratedPrefixForStoragePermissionsByParticipants<T>, Identity, (T::AccountId, T::AccountId), BoundedVec<PermissionId, T::MaxTargetsPerPermission>, ValueQuery>;
Expand description

Mapping from (grantor, grantee) to permission IDs

Storage type is [StorageMap] with key type (T :: AccountId, T :: AccountId) and value type BoundedVec < PermissionId, T :: MaxTargetsPerPermission >.

Aliased Typeยง

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