Class: KnownPermissionGroup
api/entities/KnownPermissionGroup.KnownPermissionGroup
Represents a pre-defined group of permissions for an Asset
Hierarchy
-
↳
KnownPermissionGroup
Properties
asset
• asset: FungibleAsset
Asset for which this group specifies permissions
Inherited from
Defined in
api/entities/PermissionGroup.ts:19
type
• type: PermissionGroupType
Defined in
api/entities/KnownPermissionGroup.ts:30
uuid
• uuid: string
Inherited from
Defined in
Methods
exists
▸ exists(): Promise
<boolean
>
Determine whether this Known Permission Group exists on chain
Returns
Promise
<boolean
>
Overrides
Defined in
api/entities/KnownPermissionGroup.ts:90
getPermissions
▸ getPermissions(): Promise
<GroupPermissions
>
Retrieve the Permissions associated with this Permission Group
Returns
Promise
<GroupPermissions
>
Overrides
PermissionGroup.getPermissions
Defined in
api/entities/KnownPermissionGroup.ts:46
isEqual
▸ isEqual(entity
): boolean
Determine whether this Entity is the same as another one
Parameters
Name | Type |
---|---|
entity | Entity <unknown , unknown > |
Returns
boolean
Inherited from
Defined in
toHuman
▸ toHuman(): HumanReadable
Return the KnownPermissionGroup's static data
Returns
Overrides
Defined in
api/entities/KnownPermissionGroup.ts:97