Closed code423n4 closed 2 years ago
pauliax
You should cache storage access to improve gas efficiency, e.g.: tranches[_trancheId] is accessed 5 times in function _claim. function acceptAdmin could first set local variable oldPendingAdmin and then compare against it.
Duplicate to #137
Handle
pauliax
Vulnerability details
Impact
You should cache storage access to improve gas efficiency, e.g.: tranches[_trancheId] is accessed 5 times in function _claim. function acceptAdmin could first set local variable oldPendingAdmin and then compare against it.