nodeset-org / hyperdrive-stakewise

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

Retrieve outstanding balance to be claimed #2

Closed VVander closed 2 months ago

VVander commented 2 months ago

Users should know their individual reward balances which have before they claim anything. This is relatively easy to do by simply calling getETHBalance(address on SplitMain. There is one SplitMain deployment per network, see the docs for more info.

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

jclapis commented 2 months ago

This is in now, but for reference Stakewise doesn't send you ETH; it sends you an ERC20 (the token represented by their Vault contract) so you need to use getERC20Balance().