withdrawForFailedHeirTransfers

Purpose: Allows heirs to claim ETH and tokens from failed transfers during triggerClaim.

Requirements:

  • Caller must be a listed heir (verified via heirsModule).

  • Failed ETH or token allocations must exist.

Inputs: None

Outputs: None

Steps:

  1. Ensure your wallet is a listed heir (check via heirsModule’s getHeirs function).

  2. Check for failed allocations using failedEthAllocations or failedTokenAllocations via “Read Contract.”

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

  4. Click “Write” and confirm the transaction.

Notes:

  • Failed allocations are cleared upon successful transfer.

  • Non-reentrant to prevent reentrancy attacks.