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§
const OWNER_BADGE: ResourceAddress
Provided Associated Constants§
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>,
Object Safety§
This trait is not object safe.