Skip to content

Commit fb5bb6c

Browse files
authored
minor fixes to staking
1 parent 705f545 commit fb5bb6c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

components/Starknet/modules/architecture/pages/staking.adoc

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Jump into the discussion and help shape the future of Starknet's decentralizatio
99

1010
== Overview
1111

12-
While Starknet is currently still centralized, it is xref:roadmap[gradually] moving towards employing a xref:protocol[staking protocol], handing over the responsibilities of producing, attesting, and proving blocks to validators. To facilitate this gradual implementation, the protocol's xref:architecture[architecture] is modular, ensuring maximum flexibility and ease of upgrades. However, anyone holding STRK in their wallets can already stake their tokens and earn rewards based on their level of participation by following xref:procedures[a few simple steps].
12+
While Starknet is currently still centralized, it is xref:roadmap[gradually] moving towards employing a xref:protocol[staking protocol], handing over the responsibilities of producing, attesting, and proving blocks to validators. To facilitate this gradual implementation, the protocol's architecture is divided into several xref:components[components], ensuring maximum flexibility and ease of upgrades. However, anyone holding STRK in their wallets can already stake their tokens and earn rewards based on their level of participation by following xref:procedures[a few simple steps].
1313

1414
[TIP]
1515
====
@@ -48,24 +48,28 @@ The following sections describe the details of Starknet's staking protocol. The
4848
| 1 STRK
4949

5050
| Minting curve yearly inflation cap (stem:[C])
51-
| 1.6
52-
| 1.6
51+
| 1.6%
52+
| 1.6%
5353

5454
| Withdrawal security lockup
5555
| 21 days
5656
| 5 minutes
5757

5858
| Epoch length (stem:[E])
59-
| 120
60-
| 40
59+
| 120 blocks
60+
| 40 blocks
61+
62+
| Epoch duration
63+
| 3600 seconds
64+
| 1200 seconds
6165

6266
| Attestation window (stem:[W])
63-
| 16
64-
| 16
67+
| 16 blocks
68+
| 16 blocks
6569

6670
| Number of epochs used for latency (stem:[k])
67-
| 3600
68-
| 1200
71+
| 1 block
72+
| 1 block
6973
|===
7074

7175
=== Roles
@@ -216,13 +220,13 @@ The following latencies are set in place:
216220

217221
Starting from its second phase, the staking protocol allows validators to increase their commission. To avoid an unexpected increase in commissions, validators must commit to a certain maximum commission stem:[M] and the last date (in epochs) that this commitment is relevant for. Until this date arrives, validators cannot increase their commission beyond stem:[M], but can freely change their commission in the range stem:[[0,M\]].
218222

219-
== Architecture
223+
== Components
220224

221225
The implementation of Starknet's staking protocol is divided into several contracts, summarized in the following figure:
222226

223227
image::staking-architecture.png[]
224228

225-
This modular architecture allows for targeted upgrades and improvements without affecting the entire system. Access control mechanisms are also in place to ensure that only authorized parties can make critical changes, further enhancing the security of the staking process. The following table details the key components of the architecture:
229+
This modular architecture allows for targeted upgrades and improvements without affecting the entire system. Access control mechanisms are also in place to ensure that only authorized parties can make critical changes, further enhancing the security of the staking process. The following table details the key components of the protocol:
226230

227231
[cols="1,8"]
228232
|===

0 commit comments

Comments
 (0)