gloas

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconBlock

type BeaconBlock struct {
	Slot          phase0.Slot
	ProposerIndex phase0.ValidatorIndex
	ParentRoot    phase0.Root `ssz-size:"32"`
	StateRoot     phase0.Root `ssz-size:"32"`
	Body          *BeaconBlockBody
}

BeaconBlock represents a beacon block for EIP-7732.

func (*BeaconBlock) HashTreeRoot

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

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

func (*BeaconBlock) HashTreeRootWith

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

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

func (*BeaconBlock) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BeaconBlock) MarshalSSZ

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

MarshalSSZ marshals the *BeaconBlock to SSZ-encoded bytes.

func (*BeaconBlock) MarshalSSZTo

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

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

func (*BeaconBlock) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BeaconBlock) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *BeaconBlock.

func (*BeaconBlock) String

func (b *BeaconBlock) String() string

String returns a string version of the structure.

func (*BeaconBlock) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*BeaconBlock) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *BeaconBlock from SSZ-encoded bytes.

func (*BeaconBlock) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type BeaconBlockBody

type BeaconBlockBody struct {
	RANDAOReveal              phase0.BLSSignature `ssz-size:"96"`
	ETH1Data                  *phase0.ETH1Data
	Graffiti                  [32]byte                      `ssz-size:"32"`
	ProposerSlashings         []*phase0.ProposerSlashing    `dynssz-max:"MAX_PROPOSER_SLASHINGS"         ssz-max:"16"`
	AttesterSlashings         []*electra.AttesterSlashing   `dynssz-max:"MAX_ATTESTER_SLASHINGS_ELECTRA" ssz-max:"1"`
	Attestations              []*electra.Attestation        `dynssz-max:"MAX_ATTESTATIONS_ELECTRA"       ssz-max:"8"`
	Deposits                  []*phase0.Deposit             `dynssz-max:"MAX_DEPOSITS"                   ssz-max:"16"`
	VoluntaryExits            []*phase0.SignedVoluntaryExit `dynssz-max:"MAX_VOLUNTARY_EXITS"            ssz-max:"16"`
	SyncAggregate             *altair.SyncAggregate
	BLSToExecutionChanges     []*capella.SignedBLSToExecutionChange `dynssz-max:"MAX_BLS_TO_EXECUTION_CHANGES" ssz-max:"16"`
	SignedExecutionPayloadBid *SignedExecutionPayloadBid
	PayloadAttestations       []*PayloadAttestation `dynssz-max:"MAX_PAYLOAD_ATTESTATIONS" ssz-max:"4"`
	ParentExecutionRequests   *electra.ExecutionRequests
}

BeaconBlockBody represents the body of a beacon block for EIP-7732.

func (*BeaconBlockBody) HashTreeRoot

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

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

func (*BeaconBlockBody) HashTreeRootWith

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

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

func (*BeaconBlockBody) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BeaconBlockBody) MarshalSSZ

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

MarshalSSZ marshals the *BeaconBlockBody to SSZ-encoded bytes.

func (*BeaconBlockBody) MarshalSSZTo

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

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

func (*BeaconBlockBody) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BeaconBlockBody) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *BeaconBlockBody.

func (*BeaconBlockBody) String

func (b *BeaconBlockBody) String() string

String returns a string version of the structure.

func (*BeaconBlockBody) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*BeaconBlockBody) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *BeaconBlockBody from SSZ-encoded bytes.

func (*BeaconBlockBody) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type BeaconState

type BeaconState struct {
	GenesisTime                   uint64
	GenesisValidatorsRoot         phase0.Root `ssz-size:"32"`
	Slot                          phase0.Slot
	Fork                          *phase0.Fork
	LatestBlockHeader             *phase0.BeaconBlockHeader
	BlockRoots                    []phase0.Root `dynssz-size:"SLOTS_PER_HISTORICAL_ROOT,32" ssz-size:"8192,32"`
	StateRoots                    []phase0.Root `dynssz-size:"SLOTS_PER_HISTORICAL_ROOT,32" ssz-size:"8192,32"`
	HistoricalRoots               []phase0.Root `ssz-max:"16777216"                         ssz-size:"?,32"`
	ETH1Data                      *phase0.ETH1Data
	ETH1DataVotes                 []*phase0.ETH1Data `ssz-max:"2048"`
	ETH1DepositIndex              uint64
	Validators                    []*phase0.Validator         `ssz-max:"1099511627776"`
	Balances                      []phase0.Gwei               `ssz-max:"1099511627776"`
	RANDAOMixes                   []phase0.Root               `dynssz-size:"EPOCHS_PER_HISTORICAL_VECTOR,32" ssz-size:"65536,32"`
	Slashings                     []phase0.Gwei               `dynssz-size:"EPOCHS_PER_SLASHINGS_VECTOR"     ssz-size:"8192"`
	PreviousEpochParticipation    []altair.ParticipationFlags `ssz-max:"1099511627776"`
	CurrentEpochParticipation     []altair.ParticipationFlags `ssz-max:"1099511627776"`
	JustificationBits             bitfield.Bitvector4         `ssz-size:"1"`
	PreviousJustifiedCheckpoint   *phase0.Checkpoint
	CurrentJustifiedCheckpoint    *phase0.Checkpoint
	FinalizedCheckpoint           *phase0.Checkpoint
	InactivityScores              []uint64 `ssz-max:"1099511627776"`
	CurrentSyncCommittee          *altair.SyncCommittee
	NextSyncCommittee             *altair.SyncCommittee
	LatestBlockHash               phase0.Hash32 `ssz-size:"32"`
	NextWithdrawalIndex           capella.WithdrawalIndex
	NextWithdrawalValidatorIndex  phase0.ValidatorIndex
	HistoricalSummaries           []*capella.HistoricalSummary `ssz-max:"16777216"`
	DepositRequestsStartIndex     uint64
	DepositBalanceToConsume       phase0.Gwei
	ExitBalanceToConsume          phase0.Gwei
	EarliestExitEpoch             phase0.Epoch
	ConsolidationBalanceToConsume phase0.Gwei
	EarliestConsolidationEpoch    phase0.Epoch
	PendingDeposits               []*electra.PendingDeposit           `ssz-max:"134217728"`
	PendingPartialWithdrawals     []*electra.PendingPartialWithdrawal `ssz-max:"134217728"`
	PendingConsolidations         []*electra.PendingConsolidation     `ssz-max:"262144"`
	ProposerLookahead             []phase0.ValidatorIndex             `dynssz-size:"(MIN_SEED_LOOKAHEAD+1)*SLOTS_PER_EPOCH" ssz-size:"64"`
	Builders                      []*Builder                          `dynssz-max:"BUILDER_REGISTRY_LIMIT"                  ssz-max:"1099511627776"`
	NextWithdrawalBuilderIndex    BuilderIndex
	ExecutionPayloadAvailability  []uint8                     `dynssz-size:"SLOTS_PER_HISTORICAL_ROOT/8"      ssz-size:"1024"`
	BuilderPendingPayments        []*BuilderPendingPayment    `dynssz-size:"SLOTS_PER_EPOCH*2"                ssz-size:"64"`
	BuilderPendingWithdrawals     []*BuilderPendingWithdrawal `dynssz-max:"BUILDER_PENDING_WITHDRAWALS_LIMIT" ssz-max:"1048576"`
	LatestExecutionPayloadBid     *ExecutionPayloadBid
	PayloadExpectedWithdrawals    []*capella.Withdrawal     `dynssz-max:"MAX_WITHDRAWALS_PER_PAYLOAD"                      ssz-max:"16"`
	PTCWindow                     [][]phase0.ValidatorIndex `dynssz-size:"(2+MIN_SEED_LOOKAHEAD)*SLOTS_PER_EPOCH,PTC_SIZE" ssz-size:"96,512"`
}

BeaconState represents a beacon state for EIP-7732.

func (*BeaconState) HashTreeRoot

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

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

func (*BeaconState) HashTreeRootWith

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

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

func (*BeaconState) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*BeaconState) MarshalSSZ

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

MarshalSSZ marshals the *BeaconState to SSZ-encoded bytes.

func (*BeaconState) MarshalSSZTo

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

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

func (*BeaconState) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*BeaconState) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *BeaconState.

func (*BeaconState) String

func (b *BeaconState) String() string

String returns a string version of the structure.

func (*BeaconState) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*BeaconState) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *BeaconState from SSZ-encoded bytes.

func (*BeaconState) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type BlockAccessList added in v0.1.0

type BlockAccessList []byte

BlockAccessList is the RLP-encoded block access list (EIP-7928).

type Builder

type Builder struct {
	PublicKey         phase0.BLSPubKey `ssz-size:"48"`
	Version           uint8
	ExecutionAddress  bellatrix.ExecutionAddress `ssz-size:"20"`
	Balance           phase0.Gwei
	DepositEpoch      phase0.Epoch
	WithdrawableEpoch phase0.Epoch
}

Builder is the Ethereum 2 builder structure.

func (*Builder) HashTreeRoot

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

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

func (*Builder) HashTreeRootWith

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

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

func (*Builder) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*Builder) MarshalSSZ

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

MarshalSSZ marshals the *Builder to SSZ-encoded bytes.

func (*Builder) MarshalSSZTo

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

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

func (*Builder) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*Builder) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *Builder.

func (*Builder) String

func (v *Builder) String() string

String returns a string version of the structure.

func (*Builder) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*Builder) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *Builder from SSZ-encoded bytes.

func (*Builder) UnmarshalYAML

func (v *Builder) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type BuilderIndex

type BuilderIndex uint64

BuilderIndex is the index of the builder.

func (BuilderIndex) MarshalJSON

func (v BuilderIndex) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*BuilderIndex) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

type BuilderPendingPayment

type BuilderPendingPayment struct {
	Weight     phase0.Gwei
	Withdrawal *BuilderPendingWithdrawal
}

BuilderPendingPayment represents a builder pending payment.

func (*BuilderPendingPayment) HashTreeRoot

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

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

func (*BuilderPendingPayment) HashTreeRootWith

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

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

func (*BuilderPendingPayment) MarshalSSZ

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

MarshalSSZ marshals the *BuilderPendingPayment to SSZ-encoded bytes.

func (*BuilderPendingPayment) MarshalSSZTo

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

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

func (*BuilderPendingPayment) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *BuilderPendingPayment.

func (*BuilderPendingPayment) String

func (p *BuilderPendingPayment) String() string

String returns a string version of the structure.

func (*BuilderPendingPayment) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *BuilderPendingPayment from SSZ-encoded bytes.

type BuilderPendingWithdrawal

type BuilderPendingWithdrawal struct {
	FeeRecipient bellatrix.ExecutionAddress `ssz-size:"20"`
	Amount       phase0.Gwei
	BuilderIndex BuilderIndex
}

BuilderPendingWithdrawal represents a builder pending withdrawal.

func (*BuilderPendingWithdrawal) HashTreeRoot

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

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

func (*BuilderPendingWithdrawal) HashTreeRootWith

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

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

func (*BuilderPendingWithdrawal) MarshalSSZ

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

MarshalSSZ marshals the *BuilderPendingWithdrawal to SSZ-encoded bytes.

func (*BuilderPendingWithdrawal) MarshalSSZTo

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

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

func (*BuilderPendingWithdrawal) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *BuilderPendingWithdrawal.

func (*BuilderPendingWithdrawal) String

func (p *BuilderPendingWithdrawal) String() string

String returns a string version of the structure.

func (*BuilderPendingWithdrawal) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *BuilderPendingWithdrawal from SSZ-encoded bytes.

type ExecutionPayload added in v0.1.0

type ExecutionPayload struct {
	ParentHash      phase0.Hash32              `ssz-size:"32"`
	FeeRecipient    bellatrix.ExecutionAddress `ssz-size:"20"`
	StateRoot       phase0.Root                `ssz-size:"32"`
	ReceiptsRoot    phase0.Root                `ssz-size:"32"`
	LogsBloom       [256]byte                  `ssz-size:"256"`
	PrevRandao      [32]byte                   `ssz-size:"32"`
	BlockNumber     uint64
	GasLimit        uint64
	GasUsed         uint64
	Timestamp       uint64
	ExtraData       []byte                  `dynssz-max:"MAX_EXTRA_DATA_BYTES"                                   ssz-max:"32"`
	BaseFeePerGas   *uint256.Int            `ssz-type:"uint256"`
	BlockHash       phase0.Hash32           `ssz-size:"32"`
	Transactions    []bellatrix.Transaction `dynssz-max:"MAX_TRANSACTIONS_PER_PAYLOAD,MAX_BYTES_PER_TRANSACTION" ssz-max:"1048576,1073741824" ssz-size:"?,?"`
	Withdrawals     []*capella.Withdrawal   `dynssz-max:"MAX_WITHDRAWALS_PER_PAYLOAD"                            ssz-max:"16"`
	BlobGasUsed     uint64
	ExcessBlobGas   uint64
	BlockAccessList BlockAccessList `dynssz-max:"MAX_BYTES_PER_TRANSACTION" ssz-max:"1073741824"`
	SlotNumber      uint64
}

ExecutionPayload represents an execution layer payload.

func (*ExecutionPayload) HashTreeRoot added in v0.1.0

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

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

func (*ExecutionPayload) HashTreeRootWith added in v0.1.0

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

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

func (*ExecutionPayload) MarshalJSON added in v0.1.0

func (e *ExecutionPayload) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*ExecutionPayload) MarshalSSZ added in v0.1.0

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

MarshalSSZ marshals the *ExecutionPayload to SSZ-encoded bytes.

func (*ExecutionPayload) MarshalSSZTo added in v0.1.0

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

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

func (*ExecutionPayload) MarshalYAML added in v0.1.0

func (e *ExecutionPayload) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*ExecutionPayload) SizeSSZ added in v0.1.0

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

SizeSSZ returns the SSZ encoded size of the *ExecutionPayload.

func (*ExecutionPayload) String added in v0.1.0

func (e *ExecutionPayload) String() string

String returns a string version of the structure.

func (*ExecutionPayload) UnmarshalJSON added in v0.1.0

func (e *ExecutionPayload) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*ExecutionPayload) UnmarshalSSZ added in v0.1.0

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

UnmarshalSSZ unmarshals the *ExecutionPayload from SSZ-encoded bytes.

func (*ExecutionPayload) UnmarshalYAML added in v0.1.0

func (e *ExecutionPayload) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type ExecutionPayloadBid

type ExecutionPayloadBid struct {
	ParentBlockHash       phase0.Hash32              `ssz-size:"32"`
	ParentBlockRoot       phase0.Root                `ssz-size:"32"`
	BlockHash             phase0.Hash32              `ssz-size:"32"`
	PrevRandao            phase0.Root                `ssz-size:"32"`
	FeeRecipient          bellatrix.ExecutionAddress `ssz-size:"20"`
	GasLimit              uint64
	BuilderIndex          BuilderIndex
	Slot                  phase0.Slot
	Value                 phase0.Gwei
	ExecutionPayment      phase0.Gwei
	BlobKZGCommitments    []deneb.KZGCommitment `dynssz-max:"MAX_BLOB_COMMITMENTS_PER_BLOCK" ssz-max:"4096" ssz-size:"?,48"`
	ExecutionRequestsRoot phase0.Root           `ssz-size:"32"`
}

ExecutionPayloadBid represents an execution payload bid for EIP-7732.

func (*ExecutionPayloadBid) HashTreeRoot

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

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

func (*ExecutionPayloadBid) HashTreeRootWith

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

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

func (*ExecutionPayloadBid) MarshalJSON

func (e *ExecutionPayloadBid) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*ExecutionPayloadBid) MarshalSSZ

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

MarshalSSZ marshals the *ExecutionPayloadBid to SSZ-encoded bytes.

func (*ExecutionPayloadBid) MarshalSSZTo

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

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

func (*ExecutionPayloadBid) MarshalYAML

func (e *ExecutionPayloadBid) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*ExecutionPayloadBid) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *ExecutionPayloadBid.

func (*ExecutionPayloadBid) String

func (e *ExecutionPayloadBid) String() string

String returns a string version of the structure.

func (*ExecutionPayloadBid) UnmarshalJSON

func (e *ExecutionPayloadBid) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*ExecutionPayloadBid) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *ExecutionPayloadBid from SSZ-encoded bytes.

func (*ExecutionPayloadBid) UnmarshalYAML

func (e *ExecutionPayloadBid) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type ExecutionPayloadEnvelope

type ExecutionPayloadEnvelope struct {
	Payload               *ExecutionPayload
	ExecutionRequests     *electra.ExecutionRequests
	BuilderIndex          BuilderIndex
	BeaconBlockRoot       phase0.Root `ssz-size:"32"`
	ParentBeaconBlockRoot phase0.Root `ssz-size:"32"`
}

ExecutionPayloadEnvelope represents an execution payload envelope.

func (*ExecutionPayloadEnvelope) HashTreeRoot

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

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

func (*ExecutionPayloadEnvelope) HashTreeRootWith

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

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

func (*ExecutionPayloadEnvelope) MarshalJSON

func (e *ExecutionPayloadEnvelope) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*ExecutionPayloadEnvelope) MarshalSSZ

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

MarshalSSZ marshals the *ExecutionPayloadEnvelope to SSZ-encoded bytes.

func (*ExecutionPayloadEnvelope) MarshalSSZTo

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

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

func (*ExecutionPayloadEnvelope) MarshalYAML

func (e *ExecutionPayloadEnvelope) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*ExecutionPayloadEnvelope) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *ExecutionPayloadEnvelope.

func (*ExecutionPayloadEnvelope) String

func (e *ExecutionPayloadEnvelope) String() string

String returns a string version of the structure.

func (*ExecutionPayloadEnvelope) UnmarshalJSON

func (e *ExecutionPayloadEnvelope) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*ExecutionPayloadEnvelope) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *ExecutionPayloadEnvelope from SSZ-encoded bytes.

func (*ExecutionPayloadEnvelope) UnmarshalYAML

func (e *ExecutionPayloadEnvelope) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type IndexedPayloadAttestation

type IndexedPayloadAttestation struct {
	AttestingIndices []phase0.ValidatorIndex `dynssz-max:"PTC_SIZE" ssz-max:"512"`
	Data             *PayloadAttestationData
	Signature        phase0.BLSSignature `ssz-size:"96"`
}

IndexedPayloadAttestation represents an indexed payload attestation.

func (*IndexedPayloadAttestation) HashTreeRoot

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

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

func (*IndexedPayloadAttestation) HashTreeRootWith

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

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

func (*IndexedPayloadAttestation) MarshalJSON

func (i *IndexedPayloadAttestation) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*IndexedPayloadAttestation) MarshalSSZ

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

MarshalSSZ marshals the *IndexedPayloadAttestation to SSZ-encoded bytes.

func (*IndexedPayloadAttestation) MarshalSSZTo

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

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

func (*IndexedPayloadAttestation) MarshalYAML

func (i *IndexedPayloadAttestation) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*IndexedPayloadAttestation) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *IndexedPayloadAttestation.

func (*IndexedPayloadAttestation) String

func (i *IndexedPayloadAttestation) String() string

String returns a string version of the structure.

func (*IndexedPayloadAttestation) UnmarshalJSON

func (i *IndexedPayloadAttestation) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*IndexedPayloadAttestation) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *IndexedPayloadAttestation from SSZ-encoded bytes.

func (*IndexedPayloadAttestation) UnmarshalYAML

func (i *IndexedPayloadAttestation) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type PayloadAttestation

type PayloadAttestation struct {
	AggregationBits bitfield.Bitvector512 `dynssz-size:"PTC_SIZE/8" ssz-size:"64"`
	Data            *PayloadAttestationData
	Signature       phase0.BLSSignature `ssz-size:"96"`
}

PayloadAttestation represents a payload attestation.

func (*PayloadAttestation) HashTreeRoot

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

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

func (*PayloadAttestation) HashTreeRootWith

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

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

func (*PayloadAttestation) MarshalJSON

func (p *PayloadAttestation) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*PayloadAttestation) MarshalSSZ

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

MarshalSSZ marshals the *PayloadAttestation to SSZ-encoded bytes.

func (*PayloadAttestation) MarshalSSZTo

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

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

func (*PayloadAttestation) MarshalYAML

func (p *PayloadAttestation) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*PayloadAttestation) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *PayloadAttestation.

func (*PayloadAttestation) String

func (p *PayloadAttestation) String() string

String returns a string version of the structure.

func (*PayloadAttestation) UnmarshalJSON

func (p *PayloadAttestation) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*PayloadAttestation) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *PayloadAttestation from SSZ-encoded bytes.

func (*PayloadAttestation) UnmarshalYAML

func (p *PayloadAttestation) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type PayloadAttestationData

type PayloadAttestationData struct {
	BeaconBlockRoot   phase0.Root `ssz-size:"32"`
	Slot              phase0.Slot
	PayloadPresent    bool
	BlobDataAvailable bool
}

PayloadAttestationData represents payload attestation data.

func (*PayloadAttestationData) HashTreeRoot

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

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

func (*PayloadAttestationData) HashTreeRootWith

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

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

func (*PayloadAttestationData) MarshalJSON

func (p *PayloadAttestationData) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*PayloadAttestationData) MarshalSSZ

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

MarshalSSZ marshals the *PayloadAttestationData to SSZ-encoded bytes.

func (*PayloadAttestationData) MarshalSSZTo

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

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

func (*PayloadAttestationData) MarshalYAML

func (p *PayloadAttestationData) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*PayloadAttestationData) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *PayloadAttestationData.

func (*PayloadAttestationData) String

func (p *PayloadAttestationData) String() string

String returns a string version of the structure.

func (*PayloadAttestationData) UnmarshalJSON

func (p *PayloadAttestationData) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*PayloadAttestationData) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *PayloadAttestationData from SSZ-encoded bytes.

func (*PayloadAttestationData) UnmarshalYAML

func (p *PayloadAttestationData) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type PayloadAttestationMessage

type PayloadAttestationMessage struct {
	ValidatorIndex phase0.ValidatorIndex
	Data           *PayloadAttestationData
	Signature      phase0.BLSSignature `ssz-size:"96"`
}

PayloadAttestationMessage represents a payload attestation message.

func (*PayloadAttestationMessage) HashTreeRoot

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

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

func (*PayloadAttestationMessage) HashTreeRootWith

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

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

func (*PayloadAttestationMessage) MarshalJSON

func (p *PayloadAttestationMessage) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*PayloadAttestationMessage) MarshalSSZ

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

MarshalSSZ marshals the *PayloadAttestationMessage to SSZ-encoded bytes.

func (*PayloadAttestationMessage) MarshalSSZTo

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

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

func (*PayloadAttestationMessage) MarshalYAML

func (p *PayloadAttestationMessage) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*PayloadAttestationMessage) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *PayloadAttestationMessage.

func (*PayloadAttestationMessage) String

func (p *PayloadAttestationMessage) String() string

String returns a string version of the structure.

func (*PayloadAttestationMessage) UnmarshalJSON

func (p *PayloadAttestationMessage) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*PayloadAttestationMessage) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *PayloadAttestationMessage from SSZ-encoded bytes.

func (*PayloadAttestationMessage) UnmarshalYAML

func (p *PayloadAttestationMessage) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type ProposerPreferences

type ProposerPreferences struct {
	DependentRoot  phase0.Root `ssz-size:"32"`
	ProposalSlot   phase0.Slot
	ValidatorIndex phase0.ValidatorIndex
	FeeRecipient   bellatrix.ExecutionAddress `ssz-size:"20"`
	GasLimit       uint64
}

ProposerPreferences represents a proposer's preferences for execution payload construction.

func (*ProposerPreferences) HashTreeRoot

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

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

func (*ProposerPreferences) HashTreeRootWith

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

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

func (*ProposerPreferences) MarshalJSON

func (p *ProposerPreferences) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*ProposerPreferences) MarshalSSZ

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

MarshalSSZ marshals the *ProposerPreferences to SSZ-encoded bytes.

func (*ProposerPreferences) MarshalSSZTo

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

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

func (*ProposerPreferences) MarshalYAML

func (p *ProposerPreferences) MarshalYAML() ([]byte, error)

MarshalYAML implements yaml.Marshaler.

func (*ProposerPreferences) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *ProposerPreferences.

func (*ProposerPreferences) String

func (p *ProposerPreferences) String() string

String returns a string version of the structure.

func (*ProposerPreferences) UnmarshalJSON

func (p *ProposerPreferences) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*ProposerPreferences) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *ProposerPreferences from SSZ-encoded bytes.

func (*ProposerPreferences) UnmarshalYAML

func (p *ProposerPreferences) UnmarshalYAML(input []byte) error

UnmarshalYAML implements yaml.Unmarshaler.

type SignedBeaconBlock

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

SignedBeaconBlock is a signed beacon block.

func (*SignedBeaconBlock) HashTreeRoot

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

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

func (*SignedBeaconBlock) HashTreeRootWith

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

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

func (*SignedBeaconBlock) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SignedBeaconBlock) MarshalSSZ

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

MarshalSSZ marshals the *SignedBeaconBlock to SSZ-encoded bytes.

func (*SignedBeaconBlock) MarshalSSZTo

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

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

func (*SignedBeaconBlock) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SignedBeaconBlock) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *SignedBeaconBlock.

func (*SignedBeaconBlock) String

func (s *SignedBeaconBlock) String() string

String returns a string version of the structure.

func (*SignedBeaconBlock) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*SignedBeaconBlock) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *SignedBeaconBlock from SSZ-encoded bytes.

func (*SignedBeaconBlock) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type SignedExecutionPayloadBid

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

SignedExecutionPayloadBid represents a signed execution payload bid.

func (*SignedExecutionPayloadBid) HashTreeRoot

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

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

func (*SignedExecutionPayloadBid) HashTreeRootWith

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

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

func (*SignedExecutionPayloadBid) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SignedExecutionPayloadBid) MarshalSSZ

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

MarshalSSZ marshals the *SignedExecutionPayloadBid to SSZ-encoded bytes.

func (*SignedExecutionPayloadBid) MarshalSSZTo

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

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

func (*SignedExecutionPayloadBid) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SignedExecutionPayloadBid) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *SignedExecutionPayloadBid.

func (*SignedExecutionPayloadBid) String

func (s *SignedExecutionPayloadBid) String() string

String returns a string version of the structure.

func (*SignedExecutionPayloadBid) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*SignedExecutionPayloadBid) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *SignedExecutionPayloadBid from SSZ-encoded bytes.

func (*SignedExecutionPayloadBid) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type SignedExecutionPayloadEnvelope

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

SignedExecutionPayloadEnvelope represents a signed execution payload envelope.

func (*SignedExecutionPayloadEnvelope) HashTreeRoot

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

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

func (*SignedExecutionPayloadEnvelope) HashTreeRootWith

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

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

func (*SignedExecutionPayloadEnvelope) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SignedExecutionPayloadEnvelope) MarshalSSZ

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

MarshalSSZ marshals the *SignedExecutionPayloadEnvelope to SSZ-encoded bytes.

func (*SignedExecutionPayloadEnvelope) MarshalSSZTo

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

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

func (*SignedExecutionPayloadEnvelope) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SignedExecutionPayloadEnvelope) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *SignedExecutionPayloadEnvelope.

func (*SignedExecutionPayloadEnvelope) String

String returns a string version of the structure.

func (*SignedExecutionPayloadEnvelope) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*SignedExecutionPayloadEnvelope) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *SignedExecutionPayloadEnvelope from SSZ-encoded bytes.

func (*SignedExecutionPayloadEnvelope) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

type SignedProposerPreferences

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

SignedProposerPreferences represents a signed proposer preferences message.

func (*SignedProposerPreferences) HashTreeRoot

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

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

func (*SignedProposerPreferences) HashTreeRootWith

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

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

func (*SignedProposerPreferences) MarshalJSON

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

MarshalJSON implements json.Marshaler.

func (*SignedProposerPreferences) MarshalSSZ

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

MarshalSSZ marshals the *SignedProposerPreferences to SSZ-encoded bytes.

func (*SignedProposerPreferences) MarshalSSZTo

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

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

func (*SignedProposerPreferences) MarshalYAML

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

MarshalYAML implements yaml.Marshaler.

func (*SignedProposerPreferences) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *SignedProposerPreferences.

func (*SignedProposerPreferences) String

func (s *SignedProposerPreferences) String() string

String returns a string version of the structure.

func (*SignedProposerPreferences) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

func (*SignedProposerPreferences) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *SignedProposerPreferences from SSZ-encoded bytes.

func (*SignedProposerPreferences) UnmarshalYAML

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

UnmarshalYAML implements yaml.Unmarshaler.

Source Files

Jump to

Keyboard shortcuts

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