Constructors
constructor
- new EthersUniSwap3Pair(address, provider): EthersUniSwap3Pair
Parameters
address: string
provider: Provider
Properties
Private
Optional
_pool
_pool?: any
Private
Optional
_poolContract
_poolContract?: any
Private
Optional
_slot0
_slot0?: any
Private
_tokenContracts
_tokenContracts: any
Private
_tokens
_tokens: any
Protected
address
address: string
Protected
provider
provider: Provider
Methods
pool
- pool(): Promise<Pool>
Returns Promise<Pool>
poolContract
- poolContract(): IUniswapV3Pool
Returns IUniswapV3Pool
price
- price(): Promise<{
tokens: {
address: string;
symbol: string;
value: number;
}[];
}> Returns Promise<{
tokens: {
address: string;
symbol: string;
value: number;
}[];
}>
slot0
- slot0(): Promise<EthersUniswap3PoolSlot0Wrapper>
token
- token(index): Promise<Token>
Returns Promise<Token>
tokenContract
- tokenContract(index): Promise<IERC20Metadata>
Returns Promise<IERC20Metadata>