use anchor_lang::prelude::*;
use mpl_core::types::PluginAuthorityPair;
use super::candy_machine_data::CandyMachineData;
#[account]
#[derive(Default, Debug)]
pub struct CandyMachine {
pub authority: Pubkey,
pub mint_authority: Pubkey,
pub collection_mint: Pubkey,
pub items_redeemed: u64,
pub data: CandyMachineData,
}
#[derive(AnchorSerialize, AnchorDeserialize, Debug)]
pub struct ConfigLine {
pub name: String,
pub uri: String,
}
#[derive(AnchorSerialize, AnchorDeserialize, Eq, PartialEq, Clone, Debug)]
pub struct MintAssetArgs {
pub plugins: Vec<PluginAuthorityPair>,
}