Commit 363db4f0 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

staking: Flexible generation of reward curve and associated tweaks (#8327)



* Initial abstraction

* Alter rest of APIs

* Fixes

* Some extra getters in Gilt pallet.

* Refactor Gilt to avoid u128 conversions

* Simplify and improve pow in per_things

* Add scalar division to per_things

* Renaming from_fraction -> from_float, drop _approximation

* Fixes

* Fixes

* Fixes

* Fixes

* Make stuff build

* Fixes

* Fixes

* Fixes

* Fixes

* Update .gitignore

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update frame/gilt/src/lib.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update frame/gilt/src/mock.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Fixes

* Fixes

* Fixes

Co-authored-by: default avatarShawn Tabrizi <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
parent b6c62639
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment