dpp/data_contract/created_data_contract/v0/
mod.rs1use crate::data_contract::DataContract;
2use bincode::{Decode, Encode};
3
4use crate::data_contract::serialized_version::DataContractInSerializationFormat;
5use crate::prelude::IdentityNonce;
6
7#[derive(Clone, Debug, PartialEq)]
9pub struct CreatedDataContractV0 {
10 pub data_contract: DataContract,
11 pub identity_nonce: IdentityNonce,
12}
13
14#[derive(Clone, Debug, Encode, Decode)]
15pub struct CreatedDataContractInSerializationFormatV0 {
16 pub data_contract: DataContractInSerializationFormat,
17 pub identity_nonce: IdentityNonce,
18}