Function: setOperatorNetworkShares(address network, address operator, uint256 shares)
This function sets an operator's shares for a network.
Inputs
network
Control: Completely controlled by the caller.
Constraints: N/A.
Impact: Address of the network.
operator
Control: Completely controlled by the caller.
Constraints: N/A.
Impact: Address of the operator.
shares
Control: Completely controlled by the caller.
Constraints: N/A.
Impact: New shares of the operator for the network.
Branches and code coverage (including function calls)
Intended branches
Operator shares after the current timestamp is set to the new amount.
Operator shares before the current timestamp returns the old limit.
Negative behavior
Reverts if not called by
OPERATOR_NETWORK_SHARES_SET_ROLE
.