Members which are ousted from a membership following the MembershipFactory::updateDAOMembership
call, are still allowed to claim profits.
The MembershipFactory::updateDAOMembership
is used to update the tier configuration of the DAO along with retention of members for those tiers.
If we assume that the tier size, which was 7
for a PUBLIC
or PRIVATE
DAO, gets reduced by 1
as we pass an shorter tierConfigs
array, the tier which is being ousted from this membership still carries the ability to claim profits via MembershipERC1155::claimProfit
because the shareOf
checks for all the hardcoded values.
Unfair for other members to share profits with members that are being ousted from the membership.
Manual Review
It is recommended to not hardcode values but pass in the tier length.
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.