pub trait SecurifiedRoleAssignment {
    type OwnerBadgeNonFungibleData: NonFungibleData;

    const OWNER_BADGE: ResourceAddress;
    const SECURIFY_ROLE: Option<&'static str> = None;

    // Provided methods
    fn create_advanced<Y>(
        owner_role: OwnerRole,
        api: &mut Y
    ) -> Result<RoleAssignment, RuntimeError>
       where Y: ClientApi<RuntimeError> { ... }
    fn create_securified<Y>(
        owner_badge_data: Self::OwnerBadgeNonFungibleData,
        non_fungible_local_id: Option<NonFungibleLocalId>,
        api: &mut Y
    ) -> Result<(RoleAssignment, Bucket), RuntimeError>
       where Y: ClientApi<RuntimeError> { ... }
    fn mint_securified_badge<Y>(
        owner_badge_data: Self::OwnerBadgeNonFungibleData,
        non_fungible_local_id: Option<NonFungibleLocalId>,
        api: &mut Y
    ) -> Result<(Bucket, AccessRule), RuntimeError>
       where Y: ClientApi<RuntimeError> { ... }
}

Required Associated Types§

Required Associated Constants§

Provided Associated Constants§

source

const SECURIFY_ROLE: Option<&'static str> = None

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§