Describe the problem:
Summary: Koinly loses track of LP tokens and turns a Liquidity Out transaction into a profit even though I’ve marked relevant transactions as Sent to Pool and Received from Pool.
Detail: I provided liquidity to the the Lido Curve stETH-ETH pool. I sent ETH and received back steCrv LP tokens. The transactions imported were defaulted to a send and deposit so I marked both as sent to pool and received from pool. The LP tokens I received are set to $0 value. One issue I notice here is that the steCrv received from pool transaction has the error: Missing purchase history for STECRV :
I also subsequently staked the steCrv LP tokens on Yearn and received yvCurve-stETH. Later I unstaked the yvCurve-stETH and received steCrv back.
Then I removed liquidity from the stETH-ETH pool and received ETH for my steCrv – this is automatically recognised as a liquidity out transaction. I did receive back more ETH due to the staking rewards along the way.
The issue is the cost basis of the steCrv is somehow only ~$8 (even though the original deposited ETH amount was much more), so it generates a profit. Is this related to the missing purchase history?
Which exchange/wallet is this regarding?
Ethereum.
How did you import data into this wallet?
Auto-sync
What have you tried to fix this so far?
I tried merging the send and deposit transactions originally as a trade but I still ended up with the erroneous profit as the Liquidity Out transaction still shows a $0 cost basis for the LP tokens for some reason. I started manually setting the value of the received LP tokens but it’s unclear to me what’s correct here – should I set them to be the same as the original token that had a discoverable value (i.e. the ETH)?


