trackTokens

Purpose: Tracks an ERC-20 token with a non-zero balance in the Vault for future distribution or withdrawal.

Requirements:

  • Caller must be the owner.

  • Contract must not be paused.

  • Vault must be unclaimed.

  • Token must have a non-zero balance.

  • Maximum of 10 tokens can be tracked.

Inputs:

  • token (address): The ERC-20 token address.

Outputs: None

Steps:

  1. Ensure your wallet is the owner address.

  2. Verify the contract is not paused (check paused state via “Read Contract”).

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

  4. Enter the token address.

  5. Click “Write” and confirm the transaction.

Notes:

  • Fails if the token has no balance, the Vault is claimed, or the token limit is reached.