pub trait BaseMarketMut<const DECIMALS: u8>: BaseMarket<DECIMALS> {
// Required methods
fn liquidity_pool_mut(&mut self) -> Result<&mut Self::Pool>;
fn claimable_fee_pool_mut(&mut self) -> Result<&mut Self::Pool>;
}Expand description
Base Market trait for mutable access.
Required Methods§
Sourcefn liquidity_pool_mut(&mut self) -> Result<&mut Self::Pool>
fn liquidity_pool_mut(&mut self) -> Result<&mut Self::Pool>
Get the liquidity pool mutably.
§Requirements
- This method must return
OkifBaseMarket::liquidity_pooldoes.
Sourcefn claimable_fee_pool_mut(&mut self) -> Result<&mut Self::Pool>
fn claimable_fee_pool_mut(&mut self) -> Result<&mut Self::Pool>
Get the mutable reference of the claimable fee pool.
§Requirements
- This method must return
OkifBaseMarket::claimable_fee_pooldoes.