electra

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsolidationRequests

type ConsolidationRequests struct {
	ConsolidationRequests []*electra.ConsolidationRequest `ssz-max:"1"`
}

ConsolidationRequests provides information about consolidation requests.

func (*ConsolidationRequests) HashTreeRoot

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

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

func (*ConsolidationRequests) HashTreeRootWith

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

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

func (*ConsolidationRequests) MarshalSSZ

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

MarshalSSZ marshals the *ConsolidationRequests to SSZ-encoded bytes.

func (*ConsolidationRequests) MarshalSSZTo

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

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

func (*ConsolidationRequests) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *ConsolidationRequests.

func (*ConsolidationRequests) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *ConsolidationRequests from SSZ-encoded bytes.

type DepositRequests

type DepositRequests struct {
	DepositRequests []*electra.DepositRequest `ssz-max:"8192"`
}

DepositRequests provides information about deposit requests.

func (*DepositRequests) HashTreeRoot

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

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

func (*DepositRequests) HashTreeRootWith

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

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

func (*DepositRequests) MarshalSSZ

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

MarshalSSZ marshals the *DepositRequests to SSZ-encoded bytes.

func (*DepositRequests) MarshalSSZTo

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

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

func (*DepositRequests) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *DepositRequests.

func (*DepositRequests) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *DepositRequests from SSZ-encoded bytes.

type WithdrawalRequests

type WithdrawalRequests struct {
	WithdrawalRequests []*electra.WithdrawalRequest `ssz-max:"16"`
}

WithdrawalRequests provides information about execution layer withdrawal requests.

func (*WithdrawalRequests) HashTreeRoot

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

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

func (*WithdrawalRequests) HashTreeRootWith

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

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

func (*WithdrawalRequests) MarshalSSZ

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

MarshalSSZ marshals the *WithdrawalRequests to SSZ-encoded bytes.

func (*WithdrawalRequests) MarshalSSZTo

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

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

func (*WithdrawalRequests) SizeSSZ

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

SizeSSZ returns the SSZ encoded size of the *WithdrawalRequests.

func (*WithdrawalRequests) UnmarshalSSZ

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

UnmarshalSSZ unmarshals the *WithdrawalRequests from SSZ-encoded bytes.

Jump to

Keyboard shortcuts

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