use bytemuck::{Pod, Zeroable};
use solana_pubkey::Pubkey;
use super::pod::PodU128;
#[derive(Debug, Clone, Copy, Pod, Zeroable)]
#[repr(C)]
pub struct VaultAllocation {
pub reserve: Pubkey,
pub ctoken_vault: Pubkey,
pub target_allocation_weight: u64,
pub token_allocation_cap: u64,
pub ctoken_vault_bump: u64,
pub config_padding: [u64; 127],
pub ctoken_allocation: u64,
pub last_invest_slot: u64,
pub token_target_allocation_sf: PodU128,
pub state_padding: [u64; 128],
}
const _: () = assert!(core::mem::size_of::<VaultAllocation>() == 2160);