MCPcopy Create free account
hub / github.com/Unboxed-Software/anchor-subscriptions / Callback

Class Callback

programs/plege/src/state/callback.rs:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10// define callback struct
11#[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)]
12pub struct Callback {
13 pub program_id: Pubkey,
14 pub additional_accounts: Vec<bool>,
15 pub ix_data: Option<u8>,
16 // only for Anchor programs
17 pub ix_name: Option<String>,
18}
19
20#[zero_copy]
21#[repr(packed)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected