From 668b672edb021a604838064830c2d7b7172888c6 Mon Sep 17 00:00:00 2001 From: ccamel Date: Mon, 4 Dec 2023 10:09:45 +0100 Subject: [PATCH] style(whitepaper): enhance content with KaTeX and expanded descriptions --- docs/whitepaper/token-model.mdx | 27 +++++++++++++-------------- docs/whitepaper/token-model.tsx | 11 ++++++----- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/whitepaper/token-model.mdx b/docs/whitepaper/token-model.mdx index 3ef19422549..7e3c9b6f810 100644 --- a/docs/whitepaper/token-model.mdx +++ b/docs/whitepaper/token-model.mdx @@ -2,7 +2,7 @@ sidebar_position: 5 --- -import { srtdData, srdyPercentData, LinePlot } from './token-model' +import { inflationRateData, srdyPercentData, LinePlot } from './token-model' import { ResponsiveLine } from '@nivo/line' const nIntFormat = new Intl.NumberFormat('en') const nFloatFormat = new Intl.NumberFormat('en', { @@ -30,28 +30,27 @@ One issue we've seen with many other layer-1 chains is that to secure the networ One way to secure the network while limiting inflation is by providing rewards derived from network activity. Unlike Ethereum's [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559), which reduces inflation through fee burning, OKP4 introduces a tax on value-creating network activity: the workflows. As with VAT (value-added tax), a fraction of the workflow's price can be collected to secure the network while reducing selling pressure and even resulting in long-term $KNOW supply reduction. -The two opposite forces that influences the KNOW token supply are (1) the bonding ratio which influences the inflation rate, and (2) the workflow tax which burns tokens. +The two opposite forces that influences the KNOW token supply are (1) the bonded ratio ($\rho_{\text{bonded}}$) which influences the inflation rate ($r_{\text{inflation}}$), and (2) the workflow tax which burns tokens. ## Mint ### Inflation formula -InflationRate = (1/bondedRatio)*inflationCoefficient +$$ +r_{\text{inflation}} = \frac{1}{\rho_{\text{bonded}}} \times c_{\text{inflation}} +$$ -### Bonding ratio +Where: +- $r_{\text{inflation}}$ is the *inflation rate* of $KNOW, representing the rate at which the purchasing power of the token decreases over time. +- $\rho_{\text{bonded}}$ is the *bonded ratio*, i.e. the ratio between the number of tokens staked and the number of existing tokens. The higher the bonded ratio, the more tokens are needed to increase a validator's voting power, the harder it is for an attacker to reach $1 / 3$ or the network voting power. The inflation rate, and consequently the staking rewards, increase when the bonded ratio decreases. This would further incentivize token holders to stake their tokens. +- $c_{\text{inflation}}$ is the *inflation coefficient*, a constant factor that adjusts the influence of the bonded ratio on the inflation rate. The higher the parameter, the higher the inflation. -The bondedRatio is the ratio between the number of tokens staked and the number of existing tokens. The higher the bonded ratio, the more tokens are needed to increase a validator's voting power, the harder it is for an attacker to reach 1/3 or the network voting power. The inflation rate, and consequently the staking rewards, increase when the bonded ratio decreases. This would further incentivize token holders to stake their tokens. +### Illustrative scenarios -### Inflation Coefficient - -The inflationCoefficient parameter directly influences inflation. The higher the parameter, the higher the inflation. - -inflationCoefficient = 0.03 - -This gives the following InflationRate: +For example, by setting the inflation coefficient $c_{\text{inflation}}$ to 0.03, the resulting plot can be observed as follows: { - for (let x = 0; x <= 1; x += 0.05) { - const y = (1 / x) * inflationCoefficient + const step = 0.02 + for (let x = step; x <= 1; x += step) { + const y = (1 / x) * c yield { x, y } } } @@ -77,7 +78,7 @@ export const LinePlot = ({ caption, xLegend, yLegend, xFormat, yFormat, data }) textStyle: { fill: '#b0413e' // TODO: use theme color }, - value: bt + value: c } ]} enableGridX={false} @@ -105,4 +106,4 @@ export const LinePlot = ({ caption, xLegend, yLegend, xFormat, yFormat, data }) ) -} \ No newline at end of file +}