deneb

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 7

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 966ad2b2b4b70f8314d658e73c8e77c264f52d051894da2d69c4208ee6af1378 Version: 0.1.3

Code generated by fastssz. DO NOT EDIT. Hash: 7892d1b8a34d12e16ce7b5e0af8aef325f91e09b3a36208f80b706f3ffed4b78 Version: 0.1.3

Code generated by fastssz. DO NOT EDIT. Hash: 10a07cbc20d028173c2b950c0cc71c32a3a1707e138761dc4753721b2a976658 Version: 0.1.3

Code generated by fastssz. DO NOT EDIT. Hash: 9eb249d7f5f08129f3d3a9bd85af740731ca3ae3150677f16209e6b728acd4f5 Version: 0.1.3

Code generated by fastssz. DO NOT EDIT. Hash: ab124b93579f8996010b3c7fe144fdc154d151bbcb4848aa2eb177c45631019e Version: 0.1.3

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) GetTree

func (b *BlobsBundle) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BlobsBundle object

func (*BlobsBundle) HashTreeRoot

func (b *BlobsBundle) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BlobsBundle object

func (*BlobsBundle) HashTreeRootWith

func (b *BlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BlobsBundle object with a hasher

func (*BlobsBundle) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BlobsBundle) MarshalSSZ

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

MarshalSSZ ssz marshals the BlobsBundle object

func (*BlobsBundle) MarshalSSZTo

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

MarshalSSZTo ssz marshals the BlobsBundle object to a target array

func (*BlobsBundle) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BlobsBundle) SizeSSZ

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

SizeSSZ returns the ssz encoded size in bytes for the BlobsBundle object

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 (b *BlobsBundle) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BlobsBundle object

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) GetTree

func (b *BuilderBid) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BuilderBid object

func (*BuilderBid) HashTreeRoot

func (b *BuilderBid) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BuilderBid object

func (*BuilderBid) HashTreeRootWith

func (b *BuilderBid) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BuilderBid object with a hasher

func (*BuilderBid) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BuilderBid) MarshalSSZ

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

MarshalSSZ ssz marshals the BuilderBid object

func (*BuilderBid) MarshalSSZTo

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

MarshalSSZTo ssz marshals the BuilderBid object to a target array

func (*BuilderBid) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BuilderBid) SizeSSZ

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

SizeSSZ returns the ssz encoded size in bytes for the BuilderBid object

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 (b *BuilderBid) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BuilderBid object

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) GetTree

func (e *ExecutionPayloadAndBlobsBundle) GetTree() (*ssz.Node, error)

GetTree ssz hashes the ExecutionPayloadAndBlobsBundle object

func (*ExecutionPayloadAndBlobsBundle) HashTreeRoot

func (e *ExecutionPayloadAndBlobsBundle) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadAndBlobsBundle object

func (*ExecutionPayloadAndBlobsBundle) HashTreeRootWith

func (e *ExecutionPayloadAndBlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadAndBlobsBundle object with a hasher

func (*ExecutionPayloadAndBlobsBundle) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*ExecutionPayloadAndBlobsBundle) MarshalSSZ

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

MarshalSSZ ssz marshals the ExecutionPayloadAndBlobsBundle object

func (*ExecutionPayloadAndBlobsBundle) MarshalSSZTo

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

MarshalSSZTo ssz marshals the ExecutionPayloadAndBlobsBundle object to a target array

func (*ExecutionPayloadAndBlobsBundle) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*ExecutionPayloadAndBlobsBundle) SizeSSZ

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

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadAndBlobsBundle object

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 (e *ExecutionPayloadAndBlobsBundle) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadAndBlobsBundle object

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) GetTree

func (s *SignedBuilderBid) GetTree() (*ssz.Node, error)

GetTree ssz hashes the SignedBuilderBid object

func (*SignedBuilderBid) HashTreeRoot

func (s *SignedBuilderBid) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the SignedBuilderBid object

func (*SignedBuilderBid) HashTreeRootWith

func (s *SignedBuilderBid) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the SignedBuilderBid object with a hasher

func (*SignedBuilderBid) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SignedBuilderBid) MarshalSSZ

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

MarshalSSZ ssz marshals the SignedBuilderBid object

func (*SignedBuilderBid) MarshalSSZTo

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

MarshalSSZTo ssz marshals the SignedBuilderBid object to a target array

func (*SignedBuilderBid) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SignedBuilderBid) SizeSSZ

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

SizeSSZ returns the ssz encoded size in bytes for the SignedBuilderBid object

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 (s *SignedBuilderBid) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the SignedBuilderBid object

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) GetTree

func (s *SubmitBlockRequest) GetTree() (*ssz.Node, error)

GetTree ssz hashes the SubmitBlockRequest object

func (*SubmitBlockRequest) HashTreeRoot

func (s *SubmitBlockRequest) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the SubmitBlockRequest object

func (*SubmitBlockRequest) HashTreeRootWith

func (s *SubmitBlockRequest) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the SubmitBlockRequest object with a hasher

func (*SubmitBlockRequest) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SubmitBlockRequest) MarshalSSZ

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

MarshalSSZ ssz marshals the SubmitBlockRequest object

func (*SubmitBlockRequest) MarshalSSZTo

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

MarshalSSZTo ssz marshals the SubmitBlockRequest object to a target array

func (*SubmitBlockRequest) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SubmitBlockRequest) SizeSSZ

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

SizeSSZ returns the ssz encoded size in bytes for the SubmitBlockRequest object

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 (s *SubmitBlockRequest) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the SubmitBlockRequest object

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