Division by 10 ** 18
#272
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
Handle
Czar102
Vulnerability details
Impact
It is recommended to divide by constant variables instead of a number --
10 ** 18
should be replaced withHUNDRED_PERCENT
in relevant contexts in BasketFacet.The change would improve code readability and flexibility.
Proof of Concept
The text was updated successfully, but these errors were encountered: