The MembershipFactory and MembershipERC1155 contracts lack functionality to update the currency address after DAO creation. This inflexibility could lead to locked funds and the issue that dao cannot continue to be used if the original currency token becomes compromised or needs to be upgraded.
In MembershipFactory, the currency is set during DAO creation but has no update mechanism:
Similarly, in MembershipERC1155:
The currency address is used in critical functions:
Unable to switch to new token versions if current token is upgraded
Could lead to locked funds or unable to send profit if token becomes unusable such as token pause
Manual code review
Add currency update functionality and the mechanism for handling old currency
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.