const REWARD_CURVE: PiecewiseLinear<'static> = curve!(
min_inflation: 0_025_000,
max_inflation: 0_100_000,
ideal_stake: 0_500_000,
falloff: 0_050_000,
max_piece_count: 40,
test_precision: 0_005_000,
);
-
Min-Inflation This is the minimum amount of new tokens that will be created and given as rewards to validators , regardless of hom many tokens are staked .
-
Max-Inflation This is the maximum amount of new tokens that will be created and given as rewards to validators . The maximum amount only reached if the perfect amount of tokens get staked . as defined by
ideal_stake
. -
ideal_stake This is the target proportion of the total tokens in the system that should be staked. If this exact amount is staked, validators receive the maximum inflation reward .
-
falloff This determines
how quickly reward changes
If theactual staked amount
is different fromideal_stake
. Ahigh
falloff means the rewarddecrease
more
sharply as the staked amountmoves away from the ideal target
. -
max_piece_count This determines the
complexity
of the inflation curve. Ahigher number
means the curve ismore detailed
and canmore accurately
give rewards, but it also requiresmore computational
resources to calculate. -
test_precision This is the
allowable margin
of error when testing the curve to ensure it's working correctly. Asmaller number
means the tests are more strict and the curve must bemore precise
. -
Customization For doing customization we need to customize reward curve and do simulation . Always remember Reward payout will be given after each era (Appox. 1 Hour) Now its producing
600
block per era . Now it's giving 16.560 AGC