nodeset-org / hyperdrive-stakewise

StakeWise module for Hyperdrive
GNU Affero General Public License v3.0
0 stars 1 forks source link

Display outstanding rewards which aren't distributed yet #4

Open VVander opened 2 months ago

VVander commented 2 months ago

Users should know their individual reward balance which hasn't been distributed yet. This is more difficult to do since we need to look up the user's split amount, divide that by the total split amount, and multiply this by the proxy contract's ETH balance.

The outstanding amount to be distributed should be displayed in the following commands:

jclapis commented 2 months ago

This is possible with splitter "v1.1" which is on Holesky but not "v1.0" which is on Mainnet; at least, not directly via on-chain info. They want you to use the subgraph for it. We have to wait for splits v2 in order to get this on Mainnet.