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 as Trade in and out of a specific LP Token.
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 fee revenue generated by providing liquidity is reflected in the increase in value of the LP tokens and is therefore not accounted for as a separate transaction. All revenue is realized when LP is exchanged back 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 unlabeled Deposits and Withdrawals are best edited each into a Transfer to link them into a new Manual Integration where you subsequently replicate the Trades as described in the example above. The Trade can be done against the LP token a unique placeholder "Generic Asset" available in Blockpit.
If Staking, Lending or Governance contracts were entered into during the LP Providing, the rewards must be entered as "Staking", "Interest" or "Bounty" according to the contracts from the time of inflow (Claim) or, if applicable, from the time of exit from the protocol.