dApps Staking
dApps Staking is a reward mechanism for developers or administrators of smart contracts. 50% of Astar Network's staking reward goes to application developers who have enhanced the value of the Astar Network. Astar allows the assignment of a smart contract administrator, called an "operator." "Operators" can be "Nominated" by other dApps "Nominators." As shown below, the operator of the smart contract receiving many nominations can receive newly minted tokens from the chain.
Operator and Nominator reward algorithms, respectively. Define the following variables:
$Rewards_{nominate}$
: The total rewards allocated to Nominator.
$Rewards_{contract}$
: The total rewards allocated to smart contracts.
$Rewards_{nominate_{i,j}}$
: The rewards allocated to the j-th Nominate for the i-th smart contract.
$Rewards_{contract_i}$
: The rewards allocated to the operator of the i-th smart contract.
$n$
: The number of smart contract.
$m_i$
: The number of Nominate against the i-th smart contract.
$stake_{i,j}$
: The amount of tokens staked by the j-th Nominate for the i-th smart contract.
Then,
$Nominate_ {i, j}$
gives the following reward:
$Rewards_{nominate_{i,j}}=Rewards_{nominate} \times \frac{\sum_{j}^{m_i}stake_{i,j}}{\sum_i^n\sum_j^{m_i}stake_{i,j}}$
The nominator can get a reward proportional to the ratio of their stake amount to the total stake amount for the smart contract nominated. The operator of
$contract_i$
$Rewards_{contract_i}=Rewards_{contract}\times\frac{stake_{i,j}}{\sum_i^n\sum_j^{m_i}stake_{i,j}}$