use super::*;
pub const PARALLEL_LIMIT: usize = 50;
pub type HolderResults = Vec<Result<Holder>>;
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Serialize)]
pub struct Holder {
pub owner_wallet: String,
pub mint_account: String,
pub metadata_account: String,
pub associated_token_address: String,
}
#[derive(Debug, Serialize)]
pub struct CandyMachineProgramAccounts {
pub config_accounts: Vec<ConfigAccount>,
pub candy_machine_accounts: Vec<CandyMachineAccount>,
}
#[derive(Debug, Serialize)]
pub struct ConfigAccount {
pub address: String,
pub data_len: usize,
}
#[derive(Debug, Serialize)]
pub struct CandyMachineAccount {
pub address: String,
pub data_len: usize,
}
pub struct SnapshotMintsArgs {
pub creator: Option<String>,
pub position: usize,
pub update_authority: Option<String>,
pub v2: bool,
pub v3: bool,
pub allow_unverified: bool,
pub output: String,
}
pub struct SnapshotHoldersArgs {
pub creator: Option<String>,
pub position: usize,
pub update_authority: Option<String>,
pub mint_accounts_file: Option<String>,
pub v2: bool,
pub v3: bool,
pub allow_unverified: bool,
pub output: String,
}