code-423n4 / 2021-12-amun-findings

0 stars 0 forks source link

10**18 = HUNDRED_PERCENT #262

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

pauliax

Vulnerability details

Impact

.div(10**18); should be replaced with .div(HUNDRED_PERCENT); to make the codebase more readable, robust and maintainable.