deneb

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: 17 Imported by: 11

Documentation

Overview

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

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

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

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

Code generated by dynamic-ssz. DO NOT EDIT. Hash: 801005ef7b46b4b855364159fda6d533afd6b2f621532921ba75e6cfc40ad69b 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 BlobsBundle

type BlobsBundle struct {
	Commitments []deneb.KZGCommitment `ssz-max:"4096" ssz-size:"?,48"`
	Proofs      []deneb.KZGProof      `ssz-max:"4096" ssz-size:"?,48"`
	Blobs       []deneb.Blob          `ssz-max:"4096" ssz-size:"?,131072"`
}

BlobsBundle is the structure used to store the blobs bundle.

func (*BlobsBundle) HashTreeRoot

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

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

func (*BlobsBundle) HashTreeRootWith

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

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

func (*BlobsBundle) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BlobsBundle) MarshalSSZ

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

MarshalSSZ marshals the *BlobsBundle to SSZ-encoded bytes.

func (*BlobsBundle) MarshalSSZTo

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

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

func (*BlobsBundle) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BlobsBundle) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *BlobsBundle.

func (*BlobsBundle) String

func (b *BlobsBundle) String() string

String returns a string version of the structure.

func (*BlobsBundle) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*BlobsBundle) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *BlobsBundle from SSZ-encoded bytes.

func (*BlobsBundle) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type BuilderBid

type BuilderBid struct {
	Header             *deneb.ExecutionPayloadHeader
	BlobKZGCommitments []deneb.KZGCommitment `ssz-max:"4096" ssz-size:"?,48"`
	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 ExecutionPayloadAndBlobsBundle

type ExecutionPayloadAndBlobsBundle struct {
	ExecutionPayload *deneb.ExecutionPayload
	BlobsBundle      *BlobsBundle
}

ExecutionPayloadAndBlobsBundle represents an execution layer payload.

func (*ExecutionPayloadAndBlobsBundle) HashTreeRoot

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

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

func (*ExecutionPayloadAndBlobsBundle) HashTreeRootWith

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

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

func (*ExecutionPayloadAndBlobsBundle) MarshalJSON

func (e *ExecutionPayloadAndBlobsBundle) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*ExecutionPayloadAndBlobsBundle) MarshalSSZ

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

MarshalSSZ marshals the *ExecutionPayloadAndBlobsBundle to SSZ-encoded bytes.

func (*ExecutionPayloadAndBlobsBundle) MarshalSSZTo

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

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

func (*ExecutionPayloadAndBlobsBundle) MarshalYAML

func (e *ExecutionPayloadAndBlobsBundle) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*ExecutionPayloadAndBlobsBundle) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *ExecutionPayloadAndBlobsBundle.

func (*ExecutionPayloadAndBlobsBundle) String

String returns a string version of the structure.

func (*ExecutionPayloadAndBlobsBundle) UnmarshalJSON

func (e *ExecutionPayloadAndBlobsBundle) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*ExecutionPayloadAndBlobsBundle) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *ExecutionPayloadAndBlobsBundle from SSZ-encoded bytes.

func (*ExecutionPayloadAndBlobsBundle) UnmarshalYAML

func (e *ExecutionPayloadAndBlobsBundle) 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      *BlobsBundle
	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