[−][src]Module solana_exchange_api::exchange_state
Structs
TokenAccountInfo | Token accounts are populated with this structure |
Tokens | |
TradeOrderInfo | Trade accounts are populated with this structure |
Enums
Direction | Direction of the exchange between two tokens in a pair |
ExchangeError | |
ExchangeState | Type of exchange account, account's user data is populated with this enum |
Token | Supported token types |
TokenPair |
Constants
SCALER | Fixed-point scaler, 10 = one base 10 digit to the right of the decimal, 100 = 2, ... Used by both price and amount in their fixed point representation |
Functions
check_trade |