Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIP-40: Staking & Delegation #141

Draft
wants to merge 124 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
23888de
Add TIP-40 skeleton
PhilippGackstatter May 5, 2023
db2fe0b
Add Summary and Voting Power calculation
PhilippGackstatter Jun 12, 2023
ad57f45
Update Committee Selection
PhilippGackstatter Jun 12, 2023
f13bf68
Expand MCA
PhilippGackstatter Jun 12, 2023
7cffa95
Add Delegation Output
PhilippGackstatter Jun 13, 2023
0cca107
Update Timing figure
PhilippGackstatter Jun 13, 2023
9156005
Update Timing figure and voting power calc time
PhilippGackstatter Jun 14, 2023
2795914
Add delegation rewards calculation
PhilippGackstatter Jun 14, 2023
27ca8d5
Update Delegation Rewards calculation
PhilippGackstatter Jun 15, 2023
fb1586b
Add Validator Rewards calculation
PhilippGackstatter Jun 15, 2023
95b6480
Add Tracking Data schemas
PhilippGackstatter Jun 15, 2023
ed3e611
Format Markdown
PhilippGackstatter Jun 15, 2023
91d57a6
Add preliminaries on performance factor
PhilippGackstatter Jun 16, 2023
717ae92
Fix `End Epoch` capitalization and format
PhilippGackstatter Jun 16, 2023
e58cd08
Small fixes
daria305 Jun 20, 2023
1cceb01
Update field order
PhilippGackstatter Jun 21, 2023
8692b69
Update delegation output syntax rules
PhilippGackstatter Jun 21, 2023
0390f4e
Add Storage Deposit for Delegation Output
PhilippGackstatter Jul 3, 2023
40a8974
Update tips/TIP-0040/tip-0040.md
PhilippGackstatter Jul 4, 2023
4028da8
Clarify destruction transition
PhilippGackstatter Jul 4, 2023
ef6f480
Use `Validator ID` instead of `Validator`
PhilippGackstatter Jul 6, 2023
69a8295
Update committee selection procedure
PhilippGackstatter Jul 6, 2023
d2d9987
Remove open questions
PhilippGackstatter Jul 6, 2023
43f5b0f
Use `<=` instead of `<` for delegator rewards
PhilippGackstatter Jul 7, 2023
ef5c8fb
Add Rationale section
PhilippGackstatter Jul 7, 2023
22418a3
Replace `voting power` with `pool stake`
PhilippGackstatter Jul 7, 2023
22e1bed
Add motivation section
PhilippGackstatter Jul 12, 2023
be70eed
Add time boundaries for Delegation Output
PhilippGackstatter Jul 17, 2023
8fd05ae
Use Commitment input for rewards calculation
PhilippGackstatter Jul 18, 2023
4c20df0
Specify `n` in registration slot calculation
PhilippGackstatter Jul 18, 2023
f89a55f
Be more loose with Commitment Input requirements
PhilippGackstatter Jul 18, 2023
da35385
Use future bounded idx for end epoch + rationale
PhilippGackstatter Jul 18, 2023
e3d10d8
Calculate mana rewards per epoch, not slot
daria305 Jul 19, 2023
5f8755d
Remove immutable features from Delegation Output
PhilippGackstatter Jul 20, 2023
7281321
Apply format
PhilippGackstatter Jul 20, 2023
54204be
Update rewards calculations
oliviasaa Jul 23, 2023
8436189
parametrisation of the rewards
oliviasaa Jul 24, 2023
8b09456
add a to do
oliviasaa Jul 27, 2023
b9c522c
Fix typo
PhilippGackstatter Aug 2, 2023
135174e
Fix typo
PhilippGackstatter Aug 2, 2023
bf40255
Add offset to delegatin output storage calculation
PhilippGackstatter Aug 15, 2023
2d913ff
Readd Mana Rewards
PhilippGackstatter Aug 18, 2023
a7f0212
Calculation fixes
daria305 Aug 31, 2023
eaab6b8
minor things
oliviasaa Sep 10, 2023
a2170d0
Format schema tables (no content changes)
PhilippGackstatter Sep 21, 2023
355e9b9
Update summary
oliviasaa Sep 21, 2023
2bcb212
Add new address types in Delegation Output
PhilippGackstatter Sep 22, 2023
e27aa48
Update storage deposit with new addr types
PhilippGackstatter Sep 22, 2023
7c19645
motivation
oliviasaa Sep 24, 2023
274c755
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
e85c303
staking1
oliviasaa Sep 24, 2023
d4540cf
Update tip-0040.md
oliviasaa Sep 24, 2023
ad3b216
Update tip-0040.md
oliviasaa Sep 24, 2023
ac99932
Update tip-0040.md
oliviasaa Sep 24, 2023
7b34adb
staking2
oliviasaa Sep 24, 2023
36ab5b9
Update tip-0040.md
oliviasaa Sep 24, 2023
41f2632
committee selection
oliviasaa Sep 24, 2023
db166e1
coins->tokens
oliviasaa Sep 24, 2023
eaf0a27
committee tasks
oliviasaa Sep 24, 2023
a5cf8c1
delegation
oliviasaa Sep 24, 2023
82595c9
delegId
oliviasaa Sep 24, 2023
1e43fee
Epoch performance factor calculations
oliviasaa Sep 24, 2023
fad3dc7
solve to do
oliviasaa Sep 24, 2023
ccac31c
Update tip-0040.md
oliviasaa Sep 24, 2023
bfc9cd9
Update tip-0040.md
oliviasaa Sep 24, 2023
9e8a974
Update tip-0040.md
oliviasaa Sep 24, 2023
b25ba9c
Update tip-0040.md
oliviasaa Sep 24, 2023
9f7c8c9
add link
oliviasaa Sep 24, 2023
2ba22c6
Update tip-0040.md
oliviasaa Sep 24, 2023
406087c
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
0db5beb
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
f9d394c
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
5b6ec35
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
74c4d2f
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
e98e68e
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
7bbe75f
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
d42db8c
Update tips/TIP-0040/tip-0040.md
oliviasaa Sep 24, 2023
eb09633
Update tip-0040.md
oliviasaa Sep 24, 2023
a00306c
Update tip-0040.md
oliviasaa Sep 24, 2023
4452b38
Update tip-0040.md
oliviasaa Sep 24, 2023
73eca99
solve do tos
oliviasaa Sep 24, 2023
20a9a27
solve to do
oliviasaa Sep 24, 2023
4c648a0
Rename `ValidatorId` to `ValidatorAddress`
PhilippGackstatter Sep 25, 2023
edb331d
Motivate seat-based committees
PhilippGackstatter Sep 25, 2023
a92dd47
Update tips/TIP-0040/tip-0040.md
PhilippGackstatter Sep 25, 2023
060977b
add nikita's suggestions
oliviasaa Sep 25, 2023
12eaf1f
Update tips/TIP-0040/tip-0040.md
PhilippGackstatter Sep 25, 2023
41471bf
Use protocol parameter Token Supply in amount rule
PhilippGackstatter Sep 29, 2023
916d483
Remove nested address duplication
PhilippGackstatter Oct 4, 2023
b333daf
add author
oliviasaa Oct 16, 2023
c710573
Add author
daria305 Oct 17, 2023
7673c9a
Set new Delegation Output type prefix
PhilippGackstatter Oct 17, 2023
7728aab
Add author
PhilippGackstatter Oct 17, 2023
faa21f5
Format TIP
PhilippGackstatter Oct 17, 2023
4770f7c
Add `Storage Score Offset Delegation`
PhilippGackstatter Oct 17, 2023
16ccd5e
Remove storage deposit table
PhilippGackstatter Oct 17, 2023
28661b4
Remove manually added Table of Contents
PhilippGackstatter Oct 23, 2023
6045fd3
Use passive voice everywhere
PhilippGackstatter Oct 23, 2023
b2c0cdd
Replace `IOTA Tokens` -> `IOTA coins`
PhilippGackstatter Oct 23, 2023
60ad645
Capitalize `Mana`
PhilippGackstatter Oct 23, 2023
5e7c84c
Point protocol params to TIP-49
PhilippGackstatter Oct 23, 2023
29e329b
Update type prefix & add anchor address
PhilippGackstatter Nov 2, 2023
c1e83cc
Format Markdown
PhilippGackstatter Nov 3, 2023
55cff3a
Remove `Amount <= Token Supply` check
PhilippGackstatter Nov 8, 2023
90e1bcc
Fix incorrect epoch index calculation
PhilippGackstatter Nov 8, 2023
b635840
Remove `Amount` rules (moved to TIP-45)
PhilippGackstatter Nov 8, 2023
9110ac3
Apply suggestions from code review
PhilippGackstatter Nov 27, 2023
d277435
Update registration conditions to latest code
PhilippGackstatter Nov 30, 2023
80b37c9
Fix markdown formatting
PhilippGackstatter Dec 6, 2023
8e82bc4
Overhaul committee selection & rewards
PhilippGackstatter Dec 14, 2023
4bf2f67
Change `Validator ID` occurences to `Address`
PhilippGackstatter Dec 14, 2023
38b1803
Parameterize `Pool Stake`
PhilippGackstatter Dec 14, 2023
593e050
Correct storage score offset parameter name
PhilippGackstatter Dec 14, 2023
8a78c71
Add names of Validator & Delegator Reward funcs
PhilippGackstatter Dec 14, 2023
9bd48fd
Add storage score test vector
PhilippGackstatter Dec 21, 2023
9ddcd13
Change Validator Address type to Account Address
PhilippGackstatter Dec 21, 2023
d47dc73
update target rewards calculations
cyberphysic4l Feb 15, 2024
95a526c
Add Commitment Input syntactic requirement
PhilippGackstatter Mar 5, 2024
58eea34
Correct Commitment Input requirement statement
PhilippGackstatter Mar 5, 2024
2e32ec8
add parameter contraints
oliviasaa Mar 28, 2024
510f8e2
fix equation
oliviasaa Mar 28, 2024
fb8742f
fix eq
oliviasaa Mar 28, 2024
0c5d91f
fix LaTeX
oliviasaa Mar 28, 2024
2de6e17
fix LaTeX
oliviasaa Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix LaTeX
oliviasaa committed Mar 28, 2024
commit 2de6e17a5fc29070275d89374c08802510e4c797
6 changes: 3 additions & 3 deletions tips/TIP-0040/constraints.md
Original file line number Diff line number Diff line change
@@ -58,8 +58,8 @@ By definition, we have that $\text{Final Target Rewards Rate}$ is

$$
\begin{align*}
&\text{Final Target Rewards Rate}=\text{Token Supply} * \text{Reward To Generation Ratio}\\
* &\text{Generation Rate} * 2^{\text{Slots per Epoch Exp}-\text{Generation Rate Exp}}
& \text{Final Target Rewards Rate} = \text{Token Supply} * \text{Reward To Generation Ratio}\\
& * \text{Generation Rate} * 2^{\text{Slots per Epoch Exp}-\text{Generation Rate Exp}}
\end{align*}
$$

@@ -68,7 +68,7 @@ Then, the Maximum Mana supply in the bootstrapping phase is
$$
\begin{align*}
&\text{Max Mana Supply Bootstrapping}\\
&=\text{Token Supply}*\text{Generation Rate} * 2^{\text{Slots per Epoch Exp}-\text{Generation Rate Exp}}\\
&=\text{Token Supply} * \text{Generation Rate} * 2^{\text{Slots per Epoch Exp}-\text{Generation Rate Exp}}\\
&\left(\text{Reward To Generation Ratio} * \frac{1}{-\log(\text{Decay per Epoch})} * \text{Max to Target Ratio}\right.\\
+&\left.\frac{1}{1-\text{Decay per Epoch}}\right)\\
&\leq \text{Token Supply} * \text{Generation Rate} * 2^{\text{Slots per Epoch Exp}-\text{Generation Rate Exp}}\\