depositFunds already calls this after the ERC-20 transfer. If you do not use depositFunds(), you send the transfer from your frontend, Privy, Biconomy, or any custom wallet, you must call logDeposit. Otherwise the backend never sees the deposit: a reserved pool wallet is not handed over to the user, and yield / portfolio tracking does not start.
Typical cases:
- Sponsored / gasless transactions (Privy, Biconomy, etc.)
- Custom wallet or frontend transfer
- You need full control over how the transaction is sent