Skip to main content

platform_version/version/fee/
v4.rs

1use crate::version::fee::private_document::v1::FEE_PRIVATE_DOCUMENT_VERSION1;
2use crate::version::fee::v3::FEE_VERSION3;
3use crate::version::fee::vote_resolution_fund_fees::v3::VOTE_RESOLUTION_FUND_FEES_VERSION3;
4use crate::version::fee::FeeVersion;
5
6/// Introduced in protocol version 15 (5.1).
7pub const FEE_VERSION4: FeeVersion = FeeVersion {
8    // Decision proposals (new in protocol version 15) prefund their poll's votes, and a multiple
9    // choice proposal, which opens no poll, pays a flat processing fee on create. Storage rates
10    // are unchanged, so the fee_version_number inherited from FEE_VERSION3 stays.
11    vote_resolution_fund_fees: VOTE_RESOLUTION_FUND_FEES_VERSION3,
12    // Each private document entry (new in protocol version 15) pays its storage and a flat
13    // 10,000,000 credits; the earlier schedules carry the same group, unread before 15, so the
14    // table is spelled out here where it takes effect.
15    private_document: FEE_PRIVATE_DOCUMENT_VERSION1,
16    ..FEE_VERSION3
17};