platform_version/version/system_data_contract_versions/v2.rs
1use crate::version::system_data_contract_versions::SystemDataContractVersions;
2
3// PROTOCOL_VERSION_13: DPNS contract v2 subscribes the `domain` document type
4// to the document history system contract (keepsTransferHistory,
5// keepsPurchaseHistory and keepsPricingHistory), so username transfers, sales
6// and listings are recorded and queryable. v1 (dpns: 1) remains for
7// PROTOCOL_VERSION_12 chain replay.
8pub const SYSTEM_DATA_CONTRACT_VERSIONS_V2: SystemDataContractVersions =
9 SystemDataContractVersions {
10 withdrawals: 1,
11 dpns: 2,
12 dashpay: 1,
13 masternode_reward_shares: 1,
14 wallet: 1,
15 token_history: 1,
16 keyword_search: 1,
17 document_history: 1,
18 // The app-connect contract does not exist before protocol version 14: no
19 // schema generation is selected here, so loading it is refused.
20 app_connect: 0,
21 // The moderation charters contract does not exist before protocol version 14
22 // either: no schema generation is selected here.
23 moderation_charters: 0,
24 };