[−][src]Function cw2::get_contract_version
pub fn get_contract_version<S: ReadonlyStorage>(
storage: &S
) -> StdResult<ContractVersion>
get_contract_version can be use in migrate to read the previous version of this contract
pub fn get_contract_version<S: ReadonlyStorage>(
storage: &S
) -> StdResult<ContractVersion>
get_contract_version can be use in migrate to read the previous version of this contract