drive/state_transition_action/shielded/shielded_transfer/v0/mod.rs
1mod transformer;
2
3use crate::state_transition_action::shielded::ShieldedActionNote;
4use dpp::fee::Credits;
5
6/// Shielded transfer transition action v0
7#[derive(Debug, Clone)]
8pub struct ShieldedTransferTransitionActionV0 {
9 /// Notes from the orchard bundle actions
10 pub notes: Vec<ShieldedActionNote>,
11 /// The anchor (root of the commitment tree) used for verification
12 pub anchor: [u8; 32],
13 /// Fee amount extracted from the value balance
14 pub fee_amount: Credits,
15 /// Current total balance of the shielded pool
16 pub current_total_balance: Credits,
17}