Every gangmember can kick other gangmembers out of the gang.
Every gangmember can call Laundrette::quitTheGang
with any other gangmember's address as an argument. Which will lead to revoking their gangmember role as can be seen in the example bellow.
Paste this in Laundrette.t.sol and run forge test --match-test test_everyGangMemberCanKickAnotherMemberOut
Malicious member can remove all other gangmembers from the gang.
Manual Review
Unit tests
Add isAuhtorizedOrRevert modifier to the function:
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.