Skip to content

Commit 9e2dab8

Browse files
authored
Merge pull request #3 from renlabs-dev/dev
merge Dev with main
2 parents a7ee676 + 42c3777 commit 9e2dab8

File tree

5 files changed

+93
-64
lines changed

5 files changed

+93
-64
lines changed

astro.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ export default defineConfig({
8080
],
8181
},
8282
{
83-
label: "Subspace",
83+
label: "The Chain",
8484
items: [
85-
{ label: "Global Parameters", slug: "subspace/global-parameters" },
85+
{ label: "Global Parameters", slug: "chain/global-parameters" },
8686
{
8787
label: "Running a Local Node",
88-
slug: "subspace/running-the-chain",
88+
slug: "chain/running-the-chain",
8989
},
9090
],
9191
},
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
title: Global Parameters
3+
description: Global parameters are the parameters that are used to control the behavior of the Torus blockchain.
4+
---
5+
6+
Global Parameters apply across the whole protocol. They allow to configure the protocols constraints to optimize its functioning. If problems appear, a parameter change might suffice to mitigate them. New parameters can be introduced.
7+
8+
Global Parameter changes require a proposal to pass through the [DAO governance process](https://dao.torus.network/proposals).
9+
10+
## Fields
11+
12+
### Network & Registration Parameters
13+
14+
- **`max_allowed_agents`**: The maximum number of agents allowed in the network (default: 10.000). Sets an upper limit on the total number of agents that can be registered.
15+
16+
- **`max_registrations_per_block`**: The maximum number of registrations allowed per block (default: 10). Controls how many new registrations can be processed in a single block.
17+
18+
- **`target_registrations_interval`**: The number of blocks that defines the registration interval (default: 142). Defines the target interval for registration calculations.
19+
20+
- **`target_registrations_per_interval`**: The desired number of registrations per interval (default: 3). Sets the target number of registrations within each interval.
21+
22+
- **`max_registrations_per_interval`**: The maximum registrations allowed per interval (default: 32). Upper limit on registrations processed per interval.
23+
24+
### Token Emission Parameters
25+
26+
- **`block_emission`**: The emission per block (~5.93 TORUS). It specifies the amount of new tokens emitted in each block.
27+
28+
- **`halving_interval`**: Token supply at halving events (default: 144,000,000 TORUS). Defines when emission halving occurs.
29+
30+
- **`max_supply`**: Maximum total token supply (default: 144,000,000 TORUS). Hard cap on total tokens that can exist.
31+
32+
- **`emission_reciclying_percentage`**: Percentage of emission recycled (default: 100%). Controls how much emission is recycled back into the system.
33+
34+
- **`incentives_ratio`**: Ratio for incentives distribution (default: 50%). Determines allocation between different incentive mechanisms.
35+
36+
### Agent & Name Parameters
37+
38+
- **`max_name_length`**: The maximum length allowed for an agent name (default: 32 characters). Sets upper limit on agent name length.
39+
40+
- **`min_name_length`**: The minimum length allowed for an agent name (defaul: 2 characters). Sets lower limit on agent name length.
41+
42+
- **`max_agent_url_length`**: The maximum URL length for agents (default: 64 characters). Controls agent URL field length.
43+
44+
### Burn & Stake Parameters
45+
46+
- **`min_burn`**: The minimum burn required for registration (default: 10 TORUS). Sets minimum amount of tokens to burn for registration.
47+
48+
- **`max_burn`**: The maximum burn allowed for registration (default: 150 TORUS). Sets upper limit on registration burn amount.
49+
50+
- **`min_allowed_stake`**: The minimum stake allowed (default: 0.5 TORUS). Specifies minimum amount that can be staked on an agent.
51+
52+
### Fee Parameters
53+
54+
- **`min_staking_fee`**: The minimum staking fee (default: 0%). Sets the lowest percentage that can be charged as staking fee.
55+
56+
- **`min_weight_control_fee`**: The minimum weight control fee (default: 4%). Sets minimum fee for weight control operations.
57+
58+
- **`treasure_emission_fee`**: Treasury fee on emissions (default: 20%). Percentage of emissions allocated to the treasury.
59+
60+
### Weight & Reward Parameters
61+
62+
- **`reward_interval`**: Blocks between reward distributions (default: 100). Determines how often rewards are distributed.
63+
64+
- **`dividends_participation_weight`**: Participation weight for dividends (default: 40%). Controls dividend distribution weighting.
65+
66+
### Governance Parameters
67+
68+
- **`proposal_cost`**: The cost of creating a proposal (default: 10,000 TORUS). Amount required to submit a proposal, retuned when proposal passes.
69+
70+
- **`proposal_expiration`**: The expiration time for proposals (default: 75,600 blocks). Duration after which proposals expire.
71+
72+
- **`proposal_reward_treasury_allocation`**: Treasury allocation for proposal rewards (default: 2%). Percentage allocated for proposal rewards.
73+
74+
- **`max_proposal_reward_treasury_allocation`**: Maximum proposal reward allocation (default: 10,000 TORUS). Cap on proposal reward amounts.
75+
76+
- **`proposal_reward_interval`**: Reward distribution interval (default: 75,600 blocks). How often proposal rewards are distributed.
77+
78+
- **`agent_application_cost`**: Cost to submit an agent application (default: 100 TORUS). Amount required for agent applications.
79+
80+
- **`agent_application_expiration`**: Agent application expiration (default: 216,000 blocks). Duration before agent applications expire.
81+
82+
83+
## Listing parameters through CLI
84+
85+
You can query all of these global parameters using CLI:
86+
87+
```bash
88+
torus network params
89+
```
File renamed without changes.

src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The v0 represents an early ecosystem growth period while the v1 Torus architectu
5858
/>
5959
<LinkCard
6060
title="Blockchain Code Documentation"
61-
href="/subspace/torus-substrate"
61+
href="/chain/torus-substrate"
6262
description="Learn the structure of Torus source code, and how to contribute."
6363
/>
6464
<LinkCard

src/content/docs/subspace/global-parameters.mdx

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)