dlp_api/args/validator_claim_fees.rs
1use borsh::{BorshDeserialize, BorshSerialize};
2
3#[derive(Default, Debug, BorshSerialize, BorshDeserialize)]
4pub struct ValidatorClaimFeesArgs {
5 /// The amount to claim from the fees vault.
6 /// If `None`, almost the entire amount is claimed. The remaining amount
7 /// is needed to keep the fees vault rent-exempt.
8 pub amount: Option<u64>,
9}