Function tg_voting_contract::propose
source · pub fn propose<P, Q: CustomQuery>(
deps: DepsMut<'_, Q>,
env: Env,
info: MessageInfo,
title: String,
description: String,
proposal: P
) -> Result<Response<TgradeMsg>, ContractError>where
P: DeserializeOwned + Serialize,