code-423n4 / 2022-01-sherlock-findings

0 stars 0 forks source link

Inline one time use functions #234

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

robee

Vulnerability details

The following functions are used exactly once. Therefore you can inline them and save gas and improve code clearness.

    SherlockClaimManager.sol, _cleanUpClaim
    SherlockProtocolManager.sol, _calcForceRemoveBySecondsOfCoverage
    SherlockClaimManager.sol, _isCleanupState
    SherlockClaimManager.sol, _isEscalateState
    SherlockClaimManager.sol, _isPayoutState