pub struct DexAnalytics;Implementations§
Source§impl DexAnalytics
impl DexAnalytics
Sourcepub async fn analyze_dex_volume_distribution(
client: Arc<Aptos>,
_time_period_hours: u64,
) -> Result<HashMap<String, u64>, String>
pub async fn analyze_dex_volume_distribution( client: Arc<Aptos>, _time_period_hours: u64, ) -> Result<HashMap<String, u64>, String>
analyze dex volume distribution
Sourcepub async fn get_liquidity_depth(
_client: Arc<Aptos>,
token_a: &str,
token_b: &str,
) -> Result<Vec<DexLiquidity>, String>
pub async fn get_liquidity_depth( _client: Arc<Aptos>, token_a: &str, token_b: &str, ) -> Result<Vec<DexLiquidity>, String>
get liquidity depth
Auto Trait Implementations§
impl Freeze for DexAnalytics
impl RefUnwindSafe for DexAnalytics
impl Send for DexAnalytics
impl Sync for DexAnalytics
impl Unpin for DexAnalytics
impl UnwindSafe for DexAnalytics
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more