beacon

package
v2.0.0-b2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: GPL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconDeposit

type BeaconDeposit struct {
	// The deposit root for new deposits
	DepositRoot *core.SimpleField[common.Hash]
	// contains filtered or unexported fields
}

Binding for Beacon Deposit

func NewBeaconDeposit

func NewBeaconDeposit(rp *rocketpool.RocketPool) (*BeaconDeposit, error)

Creates a new Beacon Deposit contract binding

func (*BeaconDeposit) Deposit

func (c *BeaconDeposit) Deposit(opts *bind.TransactOpts, pubkey beacon.ValidatorPubkey, withdrawalCredentials common.Hash, signature beacon.ValidatorSignature, depositDataRoot common.Hash) (*eth.TransactionInfo, error)

Deposit to the Beacon contract, creating a new validator

Jump to

Keyboard shortcuts

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