revo-market / make-crypto-mobile-hackathon

Build the next generation of Defi accessibility with Celo mobile-first blockchain! Create new solutions on top of the Celo Ledger - DeFi, NFTs, Smart Contracts, Developer tooling and more.
1 stars 1 forks source link

Claim rewards #3

Closed cajubelt closed 2 years ago

cajubelt commented 2 years ago

As the auto-reinvestment smart contract, I need to be able to claim yield farming rewards on behalf of the users who have deposited funds.

For now, gas fees can be paid out from the contract's own reserves, or by the caller. (In the future a fee can be collected from farming rewards to replenish the contract's reserves.)

AC: