docs
docs copied to clipboard
Add smart_contract_examples created and initialized pool
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?