bellatrix

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

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

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 added in v0.1.9

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

GetTree ssz hashes the BuilderBid object

func (*BuilderBid) HashTreeRoot added in v0.1.9

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

HashTreeRoot ssz hashes the BuilderBid object

func (*BuilderBid) HashTreeRootWith added in v0.1.9

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 added in v0.1.9

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

MarshalSSZ ssz marshals the BuilderBid object

func (*BuilderBid) MarshalSSZTo added in v0.1.9

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 added in v0.1.9

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 added in v0.1.9

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

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

MarshalJSON implements json.Marshaler.

func (*SignedBuilderBid) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

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

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