Skip to main content

jup_perps_client/types/
limit.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//!
7
8use borsh::BorshDeserialize;
9use borsh::BorshSerialize;
10
11#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, PartialEq)]
12#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
13pub struct Limit {
14    pub max_aum_usd: u128,
15    pub token_weightage_buffer_bps: u128,
16    pub buffer: u64,
17}