pool_manager.gno

Creates and examines pools.

CreatePool

func CreatePool(
	token0Path string,
	token1Path string,
	fee uint32,
	_sqrtPriceX96 string,
) *Pool

Creates a liquidity pool.

Parameters

NameTypeDescription

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