Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: f650ac8a93c947c1d4a3c19084e5c5d0ffd7b10e5533ee1f8a10a30837f366ea Version: 0.1.3-dev
Index ¶
- type VersionedBlindedBeaconBlock
- func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
- func (v *VersionedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
- func (v *VersionedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *VersionedBlindedBeaconBlock) IsEmpty() bool
- func (v *VersionedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (v *VersionedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) Root() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) SizeSSZ() (size int)
- func (v *VersionedBlindedBeaconBlock) Slot() (phase0.Slot, error)
- func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) String() string
- func (v *VersionedBlindedBeaconBlock) Timestamp() (uint64, error)
- func (v *VersionedBlindedBeaconBlock) TransactionsRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
- type VersionedSignedBlindedBeaconBlock
- func (v *VersionedSignedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
- func (v *VersionedSignedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
- func (v *VersionedSignedBlindedBeaconBlock) Root() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) Slot() (phase0.Slot, error)
- func (v *VersionedSignedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
- type VersionedSignedValidatorRegistration
- func (v *VersionedSignedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedSignedValidatorRegistration) GasLimit() (uint64, error)
- func (v *VersionedSignedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
- func (v *VersionedSignedValidatorRegistration) Root() (phase0.Root, error)
- func (v *VersionedSignedValidatorRegistration) Timestamp() (time.Time, error)
- type VersionedValidatorRegistration
- func (v *VersionedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedValidatorRegistration) GasLimit() (uint64, error)
- func (v *VersionedValidatorRegistration) IsEmpty() bool
- func (v *VersionedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
- func (v *VersionedValidatorRegistration) Root() (phase0.Root, error)
- func (v *VersionedValidatorRegistration) Timestamp() (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionedBlindedBeaconBlock ¶
type VersionedBlindedBeaconBlock struct { Version spec.DataVersion Bellatrix *apiv1bellatrix.BlindedBeaconBlock Capella *apiv1capella.BlindedBeaconBlock Deneb *apiv1deneb.BlindedBeaconBlock }
VersionedBlindedBeaconBlock contains a versioned blinded beacon block.
func (*VersionedBlindedBeaconBlock) Attestations ¶
func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the beacon block.
func (*VersionedBlindedBeaconBlock) BodyRoot ¶
func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the beacon block.
func (*VersionedBlindedBeaconBlock) FeeRecipient ¶
func (v *VersionedBlindedBeaconBlock) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) GetTree ¶
func (v *VersionedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
GetTree ssz hashes the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) HashTreeRoot ¶
func (v *VersionedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) HashTreeRootWith ¶
func (v *VersionedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the VersionedBlindedBeaconBlock object with a hasher
func (*VersionedBlindedBeaconBlock) IsEmpty ¶
func (v *VersionedBlindedBeaconBlock) IsEmpty() bool
IsEmpty returns true if there is no block.
func (*VersionedBlindedBeaconBlock) MarshalSSZ ¶
func (v *VersionedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) MarshalSSZTo ¶
func (v *VersionedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the VersionedBlindedBeaconBlock object to a target array
func (*VersionedBlindedBeaconBlock) ParentRoot ¶
func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the beacon block.
func (*VersionedBlindedBeaconBlock) Root ¶
func (v *VersionedBlindedBeaconBlock) Root() (phase0.Root, error)
Root returns the root of the beacon block.
func (*VersionedBlindedBeaconBlock) SizeSSZ ¶
func (v *VersionedBlindedBeaconBlock) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) Slot ¶
func (v *VersionedBlindedBeaconBlock) Slot() (phase0.Slot, error)
Slot returns the slot of the beacon block.
func (*VersionedBlindedBeaconBlock) StateRoot ¶
func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
StateRoot returns the state root of the beacon block.
func (*VersionedBlindedBeaconBlock) String ¶
func (v *VersionedBlindedBeaconBlock) String() string
String returns a string version of the structure.
func (*VersionedBlindedBeaconBlock) Timestamp ¶
func (v *VersionedBlindedBeaconBlock) Timestamp() (uint64, error)
Timestamp returns the timestamp of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) TransactionsRoot ¶
func (v *VersionedBlindedBeaconBlock) TransactionsRoot() (phase0.Root, error)
TransactionsRoot returns the transactions root of the beacon block.
func (*VersionedBlindedBeaconBlock) UnmarshalSSZ ¶
func (v *VersionedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the VersionedBlindedBeaconBlock object
type VersionedSignedBlindedBeaconBlock ¶
type VersionedSignedBlindedBeaconBlock struct { Version spec.DataVersion Bellatrix *apiv1bellatrix.SignedBlindedBeaconBlock Capella *apiv1capella.SignedBlindedBeaconBlock Deneb *apiv1deneb.SignedBlindedBeaconBlock }
VersionedSignedBlindedBeaconBlock contains a versioned signed blinded beacon block.
func (*VersionedSignedBlindedBeaconBlock) Attestations ¶
func (v *VersionedSignedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) AttesterSlashings ¶
func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
AttesterSlashings returns the attester slashings of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) BodyRoot ¶
func (v *VersionedSignedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) ParentRoot ¶
func (v *VersionedSignedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) ProposerSlashings ¶
func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
ProposerSlashings returns the proposer slashings of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) Root ¶
func (v *VersionedSignedBlindedBeaconBlock) Root() (phase0.Root, error)
Root returns the root of the beacon block.
type VersionedSignedValidatorRegistration ¶
type VersionedSignedValidatorRegistration struct { Version spec.BuilderVersion V1 *apiv1.SignedValidatorRegistration }
VersionedSignedValidatorRegistration contains a versioned SignedValidatorRegistrationV1.
func (*VersionedSignedValidatorRegistration) FeeRecipient ¶
func (v *VersionedSignedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the signed validator registration.
func (*VersionedSignedValidatorRegistration) GasLimit ¶
func (v *VersionedSignedValidatorRegistration) GasLimit() (uint64, error)
GasLimit returns the gas limit of the signed validator registration.
func (*VersionedSignedValidatorRegistration) PubKey ¶
func (v *VersionedSignedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
PubKey returns the public key of the signed validator registration.
type VersionedValidatorRegistration ¶
type VersionedValidatorRegistration struct { Version spec.BuilderVersion V1 *apiv1.ValidatorRegistration }
VersionedValidatorRegistration contains a versioned ValidatorRegistrationV1.
func (*VersionedValidatorRegistration) FeeRecipient ¶
func (v *VersionedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the validator registration.
func (*VersionedValidatorRegistration) GasLimit ¶
func (v *VersionedValidatorRegistration) GasLimit() (uint64, error)
GasLimit returns the gas limit of the validator registration.
func (*VersionedValidatorRegistration) IsEmpty ¶
func (v *VersionedValidatorRegistration) IsEmpty() bool
IsEmpty returns true if there is no block.
func (*VersionedValidatorRegistration) PubKey ¶
func (v *VersionedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
PubKey returns the public key of the validator registration.