Using proper visibility modifiers is a good practice to prevent unintended access to functions. Furthermore, marking functions as external
instead of public
can save gas.
None
File: src/FjordStaking.sol
339: function getStreamData(address _user, uint256 _streamID) public view returns (NFTData memory) {
343: function getStreamOwner(uint256 _streamID) public view returns (address) {
Aderyn
Consider changing the visibility modifier to external
for the functions that are not used internally.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.