gmsol-sdk 0.9.0

GMX-Solana is an extension of GMX on the Solana blockchain.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::market::Value;

/// GLV Status.
#[cfg_attr(js, derive(tsify_next::Tsify))]
#[cfg_attr(js, tsify(from_wasm_abi, into_wasm_abi))]
#[cfg_attr(serde, derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone)]
pub struct GlvStatus {
    /// The estimated max sellable value in the GLV.
    pub max_sellable_value: u128,
    /// The estimated total GLV value.
    pub total_value: Value,
}