Module solana_exchange_program::exchange_state [−][src]
Structs
| AssetPair | |
| OrderInfo | Trade accounts are populated with this structure |
| TokenAccountInfo | Token accounts are populated with this structure |
| Tokens |
Enums
| ExchangeError | |
| ExchangeState | Type of exchange account, account’s user data is populated with this enum |
| OrderSide | side of the exchange between two tokens in a pair |
| Token | Supported token types |
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 |