platform_version/version/fee/data_contract_registration/
mod.rs

1use bincode::{Decode, Encode};
2
3pub mod v1;
4pub mod v2;
5
6/// These are the fee costs for various actions excluding validation
7/// Re-Validation will happen on data contract update which is why we don't bundle them
8/// together.
9#[derive(Clone, Debug, Default, Encode, Decode, PartialEq, Eq)]
10pub struct FeeDataContractRegistrationVersion {
11    pub base_contract_registration_fee: u64,
12    pub document_type_registration_fee: u64,
13    pub document_type_base_non_unique_index_registration_fee: u64,
14    pub document_type_base_unique_index_registration_fee: u64,
15    /// All contested indexes are unique, but if the index is contested you only apply this fee
16    pub document_type_base_contested_index_registration_fee: u64,
17    pub token_registration_fee: u64,
18    pub token_uses_perpetual_distribution_fee: u64,
19    pub token_uses_pre_programmed_distribution_fee: u64,
20    pub search_keyword_fee: u64,
21}