While not a vulnerability, the usage of 1e26 in VaultTracker resembles the usage of a constant
This will improve readability and potentially reduce bytecode size
It also has the convenience that if / when changed, it will be changed in a single place
Handle
GalloDaSballo
Vulnerability details
Impact
While not a vulnerability, the usage of
1e26
in VaultTracker resembles the usage of a constantThis will improve readability and potentially reduce bytecode size It also has the convenience that if / when changed, it will be changed in a single place
Recommended Mitigation Steps
Declare
uin256 constant MAX = 1e26
and use it