carbon-okx-dex-decoder 2.0.0

OKX DEX Decoder
Documentation
1
2
3
4
5
6
7
8
9
//! This code was AUTOGENERATED using the Codama library.
use crate::types::Dex;
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct SwapEvent {
    pub dex: Dex,
    pub amount_in: u64,
    pub amount_out: u64,
}