Documentation
¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: ed6e0d69f99453e686352b9d28186277bdab2d1e13f7458a5bb8629ec21b5fae
Code generated by fastssz. DO NOT EDIT. Hash: 83021631c7377d761bde7be919158a46c6d4529b20ecbff39216ef1af6b41313
Code generated by fastssz. DO NOT EDIT. Hash: 83021631c7377d761bde7be919158a46c6d4529b20ecbff39216ef1af6b41313
Index ¶
- type BLSToExecutionChange
- func (b *BLSToExecutionChange) GetTree() (*ssz.Node, error)
- func (b *BLSToExecutionChange) HashTreeRoot() ([32]byte, error)
- func (b *BLSToExecutionChange) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BLSToExecutionChange) MarshalSSZ() ([]byte, error)
- func (b *BLSToExecutionChange) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BLSToExecutionChange) SizeSSZ() (size int)
- func (b *BLSToExecutionChange) UnmarshalSSZ(buf []byte) error
- type ForkData
- func (f *ForkData) GetTree() (*ssz.Node, error)
- func (f *ForkData) HashTreeRoot() ([32]byte, error)
- func (f *ForkData) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (f *ForkData) MarshalSSZ() ([]byte, error)
- func (f *ForkData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (f *ForkData) SizeSSZ() (size int)
- func (f *ForkData) UnmarshalSSZ(buf []byte) error
- type SigningData
- func (s *SigningData) GetTree() (*ssz.Node, error)
- func (s *SigningData) HashTreeRoot() ([32]byte, error)
- func (s *SigningData) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SigningData) MarshalSSZ() ([]byte, error)
- func (s *SigningData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SigningData) SizeSSZ() (size int)
- func (s *SigningData) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BLSToExecutionChange ¶
type BLSToExecutionChange struct { ValidatorIndex uint64 `json:"validator_index"` FromBlsPubkey [48]byte `json:"from_bls_pubkey" ssz-size:"48"` ToExecutionAddress [20]byte `json:"to_execution_address" ssz-size:"20"` }
BLSToExecutionChange https://github.com/ethereum/consensus-specs/blob/dev/specs/capella/beacon-chain.md#blstoexecutionchange
func (*BLSToExecutionChange) GetTree ¶
func (b *BLSToExecutionChange) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BLSToExecutionChange object
func (*BLSToExecutionChange) HashTreeRoot ¶
func (b *BLSToExecutionChange) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BLSToExecutionChange object
func (*BLSToExecutionChange) HashTreeRootWith ¶
func (b *BLSToExecutionChange) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BLSToExecutionChange object with a hasher
func (*BLSToExecutionChange) MarshalSSZ ¶
func (b *BLSToExecutionChange) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BLSToExecutionChange object
func (*BLSToExecutionChange) MarshalSSZTo ¶
func (b *BLSToExecutionChange) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BLSToExecutionChange object to a target array
func (*BLSToExecutionChange) SizeSSZ ¶
func (b *BLSToExecutionChange) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BLSToExecutionChange object
func (*BLSToExecutionChange) UnmarshalSSZ ¶
func (b *BLSToExecutionChange) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BLSToExecutionChange object
type ForkData ¶
type ForkData struct { CurrentVersion [4]byte `json:"current_version" ssz-size:"4"` GenesisValidatorsRoot [32]byte `json:"genesis_validators_root" ssz-size:"32"` }
func (*ForkData) HashTreeRoot ¶
HashTreeRoot ssz hashes the ForkData object
func (*ForkData) HashTreeRootWith ¶
func (f *ForkData) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ForkData object with a hasher
func (*ForkData) MarshalSSZ ¶
MarshalSSZ ssz marshals the ForkData object
func (*ForkData) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the ForkData object to a target array
func (*ForkData) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the ForkData object
type SigningData ¶
type SigningData struct { ObjectRoot [32]byte `json:"object_root" ssz-size:"32"` Domain [32]byte `json:"domain" ssz-size:"32"` }
func (*SigningData) GetTree ¶
func (s *SigningData) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SigningData object
func (*SigningData) HashTreeRoot ¶
func (s *SigningData) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SigningData object
func (*SigningData) HashTreeRootWith ¶
func (s *SigningData) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SigningData object with a hasher
func (*SigningData) MarshalSSZ ¶
func (s *SigningData) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SigningData object
func (*SigningData) MarshalSSZTo ¶
func (s *SigningData) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SigningData object to a target array
func (*SigningData) SizeSSZ ¶
func (s *SigningData) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SigningData object
func (*SigningData) UnmarshalSSZ ¶
func (s *SigningData) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SigningData object