-
Notifications
You must be signed in to change notification settings - Fork 956
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
Shielded Inflation rewards #1025
Commits on Feb 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4ac196d - Browse repository at this point
Copy the full SHA 4ac196dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e8b201 - Browse repository at this point
Copy the full SHA 0e8b201View commit details -
log block rewards with accumulator LazyMaps and apply inflation with …
…rewards products
Configuration menu - View commit details
-
Copy full SHA for 94449a0 - Browse repository at this point
Copy the full SHA 94449a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92609ca - Browse repository at this point
Copy the full SHA 92609caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33ce31f - Browse repository at this point
Copy the full SHA 33ce31fView commit details -
Configuration menu - View commit details
-
Copy full SHA for efffafd - Browse repository at this point
Copy the full SHA efffafdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11fffae - Browse repository at this point
Copy the full SHA 11fffaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 074027b - Browse repository at this point
Copy the full SHA 074027bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b030fd8 - Browse repository at this point
Copy the full SHA b030fd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a41952f - Browse repository at this point
Copy the full SHA a41952fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a13f673 - Browse repository at this point
Copy the full SHA a13f673View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b0dc7f - Browse repository at this point
Copy the full SHA 6b0dc7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb79a9 - Browse repository at this point
Copy the full SHA 6fb79a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b818a2 - Browse repository at this point
Copy the full SHA 5b818a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59421c2 - Browse repository at this point
Copy the full SHA 59421c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27c44f4 - Browse repository at this point
Copy the full SHA 27c44f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2af59 - Browse repository at this point
Copy the full SHA 0b2af59View commit details -
Configuration menu - View commit details
-
Copy full SHA for e427584 - Browse repository at this point
Copy the full SHA e427584View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4073702 - Browse repository at this point
Copy the full SHA 4073702View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcca4dc - Browse repository at this point
Copy the full SHA dcca4dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c744f89 - Browse repository at this point
Copy the full SHA c744f89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bcfed9 - Browse repository at this point
Copy the full SHA 0bcfed9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f3392 - Browse repository at this point
Copy the full SHA 04f3392View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc7fb50 - Browse repository at this point
Copy the full SHA fc7fb50View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd135f - Browse repository at this point
Copy the full SHA bcd135fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 869dbbe - Browse repository at this point
Copy the full SHA 869dbbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3056d55 - Browse repository at this point
Copy the full SHA 3056d55View commit details
Commits on Mar 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 655e689 - Browse repository at this point
Copy the full SHA 655e689View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32b21e7 - Browse repository at this point
Copy the full SHA 32b21e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c53ab - Browse repository at this point
Copy the full SHA e9c53abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f546a - Browse repository at this point
Copy the full SHA 45f546aView commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5471a00 - Browse repository at this point
Copy the full SHA 5471a00View commit details -
Add Token Parameters module, and keys like inflation and lock ratio
The token parameter module serves as a module that hosts channging parameters for each asset
Configuration menu - View commit details
-
Copy full SHA for 2c3c4d4 - Browse repository at this point
Copy the full SHA 2c3c4d4View commit details -
Reaplace by hand reward depositing, with a call to mint
This abstracts out the manual logic of reading and writing from storage to be safe with the total_tokens logic, and any future changes that handle book keeping on minting extra tokens
Configuration menu - View commit details
-
Copy full SHA for b0f315b - Browse repository at this point
Copy the full SHA b0f315bView commit details -
Update the update_allowed_conversions to use the pd controller
The work is split into the calculate_masp_rewards. This is fine for now, however in the long term this needs restructring, as this is nowhere near apply_inflation in src/lib/node/ledger/shell/finalize_block. Further two expects are had for most values read from storage to better isolate errors if they failed to be read rather than just returning a None making error tracing hard Finally the last check added is a 0 check so that divison does not fail if the masp address has no funds in it (for testing puproses it may not)
Configuration menu - View commit details
-
Copy full SHA for 2d42286 - Browse repository at this point
Copy the full SHA 2d42286View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ac033d - Browse repository at this point
Copy the full SHA 8ac033dView commit details -
Add default values for each token parameter
This updates the gensis config along with propagating the values to gensis itself. last_inflation and last_locked_ratio are not included in the config as they generated at every epoch being initalized at 0.
Configuration menu - View commit details
-
Copy full SHA for 7fd7f3c - Browse repository at this point
Copy the full SHA 7fd7f3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for db46ab5 - Browse repository at this point
Copy the full SHA db46ab5View commit details -
Convert test storage to use the WlStorage and added token initalizer
This adds the token intializer for the parameters needed for each token, along with refactoring the storage such that this can can be had
Configuration menu - View commit details
-
Copy full SHA for 8adf4ed - Browse repository at this point
Copy the full SHA 8adf4edView commit details -
Fix dev.toml having inconsistent token values and inconsistent dot
This addresses #1048 that creates two different dot toekns, along with fixing dev's parameters to be consistent with dev's toml file and not the e2e toml file
Configuration menu - View commit details
-
Copy full SHA for 77c3e42 - Browse repository at this point
Copy the full SHA 77c3e42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7739fe4 - Browse repository at this point
Copy the full SHA 7739fe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 878e88e - Browse repository at this point
Copy the full SHA 878e88eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3db724a - Browse repository at this point
Copy the full SHA 3db724aView commit details -
Configuration menu - View commit details
-
Copy full SHA for efef60c - Browse repository at this point
Copy the full SHA efef60cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95357f3 - Browse repository at this point
Copy the full SHA 95357f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38bb6bb - Browse repository at this point
Copy the full SHA 38bb6bbView commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b0718fe - Browse repository at this point
Copy the full SHA b0718feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67d9ce5 - Browse repository at this point
Copy the full SHA 67d9ce5View commit details
Commits on Jun 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5fc78f6 - Browse repository at this point
Copy the full SHA 5fc78f6View commit details
Commits on Jul 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d92eb8f - Browse repository at this point
Copy the full SHA d92eb8fView commit details
Commits on Jul 6, 2023
-
- _Changes_ + We offset the denominations of the tokens by their denomination relative to the nam token thus a 10^18 token gets offset to 10^6, which is the base systems denomination
Configuration menu - View commit details
-
Copy full SHA for 7b3442b - Browse repository at this point
Copy the full SHA 7b3442bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 789603c - Browse repository at this point
Copy the full SHA 789603cView commit details