Struct dex_v3::state::DexState [−][src]
pub struct DexState {}Show fields
pub tag: AccountTag, pub signer_nonce: u8, pub base_mint: Pubkey, pub quote_mint: Pubkey, pub base_vault: Pubkey, pub quote_vault: Pubkey, pub orderbook: Pubkey, pub aaob_program: Pubkey, pub admin: Pubkey, pub creation_timestamp: i64, pub base_volume: u64, pub quote_volume: u64, pub accumulated_fees: u64, pub min_base_order_size: u64,
Expand description
The primary market state object
Fields
tag: AccountTag
This byte is used to verify and version the dex state
signer_nonce: u8
The signer nonce is necessary for the market to perform as a signing entity
base_mint: Pubkey
The mint key of the base token
quote_mint: Pubkey
The mint key of the quote token
base_vault: Pubkey
The SPL token account holding the market’s base tokens
quote_vault: Pubkey
The SPL token account holding the market’s quote tokens
orderbook: Pubkey
The asset agnostic orderbook address
aaob_program: Pubkey
The asset agnostic orderbook program ID
admin: Pubkey
The market admin which can recuperate all transaction fees
creation_timestamp: i64
The market’s creation timestamp on the Solana runtime clock.
base_volume: u64
The market’s total historical volume in base token
quote_volume: u64
The market’s total historical volume in quote token
accumulated_fees: u64
The market’s fees which are available for extraction by the market admin
min_base_order_size: u64
The market’s minimum allowed order size in base token amount