hpl-events 0.1.25

Honeycomb protocol library No-Op program to wrap events
Documentation
pub use {anchor_lang::prelude::*, hpl_attribute_event::event};

declare_id!("EventNxhSA3AcXD14PmXaYUiNQWwoKbLeGHtwydixRzX");

#[cfg(not(feature = "no-entrypoint"))]
use anchor_lang::solana_program::{entrypoint, entrypoint::ProgramResult};

#[cfg(not(feature = "no-entrypoint"))]
entrypoint!(hpl_events);

#[cfg(not(feature = "no-entrypoint"))]
pub fn hpl_events(
    _program_id: &Pubkey,
    _accounts: &[AccountInfo],
    _instruction_data: &[u8],
) -> ProgramResult {
    Ok(())
}

#[derive(Clone)]
pub struct HplEvents;

impl anchor_lang::Id for HplEvents {
    fn id() -> Pubkey {
        crate::id()
    }
}

// #[derive(borsh::BorshSerialize, borsh::BorshDeserialize)]
// pub struct A {}
// #[event]
// pub enum Event {
//     NewItem { data: A },
//     Update { num: u64 },
// }