Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: de7c757a00365678425f4fc5644ccdb196f2c7a0772f96f7ca9bd4851c42708a
Code generated by fastssz. DO NOT EDIT. Hash: 54daa11e3f97a5a021a2c3e0670047b254116f7cbdd8ea030044ad3f201278bf
Index ¶
- type SignedValidatorRegistration
- func (s *SignedValidatorRegistration) GetTree() (*ssz.Node, error)
- func (s *SignedValidatorRegistration) HashTreeRoot() ([32]byte, error)
- func (s *SignedValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedValidatorRegistration) MarshalJSON() ([]byte, error)
- func (s *SignedValidatorRegistration) MarshalSSZ() ([]byte, error)
- func (s *SignedValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedValidatorRegistration) MarshalYAML() ([]byte, error)
- func (s *SignedValidatorRegistration) SizeSSZ() (size int)
- func (s *SignedValidatorRegistration) String() string
- func (s *SignedValidatorRegistration) UnmarshalJSON(input []byte) error
- func (s *SignedValidatorRegistration) UnmarshalSSZ(buf []byte) error
- func (s *SignedValidatorRegistration) UnmarshalYAML(input []byte) error
- type ValidatorRegistration
- func (v *ValidatorRegistration) GetTree() (*ssz.Node, error)
- func (v *ValidatorRegistration) HashTreeRoot() ([32]byte, error)
- func (v *ValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *ValidatorRegistration) MarshalJSON() ([]byte, error)
- func (v *ValidatorRegistration) MarshalSSZ() ([]byte, error)
- func (v *ValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *ValidatorRegistration) MarshalYAML() ([]byte, error)
- func (v *ValidatorRegistration) SizeSSZ() (size int)
- func (v *ValidatorRegistration) String() string
- func (v *ValidatorRegistration) UnmarshalJSON(input []byte) error
- func (v *ValidatorRegistration) UnmarshalSSZ(buf []byte) error
- func (v *ValidatorRegistration) UnmarshalYAML(input []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignedValidatorRegistration ¶
type SignedValidatorRegistration struct { Message *ValidatorRegistration Signature phase0.BLSSignature `ssz-size:"96"` }
SignedValidatorRegistration is a signed ValidatorRegistrationV1.
func (*SignedValidatorRegistration) GetTree ¶
func (s *SignedValidatorRegistration) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedValidatorRegistration object
func (*SignedValidatorRegistration) HashTreeRoot ¶
func (s *SignedValidatorRegistration) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedValidatorRegistration object
func (*SignedValidatorRegistration) HashTreeRootWith ¶
func (s *SignedValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedValidatorRegistration object with a hasher
func (*SignedValidatorRegistration) MarshalJSON ¶
func (s *SignedValidatorRegistration) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*SignedValidatorRegistration) MarshalSSZ ¶
func (s *SignedValidatorRegistration) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedValidatorRegistration object
func (*SignedValidatorRegistration) MarshalSSZTo ¶
func (s *SignedValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedValidatorRegistration object to a target array
func (*SignedValidatorRegistration) MarshalYAML ¶
func (s *SignedValidatorRegistration) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*SignedValidatorRegistration) SizeSSZ ¶
func (s *SignedValidatorRegistration) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedValidatorRegistration object
func (*SignedValidatorRegistration) String ¶
func (s *SignedValidatorRegistration) String() string
String returns a string version of the structure.
func (*SignedValidatorRegistration) UnmarshalJSON ¶
func (s *SignedValidatorRegistration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*SignedValidatorRegistration) UnmarshalSSZ ¶
func (s *SignedValidatorRegistration) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedValidatorRegistration object
func (*SignedValidatorRegistration) UnmarshalYAML ¶
func (s *SignedValidatorRegistration) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type ValidatorRegistration ¶
type ValidatorRegistration struct { FeeRecipient bellatrix.ExecutionAddress `ssz-size:"20"` GasLimit uint64 Timestamp time.Time Pubkey phase0.BLSPubKey `ssz-size:"48"` }
ValidatorRegistration represents a ValidatorRegistrationV1.
func (*ValidatorRegistration) GetTree ¶
func (v *ValidatorRegistration) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ValidatorRegistration object
func (*ValidatorRegistration) HashTreeRoot ¶
func (v *ValidatorRegistration) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ValidatorRegistration object
func (*ValidatorRegistration) HashTreeRootWith ¶
func (v *ValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ValidatorRegistration object with a hasher
func (*ValidatorRegistration) MarshalJSON ¶
func (v *ValidatorRegistration) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ValidatorRegistration) MarshalSSZ ¶
func (v *ValidatorRegistration) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ValidatorRegistration object
func (*ValidatorRegistration) MarshalSSZTo ¶
func (v *ValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ValidatorRegistration object to a target array
func (*ValidatorRegistration) MarshalYAML ¶
func (v *ValidatorRegistration) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*ValidatorRegistration) SizeSSZ ¶
func (v *ValidatorRegistration) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ValidatorRegistration object
func (*ValidatorRegistration) String ¶
func (v *ValidatorRegistration) String() string
String returns a string version of the structure.
func (*ValidatorRegistration) UnmarshalJSON ¶
func (v *ValidatorRegistration) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*ValidatorRegistration) UnmarshalSSZ ¶
func (v *ValidatorRegistration) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ValidatorRegistration object
func (*ValidatorRegistration) UnmarshalYAML ¶
func (v *ValidatorRegistration) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.