Function handle_update_user

Source
pub fn handle_update_user(
    store: &mut dyn Storage,
    env: Env,
    voter: &str,
    new_voting_power: Uint128,
) -> Result<Response<NeutronMsg>, ContractError>
Expand description

This function updates existing user’s voting power contribution in pool votes. Is used to reflect user’s vxASTRO balance changes in the emissions controller contract.