getHeirs
Purpose: Retrieves the list of heirs and their respective percentage allocations.
Requirements: None (view function).
Inputs: None
Outputs:
Heir[]: An array of structs containingheirAddress(address) andpercentage(uint256).
Steps:
Navigate to the
HeirModulecontract on a block explorer.In the “Read Contract” section, find the
getHeirsfunction.Execute the function to view the heirs and their percentages.
Notes:
Used to verify heir status for
withdrawForFailedHeirTransfersandtriggerClaim.The sum of percentages must equal 100.