Closed code423n4 closed 2 years ago
robee
The following functions are used exactly once. Therefore you can inline them and save gas and improve code clearness.
Manager.sol, _sweep Sherlock.sol, _beforeTokenTransfer
Solidity's complier adds a simple inliner to the low-level optimizer since 0.8.2.
See: https://blog.soliditylang.org/2021/03/02/saving-gas-with-simple-inliner/
Handle
robee
Vulnerability details
The following functions are used exactly once. Therefore you can inline them and save gas and improve code clearness.