InheritanceManager::contractInteractions
function design requires owner to do multiple transaction in case of sending ETH in the interactions and recording interaction is quite costly and not useful for beneficiaries.
contractInteractions
does not have payable
modifier inside, meaning that in order to do interaction that require ETH with it needlessly required two interactions. (top up and interact)
Recording data returned from interactions is not helpful for beneficiaries as it other interaction to withdraw require different data anyway and interactions
is not a public getter. Therefore it is wasting gas writing to storage for no reason.
The user experience is worsen from those design.
Foundry
Change the function to the following
Remove interactions
state mapping and add events in InheritanceManager
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.