Macro abstract_sdk::execute_update_ownership
source ยท macro_rules! execute_update_ownership { ($response_type:ident, $deps:expr, $env:expr, $info:expr, $action:expr) => { ... }; }
Expand description
Macro to update the ownership of an Abstract contract.
pub fn execute(deps: DepsMut, env: Env, info: MessageInfo, msg: ExecuteMsg) -> ContractResult {
match msg {
...
ExecuteMsg::UpdateOwnership(action) => {
execute_update_ownership!(ContractResponse, deps, env, info, action)
}
}
}