electra

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 15 Imported by: 5

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 1d68284d4973a1f64251c36b9648dd4da39cfde9d340a6a63f8a9f5b022fecb8 Version: 0.1.4

Code generated by fastssz. DO NOT EDIT. Hash: 1d68284d4973a1f64251c36b9648dd4da39cfde9d340a6a63f8a9f5b022fecb8 Version: 0.1.4

Code generated by fastssz. DO NOT EDIT. Hash: 1d68284d4973a1f64251c36b9648dd4da39cfde9d340a6a63f8a9f5b022fecb8 Version: 0.1.4

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) 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 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       *apideneb.BlobsBundle
	ExecutionRequests *electra.ExecutionRequests
	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