Function: setMarketManager(address _marketManagerAddress)
This allows the owner of the contract to set the address of the marketManager contract.
Inputs
_marketManagerAddress
Control:
onlyOwner
of contract can call this function.Constraints: The new address is not zero.
Impact: The
setLastFundingUpdated
timestamp will be updated in the MarketManager contract during theexecuteProcessValidatedFutures
call.
Branches and code coverage
Intended branches
New address was set successfully.
Negative behavior
Zero address.
The same address already set.
Caller is not an owner.