IMPACT : HIGH
Likelihood : High
The finalAmount
is beeing correctly calculated inside the buyOutEstateNft
function. But the amount that each beneficiery gets is incorrectly calculated:
instead of finalAmount/divisor it should be finalAmount/muliplier or finalAmount/(divisor - 1)
If someone buys out a EstateNft, the other beneficiaries would get less than they should get. to be exact they would only get "(benefieriary.length-1)/beneficiary.length" percent of their share they should get.
replace /divisor by /multiplier and add an extra
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.