I have used services like defisaver.com and instadapp. In both cases some of the trades are in a smart wallet, in some cases in the account and I have imported positions from account to smart wallet account. On top of that I have used the flash loan possibilities to switch between protocols or to leverage a position.
Now - when it comes to tax this is a nightmare. One transaction can be 20 transactions and Koinly does not understand what is what and some transactions are imported, others not.
-
How should a Maker CDP position be accounted for in Koinly? Do i use send to pool for the ETH only? How do I handle the DAI loan? I seem to end up with a position without debt if I send the ETH to pool and juste leave the DAI transactions as is. The value of the position get totally wrong also since there is no debt.
-
How do I account for a flash loan leverage transaction (like Boost in Defisaver.com)? Koinly records a number of transactions - usually not all in the transaction. Should I delete all transactions (could be 5-10 of them) in Koinly and just enter “the proper” transaction? Usually what happens is you borrow DAI, convert that into ETH and add ETH to the CDP. Koinly usually miss this and records ETH that just appear from somewhere. Should I send that ETH to pool or tag it receive from pool or what is correct? The effect is the CDP grows in ETH and in DAI debt.
-
How do I handle loans in AAVE and Compound? Should they be tagged “received from pool” or not?
I also sometimes get an error “no purchase recorded for DAI”. How can I avoid that? It occurs because I sell DIE that I have borrowed and never purchased.
Thanks.