My problem with this is sometimes the receipt token is traded and has a fair market value. If the receipt token appreciates while you have it, it seems like you should register a gain when you trade it back for the original token. But, you don’t get to “cash” this increased value because you are forced to trade back using the amount of receipt tokens, not the value of the receipt tokens. You get a “phantom” capital gain that disappears. Unfortunately, I don’t know how to handle this in Koinly. Maybe you can manually set the value of the receipt token so it doesn’t change? I’m not sure how the IRS treats this situation.