ILiquidityPool
Generic interface for liquidity pool methods for fetching observations (to calculate TWAP) and other basic information
getTimepoints
AlgebraPool V1.9 equivalent of Uniswap V3 observe
function See https://github.com/cryptoalgebra/AlgebraV1.9/blob/main/src/core/contracts/interfaces/pool/IAlgebraPoolDerivedState.sol for more information
observe
Uniswap V3 observe
function See https://github.com/Uniswap/v3-core/blob/main/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol
for more information
token0
The first of the two tokens of the pool, sorted by address
Return Values
Name
Type
Description
[0]
address
The token contract address
token1
The second of the two tokens of the pool, sorted by address
Return Values
Name
Type
Description
[0]
address
The token contract address