pub fn get_token<'a>(
market: &'a MarketState,
address: &Address,
) -> Result<&'a Token, AlgorithmError>Expand description
The market’s Token for an address.
§Errors
AlgorithmError::DataNotFound when the market does not hold it.
pub fn get_token<'a>(
market: &'a MarketState,
address: &Address,
) -> Result<&'a Token, AlgorithmError>The market’s Token for an address.
AlgorithmError::DataNotFound when the market does not hold it.