Documentation ¶
Overview ¶
Roles interface example
This package shows how to use a smart-contract interface with go interfaces. For demonstration we define a simple RBAC interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SenderHasRole ¶
SenderHasRole checks if contract sender has specified role
Types ¶
Click to show internal directories.
Click to hide internal directories.