Skip to main content

execute_increase_allocation

Function execute_increase_allocation 

Source
pub fn execute_increase_allocation(
    deps: DepsMut<'_>,
    env: Env,
    config: &Config,
    receiver: String,
    amount: Uint128,
    deposit_amount: Uint128,
) -> Result<Response, ContractError>
Expand description

Increase an address’ ASTRO allocation.

  • receiver address that will have its allocation increased.

  • amount ASTRO amount to increase the allocation by.

  • deposit_amount is amount of ASTRO to increase the allocation