You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The total reward distribution and the distributing speed per second is fixed now. For example - the total reward distribution is 1,000 and the distribution lasts 500 seconds, then the distributing speed is 2 per second; LP providers' reward will be (LP staked / total LP staked) * 2.
To encourage LP providers to stake as long as possible, an ideal distribution model is accelerating the distributing speed based on the staking period - for the same amount of LP staked, a longer staking period will receive more rewards per second.
Please design an algorithm that dynamically adjusts the distributing speed based on the staking period with fixed total distribution amount. For example: at the first second (S1) after the staking, the distributing speed is S0; the longer the staking lasts, the faster the distributing speed is - namely S0 < S1 < S2... < Sn (free to choose model).
The total reward distribution and the distributing speed per second is fixed now. For example - the total reward distribution is 1,000 and the distribution lasts 500 seconds, then the distributing speed is 2 per second; LP providers' reward will be (LP staked / total LP staked) * 2.
To encourage LP providers to stake as long as possible, an ideal distribution model is accelerating the distributing speed based on the staking period - for the same amount of LP staked, a longer staking period will receive more rewards per second.
Please design an algorithm that dynamically adjusts the distributing speed based on the staking period with fixed total distribution amount. For example: at the first second (S1) after the staking, the distributing speed is S0; the longer the staking lasts, the faster the distributing speed is - namely S0 < S1 < S2... < Sn (free to choose model).