Operator

contract Operator is MainStorage, MGovernance, MOperator

The Operator of the contract is the entity entitled to submit state update requests by calling updateState.

An Operator may be instantly appointed or removed by the contract Governor (see MainGovernance). Typically, the Operator is the hot wallet of the StarkEx service submitting proofs for state updates.

event LogOperatorAdded(address operator)
event LogOperatorRemoved(address operator)
modifier onlyOperator()
function registerOperator(address newOperator)
external
 onlyGovernance
function unregisterOperator(address removedOperator)
external
 onlyGovernance
function isOperator(address testedOperator)
external
view
returns (bool)