// file: ks-lib/src/decoder/lock/raydium_lp.rs // version: 6 //! Reserved protocol decoder for `lock_raydium_lp`. /// Reserved decoder for the `lock_raydium_lp` program surface. #[derive(Clone, Debug, Default)] pub struct DcLockRaydiumLpDecoder; impl crate::DcApiProtocolDecoder for crate::DcLockRaydiumLpDecoder { fn decoder_name(&self) -> &'static str { return "ks-lib-decoder.lock.raydium_lp"; } fn decoder_version(&self) -> &'static str { return env!("CARGO_PKG_VERSION"); } fn program_ids(&self) -> &'static [&'static str] { return &[ks_program_ids::LOCK_RAYDIUM_LP_PROGRAM_ID]; } fn supports_observation( &self, observation: &crate::MdProgramObservation, ) -> crate::DcApiDecoderSupport { if crate::DcApiProtocolDecoder::handles_program_id(self, &observation.program_id) { return crate::DcApiDecoderSupport::Maybe; } return crate::DcApiDecoderSupport::No; } fn decode_observation( &self, _observation: &crate::MdProgramObservation, ) -> ks_core::Result> { return std::result::Result::Ok(std::vec::Vec::new()); } }