Function: removeVault(address vaultAddress)
Removes a vault from the vaultAddresses array and deletes its metadata.
Inputs
vaultAddressControl: Fully controlled.
Constraints: Must exist in the
vaultAddressesarray.Impact: This address is removed from the
vaultAddressesarray.
Branches and code coverage (including function calls)
Intended branches
Should remove the
vaultAddressfrom thevaultAddressesstorage array.Should emit the
VaultRemovedevent.
Negative behaviour
Should revert if called by a non--default-admin role.
Should revert if the
vaultAddressdoes not exist in thevaultAddressesstorage array.