Documentation ¶
Index ¶
Constants ¶
View Source
const DepositAmount = 32000000000 // gwei
Deposit settings
Variables ¶
This section is empty.
Functions ¶
func GetSignedExitMessage ¶ added in v0.0.6
func GetSignedExitMessage(validatorKey *eth2types.BLSPrivateKey, validatorIndex uint64, epoch uint64, signatureDomain []byte) (types.ValidatorSignature, error)
Get a voluntary exit message signature for a given validator key and index
Types ¶
type DepositData ¶
type DepositData struct { PublicKey []byte `ssz-size:"48"` WithdrawalCredentials []byte `ssz-size:"32"` Amount uint64 Signature []byte `ssz-size:"96"` }
Deposit data
func GetDepositData ¶
func GetDepositData(validatorKey *eth2types.BLSPrivateKey, withdrawalCredentials common.Hash, eth2Config beacon.Eth2Config) (DepositData, common.Hash, error)
Get deposit data & root for a given validator key and withdrawal credentials
type VoluntaryExit ¶ added in v0.0.6
Voluntary exit message
Click to show internal directories.
Click to hide internal directories.