dpp/data_contract/config/
fields.rs

1pub const DEFAULT_CONTRACT_KEEPS_HISTORY: bool = false;
2pub const DEFAULT_CONTRACT_CAN_BE_DELETED: bool = false;
3pub const DEFAULT_CONTRACT_MUTABILITY: bool = true;
4pub const DEFAULT_CONTRACT_DOCUMENTS_KEEPS_HISTORY: bool = false;
5pub const DEFAULT_CONTRACT_DOCUMENT_MUTABILITY: bool = true;
6pub const DEFAULT_CONTRACT_DOCUMENTS_CAN_BE_DELETED: bool = true;
7pub const DEFAULT_SIZED_INTEGER_TYPES: bool = true;
8
9pub mod property {
10    pub const CAN_BE_DELETED: &str = "canBeDeleted";
11    pub const READONLY: &str = "readonly";
12    pub const KEEPS_HISTORY: &str = "keepsHistory";
13    pub const DOCUMENTS_KEEP_HISTORY_CONTRACT_DEFAULT: &str = "documentsKeepHistoryContractDefault";
14    pub const DOCUMENTS_MUTABLE_CONTRACT_DEFAULT: &str = "documentsMutableContractDefault";
15    pub const DOCUMENTS_CAN_BE_DELETED_CONTRACT_DEFAULT: &str =
16        "documentsCanBeDeletedContractDefault";
17    pub const REQUIRES_IDENTITY_ENCRYPTION_BOUNDED_KEY: &str =
18        "requiresIdentityEncryptionBoundedKey";
19    pub const REQUIRES_IDENTITY_DECRYPTION_BOUNDED_KEY: &str =
20        "requiresIdentityDecryptionBoundedKey";
21    pub const SIZED_INTEGER_TYPES: &str = "sized_integer_types";
22}