getHeirs

Purpose: Retrieves the list of heirs and their respective percentage allocations.

Requirements: None (view function).

Inputs: None

Outputs:

  • Heir[]: An array of structs containing heirAddress (address) and percentage (uint256).

Steps:

  1. Navigate to the HeirModule contract on a block explorer.

  2. In the “Read Contract” section, find the getHeirs function.

  3. Execute the function to view the heirs and their percentages.

Notes:

  • Used to verify heir status for withdrawForFailedHeirTransfers and triggerClaim.

  • The sum of percentages must equal 100.