pub fn compute_global_sponsor_reward(state: &mut State, pool: &Pool, block_height: u64) {
    compute_global_reward(
        &mut state.sponsor_reward_emission_index,
        pool.total_sponsor_lottery_deposits,
        block_height,
    );
}
/// Compute distributed reward and update global reward index for sponsors
Compute distributed reward and update global reward index for sponsors
Compute distributed reward and update global reward index for sponsors
pub fn compute_global_sponsor_reward(state: &mut State, pool: &Pool, block_height: u64) {
    compute_global_reward(
        &mut state.sponsor_reward_emission_index,
        pool.total_sponsor_lottery_deposits,
        block_height,
    );
}
pub fn compute_global_sponsor_reward ( state : & mut State , pool : & Pool , block_height : u64 ) { compute_global_reward ( & mut state . sponsor_reward_emission_index , pool . total_sponsor_lottery_deposits , block_height , ) ; }
Compute distributed reward and update global reward index for sponsors
Compute distributed reward and update global reward index for sponsors
state
&mut State
pool
&Pool
block_height
u64
state
&mut State
pool
&Pool
block_height
u64