Module permission

Source

Re-exports§

pub use curator::CuratorPermissions;
pub use curator::CuratorScope;
pub use namespace::NamespaceScope;
pub use stream::DistributionControl;
pub use stream::StreamAllocation;
pub use stream::StreamScope;

Modules§

curator
namespace
stream
wallet

Structs§

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 recipient | scope | block number

Type Aliases§

PermissionId
Type for permission ID