v1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BidTrace added in v0.2.0

type BidTrace struct {
	Slot                 phase0.Slot
	ParentHash           phase0.Hash32
	BlockHash            phase0.Hash32
	BuilderPubkey        phase0.BLSPubKey
	ProposerPubkey       phase0.BLSPubKey
	ProposerFeeRecipient bellatrix.ExecutionAddress
	GasLimit             uint64
	GasUsed              uint64
	Value                *big.Int
}

BidTrace represents a bid trace.

func (*BidTrace) MarshalJSON added in v0.2.0

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

MarshalJSON implements json.Marshaler.

func (*BidTrace) String added in v0.2.0

func (b *BidTrace) String() string

String returns a string version of the structure.

func (*BidTrace) UnmarshalJSON added in v0.2.0

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

UnmarshalJSON implements json.Unmarshaler.

type BidTraceWithTimestamp added in v0.2.0

type BidTraceWithTimestamp struct {
	Slot                 phase0.Slot
	ParentHash           phase0.Hash32
	BlockHash            phase0.Hash32
	BuilderPubkey        phase0.BLSPubKey
	ProposerPubkey       phase0.BLSPubKey
	ProposerFeeRecipient bellatrix.ExecutionAddress
	GasLimit             uint64
	GasUsed              uint64
	Value                *big.Int
	Timestamp            time.Time
}

BidTraceWithTimestamp represents a bid trace with a timestamp.

func (*BidTraceWithTimestamp) MarshalJSON added in v0.2.0

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

MarshalJSON implements json.Marshaler.

func (*BidTraceWithTimestamp) String added in v0.2.0

func (b *BidTraceWithTimestamp) String() string

String returns a string version of the structure.

func (*BidTraceWithTimestamp) UnmarshalJSON added in v0.2.0

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

UnmarshalJSON implements json.Unmarshaler.

type QueuedProposer

type QueuedProposer struct {
	Slot  phase0.Slot
	Entry *v1.SignedValidatorRegistration
}

QueuedProposer represents a queued proposer.

func (*QueuedProposer) MarshalJSON

func (q *QueuedProposer) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*QueuedProposer) String

func (q *QueuedProposer) String() string

String returns a string version of the structure.

func (*QueuedProposer) UnmarshalJSON

func (q *QueuedProposer) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL