Skip to main content

dlp_api/args/
whitelist_validator_for_program.rs

1use borsh::{BorshDeserialize, BorshSerialize};
2
3#[derive(Debug, BorshSerialize, BorshDeserialize)]
4pub struct WhitelistValidatorForProgramArgs {
5    /// If `true`, insert the validator identity into the program whitelist,
6    /// otherwise remove it.
7    pub insert: bool,
8}