No functions will be executed in Fees.sol
In function sellProfits() it is calling the uniswap router for swapping the tokens. But here the catch is that before swapping tokens through router the caller of the function must approve the contract to withdraw the tokens from the calling address's account to execute a swap and we must also approve the Uniswap protocol router contract to use the tokens that our contract will be in possession of after they have been withdrawn from the calling address. But here there is no approval given to router to spend our tokens.
Official reference for swapping ISwapRouter.ExactInputSingleParams() - (https://docs.uniswap.org/contracts/v3/guides/swaps/single-swaps)
As no approval is given to router contract and the tokens are not being transferred to the contract before swapping the tokens the function would fail and no functions would work in Fees.sol.
Manual Review
approve the contract to withdraw the tokens from the calling address's account and approve the Uniswap protocol router contract to use the tokens that our contract will be in possession .
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.