Closed chasebrownn closed 6 months ago
The linked input arguments are set as memory in external function(s).
memory
external
function convertRewardTokenBatch( address[] memory _tokens, uint256[] memory _amounts, address[] memory _targets, bytes[] calldata _data ) external isDistributor returns (uint256[] memory _amountsOut) {
We advise them to be set as calldata optimizing their read-access gas cost.
calldata
Acknowledged
RDR-01S: Data Location Optimizations
Description:
The linked input arguments are set as
memory
inexternal
function(s).Example:
Recommendation:
We advise them to be set as
calldata
optimizing their read-access gas cost.