Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetStakeFunc ¶
type GetStakeFunc = func(entryPoint, entity common.Address) (*entrypoint.IStakeManagerDepositInfo, error)
GetStakeFunc provides a general interface for retrieving the EntryPoint stake for a given address.
func GetStakeFuncNoop ¶
func GetStakeFuncNoop() GetStakeFunc
func GetStakeWithEthClient ¶
func GetStakeWithEthClient(eth *ethclient.Client) GetStakeFunc
GetStakeWithEthClient returns a GetStakeFunc that relies on an eth client to get stake info from the EntryPoint.
Click to show internal directories.
Click to hide internal directories.