v0.1.0-pre.062

This commit is contained in:
2026-07-30 10:27:06 +02:00
parent f40fb78817
commit 460671e19d
319 changed files with 392513 additions and 9507 deletions

View File

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