A single permission that represents the relation between an app role and an entity.
allowed
Boolean
Whether the entity is allowed for the permission.
appAddress
String
App address.
granteeAddress
Entity address receiving the permission.
params
ParamData[]
An array of ParamData. It contains the argumentId, operationType and argumentValue of each paramenter as described in Parameter interpretation.
argumentId
operationType
argumentValue
roleHash
Encoded identifier for the role.
returns
App
App instance corresponding to the app address.
Role
Role instance corresponding to the role identifier.
Last updated 2 years ago
Was this helpful?