From 7e8127d4f7101504564669bdc3c0b6dea1d55364 Mon Sep 17 00:00:00 2001 From: Arran Schlosberg <519948+ARR4N@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:36:05 +0100 Subject: [PATCH] feat: interactive graph of elastic-subnet rewards params (#1806) * chore: create `elastic-parameters-graph.md` * feat: embed `iframe` with Desmos graph Signed-off-by: Arran Schlosberg <519948+ARR4N@users.noreply.github.com> * feat: interactive graph of elastic-subnet rewards params * chore: keep `vale` happy --------- Signed-off-by: Arran Schlosberg <519948+ARR4N@users.noreply.github.com> Co-authored-by: Lavinia Talpas Co-authored-by: Meaghan FitzGerald --- docs/build/subnet/elastic/elastic-parameters.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/build/subnet/elastic/elastic-parameters.md b/docs/build/subnet/elastic/elastic-parameters.md index 7d0fc699613..5533aedc577 100644 --- a/docs/build/subnet/elastic/elastic-parameters.md +++ b/docs/build/subnet/elastic/elastic-parameters.md @@ -308,3 +308,18 @@ parameters on Mainnet: - `MaxValidatorWeightFactor = 5`. This is a platformVM parameter rather than a genesis one, so it's shared across networks. - `UptimeRequirement = 0.8`, that is `80%`. + +### Interactive Graph + +The graph below demonstrates the reward as a function of the length of time +staked. The x-axis depicts $\frac{StakingPeriod}{MintingPeriod}$ as a percentage +while the y-axis depicts $Reward$ as a percentage of $MaximumSupply - Supply$, +the amount of tokens left to be emitted. + +Graph variables correspond to those defined above: + +- `h` (high) = $MaxConsumptionRate$ +- `l` (low) = $MinConsumptionRate$ +- `s` = $\frac{Stake}{Supply}$ + +