light_ctoken_types/instruction/
generic.rs

1use borsh::{BorshDeserialize, BorshSerialize};
2
3// Generic instruction data wrapper that can hold any instruction data as bytes
4#[derive(Debug, Clone, BorshSerialize, BorshDeserialize)]
5pub struct GenericInstructionData {
6    pub instruction_data: Vec<u8>,
7}
8
9// Type alias for the main generic instruction data type
10pub type CompressedTokenInstructionData = GenericInstructionData;