utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValidators

func GetValidators(
	ctx context.Context,
	stakemanager *stakemanager.Stakemanager,
	epoch *big.Int,
) (
	owners []common.Address,
	operators []common.Address,
	stakes []*big.Int,
	candidates []bool,
	err error,
)

func NewEthClient

func NewEthClient(cmd *cobra.Command) (*ethclient.Client, error)

Create a ethereum client from command line flags.

func NewEthWallet

func NewEthWallet(cmd *cobra.Command) (*eth.Wallet, error)

Create a wallet from environment variables and command line flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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