Skip to main content

Crate noble_staking_reward_curve

Crate noble_staking_reward_curve 

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: