Hey! My question may be broad, so if it's too vague to answer I'll come back with it more nuanced after studying the Farm Staking SC. Here it is:
How does the DEX Farm Staking SC take into account the total value staked by users in order to modify the APR?
Or a bit more specific: how does the sc "know" to give you a specific apr between two blocks and another one between another two blocks (depending on the total value staked)
Or a bit more specific: how does the sc "know" to give you a specific apr between two blocks and another one between another two blocks (depending on the total value staked)