The updateVault
function in the Clanker
contract allows the contract owner to update the address of the vault. It checks that the caller is the owner, updates the vault address, and emits an event to log the change.
newVault
(address
): The address of the new vault that will replace the current vault.