Improper handle if totalAvailable is 0. continius transfering 0 tokens
In StrategyMainnet.sol
contract, function _freeFunds
when we calculate the totalAvailable
funds if occupiedTick havent reached the satisfiedTick it will return 0 and this will lead to totalAvailable = 0
then it will call transmiter.withdraw with totalAvailable which is 0
and this will successfully transfer to address(this) amount 0.
Low impact since it just wastes gas and does a transfer of 0 tokens.
add revert if totalAvailable balance is 0 to not proceed with the transfer
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.