pub fn market_token_amount_to_usd<T>( amount: &T, pool_value: &T, supply: &T, ) -> Option<T>where T: MulDiv,
Market token amount to usd value.
Returns None if the computation cannot be done or supply is zero.
None
supply