QA Report #1
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Gas optimization
File Cally.sol
Line 211,304,320,353:
Create a modifier to check vault type as best practice
Current code:
require(vaultId % 2 != 0, "Not vault type");
Suggestion:
Line 263,307,323,354(link to line/s):
Create a modifier to check owner of vault/option as best practice
Current code:
require(ownerOf(vaultId) != address(0), "Vault does not exist");
Suggestion:
The text was updated successfully, but these errors were encountered: