Operatable
Extends
Initialization
constructor
Description
Initializes a new Operatable instance (adding msg.sender
to operators).
Write Methods
setOperator
Description
Allows owner to add/remove operators.
Parameters
Name | Type | Description |
---|---|---|
operator |
| The operator's address. |
status |
| The status to set to |
Emits
View Methods
operators
Description
Maps each active operator's address to true
.
Modifiers
onlyOperators
Description
Checks if msg.sender
is an operator.
Throws
Events
OperatorChanged
Parameters
Name | Type | Index? |
---|---|---|
operator |
| Yes |
status |
| No |
Errors
NotAllowedOperator
Last updated