feat(vm): define Shell/NUT/NU constants, set NODE_REWARD to 100 NUT
This commit is contained in:
parent
f9925eba79
commit
a81b1851ce
1 changed files with 9 additions and 4 deletions
|
|
@ -1,4 +1,9 @@
|
|||
pub const NODE_REWARD_TOTAL: u64 = 100_000_000; // 100 NUT in micro-units
|
||||
pub const SHELL_PER_NUT: u64 = 1_000;
|
||||
pub const NUT_PER_NU: u64 = 100;
|
||||
pub const SHELL_PER_NU: u64 = SHELL_PER_NUT * NUT_PER_NU; // 100_000
|
||||
|
||||
pub const NODE_REWARD_NUT: u64 = 100;
|
||||
pub const NODE_REWARD_TOTAL: u64 = NODE_REWARD_NUT * SHELL_PER_NUT; // 100,000 Shell
|
||||
|
||||
pub struct RewardSplit {
|
||||
pub voters: u64, // 50%
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue