Crate pallet_staking_reward_curve
Version 4.0.0-dev
See all pallet_staking_reward_curve's items
Proc macro to generate the reward curve functions and tests.
Accepts a number of expressions to create a instance of PiecewiseLinear which represents the NPoS curve (as detailed here) for those parameters. Parameters are: