The visibility of ConvexYieldWrapper.removeVault should be changed from public to external to reduce the gas consumption.
Proof of Concept
The visibility of ConvexYieldWrapper.removeVault should be changed from public to external, because they have not been called by other function in the same contract.
Tools Used
Recommended Mitigation Steps
In order to reduce gas consumption, the visibility of this function recommended to modify the public to external.
Handle
ACai
Vulnerability details
Impact
The visibility of ConvexYieldWrapper.removeVault should be changed from public to external to reduce the gas consumption.
Proof of Concept
The visibility of ConvexYieldWrapper.removeVault should be changed from public to external, because they have not been called by other function in the same contract.
Tools Used
Recommended Mitigation Steps
In order to reduce gas consumption, the visibility of this function recommended to modify the
public
toexternal
.