The sellProfits function should convert a token to WETH and send it to the staking contract. However, there is currently no allowance to swap tokens through the router.
After receiving the fees in other tokens, it is necessary to call sellProfits to convert the token to WETH and then send it to staking contract that is converted to staking rewards, but there is no allowance to router to enable to swap the tokens to WETH
Can't convert any fee to reward
Manual Review
Add an approve for router before call swapRouter.exactInputSingle() function.
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.