Omniscia Vector Finance Audit

MasterChefVTX Static Analysis Findings

MasterChefVTX Static Analysis Findings

MCV-01S: Inefficient Function Visibility

TypeSeverityLocation
Gas OptimizationInformationalMasterChefVTX.sol:L442

Description:

The linked function is set as public yet is only invoked externally.

Example:

contracts/MasterChefVTX.sol
442function multiclaim(address[] memory _lps, address user_address) public {

Recommendation:

We advise it to be set as external and its function argument as calldata to optimize the codebase.

Alleviation:

The visibility and data location of the function's arguments were properly optimized.