Struct phoenix_sdk::sdk_client::MarketMetadata
source · pub struct MarketMetadata {
pub base_mint: Pubkey,
pub quote_mint: Pubkey,
pub base_decimals: u32,
pub quote_decimals: u32,
pub base_multiplier: u64,
pub quote_multiplier: u64,
pub quote_lot_size: u64,
pub base_lot_size: u64,
pub tick_size_in_quote_atoms_per_base_unit: u64,
pub num_base_lots_per_base_unit: u64,
pub raw_base_units_per_base_unit: u32,
}Fields§
§base_mint: Pubkey§quote_mint: Pubkey§base_decimals: u32§quote_decimals: u32§base_multiplier: u6410^base_decimals
quote_multiplier: u6410^quote_decimals
quote_lot_size: u64§base_lot_size: u64§tick_size_in_quote_atoms_per_base_unit: u64§num_base_lots_per_base_unit: u64§raw_base_units_per_base_unit: u32The adjustment factor to convert from the raw base unit (i.e. 1 BONK token) to the Phoenix BaseUnit (which may be a multiple of whole tokens). The adjustment factor is almost always 1, unless one base token is worth less than one quote atom (i.e. 1e-6 USDC)
Trait Implementations§
source§impl Clone for MarketMetadata
impl Clone for MarketMetadata
source§fn clone(&self) -> MarketMetadata
fn clone(&self) -> MarketMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more