Skip to main content

platform_version/version/
feature_initial_protocol_versions.rs

1use crate::version::ProtocolVersion;
2
3pub const ADDRESS_FUNDS_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 11;
4pub const SHIELDED_POOL_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 12;
5/// `ShieldFromIdentity` (identity balance to shielded pool) activates with protocol version 14.
6pub const SHIELD_FROM_IDENTITY_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;
7/// `IdentityTopUpFromShieldedPool` (shielded pool to an existing identity's balance) activates with
8/// protocol version 14.
9pub const IDENTITY_TOP_UP_FROM_SHIELDED_POOL_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;
10/// `IdentityKeyLimitsUpdate` (raising the budget or extending the expiry of an authentication
11/// key) activates with protocol version 14.
12pub const IDENTITY_KEY_LIMITS_UPDATE_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;
13/// `ContractUserModeration` (banning and suspending identities on a moderated data contract)
14/// activates with protocol version 14.
15pub const CONTRACT_USER_MODERATION_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;
16
17/// The protocol version that introduces document action fees and the `ContractFeeClaim` state
18/// transition, which pays out the fee pots they collect in.
19pub const CONTRACT_FEE_CLAIM_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;
20
21/// The app-connect system contract is written to state by the upgrade to protocol
22/// version 14 and registered at genesis from that version on; below it the contract does
23/// not exist and lookups must report it absent.
24pub const APP_CONNECT_CONTRACT_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;
25/// Token shielded pools (per-token Orchard pools behind `TokenConfigurationV1::has_shielded_pool`,
26/// with the batch token transitions that shield, unshield, transfer, mint, burn, claim and
27/// purchase into or out of them) activate with protocol version 14.
28pub const TOKEN_SHIELDED_POOL_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;
29/// The moderation charters system contract is written to state by the upgrade to protocol
30/// version 14 and registered at genesis from that version on; below it the contract does not
31/// exist and lookups must report it absent.
32pub const MODERATION_CHARTERS_CONTRACT_INITIAL_PROTOCOL_VERSION: ProtocolVersion = 14;