stake

package
v0.6.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL