use solana_program::pubkey::Pubkey; use solana_sdk::signature::Keypair; use spl_governance::state::{realm::Realm, voter_record::VoterRecord}; #[derive(Debug)] pub struct RealmCookie { pub address: Pubkey, pub account: Realm, pub community_mint_authority: Keypair, pub community_token_holding_account: Pubkey, pub council_mint_authority: Option, pub council_token_holding_account: Option, } #[derive(Debug)] pub struct VoterRecordCookie { pub address: Pubkey, pub account: VoterRecord, pub token_source: Pubkey, pub token_source_amount: u64, pub token_owner: Keypair, pub vote_authority: Keypair, }