📖
📖
📖
📖
DAFI Protocol
Search
⌃K
📖
📖
📖
📖
DAFI Protocol
Search
⌃K
DAFI Protocol
Introduction
Let's get started
Features
FAQs
Super Staking
Overview
Super Staking V1
Super Staking V2
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
Reward Distributions
Pools, not the kind for swimming.
Pool Balances
The poolBalance is distributed to users staking. It is initially supplied as native-tokens (DAFI) which is locked in the distributionContract, this is defined as maxTokens.
P
o
o
l
B
a
l
a
n
c
e
=
(
m
a
x
T
o
k
e
n
s
–
t
o
t
a
l
D
i
s
t
r
i
b
u
t
e
d
+
w
i
t
h
d
r
a
w
a
l
F
e
e
s
)
∗
d
e
m
a
n
d
F
a
c
t
o
r
Pool Balance = (maxTokens – totalDistributed + withdrawalFees) * demandFactor
P
oo
lB
a
l
an
ce
=
(
ma
x
T
o
k
e
n
s
–
t
o
t
a
l
D
i
s
t
r
ib
u
t
e
d
+
w
i
t
h
d
r
a
w
a
lF
ees
)
∗
d
e
man
d
F
a
c
t
or
This is later used, to understand how much dDAFI will be distributed per second, to the entire network.
d
i
s
t
r
i
b
u
t
e
P
e
r
S
e
c
o
n
d
=
p
o
o
l
B
a
l
a
n
c
e
/
p
r
o
g
r
a
m
D
u
r
a
t
i
o
n
distributePerSecond = poolBalance / programDuration
d
i
s
t
r
ib
u
t
e
P
er
S
eco
n
d
=
p
oo
lB
a
l
an
ce
/
p
ro
g
r
am
D
u
r
a
t
i
o
n
Guides - Previous
Demand Factors
Next - Guides
Pool Weights
Last modified
1yr ago