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
address
The operator's address.
status
bool
The status to set to operator
.
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
address
Yes
status
bool
No
Errors
NotAllowedOperator
Last updated