Trait governance_os_pallet_bylaws::pallet::Config [−][src]
pub trait Config: Config { type Event: From<Event<Self>> + IsType<Self::Event>; type Role: Parameter + Member + MaybeSerializeDeserialize + Ord + Default; type WeightInfo: WeightInfo; type MaxRoles: Get<u32>; type RoleBuilder: RoleBuilder<Role = Self::Role>; }
Associated Types
type Event: From<Event<Self>> + IsType<Self::Event>
[src]
Because this pallet emits events, it depends on the runtime’s definition of an event.
type Role: Parameter + Member + MaybeSerializeDeserialize + Ord + Default
[src]
Roles defines UNIX like roles that users must be granted before triggering certain calls.
type WeightInfo: WeightInfo
[src]
The weights for this pallet.
type MaxRoles: Get<u32>
[src]
Only used for weight calculations: this is the highest number of roles we expect one account to have.
type RoleBuilder: RoleBuilder<Role = Self::Role>
[src]
Helper for the runtime to specify its custom roles.