Function: setCrossChainManager(address _crossChainManagerAddress)
This allows owner of the contract to set the address of the crossChainManager contract.
Inputs
_crossChainManagerAddressControl:
onlyOwnerof contract can call this function.Constraints: The new address is not zero.
Impact: The crossChainManager contract has access to
accountDepositandaccountWithDrawFinishfunctions. This allows to record the receipt of funds in another chain and complete the withdrawal process.
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.