πŸ“–
DAFI Protocol
  • DAFI Protocol
  • Introduction
    • Let's get started
    • Features
    • FAQs
  • Super Staking
    • Overview
    • Super Staking V1
      • High-level Document
      • Technical Document
    • Super Staking V2
      • Changes and Improvements
  • Guides
    • Staking DAFI
    • Functionality
    • Demand Factors
    • Reward Distributions
    • Pool Weights
    • dDAFI Claiming
  • Development
    • Smart Contracts
    • Audit v1
    • Audit v2
    • dBridge Audit
  • And More
    • Limitless Applications
Powered by GitBook
On this page

Was this helpful?

  1. Guides

Pool Weights

Lightweight weights

Super Staking Weights

Like most Staking models, the program can indeed run for certain time-periods. For v1 dDAFI we will likely run the program for 1 month, before extending it further.

To create a lightweight architecture, we’re able to track users rewards through weights.

currentPoolWeight=(distributePerSecondβˆ—currentTime–lastCalculatedTime)/totalStakedcurrentPoolWeight = (distributePerSecond * currentTime – lastCalculatedTime) / totalStakedcurrentPoolWeight=(distributePerSecondβˆ—currentTime–lastCalculatedTime)/totalStaked

It calculates how much dDAFI is being distributed within the elapsed time per staked DAFI across the entire pool. It is then added to an ongoing pool weight.

accumulatedPoolWeight=lastAccumulatedWeight+newWeightaccumulatedPoolWeight = lastAccumulatedWeight + newWeightaccumulatedPoolWeight=lastAccumulatedWeight+newWeight

Each time any user behaves within the protocol, by staking, unstaking or claiming, the weight is recalculated for the whole network. One user simply acts, and everyone is synchronised.

PreviousReward DistributionsNextdDAFI Claiming

Last updated 3 years ago

Was this helpful?