pub(crate) trait OrderAdmission {
// Required methods
fn validate_order(
&self,
order_info: &OrderInfo,
wallet: &WalletAddress,
) -> Result<(), String>;
fn check_order_restrictions(
&self,
order_info: &OrderInfo,
wallet: &WalletAddress,
) -> Result<(), String>;
}Expand description
Order admission checks before an order can enter matching.