-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dApp Staking V3 User Guides - Moved dApp Staking from Build to Use Category - Moved old dApp Staking v2 guide & images under dApp Staking section; - Added dApp Staking v3 User guide & images; - Updated all links to dApp Staking section; - Organized Use Category Sidebar; - Ran `Yarn build` without errors; * Added V2 users warning message - Addition of a warning message to inform that V3 is only available on Shibuya and invite V2 users to visit the dApp Staking V2 category. - Fixed a few typo; * Update after Dino's suggestions * Update index.md * Added suggestions * Updated User Guide - v2 - Resolved conflicts with PR 573; - Re-added a dApp Staking page under Build section; - Moved integrate dApp Staking page to Build/dApp-staking page; - Fixed typo; - Added suggestions; - Changed and enlarged images; - Changed every unbond & unbonding to unlock & unlocking; - Removed all mentions of Build2Earn; * Update index.md --------- Co-authored-by: Ivan <95318860+andabak@users.noreply.github.com>
- Loading branch information
Showing
134 changed files
with
412 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
# dApp Staking | ||
|
||
All content relating to dApp Staking has been moved to other sections of the documentation: | ||
- For general and technical documentation on dApp Staking, refer to [dApp Staking](/docs/learn/dapp-staking/) in the Learn section ; | ||
- For Stakers, refer to [dApp Staking for stakers](/docs/use/dapp-staking/for-stakers/) in the Use section; | ||
- For projects looking to join the dApp Staking program, refer to [dApp Staking for devs](/docs/use/dapp-staking/for-devs/) in the Use section; | ||
|
||
If you are interested in developing on top of dApp Staking and integrating dApp Staking into your project, please refer to the section below: | ||
|
||
# Integrate dApp Staking | ||
|
||
Learn how to integrate dApp staking into your EVM dApp in the precompiles chapter: | ||
|
||
[EVM Precompiled Contracts](/docs/build/evm/precompiles/staking/) |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/build/dapp-staking/_category_.json → docs/use/dapp-staking/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"label": "dApp Staking", | ||
"position": 5 | ||
"position": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"label": "dApp Staking V2", | ||
"position": 3 | ||
} |
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/use/Staking/manual_claim.md → ...p-staking/dapp-staking-v2/manual_claim.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 13 | ||
sidebar_position: 7 | ||
--- | ||
|
||
# Manually Claim dApp Staking Rewards On Polkadot.Js | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/use/Staking/unbond-vested.md → ...-staking/dapp-staking-v2/unbond-vested.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 11 | ||
sidebar_position: 5 | ||
--- | ||
|
||
# Unbond Vested Tokens | ||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
docs/use/Staking/withdraw_unregistered.md → .../dapp-staking-v2/withdraw_unregistered.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 12 | ||
sidebar_position: 6 | ||
--- | ||
|
||
# Withdraw Stake From Unregistered Contract | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
import Figure from "/src/components/figure" | ||
|
||
# For Stakers | ||
|
||
## Overview | ||
|
||
Do you love to stake? Or do you want to support your favorite project on Astar Network or Shiden Network? | ||
|
||
Discover [dApp Staking](/docs/learn/dapp-staking/), a unique mechanism that allows communities to support their favorite teams by staking ASTR or SDN with them. When staking ASTR or SDN on a dApp, users not only support the development of innovative apps but also receive staking rewards from inflation. | ||
|
||
You can educate yourself more by reading the technical documentation about [dApp Staking](/docs/learn/dapp-staking/). | ||
|
||
:::warning | ||
|
||
dApp Staking V3 is launched and accessible only on the Shibuya testnet. For dApp Staking users on Astar and Shiden Network, please refer to the [dApp Staking V2 section](/docs/use/dapp-staking/dapp-staking-v2/). | ||
|
||
::: | ||
|
||
### Periods, Subperiods & Eras: | ||
|
||
`Eras`: Time units measured in blocks. Fairly short, a basic time division in dApp staking; | ||
|
||
**dApp Staking** is divided into **Periods** which consists of two **Subperiods**: **Voting** and **Build&Earn**. | ||
|
||
**Voting** is the subperiod when stakers can decide to vote for dApp(s) to stake their tokens and when dApps owners and team can market their products, conduct campaign and attract stakers. | ||
No staking rewards are generated during the Voting subperiod but if users vote and stake on dApps during this subperiod, they will become eligible for the **Bonus Reward**; | ||
|
||
**Build&Earn** is the subperiod when stakers and dApps start earning rewards; | ||
Users can still stake tokens during the Build&Earn subperiod to increase the rewards they get from staking. However, the amount staked during Build&Earn does not contribute to the Bonus Reward. | ||
|
||
At the end of a **Build&Earn** subperiod, the current period ends. A new period begins, and all tokens are `unstaked` from dApp(s) but remain `locked`. A new **Voting Subperiod** starts. | ||
|
||
As an user, you need to take the following parameters into consideration before using dApp Staking: | ||
|
||
### Parameters: | ||
|
||
| | Shibuya | Shiden Network | Astar Network | | ||
| --- | --- | --- | --- | | ||
| Eras Per Period | 28 (~7days) | TBD | TBD | | ||
| Eras Per Voting Subperiod | 8 (~48hours) | TBD | TBD | | ||
| Eras Per Build&Earn Subperiod | 20 (~120hours) | TBD |TBD | | ||
| Blocks Per Era | 1800 (~6hours) | TBD | TBD | | ||
| Unlocking Period | 4 Eras (~1 day) | 5 Eras (~5 days) | 10 Eras (~10 days) | | ||
| Minimum Amount to Stake | 5 SBY | 50 SDN | 500 ASTR | | ||
|
||
|
||
### Basic Staking Rewards: | ||
|
||
dApp Staking rewards are generated only if tokens have been staked on a dApp for at least 1 full `Era` and distributed on the following `Era` (Era+1); | ||
|
||
:::tip | ||
|
||
For stakers, if you stake today, you will start earning tomorrow (next era), and the rewards will be distributed the day after tomorrow. | ||
For dApps If you get into a tier today, you will start earning rewards tomorrow (next era) and the rewards will be distributed the day after tomorrow. | ||
|
||
::: | ||
|
||
For stakers, the APR is the same for all stakers, regardless of which dApp they stake on; | ||
For dApps, staking rewards depends on the Tier system, dApps go into rewards tier based on the amount of tokens staked by users. | ||
|
||
Rewards must be claimed before trying to `stake` or `unstake`. | ||
*(If using the Astar Portal, the interface will automatically claim the rewards when voting)* | ||
|
||
If a project is **unregistered** from dApp Staking, staked tokens on that project will still receive **basic rewards** as long as the tokens remain staked. | ||
|
||
:::warning | ||
|
||
There is no rewards during the Unlocking period when unstaking from dApp Staking; | ||
|
||
::: | ||
|
||
### Bonus Staking Rewards: | ||
|
||
If an user stake on dApp(s) during the **Voting Subperiod** and keep the same staked amount or higher on a dApp through the whole **Build&Earn Subperiod**, they will be eligible for the **Bonus Reward** for this dApp. | ||
|
||
:::info | ||
|
||
**Example** | ||
|
||
- User stake 1500 ASTR on **dApp A** and 1000 ASTR on **dApp B** during the `Voting`subperiod. | ||
- During the `Build&Earn` subperiod, user move 500 ASTR from **dApp B** to **dApp A**; | ||
- He now has 2000 ASTR on **dApp A** and 500 ASTR on **dApp B**, so he's still eligible for the `Bonus reward` for **dApp A** but no longer for **dApp B** because the tokens staked on **dApp** B are less than those staked at the end of the `Voting` subperiod (500 < 1000 ASTR). | ||
- To be eligible for the `Bonus reward` for **dApp B**, the user must stake an additional 500 ASTR on **dApp B** to reach 1000 ASTR. | ||
|
||
::: | ||
|
||
Bonus rewards for a period can only be claimed after the period finishes. | ||
|
||
|
||
### Other: | ||
|
||
- You need to keep a minimum of 10 ASTR or 5 SDN tokens as transferable after staking. | ||
- **You need to claim to receive your rewards, we recommend claiming your staking rewards once a week.** | ||
- When unlocking tokens, there is a unlocking period on Astar and on Shiden. The unlocking period lenghts can be consulted [here](/docs/use/dapp-staking/for-stakers/#parameters). | ||
Please note that this is based on a perfect block production of 12s. In case of any delay, your unlocking period can be a little longer. | ||
|
||
In case you have any questions, please check the [FAQ page](/docs/learn/dapp-staking/dapp-staking-faq/) in the Learn section or join our [Discord channel](https://discord.com/invite/astarnetwork). | ||
|
||
Other pages that can be of interest: | ||
|
||
<br/> | ||
|
||
import DocCardList from '@theme/DocCardList'; | ||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; | ||
|
||
<DocCardList items={useCurrentSidebarCategory().items}/> | ||
|
Oops, something went wrong.