PermissionGroup
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents a group of permissions for a Security Token
‹UniqueIdentifiers, unknown›
↳ PermissionGroup
↳
↳
Protected
context• ticker: string
• uuid: string
Abstract
exists▸ exists(): Promise‹boolean›
Determine whether this Entity exists on chain
Returns: Promise‹boolean›
Abstract
getPermissionsRetrieve the Permissions associated with this Permission Group
Determine whether this Entity is the same as another one
Parameters:
entity
Returns: boolean
Abstract
toJsonâ–¸ toJson(): unknown
Returns Entity data in a human readable (JSON) format
Returns: unknown
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Generate the Entity's UUID from its identifying properties
Type parameters:
â–ª Identifiers
Parameters:
identifiers
Identifiers
Returns: string
Static
isUniqueIdentifiersâ–¸ isUniqueIdentifiers(identifiers
: unknown): boolean
Typeguard that checks whether the object passed corresponds to the unique identifiers of the class. Must be overridden
Parameters:
identifiers
unknown
object to type check
Returns: boolean
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters:
â–ª Identifiers
Parameters:
serialized
string
UUID to unserialize
Returns: Identifiers
• context:
Inherited from .
Defined in
Defined in
Inherited from .
Defined in
Inherited from .
Defined in
▸ getPermissions(): Promise‹›
Defined in
Returns: Promise‹›
â–¸ isEqual(entity
: ‹unknown, unknown›): boolean
Inherited from .
Defined in
‹unknown, unknown›
Inherited from .
Defined in
Inherited from .
Defined in
Inherited from .
Defined in
Inherited from .
Defined in