pub fn execute_create_allocations(
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
allocations: Vec<(String, CreateAllocationParams)>,
) -> Result<Response, ContractError>Expand description
Admin function facilitating the creation of new allocations.
-
creator allocations creator (the contract admin).
-
deposit_token token being deposited (should be ASTRO).
-
deposit_amount tokens sent along with the call (should equal the sum of allocation amounts)
-
deposit_amount new allocations being created.