withdraw
Purpose: Withdraws all ETH and tracked ERC-20 tokens to a specified address.
Requirements:
Caller must be the owner.
Contract must not be paused.
Vault must be unclaimed.
Inputs:
to
(address): The destination address for the withdrawn funds.
Outputs: None
Steps:
Ensure your wallet is the owner address.
Verify the contract is not paused.
In the “Write Contract” section, find the
withdraw
function.Enter the destination address.
Click “Write” and confirm the transaction.
Notes:
Successfully transferred tokens are removed from the tracked list.
Failed transfers emit a
TransferFailed
event but do not halt the transaction.