Closed code423n4 closed 3 years ago
tensors
Changing the functions in SushiYieldSource.sol to external can save gas.
https://github.com/pooltogether/sushi-pooltogether/blob/master/contracts/SushiYieldSource.sol
Change public to external
public
external
Duplicate of https://github.com/code-423n4/2021-06-pooltogether-findings/issues/107
Handle
tensors
Vulnerability details
Impact
Changing the functions in SushiYieldSource.sol to external can save gas.
Proof of Concept
https://github.com/pooltogether/sushi-pooltogether/blob/master/contracts/SushiYieldSource.sol
Recommended Mitigation Steps
Change
public
toexternal