pool_manager.gno
https://github.com/gnoswap-labs/gnoswap/blob/main/contract/r/gnoswap/pool/pool_manager.gnogithub.com
Creates and examines pools.
CreatePool
Creates a liquidity pool.
Parameters
Name
Type
Description
token0Path
string
The path of the token0 of the pool to create.
token1Path
string
The path of the token1 of the pool to create.
fee
uint32
The fee tier of the pool.
- 100 = 0.01%
- 500 = 0.05%
- 3000 = 0.3%
- 10000 = 1%
sqrtPriceX96
string
The starting price of the pool.
Last updated
Was this helpful?