pub fn get_contract_version(
    store: &dyn Storage,
) -> Result<ContractVersion, StdError>
Expand description

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