The function Swan::list
and Swan::relist
allows asset listing for 0
price.
The functions Swan::list
and Swan::relist
are used by sellers to list assets to the buyer agent.
These functions lack input validation check which allows anyone to technically list assets for free.
Replace the function in the test/Swan.test.ts
file at L167
Sellers will list anything for free and would not have to pay any royalty in return + no fees will be paid to the swan contract.
Manual Review + Hardhat
Consider implementing a minimum value validation
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.