v1

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: 36

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 1eed35bb8d76ae3a78592df3216cb4344ddd9ebaeb8d0595dbfcbda96704360d Version: 0.1.3-dev

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

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

Code generated by dynamic-ssz. DO NOT EDIT. Hash: fe7300cc935e7099975f5dabed678cb63601bcce1c5a306259f0ea63f892d8a1 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 BidTrace added in v0.2.7

type BidTrace struct {
	Slot                 uint64
	ParentHash           phase0.Hash32              `ssz-size:"32"`
	BlockHash            phase0.Hash32              `ssz-size:"32"`
	BuilderPubkey        phase0.BLSPubKey           `ssz-size:"48"`
	ProposerPubkey       phase0.BLSPubKey           `ssz-size:"48"`
	ProposerFeeRecipient bellatrix.ExecutionAddress `ssz-size:"20"`
	GasLimit             uint64
	GasUsed              uint64
	Value                *uint256.Int `ssz-size:"32"`
}

BidTrace represents a bid trace.

func (*BidTrace) GetTree added in v0.2.7

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

GetTree ssz hashes the BidTrace object

func (*BidTrace) HashTreeRoot added in v0.2.7

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

HashTreeRoot ssz hashes the BidTrace object

func (*BidTrace) HashTreeRootWith added in v0.2.7

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

HashTreeRootWith ssz hashes the BidTrace object with a hasher

func (*BidTrace) MarshalJSON added in v0.2.7

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

MarshalJSON implements json.Marshaler.

func (*BidTrace) MarshalSSZ added in v0.2.7

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

MarshalSSZ ssz marshals the BidTrace object

func (*BidTrace) MarshalSSZTo added in v0.2.7

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

MarshalSSZTo ssz marshals the BidTrace object to a target array

func (*BidTrace) MarshalYAML added in v0.2.7

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

MarshalYAML implements yaml.Marshaler.

func (*BidTrace) SizeSSZ added in v0.2.7

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

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

func (*BidTrace) String added in v0.2.7

func (b *BidTrace) String() string

String returns the string representation of the bid trace.

func (*BidTrace) UnmarshalJSON added in v0.2.7

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

UnmarshalJSON implements json.Unmarshaler.

func (*BidTrace) UnmarshalSSZ added in v0.2.7

func (b *BidTrace) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BidTrace object

func (*BidTrace) UnmarshalYAML added in v0.2.7

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

UnmarshalYAML implements yaml.Unmarshaler.

type SignedValidatorRegistration

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

SignedValidatorRegistration is a signed ValidatorRegistrationV1.

func (*SignedValidatorRegistration) HashTreeRoot

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

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

func (*SignedValidatorRegistration) HashTreeRootWith

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

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

func (*SignedValidatorRegistration) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SignedValidatorRegistration) MarshalSSZ

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

MarshalSSZ marshals the *SignedValidatorRegistration to SSZ-encoded bytes.

func (*SignedValidatorRegistration) MarshalSSZTo

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

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

func (*SignedValidatorRegistration) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SignedValidatorRegistration) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *SignedValidatorRegistration.

func (*SignedValidatorRegistration) String

func (s *SignedValidatorRegistration) String() string

String returns a string version of the structure.

func (*SignedValidatorRegistration) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*SignedValidatorRegistration) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *SignedValidatorRegistration from SSZ-encoded bytes.

func (*SignedValidatorRegistration) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type SignedValidatorRegistrations added in v0.6.1

type SignedValidatorRegistrations struct {
	Registrations []*SignedValidatorRegistration `json:"registrations" ssz-max:"1099511627776" yaml:"registrations"`
}

SignedValidatorRegistrations represents a list of SignedValidatorRegistration.

func (*SignedValidatorRegistrations) HashTreeRoot added in v0.6.1

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

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

func (*SignedValidatorRegistrations) HashTreeRootWith added in v0.6.1

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

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

func (*SignedValidatorRegistrations) MarshalJSON added in v0.6.1

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

MarshalJSON implements json.Marshaler.

func (*SignedValidatorRegistrations) MarshalSSZ added in v0.6.1

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

MarshalSSZ marshals the *SignedValidatorRegistrations to SSZ-encoded bytes.

func (*SignedValidatorRegistrations) MarshalSSZTo added in v0.6.1

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

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

func (*SignedValidatorRegistrations) MarshalYAML added in v0.6.1

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

MarshalYAML implements yaml.Marshaler.

func (*SignedValidatorRegistrations) SizeSSZ added in v0.6.1

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

SizeSSZ returns the SSZ encoded size of the *SignedValidatorRegistrations.

func (*SignedValidatorRegistrations) String added in v0.6.1

String returns a YAML representation of the list.

func (*SignedValidatorRegistrations) UnmarshalJSON added in v0.6.1

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

UnmarshalJSON implements json.Unmarshaler.

func (*SignedValidatorRegistrations) UnmarshalSSZ added in v0.6.1

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

UnmarshalSSZ unmarshals the *SignedValidatorRegistrations from SSZ-encoded bytes.

func (*SignedValidatorRegistrations) UnmarshalYAML added in v0.6.1

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

UnmarshalYAML implements yaml.Unmarshaler.

type ValidatorRegistration

type ValidatorRegistration struct {
	FeeRecipient bellatrix.ExecutionAddress `ssz-size:"20"`
	GasLimit     uint64
	Timestamp    time.Time
	Pubkey       phase0.BLSPubKey `ssz-size:"48"`
}

ValidatorRegistration represents a ValidatorRegistrationV1.

func (*ValidatorRegistration) HashTreeRoot

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

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

func (*ValidatorRegistration) HashTreeRootWith

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

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

func (*ValidatorRegistration) MarshalJSON

func (v *ValidatorRegistration) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*ValidatorRegistration) MarshalSSZ

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

MarshalSSZ marshals the *ValidatorRegistration to SSZ-encoded bytes.

func (*ValidatorRegistration) MarshalSSZTo

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

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

func (*ValidatorRegistration) MarshalYAML

func (v *ValidatorRegistration) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*ValidatorRegistration) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *ValidatorRegistration.

func (*ValidatorRegistration) String

func (v *ValidatorRegistration) String() string

String returns a string version of the structure.

func (*ValidatorRegistration) UnmarshalJSON

func (v *ValidatorRegistration) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*ValidatorRegistration) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *ValidatorRegistration from SSZ-encoded bytes.

func (*ValidatorRegistration) UnmarshalYAML

func (v *ValidatorRegistration) 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