The MembershipFactory
contract allows a user to join a DAO by purchasing a membership NFT at a specific tier. In case the currency
of the MembershipERC1155 contract is USDC and the user or the MembershipFactory::owpWallet
is blacklisted by USDC token, this user cannot join the DAO.
The MembershipFactory
contract allows a user to join a DAO by calling the MembershipERC1155::claimProfit()
function:
https://github.com/Cyfrin/2024-11-one-world/blob/main/contracts/dao/MembershipFactory.sol#L140-L150
When MembershipERC1155::currency
is USDC, and the caller (or daoMembershipAddress
or owpWallet
is blacklisted), the caller cannot join the DAO.
USDC blacklisted users can join a DAO which uses USDC as its currency, leading to bad user experience.
Manual review.
Using another stablecoin without blacklisted feature.
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.