IMPACT : HIGH
Likelihood : HIGH
The purpose of the OnlyBeneficiaryWithIsInherited
modifier is that if someone that is not one of the beneficieries calls for example buyOutEstateNFT
that it would revert because of index out of bound. But since this modifier is badly coded it will also run out of bounds also when a beneficiary calls this function.
buyOutEstateNFT
& appointTrustee
are both protected by this modifier, causing that noone can buy out the estateNft's and thus do the estateNft's get stuck in this wallet after the owner has passed away nor can a new trustee be appointed.
replace the OnlyBeneficiaryWithIsInherited
modifier by the following
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.