riptide_amm/generated/types/event.rs
1//! This code was AUTOGENERATED using the codama library.
2//! Please DO NOT EDIT THIS FILE, instead use visitors
3//! to add features, then rerun codama to update it.
4//!
5//! <https://github.com/codama-idl/codama>
6
7use borsh::{BorshDeserialize, BorshSerialize};
8use solana_address::Address;
9
10#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
11pub enum Event {
12 SwapExecuted {
13 market: Address,
14 amount_in: u64,
15 amount_out: u64,
16 input_token_mint: Address,
17 output_token_mint: Address,
18 oracle_price: u128,
19 best_price: u128,
20 },
21}