pub fn handle_message(deps: DepsMut, info: MessageInfo, message: ExecuteMsg) -> MemoryResult {
    match message {
        ExecuteMsg::SetAdmin { admin } => set_admin(deps, info, admin),
        ExecuteMsg::UpdateContractAddresses { to_add, to_remove } => {
            update_contract_addresses(deps, info, to_add, to_remove)
        }
        ExecuteMsg::UpdateAssetAddresses { to_add, to_remove } => {
            update_asset_addresses(deps, info, to_add, to_remove)
        }
    }
}
/// Handles the common base execute messages
Handles the common base execute messages
Handles the common base execute messages
pub fn handle_message(deps: DepsMut, info: MessageInfo, message: ExecuteMsg) -> MemoryResult {
    match message {
        ExecuteMsg::SetAdmin { admin } => set_admin(deps, info, admin),
        ExecuteMsg::UpdateContractAddresses { to_add, to_remove } => {
            update_contract_addresses(deps, info, to_add, to_remove)
        }
        ExecuteMsg::UpdateAssetAddresses { to_add, to_remove } => {
            update_asset_addresses(deps, info, to_add, to_remove)
        }
    }
}
pub fn handle_message ( deps : DepsMut , info : MessageInfo , message : ExecuteMsg ) -> MemoryResult { match message { ExecuteMsg :: SetAdmin { admin } => set_admin ( deps , info , admin ) , ExecuteMsg :: UpdateContractAddresses { to_add , to_remove } => { update_contract_addresses ( deps , info , to_add , to_remove ) } ExecuteMsg :: UpdateAssetAddresses { to_add , to_remove } => { update_asset_addresses ( deps , info , to_add , to_remove ) } } }
Handles the common base execute messages
Handles the common base execute messages
deps
DepsMut
info
MessageInfo
message
ExecuteMsg
deps
DepsMut
info
MessageInfo
message
ExecuteMsg