Function execute

Source
pub fn execute(
    deps: DepsMut<'_>,
    env: Env,
    _info: MessageInfo,
    msg: ExecuteMsg,
) -> Result<Response, ContractError>
Expand description

Exposes all the execute functions available in the contract.

ยงVariants

  • ExecuteMsg::Update {} Updates the local TWAP values for the assets in the Astroport pool.