Function: setFeeManager(address _feeManagerAddress)
This allows the owner of the contract to set the address of the feeManager contract.
Inputs
_feeManagerAddress
Control:
onlyOwner
of the contract can call this function.Constraints: The new address is not zero.
Impact: The feeManager contract returns the
feeCollectorAccountId
value of the receiver of the fee.
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.