Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Introducing tokenomics changes to reflect on new top-ups approach #179
base: aip1
Are you sure you want to change the base?
Introducing tokenomics changes to reflect on new top-ups approach #179
Changes from 4 commits
abe2a98
573d6e9
aa49aaf
18f8245
dba07d1
45089c5
7eedd6c
8805e41
fa2c187
c0064d1
af692db
9f29a7b
3108ab6
28f904b
8eb3685
f3fad06
61fb1a7
f1ae5a9
c41d402
949e7a7
a423fb7
660e67c
10bdd73
4d2f266
8b49e18
ea67131
3c5c064
5291640
6a6dad9
abeb2f6
58273b3
7cf3cd1
78ba6ea
cfe4b80
3781d38
b439787
80c9b27
a65ea20
cdbe1f1
184fb9d
ff13c51
5ee1475
e09cdb5
e9945cd
583c448
d3c5ea3
d79d621
b92c814
a1fb94f
b8f1fe4
edaf3aa
fbab175
5da0726
28a4c20
b616524
05c1937
de29c4c
2ac921b
be06fac
b74f36b
5e43d54
b946818
7208470
f3c9b3f
7199f38
9cc1126
097d0d9
da06ab9
f8d7081
12101b4
a5f5c34
44d9345
a10e6b8
6f9f16f
f363668
7a72025
4f03ded
1d079de
fbadbbb
ecb362b
c76a04a
23e803b
88f30e8
1417b2d
38ebd10
927a3b8
cc25bdf
1d4d12a
69eaccf
405d918
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
veOLAS is added to the
totalDonationPower
(per epoch) once for each donator who has not donated yet.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
veOLAS is equally distributed across the number of services being donated to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
veOLAS power is then further distributed between service units. Note that the fraction for component / agent normalizer will be applied later in the finalization of top-ups.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug, here it must be the
totalUnitTopUps
value, which is finalized at the checkpoint.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This corresponds to the same top-ups calculations as in the write function above.