v1

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

Documentation

Overview

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

Code generated by fastssz. DO NOT EDIT. Hash: de7c757a00365678425f4fc5644ccdb196f2c7a0772f96f7ca9bd4851c42708a

Code generated by fastssz. DO NOT EDIT. Hash: 54daa11e3f97a5a021a2c3e0670047b254116f7cbdd8ea030044ad3f201278bf

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BidTrace

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

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

GetTree ssz hashes the BidTrace object

func (*BidTrace) HashTreeRoot

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

HashTreeRoot ssz hashes the BidTrace object

func (*BidTrace) HashTreeRootWith

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

HashTreeRootWith ssz hashes the BidTrace object with a hasher

func (*BidTrace) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BidTrace) MarshalSSZ

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

MarshalSSZ ssz marshals the BidTrace object

func (*BidTrace) MarshalSSZTo

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

MarshalSSZTo ssz marshals the BidTrace object to a target array

func (*BidTrace) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BidTrace) SizeSSZ

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

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

func (*BidTrace) String

func (b *BidTrace) String() string

String returns the string representation of the bid trace.

func (*BidTrace) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*BidTrace) UnmarshalSSZ

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

UnmarshalSSZ ssz unmarshals the BidTrace object

func (*BidTrace) UnmarshalYAML

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

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

GetTree ssz hashes the SignedValidatorRegistration object

func (*SignedValidatorRegistration) HashTreeRoot

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

HashTreeRoot ssz hashes the SignedValidatorRegistration object

func (*SignedValidatorRegistration) HashTreeRootWith

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

HashTreeRootWith ssz hashes the SignedValidatorRegistration object with a hasher

func (*SignedValidatorRegistration) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SignedValidatorRegistration) MarshalSSZ

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

MarshalSSZ ssz marshals the SignedValidatorRegistration object

func (*SignedValidatorRegistration) MarshalSSZTo

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

MarshalSSZTo ssz marshals the SignedValidatorRegistration object to a target array

func (*SignedValidatorRegistration) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SignedValidatorRegistration) SizeSSZ

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

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

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

UnmarshalSSZ ssz unmarshals the SignedValidatorRegistration object

func (*SignedValidatorRegistration) UnmarshalYAML

func (s *SignedValidatorRegistration) 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) GetTree

func (v *ValidatorRegistration) GetTree() (*ssz.Node, error)

GetTree ssz hashes the ValidatorRegistration object

func (*ValidatorRegistration) HashTreeRoot

func (v *ValidatorRegistration) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ValidatorRegistration object

func (*ValidatorRegistration) HashTreeRootWith

func (v *ValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the ValidatorRegistration object with a hasher

func (*ValidatorRegistration) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*ValidatorRegistration) MarshalSSZ

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

MarshalSSZ ssz marshals the ValidatorRegistration object

func (*ValidatorRegistration) MarshalSSZTo

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

MarshalSSZTo ssz marshals the ValidatorRegistration object to a target array

func (*ValidatorRegistration) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*ValidatorRegistration) SizeSSZ

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

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

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

UnmarshalSSZ ssz unmarshals the ValidatorRegistration object

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