Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Active Staking docs & update staking section #135

Merged
merged 41 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
020355d
Create ActiveStaking.md
Yung-Beef Dec 14, 2023
e2e07b9
Update and rename Overview.md to CreatorStaking.md
Yung-Beef Dec 14, 2023
5b28dae
Update sidebars.js
Yung-Beef Dec 14, 2023
efe37ac
Update and rename CreatorStaking.md to PassiveStaking.md
Yung-Beef Dec 14, 2023
5885f5c
Rename ActiveStaking.md to ActiveStaking.md
Yung-Beef Dec 14, 2023
af47914
Update sidebars.js
Yung-Beef Dec 14, 2023
75fc8ee
Create CreatorStaking.md
Yung-Beef Dec 14, 2023
f5c6af8
Update CreatorStaking.md
Yung-Beef Dec 14, 2023
0b8dc1f
Update ActiveStaking.md
Yung-Beef Dec 14, 2023
4cd15ac
Update PassiveStaking.md
Yung-Beef Dec 14, 2023
cf29fc0
Update CreatorStaking.md
Yung-Beef Dec 14, 2023
91c7410
Update sidebars.js
Yung-Beef Dec 14, 2023
ba2c621
Update CreatorStaking.md
Yung-Beef Dec 14, 2023
96a33f5
Update PassiveStaking.md
Yung-Beef Dec 14, 2023
2b4e276
Update PassiveStaking.md
Yung-Beef Dec 14, 2023
13b50c8
Update CreatorStaking.md
Yung-Beef Dec 14, 2023
14eb247
Update CreatorStaking.md
Yung-Beef Dec 14, 2023
c13a939
Update ActiveStaking.md
Yung-Beef Dec 14, 2023
16ff994
Update ActiveStaking.md
Yung-Beef Dec 14, 2023
3331ec3
Add files via upload
Yung-Beef Dec 14, 2023
db2ae38
Update ActiveStaking.md
Yung-Beef Dec 14, 2023
fcdd15b
Update ActiveStaking.md
Yung-Beef Dec 14, 2023
397c35d
Update CreatorStaking.md
Yung-Beef Dec 14, 2023
df0c0d3
Update CreatorStaking.md
Yung-Beef Dec 14, 2023
6fa5dd1
Update PassiveStaking.md
Yung-Beef Dec 14, 2023
78abbc7
Update PassiveStaking.md
Yung-Beef Dec 14, 2023
2e10a4c
Update ActiveStaking.md
Yung-Beef Dec 14, 2023
f7a9ff0
Update ActiveStaking.md
Yung-Beef Dec 14, 2023
b7564e1
Rename ActiveStaking.md to active-staking.md
Yung-Beef Dec 14, 2023
204ab56
Rename CreatorStaking.md to creator-staking.md
Yung-Beef Dec 14, 2023
3f9ef28
Rename PassiveStaking.md to passive-staking.md
Yung-Beef Dec 14, 2023
c486133
Update sidebars.js
Yung-Beef Dec 14, 2023
1e37c28
Update active-staking.md
Yung-Beef Dec 15, 2023
c0a7830
Update active-staking.md
Yung-Beef Dec 15, 2023
290d5da
Add files via upload
Yung-Beef Dec 15, 2023
cf913d4
Update active-staking.md
Yung-Beef Dec 15, 2023
f41bdf2
Update creator-staking.md
Yung-Beef Dec 15, 2023
a43dd37
Update creator-staking.md
Yung-Beef Dec 15, 2023
6da515d
Update creator-staking.md
Yung-Beef Dec 15, 2023
2668bbd
Update passive-staking.md
Yung-Beef Dec 15, 2023
c28af13
Update docs/basics/creator-staking/passive-staking.md
siman Dec 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions docs/basics/creator-staking/active-staking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
id: active-staking
title: Active Staking
description: Active Staking lets you boost your SUB staking rewards by actively using Subsocial and interacting with the best creators.
keywords: [Subsocial, Staking, Rewards, Creators, Content, Polkadot]
---
*Active Staking is currently in Alpha.*

Active Staking allows stakers to boost their rewards by actively engaging with good content on the network.
Active Staking is notably more complex than Passive Staking, so let's look at an example to see how it works.

If Alice stakes 700 SUB in Passive Staking, she will also receive 700 points that she can use in active staking,
which will be reset daily To maximize her point usage, she will need to use all 700 everyday.
**Every post that Alice likes during the day will increase her Active Staking rewards pot (which is separate from her Passive Staking rewards) by 10%,
up to 100%** (this may be changed to, for example, a 5% increase per like instead of 10%).
Every week, rewards will be distributed to stakers and authors. In order for Alice to maximize her rewards pot for the week,
she will need to like 10 posts per day, every day of the week.

Alice’s reward pot will be split 50/50 between Alice and authors of the posts that she liked.
If she liked more than 70 posts, her points will be split accordingly:

- 700 points / 10 likes → 70 points per like
- 700 points / 20 likes → 35 points per like

Thus, she can support more authors and content, but with fewer rewards for each particular author.
Her rewards will not be changed regardless of how many posts she liked, as long as she liked at least 10 per day.

**If Alice earned 100 SUB in passive staking rewards the previous week, and liked enough posts to maximize her rewards pot,
she will receive an extra 50 SUB, for a total of 150 SUB.**
The other 50 SUB will be distributed to the authors of the posts that Alice liked, based on points.

In order to ensure a healthy % of stakers are active, a reward multiplier exists.

### The Reward Multiplier

The Active Staking system includes a feature called the “Reward Multiplier,” which enhances the rewards you earn based on overall staker activity.
Here’s how it works in simple terms:

1. **Base Calculation**: Your base rewards in the Active Staking system are determined by your passive staking rewards. For instance, if you earned 100 SUB through passive staking, that’s your starting point for Active Staking rewards.


2. **Multiplier Effect**: The multiplier effect kicks in based on how active the entire staker community is. The formula for this is: Your passive staking rewards multiplied by (1 divided by the percentage of total points used by all stakers last week).

- Example Scenario: Imagine there were 100 points in total available for use last week. If stakers collectively used 75 of those points, the calculation for the multiplier would be (1 / 0.75), which equals approximately 1.333.

3. **Calculating Your Rewards**: Using the multiplier, your rewards pot increases. In our example, with an Active Staking reward pot of 100 SUB and a multiplier of 1.333, your new reward pot would be 133 SUB (100 SUB times 1.333).

4. **Distribution of Rewards**: You receive 50% of this enhanced reward pot. So, in our example, you would earn 66.5 SUB (half of 133 SUB). The remaining 50% is distributed among the authors of the content you liked.

5. **Upper Limit of Multiplier**: There’s a cap to this multiplier effect, which is set at a maximum of 4x. This means that even if the formula suggests a number higher than 4, the maximum multiplier applied will still be 4x. For instance, if only 20% of last week’s points were used, the formula would yield 5 (1 / 0.20), but the multiplier would be capped at 4x.

![](../../../static/img/StakingRewardMultiplier.png)

This Reward Multiplier is designed to further motivate stakers to participate actively. The more active the community is, the higher the potential rewards, echoing the early days of Creator Staking.

The Active Staking system will encourage users to log in everyday and interact with the network (just like everyone does with Facebook, X, etc.),
as well as providing some possible incentives for authors that are not officially Registered Creators on Subsocial yet.
On top of that, the system will provide a great signal about which authors should be added as Registered Creators,
if they consistently receive lots of points on their posts.

### Rules
Points are only used when liking posts that were posted within the last 7 days by authors that have a Subsocial Usernames and staked SUB.
Liking a post from an author without a Subsocial Username and some stake will not increase your rewards pot, and authors cannot like their own posts.

### Rewards
Tokens for Active Staking will likely come from inflation, but may be sourced from the Subsocial treasury during the Alpha period,
depending on an on-chain vote.
The first month of the Active Staking alpha will use up to 803,520 SUB, depending on the percent of stakers that become active.

### Joining The Alpha
To join the waitlist for the Active Staking alpha, you will need to join the [Active Stakers chat](https://grill.chat/creators/stakers-20132) on Grill.chat,
log in with a Polkadot identity (Subsocial Username, KILT w3n, or Polkadot/Kusama on-chain identity)
and enable at least one notification option. Make sure your account has some SUB [staked](https://sub.id/creators) too!

35 changes: 35 additions & 0 deletions docs/basics/creator-staking/creator-staking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
id: creator-staking
title: Creator Staking
description: Creator Staking allows SUB token holders and creators of content, communities, and applications, to earn rewards for helping to grow the Subsocial network.
keywords: [Subsocial, Staking, Rewards, Creators, Content, Polkadot]
---

The Creator Staking system has two main objectives: grow the network, and improve curation. Here, we will look at how the system functions.

Heavy inspiration was taken from the Dapp Staking system implemented on Astar Network,
aimed at incentivizing developers to build applications on the network.
Creator Staking expands this idea to include creators of content and communities, as those are also very valuable to Subsocial.

There are two ways to participate in Creator Staking, and you can do both at the same time:

- [Passive Staking](https://docs.subsocial.network/docs/basics/creatorstaking/passive-staking) is simply staking your tokens to support your
favorite creators, giving you and them rewards everyday

- [Active Staking](https://docs.subsocial.network/docs/basics/creatorstaking/active-staking) allows you to boost your rewards by up to 3x by actively
participating in the network and engaging with creators and content

Token holders can start staking [here](https://sub.id/creators).
The minimum amount that users can stake is 100 SUB, and they will need to have at least 10 SUB left over after staking.

Creators of applications, content, and communities can register as Creators in the Creator Staking system, allowing token holders to stake towards them.
If you are a creator that would like to register, fill out this [form](https://forms.gle/aneosvJP1ntJ9Zrh6). In the future,
creator registration will likely become permissionless, or take place through on-chain governance, though we are waiting to see how the system performs.

Staked tokens will be subject to a roughly 7 day unbonding period in order to unstake them.
After the unbonding period, another transaction will be required to fully unlock the tokens.

While Subsocial does not need staking for network validation (as it is secured by Polkadot), the implementation of Creator Staking will still positively benefit the network,
by transferring token share from those are not participating in network growth,
to those that are, as well as aiding in network curation and incentiving high quality creators.

33 changes: 33 additions & 0 deletions docs/basics/creator-staking/passive-staking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
id: passive-staking
title: Passive Staking
description: Support your favorite creators with passive staking, allowing you to stake and forget, while still receiving rewards.
keywords: [Subsocial, Staking, Rewards, Creators, Content, Polkadot]
---

Passive staking allows SUB holders to support their favorite creators with minimal action required.
Simply stake to your favorite creators and receive rewards, while also supporting them with rewards too.

You can start staking to your favorite creators and see the current reward APR on the [staking dashboard](https://sub.id/creators).

### Rewards

Of the tokens allocated to Passive Staking rewards, 66.7% will be distributed among stakers, and 33.3% will be distributed among creators.
Creators will receive tokens based on how many SUB are staked towards them, compared to other creators.
As usual, the more tokens a user stakes, the more they can expect to receive in return,
and a creator with one million SUB staked towards them will receive more rewards than a creator with only one thousand SUB staked towards them.

Stakers will receive the same rewards regardless of who they stake to, effectively making this a vote,
and improving curation by signaling to the network what is most popular with users.

![](../../../static/img/staking.png)

Subsocial currently has 1.58% inflation. 90% of this inflation will be allocated
towards Passive Staking (the remaining 10% will go to the treasury).
The inflation rate and percentage of inflation that is allocated towards Creator Staking is subject to change.

Staked tokens will be subject to a roughly 7 day unbonding period in order to unstake them.
After the unbonding period, another transaction will be required to fully unlock the tokens.

To boost your rewards, participate in [Active Staking](https://docs.subsocial.network/docs/basics/creatorstaking/active-staking).

49 changes: 0 additions & 49 deletions docs/basics/staking/Overview.md

This file was deleted.

8 changes: 6 additions & 2 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,13 @@ module.exports = {
'basics/tokenomics/token-economics',
'basics/tokenomics/token-distribution',
'basics/tokenomics/treasury',
]
],
"Creator Staking": [
'basics/creator-staking/creator-staking',
'basics/creator-staking/passive-staking',
'basics/creator-staking/active-staking',
],
},
'basics/staking/overview',
'basics/faq/overview',
'basics/glossary/overview'
],
Expand Down
Binary file added static/img/StakingRewardMultiplier.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading