In the InheritanceManager.sol contract the Estate Nfts are expected to help the beneficiaries make claim/know the real life assets own by the owner of the contract and also any of the beneficiaries can buy out other beneficiaries buy paying equal share amount of the value to others. Buying out others should only be donw when this contract have been inherited only but the InheritanceManager::buyOutEstateNFT does not check for this requirement
The following test case shows how a beneficiary can do an early buy out
Beneficiary can buyout other beneficiaries early
Foundry test
The InheritanceManager::buyOutEstateNFT function should check if the contract is inherited else it should revert code implementation below
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.