Open code423n4 opened 2 years ago
gzeon
Since tokenName is user supplied and can be duplicated, it is better to emit proposal id instead.
https://github.com/code-423n4/2021-12-defiprotocol/blob/205d3766044171e325df6a8bf2e79b37856eece1/contracts/contracts/Factory.sol#L91
emit BasketLicenseProposed(msg.sender, tokenName);
not really an issue but good feedback
I think this is better as a non-critical issue.
non-critical
Handle
gzeon
Vulnerability details
Impact
Since tokenName is user supplied and can be duplicated, it is better to emit proposal id instead.
https://github.com/code-423n4/2021-12-defiprotocol/blob/205d3766044171e325df6a8bf2e79b37856eece1/contracts/contracts/Factory.sol#L91