Open code423n4 opened 2 years ago
Czar102
It is recommended to divide by constant variables instead of a number -- 10 ** 18 should be replaced with HUNDRED_PERCENT in relevant contexts in BasketFacet.
10 ** 18
HUNDRED_PERCENT
The change would improve code readability and flexibility.
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