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:

  1. Ensure your wallet is the owner address.

  2. Verify the contract is not paused.

  3. In the “Write Contract” section, find the withdraw function.

  4. Enter the destination address.

  5. 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.