In the contract 'SystemConfig' the owner can create a new marketplace calling the function 'createMarketplace'.
In this function, the owner can create multiples marketplaces with the same names, causing a possible conflict between each others.
If the owner create a marketplace with the same name multiples times, there will not be effectively others marketplaces but there will be only one (since a marketplace is simply taken by encoding the marketplace name).
If this happens, a second marketplace with the same name can be created and the stat '_fixedRatio' of the 'first' marketplace created with that name will be overwritten by the new one.
Foundry
(The set up for this function is that already used in the function 'setUp' in the protocol file test).
Manual review, Foundry
First option: Do not allow to create a new marketplace with an already existing name.
Second option: Consider adding a logic that allow to have an id's list of all the marketplaces created with a certain name.
Invalid, admins trusted to create marketplaces accordingly with appropriate inputs, as stated in READ.ME. If they do, there will be no issues.
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.