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

Release/3.2.x ( FIO Release 3.2 -> master ) #332

Merged
merged 43 commits into from
Dec 29, 2021
Merged

Release/3.2.x ( FIO Release 3.2 -> master ) #332

merged 43 commits into from
Dec 29, 2021

Conversation

0xCasey
Copy link
Member

@0xCasey 0xCasey commented Dec 29, 2021

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

Ed Rotthoff and others added 30 commits May 13, 2021 18:47
add staking info to get_fio_balance.
fix available to include main net locked tokens
use new general locks using amount instead of percent
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
…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
adsorptionenthalpy and others added 11 commits October 4, 2021 14:34
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 controller to remove development testing code
@0xCasey 0xCasey self-assigned this Dec 29, 2021
@0xCasey 0xCasey merged commit 01d9227 into master Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants