AshSwap Docs
Search
⌃K

Pool Router

Contract Interface

​

Get pool addresses

Returns all pool's addresses of AshSwap.
#[view(getAllPoolAddresses)]
fn get_all_pool_addresses(&self) -> MultiValueEncoded<ManagedAddress>
​

Get pool tokens

Return tokens of AshSwap's pools
#[view(getAllPoolTokens)]
fn get_all_pool_tokens(&self) -> MultiValueEncoded<PoolTokens<Self::Api>>