More complex DeFi processes such as liquidity mining/-providing of popular dApps (Uniswap, SushiSwap, ShibaSwap, etc.) are already automatically imported via your public key into your Wallet Integration.
If your DeFi transactions have not been recorded automatically or only partially (as unlabeled Deposits and Withdrawals), you can replicate or complete them manually in multiple Manual Integrations.
The assets (Asset1 and Asset2, etc.) provided as liquidity to the pool are represented at the time of provision in equal parts of Asset1 and Asset2 as a "Trade" for a so-called LP token.
The fees, which are generated by providing liquidity, are generally reflected in an increase in the value of the LP tokens and are not recognized as own transactions. These revenues are realized upon redemption of LP into Asset1/Asset2.
Example of providing ETH & UNI as liquidity into an LP pool:
- Entry into the LP pool:
50% ETH "Trade" to 50% LP tokens.
50% UNI "Trade" to 50% LP tokens.
- Exit out of the LP pool:
50% LP token "Trade" to 50% ETH.
50% LP token "Trade" to 50% UNI.
When using our DeFi wallet imports, the entry and exit from the LP pool is automatically imported as unlabeled Deposit and Withdrawal. These open Deposits and Withdrawals are best merged to Transfer per pool into a Manual Integration, in order to subsequently replicate the trade there as described in the example above. The placeholder "Generic Asset" available in Blockpit can be used as the LP token.
If Staking, Lending or Governance contracts were entered into during the LP Providing, the rewards must be entered as "Staking", "Lending" or "Bounty" according to the contracts from the time of inflow (Claim) or, if applicable, from the time of exit from the protocol.
This process is very similar to the replication of a simple Swap. The only difference is the division of initial assets in equal parts (Asset1 and Asset2, etc.) into several "Trade" transactions and the possibility of additional rewards.