#Deposit to liquidity pool example
1 messages · Page 1 of 1 (latest)
It looks like your to argument is a contract. That argument is designed to specify which address will receive the minted pool shares. The deposit function requires authorization for the to address, so that may be where the problem is. Try using your source account's G... address for that argument, and it might work?
Also, I'm assuming you previously ran the init function for the contract, right?