Module permission

Source

Re-exports§

pub use curator::CuratorPermissions;
pub use curator::CuratorScope;
pub use emission::DistributionControl;
pub use emission::EmissionAllocation;
pub use emission::EmissionScope;

Modules§

curator
emission

Structs§

NamespaceScope
Scope for namespace permissions
PermissionContract

Enums§

EnforcementAuthority
Defines how a permission’s enforcement is controlled
EnforcementReferendum
Types of enforcement actions that can be voted on
PermissionDuration
PermissionScope
Defines what the permission applies to
RevocationTerms

Functions§

generate_permission_id
Generate a unique permission ID by hashing a concat of grantee | scope | block number

Type Aliases§

PermissionId
Type for permission ID