drive/state_transition_action/shielded/unshield/v0/mod.rs
1mod transformer;
2
3use crate::state_transition_action::shielded::ShieldedActionNote;
4use dpp::address_funds::PlatformAddress;
5use dpp::fee::Credits;
6
7/// Unshield transition action v0
8#[derive(Debug, Clone)]
9pub struct UnshieldTransitionActionV0 {
10 /// The address receiving unshielded funds
11 pub output_address: PlatformAddress,
12 /// Amount being unshielded
13 pub amount: Credits,
14 /// Notes from the orchard bundle actions
15 pub notes: Vec<ShieldedActionNote>,
16 /// The anchor used for verification
17 pub anchor: [u8; 32],
18 /// Fee amount (value_balance - amount), paid to proposers
19 pub fee_amount: Credits,
20 /// Current total balance of the shielded pool
21 pub current_total_balance: Credits,
22}