I've been learning about DeFi just recently, so please forgive me if the question is silly. I've read this article and I fail to understand the sentence:
Let's say I deposit 600 DAI on August the 1st, and the exchange rate is 0.02, so I get 30 000 cDAI. If on August the 31st the exchange rate is 0.03, I redeem my cDAI and get 900 DAI back. So far so good. But let's imagine that on August the 2nd I sent all (or part) of my cDAIs to Balancer, did my business on Balancer, and then sent everything back to Compound before the end of the month. Would I still get 900 DAI? I mean, for most of the month my Compound balance was zero, so why am I getting paid an interest?
via DeFi https://www.reddit.com/r/defi/comments/i1wl57/depositing_ctokens_into_a_liquidity_pool/