Open rickstaa opened 9 months ago
@stronk-dev, the subgraph also returns the bonded amount without the pending rewards of a delegator. Do you maybe know of a way to improve this:
My main account, for example, has a cumulated stake of 49.76
while the subgraph returns 49.018229682364821635
🤔.
You could check pending stake on-chain: https://arbiscan.io/address/0x35Bcf3c30594191d53231E4FF333E8A770453e40#readProxyContract#F19
My new API would also count the total stake correctly once that's finished (and I might put some PR's back to the subgraph repo so that one is correct too)
You could check pending stake on-chain: https://arbiscan.io/address/0x35Bcf3c30594191d53231E4FF333E8A770453e40#readProxyContract#F19
My new API would also count the total stake correctly once that's finished (and I might put some PR's back to the subgraph repo so that one is correct too)
@stronk-dev, thanks a lot for your answer! For now, I'm happy with the stake without the pending stake. It would be nice to add this feature to the subgraph. If I find time, I will also take a look 👍🏻.
@stronk-dev I've opened issue #158 to keep tabs on our discussed feature request. With a strong interest in incorporating this info into the exporter, I'm considering taking it up when time allows. I'll drop a comment on the issue if I proceed. If you're planning any PRs for the subgraph, feel free to comment as well to avoid duplicate efforts 👍🏻.
Describe the bug
I just noticed that the
livepeer_orch_delegator_bonded_amount
parameter does not include the pending stake accumulated due to network inflation. It would also make sense to offer users the ability to show the total reward (i.e. bonded + pending).Reproduction steps
Expected behaviour
No response
Screenshots / Live demo link
No response
System information
Additional context
No response