Farms generate fees.
Are you talking about liquidity provider fees? From what i understand the fee goes back into the liquidity pool itself... at least .17% of the .2% does
When you stake LP tokens and then unstake you still have the same amount (except for the deposit fee cubdefi is charging)
At least that's how i understand it.