manager.gno
Creates and examines pools.
CreatePool
Creates a liquidity pool.
Parameters
Name
Type
Description
cur
realm
Pass cross as argument.
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.
SetFeeProtocol
SetFeeProtocol sets the Protocol Fee that is applied to all swaps.
Parameters
Name
Type
Description
cur
realm
Pass cross as argument.
feeProtocol0
uint8
The Protocol Fee for token0 of the desired pool.
feeProtocol1
uint8
The Protocol Fee for token1 of the desired pool.
Last updated