carbon-phoenix-v1-decoder 0.12.0

Phoenix V1 Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use carbon_core::{borsh, CarbonDeserialize};

#[derive(
    CarbonDeserialize, Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone, Hash,
)]
pub struct FillEvent {
    pub index: u16,
    pub maker_id: solana_pubkey::Pubkey,
    pub order_sequence_number: u64,
    pub price_in_ticks: u64,
    pub base_lots_filled: u64,
    pub base_lots_remaining: u64,
}