electra

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 18 Imported by: 5

Documentation

Overview

Code generated by dynamic-ssz. DO NOT EDIT. Hash: 2d56bb94773ae49cf3867200004f7892aa4fec98d53ce8976871c796d74697c0 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)

Code generated by dynamic-ssz. DO NOT EDIT. Hash: fe42726bbf97fa5d972c0587f6a8236b4ce09538d6f6a41c9bd5ece216fec123 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)

Code generated by dynamic-ssz. DO NOT EDIT. Hash: 8414269af9e9438572efc13486900e1fe34e6b378b60847e1485f4fc65deb8de Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderBid

type BuilderBid struct {
	Header             *deneb.ExecutionPayloadHeader
	BlobKZGCommitments []deneb.KZGCommitment `ssz-max:"4096" ssz-size:"?,48"`
	ExecutionRequests  *electra.ExecutionRequests
	Value              *uint256.Int     `ssz-size:"32"`
	Pubkey             phase0.BLSPubKey `ssz-size:"48"`
}

BuilderBid represents a BuilderBid.

func (*BuilderBid) HashTreeRoot

func (t *BuilderBid) HashTreeRoot() (root [32]byte, err error)

HashTreeRoot computes the SSZ hash tree root of the *BuilderBid.

func (*BuilderBid) HashTreeRootWith

func (t *BuilderBid) HashTreeRootWith(hh sszutils.HashWalker) error

HashTreeRootWith computes the SSZ hash tree root of the *BuilderBid using the given hash walker.

func (*BuilderBid) MarshalJSON

func (b *BuilderBid) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BuilderBid) MarshalSSZ

func (t *BuilderBid) MarshalSSZ() ([]byte, error)

MarshalSSZ marshals the *BuilderBid to SSZ-encoded bytes.

func (*BuilderBid) MarshalSSZTo

func (t *BuilderBid) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo marshals the *BuilderBid to SSZ-encoded bytes, appending to the provided buffer.

func (*BuilderBid) MarshalYAML

func (b *BuilderBid) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*BuilderBid) SizeSSZ

func (t *BuilderBid) SizeSSZ() (size int)

SizeSSZ returns the SSZ encoded size of the *BuilderBid.

func (*BuilderBid) String

func (b *BuilderBid) String() string

String returns a string version of the structure.

func (*BuilderBid) UnmarshalJSON

func (b *BuilderBid) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*BuilderBid) UnmarshalSSZ

func (t *BuilderBid) UnmarshalSSZ(buf []byte) (err error)

UnmarshalSSZ unmarshals the *BuilderBid from SSZ-encoded bytes.

func (*BuilderBid) UnmarshalYAML

func (b *BuilderBid) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type SignedBuilderBid

type SignedBuilderBid struct {
	Message   *BuilderBid
	Signature phase0.BLSSignature `ssz-size:"96"`
}

SignedBuilderBid represents a SignedBuilderBid.

func (*SignedBuilderBid) HashTreeRoot

func (t *SignedBuilderBid) HashTreeRoot() (root [32]byte, err error)

HashTreeRoot computes the SSZ hash tree root of the *SignedBuilderBid.

func (*SignedBuilderBid) HashTreeRootWith

func (t *SignedBuilderBid) HashTreeRootWith(hh sszutils.HashWalker) error

HashTreeRootWith computes the SSZ hash tree root of the *SignedBuilderBid using the given hash walker.

func (*SignedBuilderBid) MarshalJSON

func (s *SignedBuilderBid) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SignedBuilderBid) MarshalSSZ

func (t *SignedBuilderBid) MarshalSSZ() ([]byte, error)

MarshalSSZ marshals the *SignedBuilderBid to SSZ-encoded bytes.

func (*SignedBuilderBid) MarshalSSZTo

func (t *SignedBuilderBid) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo marshals the *SignedBuilderBid to SSZ-encoded bytes, appending to the provided buffer.

func (*SignedBuilderBid) MarshalYAML

func (s *SignedBuilderBid) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*SignedBuilderBid) SizeSSZ

func (t *SignedBuilderBid) SizeSSZ() (size int)

SizeSSZ returns the SSZ encoded size of the *SignedBuilderBid.

func (*SignedBuilderBid) String

func (s *SignedBuilderBid) String() string

String returns a string version of the structure.

func (*SignedBuilderBid) UnmarshalJSON

func (s *SignedBuilderBid) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*SignedBuilderBid) UnmarshalSSZ

func (t *SignedBuilderBid) UnmarshalSSZ(buf []byte) (err error)

UnmarshalSSZ unmarshals the *SignedBuilderBid from SSZ-encoded bytes.

func (*SignedBuilderBid) UnmarshalYAML

func (s *SignedBuilderBid) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type SubmitBlockRequest

type SubmitBlockRequest struct {
	Message           *apiv1.BidTrace
	ExecutionPayload  *deneb.ExecutionPayload
	BlobsBundle       *apideneb.BlobsBundle
	ExecutionRequests *electra.ExecutionRequests
	Signature         phase0.BLSSignature `ssz-size:"96"`
}

SubmitBlockRequest is the request from the builder to submit a block.

func (*SubmitBlockRequest) HashTreeRoot

func (t *SubmitBlockRequest) HashTreeRoot() (root [32]byte, err error)

HashTreeRoot computes the SSZ hash tree root of the *SubmitBlockRequest.

func (*SubmitBlockRequest) HashTreeRootWith

func (t *SubmitBlockRequest) HashTreeRootWith(hh sszutils.HashWalker) error

HashTreeRootWith computes the SSZ hash tree root of the *SubmitBlockRequest using the given hash walker.

func (*SubmitBlockRequest) MarshalJSON

func (s *SubmitBlockRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SubmitBlockRequest) MarshalSSZ

func (t *SubmitBlockRequest) MarshalSSZ() ([]byte, error)

MarshalSSZ marshals the *SubmitBlockRequest to SSZ-encoded bytes.

func (*SubmitBlockRequest) MarshalSSZTo

func (t *SubmitBlockRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo marshals the *SubmitBlockRequest to SSZ-encoded bytes, appending to the provided buffer.

func (*SubmitBlockRequest) MarshalYAML

func (s *SubmitBlockRequest) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*SubmitBlockRequest) SizeSSZ

func (t *SubmitBlockRequest) SizeSSZ() (size int)

SizeSSZ returns the SSZ encoded size of the *SubmitBlockRequest.

func (*SubmitBlockRequest) String

func (s *SubmitBlockRequest) String() string

String returns a string version of the structure.

func (*SubmitBlockRequest) UnmarshalJSON

func (s *SubmitBlockRequest) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*SubmitBlockRequest) UnmarshalSSZ

func (t *SubmitBlockRequest) UnmarshalSSZ(buf []byte) (err error)

UnmarshalSSZ unmarshals the *SubmitBlockRequest from SSZ-encoded bytes.

func (*SubmitBlockRequest) UnmarshalYAML

func (s *SubmitBlockRequest) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

Jump to

Keyboard shortcuts

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