Documentation ¶
Index ¶
- Constants
- func EpochAt(config beacon.Eth2Config, time uint64) uint64
- func GetBeaconBalances(rp *rocketpool.RocketPool, bc beacon.Client, addresses []common.Address, ...) ([]minipoolBalanceDetails, error)
- func GetBeaconBalancesFromState(rp *rocketpool.RocketPool, mpds []*rpstate.NativeMinipoolDetails, ...) ([]minipoolBalanceDetails, error)
- func GetMinipoolBalanceDetails(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, ...) (minipoolBalanceDetails, error)
- func GetMinipoolBalanceDetailsFromState(rp *rocketpool.RocketPool, mpd *rpstate.NativeMinipoolDetails, ...) (minipoolBalanceDetails, error)
Constants ¶
View Source
const MinipoolBalanceDetailsBatchSize = 20
Settings
Variables ¶
This section is empty.
Functions ¶
func EpochAt ¶
func EpochAt(config beacon.Eth2Config, time uint64) uint64
Get an eth2 epoch number by time
func GetBeaconBalances ¶ added in v1.2.2
func GetBeaconBalances(rp *rocketpool.RocketPool, bc beacon.Client, addresses []common.Address, beaconHead beacon.BeaconHead, opts *bind.CallOpts) ([]minipoolBalanceDetails, error)
Get the balances of the minipools on the beacon chain
func GetBeaconBalancesFromState ¶ added in v1.9.0
func GetBeaconBalancesFromState(rp *rocketpool.RocketPool, mpds []*rpstate.NativeMinipoolDetails, state *state.NetworkState, beaconHead beacon.BeaconHead, opts *bind.CallOpts) ([]minipoolBalanceDetails, error)
Get the balances of the minipools on the beacon chain
func GetMinipoolBalanceDetails ¶ added in v1.2.2
func GetMinipoolBalanceDetails(rp *rocketpool.RocketPool, minipoolAddress common.Address, opts *bind.CallOpts, validator beacon.ValidatorStatus, blockEpoch uint64) (minipoolBalanceDetails, error)
Get minipool balance details
func GetMinipoolBalanceDetailsFromState ¶ added in v1.9.0
func GetMinipoolBalanceDetailsFromState(rp *rocketpool.RocketPool, mpd *rpstate.NativeMinipoolDetails, state *state.NetworkState, opts *bind.CallOpts, blockEpoch uint64) (minipoolBalanceDetails, error)
Get minipool balance details
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.