jup-perps-client 1.2.0

Rust client for Jupiter Perpetuals Protocol
Documentation
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/codama-idl/codama>
//!

use borsh::BorshDeserialize;
use borsh::BorshSerialize;

#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Fees {
    pub swap_multiplier: u64,
    pub stable_swap_multiplier: u64,
    pub add_remove_liquidity_bps: u64,
    pub swap_bps: u64,
    pub tax_bps: u64,
    pub stable_swap_bps: u64,
    pub stable_swap_tax_bps: u64,
    pub liquidation_reward_bps: u64,
    pub protocol_share_bps: u64,
}