I have been trying to write some code to automate entry and exit of both DLMM and CLMM liquidity pools on sonic network. I plan on doing it via web3 using python. I am having some difficulties in entering the liquidity pools, mainly as im not confident on the correct function to use nor how to deal with the inputs.
does anyone have any advice on the right functions to use and the correct order of the inputs. I expect it would be two different methods, one for the DLMM and anohter for the CLMM.
Thanks in advance