streak-api 0.1.2

API for interacting with the STREAK directional markets protocol on Solana
1
2
3
4
5
6
7
8
9
10
11
12
//! On-chain events (`sol_log_data`). Extend with `event!` as ix coverage grows.

use steel::*;

/// Emitted after successful [`instruction::Initialize`]. Team fee flows use [`FEE_COLLECTOR`](crate::consts::FEE_COLLECTOR), not a separate team key.
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Initialized {
    pub admin: Pubkey,
}

event!(Initialized);