0.5.1-pre.002

This commit is contained in:
2026-08-09 19:34:08 +02:00
parent 816eee59a9
commit 6a680767ae
767 changed files with 12257 additions and 12195 deletions

View File

@@ -0,0 +1,39 @@
// file: ks-lib/src/decoder/clmm/orca_whirlpool.rs
// version: 5
//! Reserved protocol decoder for `clmm_orca_whirlpool`.
/// Reserved decoder for the `clmm_orca_whirlpool` program surface.
#[derive(Clone, Debug, Default)]
pub struct DcClmmOrcaWhirlpoolDecoder;
impl crate::DcApiProtocolDecoder for crate::DcClmmOrcaWhirlpoolDecoder {
fn decoder_name(&self) -> &'static str {
return "kb-lib.decoder.clmm.orca_whirlpool";
}
fn decoder_version(&self) -> &'static str {
return env!("CARGO_PKG_VERSION");
}
fn program_ids(&self) -> &'static [&'static str] {
return &[ks_program_ids::CLMM_ORCA_WHIRLPOOL_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<std::vec::Vec<crate::MdDecodedProtocolEvent>> {
return std::result::Result::Ok(std::vec::Vec::new());
}
}