Function cw2::get_contract_version[][src]

pub fn get_contract_version(store: &dyn Storage) -> StdResult<ContractVersion>

get_contract_version can be use in migrate to read the previous version of this contract