diff --git a/cli/core/status.go b/cli/core/status.go index b027f12..5a848e9 100644 --- a/cli/core/status.go +++ b/cli/core/status.go @@ -31,6 +31,8 @@ type Validator struct { CurrentBalance uint64 } +const NATIVE_ETH_STRATEGY = "0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0" + type EigenpodStatus struct { Validators map[string]Validator @@ -153,7 +155,9 @@ func GetStatus(ctx context.Context, eigenpodAddress string, eth *ethclient.Clien delegationManager, err := DelegationManager.NewDelegationManager(delegationManagerAddress, eth) PanicOnError("failed to reach delegationManager", err) - shares, err := delegationManager.GetWithdrawableShares(nil, eigenPodOwner, []common.Address{}) + shares, err := delegationManager.GetWithdrawableShares(nil, eigenPodOwner, []common.Address{ + common.HexToAddress(NATIVE_ETH_STRATEGY), + }) PanicOnError("failed to load owner shares", err) currentOwnerSharesETH := IweiToEther(shares.WithdrawableShares[0])