Decentralized finance (DeFi) protocols like Flux rely on smart contracts instead of middlemen to provide financial services, such as lending and borrowing, to users. On the other hand, yield farming refers to users getting rewarded with a project’s tokens for providing liquidity to that project.