Function: setVaultMetadata(address vaultAddress, FCNVaultMetadata metadata)
Sets a vault's metadata.
Inputs
vaultAddress
Control: Fully controlled.
Constraints: N/A.
Impact: The metadata for this vault is updated.
metadata
Control: Fully controlled.
Constraints: The
metadata.vaultStart
property must not be 0.Impact: The metadata for the vault is updated to this.
Branches and code coverage (including function calls)
Intended branches
Should set the correct vault's metadata using the
vaultAddress
.
Negative behaviour
Should revert if
metadata.vaultStart
is set to 0.Should revert if called by a non--default-admin role.