Add and remove liquidity on SmartRouter V3 PancakeSwap web3 -- 3

Job ID: 36762933

Budget: $10 – $100 USD

Need following:
- We need you to explain from mempool data on PancakeSwapV3, using ABI decoded contract calls, explain how we can check what liquidity pool was used, for example how to check if it uses a Cake/USDT liquidity pair address

- Need ethersJS script to add liquidity and remove following specific logic requirements using nodejs for pancakeswap v3 router

Where i can define tick spacing, fee tier and total quantity, also need to know how to remove liquidity

I will provide the filtered mempool data, just need the bot to execute in the following:

1) Add liquidity to liquidity pair
2) When a PancakeSwap V3 dex trade uses liquidity pair, remove liquidity within same block as the trade
3) Repeat
Related categories: Node.js Blockchain Binance Smart Chain Web3.js