Staking the SEED token

🎁 Happy Tidings from Parsl!

Based on feedback from our active and engaged community, Parsl is changing the way we calculate rewards for participants in our rewarddrop. We will make the system more transparent, primarily by utilising a staking smart contract instead of taking unannounced snapshots of SEED token holdings. We will then be able to produce an accurate picture of an account’s SEED holding over the entire rewarddrop period, rather than a single point measure that comes from taking snapshots.

The following describes how we will do the calculation, which will be fully transparent and verifiable by anyone who chooses to do so.

Initially, all account staking balances are 0.

When an account moves tokens into the staking contract (or removes them), a delta is created. The delta is time stamped and exported to a standard (EG. SQL) database.

The list of deltas is shown on the rewarddrop website, so they can be verified by the public, and so they can also be used for calculation purposes by the public. We provide all the data so that our numbers can be checked.

Our RewardDrop backend will then calculate a user’s average staking balance for the month in question. Once the average balance for every user has been calculated, the rewards for each user can then be calculated (obviously we need to include the rewarddrop task completion percentage as well), and they are then published on the RewardDrop Leaderboard.

Staking Contract Flow into Database & Leaderboard

Below is a guide that allows anyone to calculate the average SEED holding for any account, at any time.

We are considering the calculations for a particular RewardDrop period, we call RDP. It begins at a time t = T0 and finishes at a time t = TF.

We will now proceed to calculate the average balance of EOS accounts up to anytime, t.

Between T0 and t, there will be N number of deltas, labelled Δ1 to ΔN.

For example, if the first delta, Δ1, n was the result of account A putting 100 SEED tokens into the staking contract at 10am on the 5th January,

Note: The notation A1 means the change in balance for account A in Δ1

Depending on N, we use a different formula, as follows;

if N = 0

if N = 1

if N = 2

if N ≥ 2


You can also watch this explainer video of Isaac discussing the SEED staking mechanism!

https://youtu.be/hARvmTDnG0E

As always, if you have any issues or concerns please reach out to on our official channels below!

Links

Education

The above content is provided for informational and educational purpose only. We make no representation about the accuracy of any of the information contained in this content or linked to in this content. You should conduct your own independent research before relying on anything in this content. Nothing in this content should be considered to constitute any financial, investment or professional advice. Any statements made concerning intentions of or plans of Parsl, including those which are forward-looking are based upon the information we have available at the time of publication and are subject to change without notice. To the greatest extent permitted at law we disclaim any and all liability arising from any person’s reliance upon any of the above content.