[DOCs/operators]: Add auto scraping of staking_supply_scale_factor & update api outputs (#5832)
This commit is contained in:
@@ -13,10 +13,6 @@ Stake saturation is a node reputation done in a form of self bond or stakers del
|
||||
> **rewarded_set_size = active_set_size + standby_set_size**
|
||||
</Callout>
|
||||
|
||||
{/*
|
||||
With current circulating supply of <span style={{display: 'inline-block'}}><CirculatingSupply /></span> NYM, staking target of <span style={{display: 'inline-block'}}><StakingTarget /></span> NYM, divided by the sum of nodes in the [rewarded set](https://validator.nymtech.net/api/v1/epoch/reward_params), <b>the stake saturation level is <span style={{display: 'inline-block'}}><StakeSaturation /></span> NYM per node.</b>
|
||||
*/}
|
||||
|
||||
With current circulating supply of <span style={{display: 'inline-block'}}><CirculatingSupply /></span> NYM, staking target of <span style={{display: 'inline-block'}}><StakingSupply /></span> NYM, divided by the sum of nodes in the [rewarded set](https://validator.nymtech.net/api/v1/epoch/reward_params), <b>the stake saturation level is <span style={{display: 'inline-block'}}><StakeSaturation /></span> NYM per node.</b>
|
||||
|
||||
Node stake saturation is a value between `0` and `1` following this logic.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
},
|
||||
"mixmining_reserve": {
|
||||
"denom": "unym",
|
||||
"amount": "188691142067690"
|
||||
"amount": "187227500568584"
|
||||
},
|
||||
"vesting_tokens": {
|
||||
"denom": "unym",
|
||||
@@ -13,6 +13,6 @@
|
||||
},
|
||||
"circulating_supply": {
|
||||
"denom": "unym",
|
||||
"amount": "811308857932310"
|
||||
"amount": "812772499431416"
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
811_308_857
|
||||
812_772_499
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
5_241
|
||||
5_200
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
1_034_081
|
||||
1_037_131
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
50.0%
|
||||
30.63%
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
405_654_428
|
||||
248_911_577
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
248_179_643
|
||||
248_911_577
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
| **Item** | **Description** | **Amount in NYM** |
|
||||
|:-------------------|:------------------------------------------------------|--------------------:|
|
||||
| Total Supply | Maximum amount of NYM token in existence | 1_000_000_000 |
|
||||
| Mixmining Reserve | Tokens releasing for operators rewards | 188_691_142 |
|
||||
| Mixmining Reserve | Tokens releasing for operators rewards | 187_227_500 |
|
||||
| Vesting Tokens | Tokens locked outside of cicrulation for future claim | 0 |
|
||||
| Circulating Supply | Amount of unlocked tokens | 811_308_857 |
|
||||
| Stake Saturation | Optimal size of node self-bond + delegation | 1_034_081 |
|
||||
| Circulating Supply | Amount of unlocked tokens | 812_772_499 |
|
||||
| Stake Saturation | Optimal size of node self-bond + delegation | 1_037_131 |
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"interval": {
|
||||
"reward_pool": "188691142067690.265566584946684804",
|
||||
"staking_supply": "248179643769563.241524591796100959",
|
||||
"staking_supply_scale_factor": "0.5",
|
||||
"epoch_reward_budget": "5241420612.991396265738470741",
|
||||
"stake_saturation_point": "1034081849039.84683968579915042",
|
||||
"reward_pool": "187227500568584.066152911712126276",
|
||||
"staking_supply": "248911577950871.129740670788161327",
|
||||
"staking_supply_scale_factor": "0.30625",
|
||||
"epoch_reward_budget": "5200763904.682890726469769781",
|
||||
"stake_saturation_point": "1037131574795.296373919461617338",
|
||||
"sybil_resistance": "0.3",
|
||||
"active_set_work_factor": "10",
|
||||
"interval_pool_emission": "0.02"
|
||||
|
||||
@@ -1 +1 @@
|
||||
Wednesday, May 28th 2025, 11:39:51 UTC
|
||||
Friday, June 6th 2025, 09:33:10 UTC
|
||||
|
||||
@@ -104,6 +104,7 @@ To get a full comprehension of [node operators rewards](tokenomics/mixnet-reward
|
||||
```
|
||||
|
||||
#### Supply
|
||||
|
||||
<br />
|
||||
<b>Circulating supply is <span style={{display: 'inline-block'}}><CirculatingSupply /></span> NYM.</b>
|
||||
|
||||
@@ -118,15 +119,10 @@ A number of aimed NYM tokens to be staked in the network. The staking target a i
|
||||
> **staking_target = staking_supply_scale_factor \* circulating_supply**
|
||||
</Callout>
|
||||
|
||||
{/*
|
||||
Staking supply scale factor is currently it's set to be <span style={{display: 'inline-block'}}><StakingScaleFactor /></span>.
|
||||
Staking supply scale factor is currently at <span style={{display: 'inline-block'}}><StakingScaleFactor /></span>.
|
||||
|
||||
The value of this variable can is changed from time to time to optimize the metrics of the network. With a current circulating supply of <span style={{display: 'inline-block'}}><CirculatingSupply /></span> NYM and staking supply scale factor <span style={{display: 'inline-block'}}><StakingScaleFactor /></span>, <b>the staking target is <span style={{display: 'inline-block'}}><StakingTarget /></span> NYM.</b>
|
||||
*/}
|
||||
|
||||
Staking supply scale factor is currently at 30.5%.
|
||||
|
||||
The value of this variable is changed from time to time to optimize the metrics of the network. With a current circulating supply of <span style={{display: 'inline-block'}}><CirculatingSupply /></span> NYM and staking supply scale factor 30.5%, <b>the staking target is <span style={{display: 'inline-block'}}><StakingSupply /></span> NYM.</b>
|
||||
|
||||
#### Stake saturation
|
||||
|
||||
|
||||
@@ -140,6 +140,7 @@ def get_nested_value(response, args):
|
||||
|
||||
def _return_percent_annotation(value):
|
||||
value = float(value) * 100
|
||||
value = round(value, 2)
|
||||
value = f"{value}%"
|
||||
return value
|
||||
|
||||
@@ -269,7 +270,7 @@ def parser_main():
|
||||
action="store_true",
|
||||
help="A multiplier of staking supply scale factor and circulating supply"
|
||||
)
|
||||
|
||||
|
||||
parser_calculate.add_argument(
|
||||
"-s", "--separator",
|
||||
type=str,
|
||||
|
||||
Reference in New Issue
Block a user