Skip to main content

execute_decrease_allocation

Function execute_decrease_allocation 

Source
pub fn execute_decrease_allocation(
    deps: DepsMut<'_>,
    env: Env,
    info: MessageInfo,
    receiver: String,
    amount: Uint128,
) -> Result<Response, ContractError>
Expand description

Decrease an address’ ASTRO allocation.

  • receiver address that will have its allocation decreased.

  • amount ASTRO amount to decrease the allocation by.