dDAFI Claiming
Get your hands on some.

Fragmented timeframes

As the weight accumulates, when a user decides to claim their rewards, we can extract it from the weight.
Where DPS = Distribute per second, US = User Stake, TS = Total Network Stake, UR = User Reward, and n = Time in seconds
UR1=(DPS1βˆ—US1/TS1)+(DPS2βˆ—US1/TS2)+(DPSnβˆ—US1/TSn)UR1 = (DPS1 * US1 / TS1) + (DPS2 * US1 / TS2) + (DPSn * US1 / TSn)
We can calculate the user reward within a timeframe, as a to b where b > a
Where n = 1 to a,
UR1=USβˆ—βˆ‘DPSn/TSnUR1 = US * βˆ‘DPSn / TSn
UR=US1βˆ—(DPS1/TS1+DPS2/TS2+DPSx/TSx)UR = US1 * (DPS1 / TS1 + DPS2 / TS2 + DPSx / TSx)
Where n = 1 to b,
UR2=USβˆ—βˆ‘DPSn/TSnUR2 = US * βˆ‘DPSn / TSn
When a user initiates an action in the network, where a = n > 1, we calculate n from 1 to a. When the same user initiates an action again, we calculate from 1 to b, and subtract the previous 1 to a. This can be represented as :
UR=USβˆ—βˆ‘DPSn/TSn,(n=1:∞)UR = US * βˆ‘ DPSn / TSn, (n = 1 : ∞)
A user's reward between timeframe a and b can be calculated accurately as:
URab=UR2βˆ’UR1=(USβˆ—βˆ‘DPSn/TSn)URab = UR2 - UR1 = (US * βˆ‘DPSn / TSn)
where n = 1 to b, and
βˆ’(USβˆ—βˆ‘DPSn/TSn)- (US * βˆ‘DPSn / TSn)
where n = 1 to a
=USβˆ—((βˆ‘DPSn/TSn,(n=1:b))βˆ’(βˆ‘DPSn/TSn,(n=1:a)))= US * ((βˆ‘DPSn / TSn, (n=1:b)) - (βˆ‘DPSn / TSn, (n = 1:a)))
Last modified 5mo ago
Copy link