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 PricingParams {
    pub trade_impact_fee_scalar: u64,
    pub buffer: u64,
    pub swap_spread: u64,
    pub max_leverage: u64,
    pub max_global_long_sizes: u64,
    pub max_global_short_sizes: u64,
}