pallet_
staking_
reward_
curve
11.0.0
All Items
Crate Items
Macros
Crate
pallet_staking_reward_curve
Copy item path
Source
Expand description
Proc macro to generate the reward curve functions and tests.
Macros
§
build
Accepts a number of expressions to create a instance of PiecewiseLinear which represents the NPoS curve (as detailed
here
) for those parameters. Parameters are: