-
Notifications
You must be signed in to change notification settings - Fork 12
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
Release/3.2.x ( FIO Release 3.2 -> master ) #332
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add staking info to get_fio_balance.
fix available to include main net locked tokens
use new general locks using amount instead of percent
rem bundle count
Build, Install, and Uninstall script cleanup and bug fixes
…lop-05122021 FIP-21 FIO staking get_fio_balance changes
update the math to compute ROE in get_fio_balance.
make roe a double in get_fio_balance results
…evelop-iter2 FIP-21 -- update math in the computation of the ROE in get_fio_balance
add a release date for ROE computation before which the ROE will remain 1
Revert cmake version
…that will unlock fio these changes go through the general lock info to ensure teh available amount in the account is correct regardless of whether a user has called vote or transfer.
…evelop-iter2 FIP-21 staking -- add a release date to the computation of the ROE, fix get_locks bug WRT can_vote, fix get_fio_balance when general locks are present.
fix roe and threshold calculations.
…evelop-iter2 FIP-21 Staking fix roe and threshold calculation.
update roe calc to match contracts
…evelop-iter2 FIP-21 Staking update roe calc to match contracts
rework rarte of exchange calculations
…evelop-iter2 FIP-21 Staking rework rate of exchange calculations
output ROE to the full number of decimal places.
…evelop-iter2 FIP-21 Staking output the value to the full number of decimal places
mandate 15 decimal places
…evelop-iter2 FIP-21 Staking mandate 15 decimal places on roe from get_fio_balance
… results remove expired but not yet claimed locking periods from the results
…evelop-iter2 FIP-21 Staking remove expired but not yet claimed locking periods from the get_locks results
round the roe at the 9th digit
Update CMakeLists.txt to verson v3.1.0
Release/3.1.x > Develop
work on last_CTP, and last_gsrp , simplify the conditon to compute ROE. these changes relate to the latest spec from pawel which is posted on the wiki.
…evelop-iter2 FIP-21 Staking -- integrate latest state model and revised staking, use last_ctp, last_gsrp for ROE
round after the 15th instead of the 9th
…evelop-iter2 FIP-21 Staking chain plugin --round after the 15th instead of the 9th.
remove debug and un-necessary comments.
…evelop-iter2 FIP-21 Staking -- remove debug and un-necessary comments
Update to 3.2.0
Update controller to remove development testing code
ericbutz
approved these changes
Dec 29, 2021
adsorptionenthalpy
approved these changes
Dec 29, 2021
Rebase/3.2 ( Release rebase )
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Enhancements and Updates
(#265) FIP-21 FIO Staking. Extends FIO Protocol to enable FIO tokens to be staked. Users can stake any available FIO Token amount in their account at any point in time. To stake, the account has to be voting for at least 1 BP or proxying/auto-proxying. The FIO Tokens do not actually leave the user's account, but are instead "locked" and cannot be spent until unstaked.
(#284) Update to get_fio_balance to account for locked tokens when returning available balance. Also returns additional staked, srps, and roe parameters. This update is detailed in FIP-21