docs icon indicating copy to clipboard operation
docs copied to clipboard

Add smart_contract_examples created and initialized pool

Open dappdappgo opened this issue 3 years ago • 0 comments

Hello.

https://github.com/Uniswap/docs/blob/main/smart_contract_examples/LiquidityExamples.sol

// Note that the pool defined by DAI/USDC and fee tier 0.3% must already be created and initialized in order to mint
(tokenId, liquidity, amount0, amount1) = nonfungiblePositionManager.mint(params);

I am creating a token (TKN) from a smart contract and I want to immediately create a pool with this token (MATIC-TKN) and add liquidity.

How can I do this without a web interface in a smart contract?

dappdappgo avatar Feb 12 '22 03:02 dappdappgo