pub trait PoolInfo {
// Required methods
fn address(&self) -> Address;
fn token0_address(&self) -> Address;
fn token1_address(&self) -> Address;
fn token0_name(&self) -> String;
fn token1_name(&self) -> String;
fn token0_decimals(&self) -> u8;
fn token1_decimals(&self) -> u8;
fn pool_type(&self) -> PoolType;
fn fee(&self) -> u32;
fn stable(&self) -> bool;
}Expand description
Defines common methods that are used to access information about the pools