UniCreatePoolV3

Description

Action for creating Uniswap V3 Pool and minting a position in it after that

Notes

If pool already exists, it will only mint a position in pool.

The address from which we're pulling token0 and token1 must approve proxy.

If amount0Desired or amount1Desired is uint.max this will pull whole balance of _from.

Mints new NFT that represents a position with selected parameters.

Action ID

0xba6f48af

SDK Action

const uniswapV3CreatePoolAction = new dfs.actions.uniswapV3.UniswapV3CreatePoolAction(
    token0,
    token1,
    fee,
    tickLower,
    tickUpper,
    amount0Desired,
    amount1Desired,
    amount0Min,
    amount1Min,
    recipient,
    deadline,
    from,
    sqrtPriceX96
);

Action Type

STANDARD_ACTION

Input Parameters

Return Value

Events and Logs

Last updated

Was this helpful?