PoolAddress
Last updated
Last updated
Returns PoolKey: the ordered tokens with the matched fee levels
Parameters:
tokenA
address
The first token of a pool, unsorted
tokenB
address
The second token of a pool, unsorted
fee
uint24
The fee level of the pool
Return Values:
Poolkey
PoolAddress.PoolKey
The pool details with ordered token0 and token1 assignments
Deterministically computes the pool address given the factory and PoolKey
factory
address
The DragonswapV2 factory contract address
key
struct PoolAddress.PoolKey
The PoolKey
pool
address
The contract address of the V2 pool
Parameters:
Return Values: