Key Features

  • Heartbeat Mechanism: Tracks owner activity via ping (owner) or pingByPinger (authorized pinger) calls.

  • Token Support: Tracks up to 10 ERC-20 tokens with non-zero balances.

  • Modular Heir System: Update heirs by deploying a new HeirModule and calling setHeirModule with an ECDSA signature.

  • Security:

    • Non-reentrant functions to prevent reentrancy attacks.

    • Gas-limited external calls (30,000 gas for ETH transfers) to mitigate DoS.

    • ECDSA signature verification for sensitive operations.

    • Nonce to prevent replay attacks.

  • Pause Mechanism: Owners can pause/unpause sensitive operations like withdrawals and module updates.

  • Failed Transfer Handling: Logs failed ETH and token transfers; heirs can retry via withdrawForFailedHeirTransfers.

  • Gas Reimbursement: Reimburses triggerClaim callers up to 0.2 ETH for gas costs.