Function: setVaultManager(address _vaultManagerAddress)
This allows the owner of the contract to set the address of the vaultManager contract.
Inputs
_vaultManagerAddress
Control:
onlyOwner
of contract can call this function.Constraints: The new address is not zero.
Impact: The vaultManager contract contains information about allowed tokens, symbols, and brokers. It also keeps information about the amount of funds on the balance and
frozenBalance
of a certain token in the corresponding chain.
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.