Skip to content

Commit 16fb896

Browse files
authored
Update Tokenomics images and other small fixes (#129)
Solution ======== - Added tokenomics diagrams - Removed unused fonts - Upgraded mdbook - Fix links - Fix grammar - fix scroll issue ### Testing - Pull - npm i - Install new mdbook (see readme changes) - mdbook serve Screenshots (optional): ----------------------- ![image](https://github.com/user-attachments/assets/72740ddc-8bd7-43d0-abcf-71dc4ad2caaa) ![image](https://github.com/user-attachments/assets/e1b2941f-d432-44dc-8ee8-53596e1a74fe)
1 parent 30c258e commit 16fb896

28 files changed

+835
-6023
lines changed

.github/workflows/common/set-up-mdbook/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
uses: jontze/action-mdbook@6c0be56d14c4bf16861b00af61f50ff7400ce502
1212
with:
1313
token: ${{ inputs.token }}
14-
mdbook-version: "0.4.49" # Use a semver compatible string
14+
mdbook-version: "0.4.51" # Use a semver compatible string
1515

1616
- name: Show mdbook version
1717
shell: bash

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ or [Frequency on GitHub](https://github.com/frequency-chain/frequency)
1313
To build the generator locally, install [mdBook](https://github.com/rust-lang/mdBook.git).
1414

1515
```bash
16-
cargo install [email protected].49
16+
cargo install [email protected].51
1717
npm install
1818
```
1919

css/overrides.css

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ body#sidebar {
135135
#sidebar .sidebar-scrollbox {
136136
display: block;
137137
position: sticky;
138-
top: 80px;
138+
top: calc(var(--header-height) - 5px);
139139
box-sizing: padding-box;
140140
padding: 0;
141141
max-height: 100vh;
@@ -309,6 +309,7 @@ mark {
309309

310310
h1:target::before {
311311
display: none;
312+
margin-inline-start: 0;
312313
}
313314

314315
h2:target::before,
@@ -318,6 +319,7 @@ h3:target::before {
318319
width: 50px;
319320
position: relative;
320321
color: var(--headers);
322+
margin-inline-start: 0;
321323
}
322324

323325
h4:target::before,
@@ -328,6 +330,7 @@ h6:target::before {
328330
width: 40px;
329331
position: relative;
330332
color: var(--headers);
333+
margin-inline-start: 0;
331334
}
332335

333336
/* Override some colors */
@@ -339,6 +342,33 @@ h6:target::before {
339342
color: var(--headers);
340343
}
341344

345+
#mdbook-help-popup kbd {
346+
color: var(--bg);
347+
background-color: var(--fg);
348+
}
349+
350+
.warning {
351+
padding-left: 30px;
352+
}
353+
.warning:before {
354+
margin-inline-start: calc(-1.5rem - 30px);
355+
}
356+
357+
/* Table settings */
358+
359+
table thead {
360+
background: var(--table-header-bg);
361+
color: var(--table-header-fg);
362+
}
363+
table thead th {
364+
border: 1px var(--table-header-fg) solid;
365+
}
366+
/* Alternate background colors for rows */
367+
table tbody tr:nth-child(2n) {
368+
background: var(--table-alternate-bg);
369+
color: var(--table-alternate-fg);
370+
}
371+
342372
/* Replace Font-Awesome */
343373

344374
.fa.fa-github {

pages/Governance/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Governance
22

3-
Frequency Governance currently uses [Polkadot Governance V1](https://wiki.polkadot.network/learn/archive/learn-governance/): a tricameral governance structure which includes coordinated governance by three institutions: the [Frequency Council](https://dotapps-io.ipns.dweb.link?rpc=wss%3A%2F%2F1.rpc.frequency.xyz#/council), analogous to the Council in Polkadot Governance V1, the [Technical Committee](https://dotapps-io.ipns.dweb.link?rpc=wss%3A%2F%2F1.rpc.frequency.xyz#/techcomm), analogous to the Technical Committee in Polkadot Governance V1, and token holder voting, analogous to the Public in Polkadot Governance V1.
3+
Frequency Governance currently uses [Polkadot Governance V1](https://github.com/w3f/polkadot-wiki/blob/52440693c9db5d300fd843b16c95bd6edd0fe6fe/docs/learn/archive/learn-governance.md): a tricameral governance structure which includes coordinated governance by three institutions: the [Frequency Council](https://dotapps-io.ipns.dweb.link?rpc=wss%3A%2F%2F1.rpc.frequency.xyz#/council), analogous to the Council in Polkadot Governance V1, the [Technical Committee](https://dotapps-io.ipns.dweb.link?rpc=wss%3A%2F%2F1.rpc.frequency.xyz#/techcomm), analogous to the Technical Committee in Polkadot Governance V1, and token holder voting, analogous to the Public in Polkadot Governance V1.
44

55
## Governance Parameters
66

pages/Tokenomics/CapacityStaking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The second goal is minimizing spam in a system designed to minimize Message publ
1313
As the cost of Message publishing decreases, the viability of spam Messages increases proportionally.
1414
The design of Capacity attempts to balance these two goals while minimizing excessive churn of the native token itself.
1515

16-
<!-- TODO: Add diagram -->
16+
{{#svg-embed pages/images/CapacitySimple.svg Capacity Staking Diagram}}
1717

1818
While all transaction fees on Frequency can be paid for with FRQCY, certain types of transaction fees can instead use an equivalent amount of Capacity, which strikes a balance between Message publishing and Stateful Storage cost on one hand, and spam prevention on the other, using three core mechanisms: staking, renewal, and unstaking.
1919

pages/Tokenomics/CollatorRewards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ However, block formation is still a Frequency responsibility that must be perfor
66
[Public Collators](../Glossary.md#public-collator) must stake to the network to participate.
77
All Collators participating in block formation activities will eventually receive token rewards, though the details of this mechanism will be finalized as part of the process of launching Public Collators.
88

9-
<!-- TODO: DIAGRAM -->
9+
{{#svg-embed pages/images/CollatorRewards.svg Collator Rewards Diagram}}
1010

1111
Collators are analogous to validators in other proof of stake networks, but the work done by Collators is significantly lower, requiring less computational overhead and lower participation levels, given that consensus and finality occur at the Relay Chain level.
1212
Public Collators are currently a roadmap item, and Frequency currently uses [Invulnerable Collators](../Glossary.md#invulnerable-collator) that do not receive rewards for block formation.

pages/Tokenomics/InflationLiquidity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ However, governance deposits are not anticipated to generate significant reducti
3030
Decreases in circulating supply are triggered primarily by increased staking activity.
3131
Both Capacity Staking and Provider Boosting lower overall token circulation levels as the number of staked tokens increase.
3232
Given the utility that these staking mechanisms provide, relatively high global stake rates are assumed in both early and later stages of the network.
33-
Staking levels don't decrease Providers’ ability to pay transactions fees for certain transaction types, however, given that both types of staking generate Capacity.
33+
Staking levels don't decrease Providers’ ability to pay transaction fees for certain transaction types, however, given that both types of staking generate Capacity.
3434
Generally, staking models require derivatives like "liquid staking" or they risk decreasing network transactions due to a smaller circulating supply of tokens available to pay transaction fees, which can reduce the value of the network.
3535
Frequency is less susceptible to that correlation, since Capacity generated from staking can actually be spent on transaction fees.
3636
This means that a lower circulating supply of FRQCY does not necessarily result in a lower transaction volume on chain due to Capacity-related transactions.

pages/Tokenomics/ProviderBoosting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Frequency incorporates a second form of staking called Provider Boosting.
44
While Capacity Staking solely produces Capacity and is designed to help Providers maximize economic utility for publishing Messages and managing Stateful Storage, Provider Boosting gives users a mechanism to provide support for, or withdraw support from, Providers by staking FRQCY.
55
Provider Boosting also gives individual users a mechanism to receive FRQCY rewards directly and benefit from the value accrual potential of the broader cryptoeconomic system.
66

7-
<!-- TODO: Insert diagram here -->
7+
{{#svg-embed pages/images/ProviderBoosting.svg Provider Boosting Diagram}}
88

99
Like Capacity Staking, Provider Boosting also generates Capacity and therefore requires a Provider to be designated as part of the staking process.
1010
In this scenario, a different ratio of FRQCY to Capacity (the Provider Boosting Ratio) is used, which is always less token-efficient than the Capacity Staking Ratio in order to generate an equivalent amount of Capacity.
@@ -15,7 +15,7 @@ The reward is distributed at the end of each Reward Epoch, a number of blocks se
1515

1616
Users must maintain their full stake throughout the entirety of the Reward Epoch in order to qualify for a reward.
1717
Each Reward Epoch has a fixed number of tokens that can be minted to reward Provider Boosting participants, and those rewards are paid based on the ratio of the user's Provider Boosting stake to all user Provider Boosting stakes across all Providers.
18-
Token for rewards are not minted during, or at the end of, the Reward Epoch.
18+
Tokens for rewards are not minted during, or at the end of, the Reward Epoch.
1919
Instead, tokens are minted at the time they are claimed by the Token Account holder, sometime after the end of the applicable Reward Epoch.
2020
However, all rewards are capped at a maximum Annual Rewards Rate set by governance.
2121
Given that the reward is paid via new token minting, the reward for Provider Boosting contributes to FRQCY inflation.

pages/Tokenomics/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Tokenomics
22

33
Frequency's economic model has been designed to optimize for the scalability concerns associated with social networking activities at population scale, broadly defined as any interaction between two or more participants in the global network.
4-
The design anticipates a mix of data focused transactions centered around writes, updates, and reads applied to a highly scaled corpus of data.
4+
The design anticipates a mix of data-focused transactions centered around writes, updates, and reads applied to a highly scaled corpus of data.
55
Key objectives of the design are to minimize price volatility and facilitate value capture over the long term.
66

77
Like most blockchains, Frequency enables transaction fees to be paid in its native token: Mainnet utilizes a utility token called FRQCY, while on Testnet, the token is denoted as XRQCY.

0 commit comments

Comments
 (0)