Coding task · Blockchain and Web3 course · Module 10: DeFi & Staking
Calculate the rewards from staking LP tokens
Complete the calculateRewards function: