ethservice

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthService

type EthService struct {
	// contains filtered or unexported fields
}

func NewEthService

func NewEthService() *EthService

func (*EthService) BatchCheckRegisteredValidators

func (e *EthService) BatchCheckRegisteredValidators(validators []phase0.BLSPubKey) (map[string]contracts.BlsPublicKeyToProposerResult, error)

func (*EthService) BatchK2CheckClaimableRewards added in v0.0.5

func (e *EthService) BatchK2CheckClaimableRewards(validators []phase0.BLSPubKey) (map[string]uint64, error)

func (*EthService) BatchK2CheckRegisteredValidators

func (e *EthService) BatchK2CheckRegisteredValidators(validators []phase0.BLSPubKey) (map[string]string, error)

func (*EthService) BatchK2ClaimRewards added in v0.0.5

func (e *EthService) BatchK2ClaimRewards(rewardClaims []k2common.K2Claim) (tx *types.Transaction, err error)

func (*EthService) BatchRegisterValidators

func (e *EthService) BatchRegisterValidators(validatorRegistrations []k2common.K2ValidatorRegistration) (tx *types.Transaction, err error)

func (*EthService) Configure

func (e *EthService) Configure(cfg config.EthServiceConfig) error

func (*EthService) ConnectedChainId

func (e *EthService) ConnectedChainId() *big.Int

func (*EthService) FetchProposerRegistryAddressFromK2

func (e *EthService) FetchProposerRegistryAddressFromK2() (string, error)

func (*EthService) K2BatchNativeDelegation

func (e *EthService) K2BatchNativeDelegation(validatorRegistrations []k2common.K2ValidatorRegistration) (tx *types.Transaction, err error)

func (*EthService) K2Exit added in v0.0.5

func (e *EthService) K2Exit(validatorExit k2common.K2Exit) (tx *types.Transaction, err error)

func (*EthService) SetMaxGasPrice added in v0.0.3

func (e *EthService) SetMaxGasPrice(maxGasPrice uint64)

func (*EthService) Status

func (e *EthService) Status() (*ethereum.SyncProgress, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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