[−][src]Function solana_exchange_api::exchange_state::check_trade
pub fn check_trade(
direction: Direction,
tokens: u64,
price: u64
) -> Result<(), ExchangeError>
pub fn check_trade(
direction: Direction,
tokens: u64,
price: u64
) -> Result<(), ExchangeError>