As discussed with the customer support, here is my feature request to add LPT income tracking to the Koinly platform, along with some implementation details about our protocol.
Currently, Koinly does not properly track staking rewards and fee income for Livepeer (LPT), as these are not distributed through standard token transfers but instead compound internally in the LivepeerToken contract using on-chain accounting logic.
However, this data
can be retrieved accurately
using the following methods:
* The pendingFees and pendingStake (pendingRewards) contract methods, which can be queried at different block hashes to determine rewards and fees earned over time.
* Alternatively, rewards and fees can also be
calculated
using a user's bonded amount together with the cumulative reward and fee factors (cumulativeRewardFactor, cumulativeFeeFactor).
We are actively integrating these cumulative factors into the Livepeer subgraph (see PR #166 and PR #167), which will make it even easier for external platforms to access and integrate accurate staking data.
Request:
Please consider supporting Livepeer staking rewards and fee tracking by incorporating these on-chain methods or leveraging the subgraph data. This will enable accurate income classification and tax reporting for LPT holders using Koinly.
I’m more than happy to collaborate closely to help add this integration for the benefit of all LPT holders.