Skip to content

Time weighted distribution algorithm. #2

@Donald-Nobel

Description

@Donald-Nobel
  1. 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.

  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.

  3. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions