Function cfx_executor::state::distribute_pos_interest
source · pub fn distribute_pos_interest<'a, I>(
state: &mut State,
pos_points: I,
current_block_number: u64
) -> Result<Vec<(Address, H256, U256)>>
Expand description
Distribute PoS interest to the PoS committee according to their reward points. Return the rewarded PoW accounts and their rewarded interest.