use serde::{Deserialize, Serialize};

pub use spot_market::*;

use crate::{MarketId, WalletRegisterId};

mod spot_market;

/// Update market initial fee to
#[derive(Clone, Debug, Eq, PartialEq, Deserialize, Serialize)]
pub struct UpdateMarketInitialFeeTo {
    /// Fee to
    pub fee_to: WalletRegisterId,
}

/// Update market fee to
#[derive(Clone, Debug, Eq, PartialEq, Deserialize, Serialize)]
pub struct UpdateMarketFeeTo {
    /// Market id
    pub market_id: MarketId,

    /// Fee to
    pub fee_to: WalletRegisterId,
}

#[cfg(test)]
mod tests;
