api

package
v0.3.0-hepu Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionedExecutionPayload

type VersionedExecutionPayload struct {
	Version   consensusspec.DataVersion
	Bellatrix *bellatrix.ExecutionPayload
	Capella   *capella.ExecutionPayload
}

VersionedExecutionPayload contains a versioned ExecutionPayloadV1.

func (*VersionedExecutionPayload) IsEmpty

func (v *VersionedExecutionPayload) IsEmpty() bool

IsEmpty returns true if there is no payload.

func (*VersionedExecutionPayload) MarshalJSON

func (v *VersionedExecutionPayload) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*VersionedExecutionPayload) UnmarshalJSON

func (v *VersionedExecutionPayload) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

type VersionedExecutionPayloadHeader

type VersionedExecutionPayloadHeader struct {
	Version   consensusspec.DataVersion         `json:"version"`
	Bellatrix *bellatrix.ExecutionPayloadHeader `json:"bellatrix,omitempty"`
}

VersionedExecutionPayloadHeader contains a versioned ExecutionPayloadHeaderV1.

func (*VersionedExecutionPayloadHeader) IsEmpty

IsEmpty returns true if there is no payload.

type VersionedSignedValidatorRegistration

type VersionedSignedValidatorRegistration struct {
	Version spec.BuilderVersion
	V1      *apiv1.SignedValidatorRegistration
}

VersionedSignedValidatorRegistration contains a versioned SignedValidatorRegistrationV1.

func (*VersionedSignedValidatorRegistration) FeeRecipient

FeeRecipient returns the fee recipient of the signed validator registration.

func (*VersionedSignedValidatorRegistration) GasLimit

GasLimit returns the gas limit of the signed validator registration.

func (*VersionedSignedValidatorRegistration) PubKey

PubKey returns the public key of the signed validator registration.

func (*VersionedSignedValidatorRegistration) Timestamp

Timestamp returns the timestamp of the signed validator registration.

type VersionedValidatorRegistration

type VersionedValidatorRegistration struct {
	Version spec.BuilderVersion
	V1      *apiv1.ValidatorRegistration
}

VersionedValidatorRegistration contains a versioned ValidatorRegistrationV1.

func (*VersionedValidatorRegistration) FeeRecipient

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

PubKey returns the public key of the validator registration.

func (*VersionedValidatorRegistration) Timestamp

func (v *VersionedValidatorRegistration) Timestamp() (time.Time, error)

Timestamp returns the timestamp of the validator registration.

Directories

Path Synopsis
Code generated by fastssz.
Code generated by fastssz.
Code generated by fastssz.
Code generated by fastssz.
Code generated by fastssz.
Code generated by fastssz.

Jump to

Keyboard shortcuts

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