pub async fn deserialize_contract(bytes: Vec<u8>) -> Result<Contract>
Deserialize a contract from bytes.