bellatrix

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: 13 Imported by: 0

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 8f5fa2fa080ee2a1206a4f6749963d98a297611dfb1fa050514dccb7f92da116

Code generated by fastssz. DO NOT EDIT. Hash: 8e2d0dda73eccd7623eb97af984b6e665f4f121bdef0a35390f2afd2ff34259c Version: 0.1.3-dev

Code generated by fastssz. DO NOT EDIT. Hash: 8e2d0dda73eccd7623eb97af984b6e665f4f121bdef0a35390f2afd2ff34259c Version: 0.1.3-dev

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderBid

type BuilderBid struct {
	Header *bellatrix.ExecutionPayloadHeader
	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          *v1.BidTrace
	ExecutionPayload *bellatrix.ExecutionPayload
	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