radix_transactions/model/v2/
intent_header_v2.rs1use crate::internal_prelude::*;
2
3#[derive(Debug, Clone, Eq, PartialEq, ManifestSbor, ScryptoDescribe)]
4pub struct IntentHeaderV2 {
5 pub network_id: u8,
6
7 pub start_epoch_inclusive: Epoch,
9 pub end_epoch_exclusive: Epoch,
10 pub min_proposer_timestamp_inclusive: Option<Instant>,
11 pub max_proposer_timestamp_exclusive: Option<Instant>,
12
13 pub intent_discriminator: u64,
21}
22
23impl TransactionPartialPrepare for IntentHeaderV2 {
24 type Prepared = PreparedIntentHeaderV2;
25}
26
27pub type PreparedIntentHeaderV2 = SummarizedRawValueBody<IntentHeaderV2>;