pub trait PoolInfo {
// Required methods
fn address(&self) -> Address;
fn token0(&self) -> Address;
fn token1(&self) -> Address;
fn pool_type(&self) -> PoolType;
}Expand description
Defines common methods that are used to access information about the pools