A Role, allows the participation of the contract to be dynamic. Any user that can prove to have permission to act as RoleName is able to carry out the actions assigned, and redeem the payments issued to that role. The roles are implemented as tokens that can be traded, this allows for more complex use cases.

const roleExample: Role = {"role_token" : "Buyer"}

Hierarchy

  • Role

Properties

Properties

role_token: string