Documentation
¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: 03b5096ab94e41e2c740924a4ae7ea8fdd515fe3dd4861032a569e28bcba8bb4 Version: 0.1.3
Code generated by fastssz. DO NOT EDIT. Hash: 03b5096ab94e41e2c740924a4ae7ea8fdd515fe3dd4861032a569e28bcba8bb4 Version: 0.1.3
Index ¶
- type Attestation
- func (a *Attestation) GetTree() (*ssz.Node, error)
- func (a *Attestation) HashTreeRoot() ([32]byte, error)
- func (a *Attestation) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (a *Attestation) MarshalSSZ() ([]byte, error)
- func (a *Attestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (a *Attestation) SizeSSZ() (size int)
- func (a *Attestation) UnmarshalSSZ(buf []byte) error
- type AttestationData
- func (a *AttestationData) GetTree() (*ssz.Node, error)
- func (a *AttestationData) HashTreeRoot() ([32]byte, error)
- func (a *AttestationData) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (a *AttestationData) MarshalSSZ() ([]byte, error)
- func (a *AttestationData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (a *AttestationData) SizeSSZ() (size int)
- func (a *AttestationData) UnmarshalSSZ(buf []byte) error
- type AttesterSlashing
- func (a *AttesterSlashing) GetTree() (*ssz.Node, error)
- func (a *AttesterSlashing) HashTreeRoot() ([32]byte, error)
- func (a *AttesterSlashing) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (a *AttesterSlashing) MarshalSSZ() ([]byte, error)
- func (a *AttesterSlashing) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (a *AttesterSlashing) SizeSSZ() (size int)
- func (a *AttesterSlashing) UnmarshalSSZ(buf []byte) error
- type BLSToExecutionChange
- func (b *BLSToExecutionChange) GetTree() (*ssz.Node, error)
- func (b *BLSToExecutionChange) HashTreeRoot() ([32]byte, error)
- func (b *BLSToExecutionChange) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BLSToExecutionChange) MarshalSSZ() ([]byte, error)
- func (b *BLSToExecutionChange) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BLSToExecutionChange) SizeSSZ() (size int)
- func (b *BLSToExecutionChange) UnmarshalSSZ(buf []byte) error
- type BeaconBlock
- type BeaconBlockBody
- type BeaconBlockBodyCapellaMainnet
- func (b *BeaconBlockBodyCapellaMainnet) GetTree() (*ssz.Node, error)
- func (b *BeaconBlockBodyCapellaMainnet) HashTreeRoot() ([32]byte, error)
- func (b *BeaconBlockBodyCapellaMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BeaconBlockBodyCapellaMainnet) MarshalSSZ() ([]byte, error)
- func (b *BeaconBlockBodyCapellaMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconBlockBodyCapellaMainnet) SizeSSZ() (size int)
- func (b *BeaconBlockBodyCapellaMainnet) UnmarshalSSZ(buf []byte) error
- type BeaconBlockBodyDenebMainnet
- func (b *BeaconBlockBodyDenebMainnet) GetTree() (*ssz.Node, error)
- func (b *BeaconBlockBodyDenebMainnet) HashTreeRoot() ([32]byte, error)
- func (b *BeaconBlockBodyDenebMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BeaconBlockBodyDenebMainnet) MarshalSSZ() ([]byte, error)
- func (b *BeaconBlockBodyDenebMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconBlockBodyDenebMainnet) SizeSSZ() (size int)
- func (b *BeaconBlockBodyDenebMainnet) UnmarshalSSZ(buf []byte) error
- type BeaconBlockCapellaMainnet
- func (b *BeaconBlockCapellaMainnet) ExecutionPayloadCapella() *ExecutionPayloadCapella
- func (b *BeaconBlockCapellaMainnet) ExecutionPayloadDeneb() *ExecutionPayloadDeneb
- func (b *BeaconBlockCapellaMainnet) GetBeaconSlot() uint64
- func (b *BeaconBlockCapellaMainnet) GetBlockBodyTree() (*ssz.Node, error)
- func (b *BeaconBlockCapellaMainnet) GetTree() (*ssz.Node, error)
- func (b *BeaconBlockCapellaMainnet) HashTreeRoot() ([32]byte, error)
- func (b *BeaconBlockCapellaMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BeaconBlockCapellaMainnet) MarshalSSZ() ([]byte, error)
- func (b *BeaconBlockCapellaMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconBlockCapellaMainnet) SizeSSZ() (size int)
- func (b *BeaconBlockCapellaMainnet) UnmarshalSSZ(buf []byte) error
- type BeaconBlockDenebMainnet
- func (b *BeaconBlockDenebMainnet) ExecutionPayloadCapella() *ExecutionPayloadCapella
- func (b *BeaconBlockDenebMainnet) ExecutionPayloadDeneb() *ExecutionPayloadDeneb
- func (b *BeaconBlockDenebMainnet) GetBeaconSlot() uint64
- func (b *BeaconBlockDenebMainnet) GetBlockBodyTree() (*ssz.Node, error)
- func (b *BeaconBlockDenebMainnet) GetTree() (*ssz.Node, error)
- func (b *BeaconBlockDenebMainnet) HashTreeRoot() ([32]byte, error)
- func (b *BeaconBlockDenebMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BeaconBlockDenebMainnet) MarshalSSZ() ([]byte, error)
- func (b *BeaconBlockDenebMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconBlockDenebMainnet) SizeSSZ() (size int)
- func (b *BeaconBlockDenebMainnet) UnmarshalSSZ(buf []byte) error
- type BeaconBlockHeader
- func (b *BeaconBlockHeader) GetTree() (*ssz.Node, error)
- func (b *BeaconBlockHeader) HashTreeRoot() ([32]byte, error)
- func (b *BeaconBlockHeader) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BeaconBlockHeader) MarshalSSZ() ([]byte, error)
- func (b *BeaconBlockHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconBlockHeader) SizeSSZ() (size int)
- func (b *BeaconBlockHeader) UnmarshalSSZ(buf []byte) error
- type BeaconState
- type BeaconStateCapellaMainnet
- func (b *BeaconStateCapellaMainnet) GetBlockRoots() [][]byte
- func (b *BeaconStateCapellaMainnet) GetCurrentSyncCommittee() *SyncCommittee
- func (b *BeaconStateCapellaMainnet) GetFinalizedCheckpoint() *Checkpoint
- func (b *BeaconStateCapellaMainnet) GetLatestBlockHeader() *BeaconBlockHeader
- func (b *BeaconStateCapellaMainnet) GetNextSyncCommittee() *SyncCommittee
- func (b *BeaconStateCapellaMainnet) GetSlot() uint64
- func (b *BeaconStateCapellaMainnet) GetTree() (*ssz.Node, error)
- func (b *BeaconStateCapellaMainnet) HashTreeRoot() ([32]byte, error)
- func (b *BeaconStateCapellaMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BeaconStateCapellaMainnet) MarshalSSZ() ([]byte, error)
- func (b *BeaconStateCapellaMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconStateCapellaMainnet) SetBlockRoots(blockRoots [][]byte)
- func (b *BeaconStateCapellaMainnet) SizeSSZ() (size int)
- func (b *BeaconStateCapellaMainnet) UnmarshalSSZ(buf []byte) error
- type BeaconStateDenebMainnet
- func (b *BeaconStateDenebMainnet) GetBlockRoots() [][]byte
- func (b *BeaconStateDenebMainnet) GetCurrentSyncCommittee() *SyncCommittee
- func (b *BeaconStateDenebMainnet) GetFinalizedCheckpoint() *Checkpoint
- func (b *BeaconStateDenebMainnet) GetLatestBlockHeader() *BeaconBlockHeader
- func (b *BeaconStateDenebMainnet) GetNextSyncCommittee() *SyncCommittee
- func (b *BeaconStateDenebMainnet) GetSlot() uint64
- func (b *BeaconStateDenebMainnet) GetTree() (*ssz.Node, error)
- func (b *BeaconStateDenebMainnet) HashTreeRoot() ([32]byte, error)
- func (b *BeaconStateDenebMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BeaconStateDenebMainnet) MarshalSSZ() ([]byte, error)
- func (b *BeaconStateDenebMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconStateDenebMainnet) SetBlockRoots(blockRoots [][]byte)
- func (b *BeaconStateDenebMainnet) SizeSSZ() (size int)
- func (b *BeaconStateDenebMainnet) UnmarshalSSZ(buf []byte) error
- type BlockRootsContainer
- type BlockRootsContainerMainnet
- func (b *BlockRootsContainerMainnet) GetTree() (*ssz.Node, error)
- func (b *BlockRootsContainerMainnet) HashTreeRoot() ([32]byte, error)
- func (b *BlockRootsContainerMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BlockRootsContainerMainnet) MarshalSSZ() ([]byte, error)
- func (b *BlockRootsContainerMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BlockRootsContainerMainnet) SetBlockRoots(blockRoots [][]byte)
- func (b *BlockRootsContainerMainnet) SizeSSZ() (size int)
- func (b *BlockRootsContainerMainnet) UnmarshalSSZ(buf []byte) error
- type Checkpoint
- func (c *Checkpoint) GetTree() (*ssz.Node, error)
- func (c *Checkpoint) HashTreeRoot() ([32]byte, error)
- func (c *Checkpoint) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (c *Checkpoint) MarshalSSZ() ([]byte, error)
- func (c *Checkpoint) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (c *Checkpoint) SizeSSZ() (size int)
- func (c *Checkpoint) UnmarshalSSZ(buf []byte) error
- type Deposit
- func (d *Deposit) GetTree() (*ssz.Node, error)
- func (d *Deposit) HashTreeRoot() ([32]byte, error)
- func (d *Deposit) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (d *Deposit) MarshalSSZ() ([]byte, error)
- func (d *Deposit) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (d *Deposit) SizeSSZ() (size int)
- func (d *Deposit) UnmarshalSSZ(buf []byte) error
- type DepositData
- func (d *DepositData) GetTree() (*ssz.Node, error)
- func (d *DepositData) HashTreeRoot() ([32]byte, error)
- func (d *DepositData) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (d *DepositData) MarshalSSZ() ([]byte, error)
- func (d *DepositData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (d *DepositData) SizeSSZ() (size int)
- func (d *DepositData) UnmarshalSSZ(buf []byte) error
- type Eth1Data
- func (e *Eth1Data) GetTree() (*ssz.Node, error)
- func (e *Eth1Data) HashTreeRoot() ([32]byte, error)
- func (e *Eth1Data) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (e *Eth1Data) MarshalSSZ() ([]byte, error)
- func (e *Eth1Data) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *Eth1Data) SizeSSZ() (size int)
- func (e *Eth1Data) UnmarshalSSZ(buf []byte) error
- type ExecutionHeader
- type ExecutionPayloadCapella
- func (e *ExecutionPayloadCapella) GetTree() (*ssz.Node, error)
- func (e *ExecutionPayloadCapella) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadCapella) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (e *ExecutionPayloadCapella) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayloadCapella) SizeSSZ() (size int)
- func (e *ExecutionPayloadCapella) UnmarshalSSZ(buf []byte) error
- type ExecutionPayloadDeneb
- func (e *ExecutionPayloadDeneb) GetTree() (*ssz.Node, error)
- func (e *ExecutionPayloadDeneb) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadDeneb) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (e *ExecutionPayloadDeneb) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadDeneb) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayloadDeneb) SizeSSZ() (size int)
- func (e *ExecutionPayloadDeneb) UnmarshalSSZ(buf []byte) error
- type ExecutionPayloadHeaderCapella
- func (e *ExecutionPayloadHeaderCapella) GetTree() (*ssz.Node, error)
- func (e *ExecutionPayloadHeaderCapella) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadHeaderCapella) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (e *ExecutionPayloadHeaderCapella) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadHeaderCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayloadHeaderCapella) SizeSSZ() (size int)
- func (e *ExecutionPayloadHeaderCapella) UnmarshalSSZ(buf []byte) error
- type ExecutionPayloadHeaderDeneb
- func (e *ExecutionPayloadHeaderDeneb) GetTree() (*ssz.Node, error)
- func (e *ExecutionPayloadHeaderDeneb) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadHeaderDeneb) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (e *ExecutionPayloadHeaderDeneb) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadHeaderDeneb) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayloadHeaderDeneb) SizeSSZ() (size int)
- func (e *ExecutionPayloadHeaderDeneb) UnmarshalSSZ(buf []byte) error
- type FinalizedHeader
- type Fork
- func (f *Fork) GetTree() (*ssz.Node, error)
- func (f *Fork) HashTreeRoot() ([32]byte, error)
- func (f *Fork) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (f *Fork) MarshalSSZ() ([]byte, error)
- func (f *Fork) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (f *Fork) SizeSSZ() (size int)
- func (f *Fork) UnmarshalSSZ(buf []byte) error
- type Hash
- type HistoricalSummary
- func (h *HistoricalSummary) GetTree() (*ssz.Node, error)
- func (h *HistoricalSummary) HashTreeRoot() ([32]byte, error)
- func (h *HistoricalSummary) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (h *HistoricalSummary) MarshalSSZ() ([]byte, error)
- func (h *HistoricalSummary) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (h *HistoricalSummary) SizeSSZ() (size int)
- func (h *HistoricalSummary) UnmarshalSSZ(buf []byte) error
- type IndexedAttestation
- func (i *IndexedAttestation) GetTree() (*ssz.Node, error)
- func (i *IndexedAttestation) HashTreeRoot() ([32]byte, error)
- func (i *IndexedAttestation) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (i *IndexedAttestation) MarshalSSZ() ([]byte, error)
- func (i *IndexedAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *IndexedAttestation) SizeSSZ() (size int)
- func (i *IndexedAttestation) UnmarshalSSZ(buf []byte) error
- type ProposerSlashing
- func (p *ProposerSlashing) GetTree() (*ssz.Node, error)
- func (p *ProposerSlashing) HashTreeRoot() ([32]byte, error)
- func (p *ProposerSlashing) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (p *ProposerSlashing) MarshalSSZ() ([]byte, error)
- func (p *ProposerSlashing) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (p *ProposerSlashing) SizeSSZ() (size int)
- func (p *ProposerSlashing) UnmarshalSSZ(buf []byte) error
- type SignedBLSToExecutionChange
- func (s *SignedBLSToExecutionChange) GetTree() (*ssz.Node, error)
- func (s *SignedBLSToExecutionChange) HashTreeRoot() ([32]byte, error)
- func (s *SignedBLSToExecutionChange) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedBLSToExecutionChange) MarshalSSZ() ([]byte, error)
- func (s *SignedBLSToExecutionChange) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedBLSToExecutionChange) SizeSSZ() (size int)
- func (s *SignedBLSToExecutionChange) UnmarshalSSZ(buf []byte) error
- type SignedBeaconBlockHeader
- func (s *SignedBeaconBlockHeader) GetTree() (*ssz.Node, error)
- func (s *SignedBeaconBlockHeader) HashTreeRoot() ([32]byte, error)
- func (s *SignedBeaconBlockHeader) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedBeaconBlockHeader) MarshalSSZ() ([]byte, error)
- func (s *SignedBeaconBlockHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedBeaconBlockHeader) SizeSSZ() (size int)
- func (s *SignedBeaconBlockHeader) UnmarshalSSZ(buf []byte) error
- type SignedVoluntaryExit
- func (s *SignedVoluntaryExit) GetTree() (*ssz.Node, error)
- func (s *SignedVoluntaryExit) HashTreeRoot() ([32]byte, error)
- func (s *SignedVoluntaryExit) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedVoluntaryExit) MarshalSSZ() ([]byte, error)
- func (s *SignedVoluntaryExit) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedVoluntaryExit) SizeSSZ() (size int)
- func (s *SignedVoluntaryExit) UnmarshalSSZ(buf []byte) error
- type Slot
- type SyncAggregate
- type SyncAggregateMainnet
- func (s *SyncAggregateMainnet) GetSyncAggregateBits() []byte
- func (s *SyncAggregateMainnet) GetSyncAggregateSignature() [96]byte
- func (s *SyncAggregateMainnet) GetTree() (*ssz.Node, error)
- func (s *SyncAggregateMainnet) HashTreeRoot() ([32]byte, error)
- func (s *SyncAggregateMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SyncAggregateMainnet) MarshalSSZ() ([]byte, error)
- func (s *SyncAggregateMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SyncAggregateMainnet) SizeSSZ() (size int)
- func (s *SyncAggregateMainnet) UnmarshalSSZ(buf []byte) error
- type SyncCommittee
- func (s *SyncCommittee) GetTree() (*ssz.Node, error)
- func (s *SyncCommittee) HashTreeRoot() ([32]byte, error)
- func (s *SyncCommittee) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SyncCommittee) MarshalSSZ() ([]byte, error)
- func (s *SyncCommittee) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SyncCommittee) SizeSSZ() (size int)
- func (s *SyncCommittee) UnmarshalSSZ(buf []byte) error
- type TransactionsRootContainer
- func (t *TransactionsRootContainer) GetTree() (*ssz.Node, error)
- func (t *TransactionsRootContainer) HashTreeRoot() ([32]byte, error)
- func (t *TransactionsRootContainer) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (t *TransactionsRootContainer) MarshalSSZ() ([]byte, error)
- func (t *TransactionsRootContainer) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (t *TransactionsRootContainer) SizeSSZ() (size int)
- func (t *TransactionsRootContainer) UnmarshalSSZ(buf []byte) error
- type Validator
- func (v *Validator) GetTree() (*ssz.Node, error)
- func (v *Validator) HashTreeRoot() ([32]byte, error)
- func (v *Validator) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *Validator) MarshalSSZ() ([]byte, error)
- func (v *Validator) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *Validator) SizeSSZ() (size int)
- func (v *Validator) UnmarshalSSZ(buf []byte) error
- type VoluntaryExit
- func (v *VoluntaryExit) GetTree() (*ssz.Node, error)
- func (v *VoluntaryExit) HashTreeRoot() ([32]byte, error)
- func (v *VoluntaryExit) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *VoluntaryExit) MarshalSSZ() ([]byte, error)
- func (v *VoluntaryExit) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *VoluntaryExit) SizeSSZ() (size int)
- func (v *VoluntaryExit) UnmarshalSSZ(buf []byte) error
- type Withdrawal
- func (w *Withdrawal) GetTree() (*ssz.Node, error)
- func (w *Withdrawal) HashTreeRoot() ([32]byte, error)
- func (w *Withdrawal) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (w *Withdrawal) MarshalSSZ() ([]byte, error)
- func (w *Withdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (w *Withdrawal) SizeSSZ() (size int)
- func (w *Withdrawal) UnmarshalSSZ(buf []byte) error
- type WithdrawalsRootContainerMainnet
- func (w *WithdrawalsRootContainerMainnet) GetTree() (*ssz.Node, error)
- func (w *WithdrawalsRootContainerMainnet) HashTreeRoot() ([32]byte, error)
- func (w *WithdrawalsRootContainerMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (w *WithdrawalsRootContainerMainnet) MarshalSSZ() ([]byte, error)
- func (w *WithdrawalsRootContainerMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (w *WithdrawalsRootContainerMainnet) SizeSSZ() (size int)
- func (w *WithdrawalsRootContainerMainnet) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestation ¶
type Attestation struct { AggregationBits []byte `json:"aggregation_bits" ssz:"bitlist" ssz-max:"2048"` Data *AttestationData `json:"data"` Signature [96]byte `json:"signature" ssz-size:"96"` }
func (*Attestation) GetTree ¶
func (a *Attestation) GetTree() (*ssz.Node, error)
GetTree ssz hashes the Attestation object
func (*Attestation) HashTreeRoot ¶
func (a *Attestation) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the Attestation object
func (*Attestation) HashTreeRootWith ¶
func (a *Attestation) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Attestation object with a hasher
func (*Attestation) MarshalSSZ ¶
func (a *Attestation) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the Attestation object
func (*Attestation) MarshalSSZTo ¶
func (a *Attestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the Attestation object to a target array
func (*Attestation) SizeSSZ ¶
func (a *Attestation) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the Attestation object
func (*Attestation) UnmarshalSSZ ¶
func (a *Attestation) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the Attestation object
type AttestationData ¶
type AttestationData struct { Slot Slot `json:"slot"` Index uint64 `json:"index"` BeaconBlockHash Hash `json:"beacon_block_root" ssz-size:"32"` Source *Checkpoint `json:"source"` Target *Checkpoint `json:"target"` }
func (*AttestationData) GetTree ¶
func (a *AttestationData) GetTree() (*ssz.Node, error)
GetTree ssz hashes the AttestationData object
func (*AttestationData) HashTreeRoot ¶
func (a *AttestationData) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the AttestationData object
func (*AttestationData) HashTreeRootWith ¶
func (a *AttestationData) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the AttestationData object with a hasher
func (*AttestationData) MarshalSSZ ¶
func (a *AttestationData) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the AttestationData object
func (*AttestationData) MarshalSSZTo ¶
func (a *AttestationData) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the AttestationData object to a target array
func (*AttestationData) SizeSSZ ¶
func (a *AttestationData) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the AttestationData object
func (*AttestationData) UnmarshalSSZ ¶
func (a *AttestationData) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the AttestationData object
type AttesterSlashing ¶
type AttesterSlashing struct { Attestation1 *IndexedAttestation `json:"attestation_1"` Attestation2 *IndexedAttestation `json:"attestation_2"` }
func (*AttesterSlashing) GetTree ¶
func (a *AttesterSlashing) GetTree() (*ssz.Node, error)
GetTree ssz hashes the AttesterSlashing object
func (*AttesterSlashing) HashTreeRoot ¶
func (a *AttesterSlashing) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the AttesterSlashing object
func (*AttesterSlashing) HashTreeRootWith ¶
func (a *AttesterSlashing) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the AttesterSlashing object with a hasher
func (*AttesterSlashing) MarshalSSZ ¶
func (a *AttesterSlashing) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the AttesterSlashing object
func (*AttesterSlashing) MarshalSSZTo ¶
func (a *AttesterSlashing) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the AttesterSlashing object to a target array
func (*AttesterSlashing) SizeSSZ ¶
func (a *AttesterSlashing) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the AttesterSlashing object
func (*AttesterSlashing) UnmarshalSSZ ¶
func (a *AttesterSlashing) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the AttesterSlashing object
type BLSToExecutionChange ¶
type BLSToExecutionChange struct { ValidatorIndex uint64 `json:"validator_index,omitempty"` FromBlsPubkey []byte `json:"from_bls_pubkey,omitempty" ssz-size:"48"` ToExecutionAddress []byte `json:"to_execution_address,omitempty" ssz-size:"20"` }
func (*BLSToExecutionChange) GetTree ¶
func (b *BLSToExecutionChange) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BLSToExecutionChange object
func (*BLSToExecutionChange) HashTreeRoot ¶
func (b *BLSToExecutionChange) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BLSToExecutionChange object
func (*BLSToExecutionChange) HashTreeRootWith ¶
func (b *BLSToExecutionChange) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BLSToExecutionChange object with a hasher
func (*BLSToExecutionChange) MarshalSSZ ¶
func (b *BLSToExecutionChange) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BLSToExecutionChange object
func (*BLSToExecutionChange) MarshalSSZTo ¶
func (b *BLSToExecutionChange) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BLSToExecutionChange object to a target array
func (*BLSToExecutionChange) SizeSSZ ¶
func (b *BLSToExecutionChange) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BLSToExecutionChange object
func (*BLSToExecutionChange) UnmarshalSSZ ¶
func (b *BLSToExecutionChange) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BLSToExecutionChange object
type BeaconBlock ¶
type BeaconBlockBody ¶
type BeaconBlockBodyCapellaMainnet ¶
type BeaconBlockBodyCapellaMainnet struct { RandaoReveal []byte `json:"randao_reveal" ssz-size:"96"` Eth1Data *Eth1Data `json:"eth1_data"` Graffiti [32]byte `json:"graffiti" ssz-size:"32"` ProposerSlashings []*ProposerSlashing `json:"proposer_slashings" ssz-max:"16"` AttesterSlashings []*AttesterSlashing `json:"attester_slashings" ssz-max:"2"` Attestations []*Attestation `json:"attestations" ssz-max:"128"` Deposits []*Deposit `json:"deposits" ssz-max:"16"` VoluntaryExits []*SignedVoluntaryExit `json:"voluntary_exits" ssz-max:"16"` SyncAggregate *SyncAggregateMainnet `json:"sync_aggregate"` ExecutionPayload *ExecutionPayloadCapella `json:"execution_payload"` BlsToExecutionChanges []*SignedBLSToExecutionChange `json:"bls_to_execution_changes,omitempty" ssz-max:"16"` }
func (*BeaconBlockBodyCapellaMainnet) GetTree ¶
func (b *BeaconBlockBodyCapellaMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BeaconBlockBodyCapellaMainnet object
func (*BeaconBlockBodyCapellaMainnet) HashTreeRoot ¶
func (b *BeaconBlockBodyCapellaMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconBlockBodyCapellaMainnet object
func (*BeaconBlockBodyCapellaMainnet) HashTreeRootWith ¶
func (b *BeaconBlockBodyCapellaMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BeaconBlockBodyCapellaMainnet object with a hasher
func (*BeaconBlockBodyCapellaMainnet) MarshalSSZ ¶
func (b *BeaconBlockBodyCapellaMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconBlockBodyCapellaMainnet object
func (*BeaconBlockBodyCapellaMainnet) MarshalSSZTo ¶
func (b *BeaconBlockBodyCapellaMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconBlockBodyCapellaMainnet object to a target array
func (*BeaconBlockBodyCapellaMainnet) SizeSSZ ¶
func (b *BeaconBlockBodyCapellaMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockBodyCapellaMainnet object
func (*BeaconBlockBodyCapellaMainnet) UnmarshalSSZ ¶
func (b *BeaconBlockBodyCapellaMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconBlockBodyCapellaMainnet object
type BeaconBlockBodyDenebMainnet ¶
type BeaconBlockBodyDenebMainnet struct { RandaoReveal []byte `json:"randao_reveal" ssz-size:"96"` Eth1Data *Eth1Data `json:"eth1_data"` Graffiti [32]byte `json:"graffiti" ssz-size:"32"` ProposerSlashings []*ProposerSlashing `json:"proposer_slashings" ssz-max:"16"` AttesterSlashings []*AttesterSlashing `json:"attester_slashings" ssz-max:"2"` Attestations []*Attestation `json:"attestations" ssz-max:"128"` Deposits []*Deposit `json:"deposits" ssz-max:"16"` VoluntaryExits []*SignedVoluntaryExit `json:"voluntary_exits" ssz-max:"16"` SyncAggregate *SyncAggregateMainnet `json:"sync_aggregate"` ExecutionPayload *ExecutionPayloadDeneb `json:"execution_payload"` BlsToExecutionChanges []*SignedBLSToExecutionChange `json:"bls_to_execution_changes,omitempty" ssz-max:"16"` BlobKzgCommitments [][48]byte `json:"blob_kzg_commitments,omitempty" ssz-max:"4096" ssz-size:"?,48"` }
func (*BeaconBlockBodyDenebMainnet) GetTree ¶
func (b *BeaconBlockBodyDenebMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BeaconBlockBodyDenebMainnet object
func (*BeaconBlockBodyDenebMainnet) HashTreeRoot ¶
func (b *BeaconBlockBodyDenebMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconBlockBodyDenebMainnet object
func (*BeaconBlockBodyDenebMainnet) HashTreeRootWith ¶
func (b *BeaconBlockBodyDenebMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BeaconBlockBodyDenebMainnet object with a hasher
func (*BeaconBlockBodyDenebMainnet) MarshalSSZ ¶
func (b *BeaconBlockBodyDenebMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconBlockBodyDenebMainnet object
func (*BeaconBlockBodyDenebMainnet) MarshalSSZTo ¶
func (b *BeaconBlockBodyDenebMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconBlockBodyDenebMainnet object to a target array
func (*BeaconBlockBodyDenebMainnet) SizeSSZ ¶
func (b *BeaconBlockBodyDenebMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockBodyDenebMainnet object
func (*BeaconBlockBodyDenebMainnet) UnmarshalSSZ ¶
func (b *BeaconBlockBodyDenebMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconBlockBodyDenebMainnet object
type BeaconBlockCapellaMainnet ¶
type BeaconBlockCapellaMainnet struct { Slot uint64 `json:"slot"` ProposerIndex uint64 `json:"proposer_index"` ParentRoot []byte `json:"parent_root" ssz-size:"32"` StateRoot []byte `json:"state_root" ssz-size:"32"` Body *BeaconBlockBodyCapellaMainnet `json:"body"` }
func (*BeaconBlockCapellaMainnet) ExecutionPayloadCapella ¶
func (b *BeaconBlockCapellaMainnet) ExecutionPayloadCapella() *ExecutionPayloadCapella
func (*BeaconBlockCapellaMainnet) ExecutionPayloadDeneb ¶
func (b *BeaconBlockCapellaMainnet) ExecutionPayloadDeneb() *ExecutionPayloadDeneb
func (*BeaconBlockCapellaMainnet) GetBeaconSlot ¶
func (b *BeaconBlockCapellaMainnet) GetBeaconSlot() uint64
func (*BeaconBlockCapellaMainnet) GetBlockBodyTree ¶
func (b *BeaconBlockCapellaMainnet) GetBlockBodyTree() (*ssz.Node, error)
func (*BeaconBlockCapellaMainnet) GetTree ¶
func (b *BeaconBlockCapellaMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BeaconBlockCapellaMainnet object
func (*BeaconBlockCapellaMainnet) HashTreeRoot ¶
func (b *BeaconBlockCapellaMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconBlockCapellaMainnet object
func (*BeaconBlockCapellaMainnet) HashTreeRootWith ¶
func (b *BeaconBlockCapellaMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BeaconBlockCapellaMainnet object with a hasher
func (*BeaconBlockCapellaMainnet) MarshalSSZ ¶
func (b *BeaconBlockCapellaMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconBlockCapellaMainnet object
func (*BeaconBlockCapellaMainnet) MarshalSSZTo ¶
func (b *BeaconBlockCapellaMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconBlockCapellaMainnet object to a target array
func (*BeaconBlockCapellaMainnet) SizeSSZ ¶
func (b *BeaconBlockCapellaMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockCapellaMainnet object
func (*BeaconBlockCapellaMainnet) UnmarshalSSZ ¶
func (b *BeaconBlockCapellaMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconBlockCapellaMainnet object
type BeaconBlockDenebMainnet ¶
type BeaconBlockDenebMainnet struct { Slot uint64 `json:"slot"` ProposerIndex uint64 `json:"proposer_index"` ParentRoot []byte `json:"parent_root" ssz-size:"32"` StateRoot []byte `json:"state_root" ssz-size:"32"` Body *BeaconBlockBodyDenebMainnet `json:"body"` }
func (*BeaconBlockDenebMainnet) ExecutionPayloadCapella ¶
func (b *BeaconBlockDenebMainnet) ExecutionPayloadCapella() *ExecutionPayloadCapella
func (*BeaconBlockDenebMainnet) ExecutionPayloadDeneb ¶
func (b *BeaconBlockDenebMainnet) ExecutionPayloadDeneb() *ExecutionPayloadDeneb
func (*BeaconBlockDenebMainnet) GetBeaconSlot ¶
func (b *BeaconBlockDenebMainnet) GetBeaconSlot() uint64
func (*BeaconBlockDenebMainnet) GetBlockBodyTree ¶
func (b *BeaconBlockDenebMainnet) GetBlockBodyTree() (*ssz.Node, error)
func (*BeaconBlockDenebMainnet) GetTree ¶
func (b *BeaconBlockDenebMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BeaconBlockDenebMainnet object
func (*BeaconBlockDenebMainnet) HashTreeRoot ¶
func (b *BeaconBlockDenebMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconBlockDenebMainnet object
func (*BeaconBlockDenebMainnet) HashTreeRootWith ¶
func (b *BeaconBlockDenebMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BeaconBlockDenebMainnet object with a hasher
func (*BeaconBlockDenebMainnet) MarshalSSZ ¶
func (b *BeaconBlockDenebMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconBlockDenebMainnet object
func (*BeaconBlockDenebMainnet) MarshalSSZTo ¶
func (b *BeaconBlockDenebMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconBlockDenebMainnet object to a target array
func (*BeaconBlockDenebMainnet) SizeSSZ ¶
func (b *BeaconBlockDenebMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockDenebMainnet object
func (*BeaconBlockDenebMainnet) UnmarshalSSZ ¶
func (b *BeaconBlockDenebMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconBlockDenebMainnet object
type BeaconBlockHeader ¶
type BeaconBlockHeader struct { Slot uint64 `json:"slot"` ProposerIndex uint64 `json:"proposer_index"` ParentRoot []byte `json:"parent_root" ssz-size:"32"` StateRoot []byte `json:"state_root" ssz-size:"32"` BodyRoot []byte `json:"body_root" ssz-size:"32"` }
func (*BeaconBlockHeader) GetTree ¶
func (b *BeaconBlockHeader) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BeaconBlockHeader object
func (*BeaconBlockHeader) HashTreeRoot ¶
func (b *BeaconBlockHeader) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconBlockHeader object
func (*BeaconBlockHeader) HashTreeRootWith ¶
func (b *BeaconBlockHeader) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BeaconBlockHeader object with a hasher
func (*BeaconBlockHeader) MarshalSSZ ¶
func (b *BeaconBlockHeader) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconBlockHeader object
func (*BeaconBlockHeader) MarshalSSZTo ¶
func (b *BeaconBlockHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconBlockHeader object to a target array
func (*BeaconBlockHeader) SizeSSZ ¶
func (b *BeaconBlockHeader) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockHeader object
func (*BeaconBlockHeader) UnmarshalSSZ ¶
func (b *BeaconBlockHeader) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconBlockHeader object
type BeaconState ¶
type BeaconState interface { UnmarshalSSZ(buf []byte) error GetSlot() uint64 GetLatestBlockHeader() *BeaconBlockHeader GetBlockRoots() [][]byte GetTree() (*ssz.Node, error) GetFinalizedCheckpoint() *Checkpoint GetCurrentSyncCommittee() *SyncCommittee GetNextSyncCommittee() *SyncCommittee }
type BeaconStateCapellaMainnet ¶
type BeaconStateCapellaMainnet struct { GenesisTime uint64 `json:"genesis_time"` GenesisValidatorsRoot []byte `json:"genesis_validators_root" ssz-size:"32"` Slot uint64 `json:"slot"` Fork *Fork `json:"fork"` LatestBlockHeader *BeaconBlockHeader `json:"latest_block_header"` BlockRoots [][]byte `json:"block_roots" ssz-size:"8192,32"` StateRoots [][]byte `json:"state_roots" ssz-size:"8192,32"` HistoricalRoots [][]byte `json:"historical_roots" ssz-max:"16777216" ssz-size:"?,32"` Eth1Data *Eth1Data `json:"eth1_data"` Eth1DataVotes []*Eth1Data `json:"eth1_data_votes" ssz-max:"2048"` Eth1DepositIndex uint64 `json:"eth1_deposit_index"` Validators []*Validator `json:"validators" ssz-max:"1099511627776"` Balances []uint64 `json:"balances" ssz-max:"1099511627776"` RandaoMixes [][]byte `json:"randao_mixes" ssz-size:"65536,32"` Slashings []uint64 `json:"slashings" ssz-size:"8192"` PreviousEpochParticipation []byte `json:"previous_epoch_participation" ssz-max:"1099511627776"` CurrentEpochParticipation []byte `json:"current_epoch_participation" ssz-max:"1099511627776"` JustificationBits []byte `json:"justification_bits" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector4" ssz-size:"1"` PreviousJustifiedCheckpoint *Checkpoint `json:"previous_justified_checkpoint"` CurrentJustifiedCheckpoint *Checkpoint `json:"current_justified_checkpoint"` FinalizedCheckpoint *Checkpoint `json:"finalized_checkpoint"` InactivityScores []uint64 `json:"inactivity_scores" ssz-max:"1099511627776"` CurrentSyncCommittee *SyncCommittee `json:"current_sync_committee"` NextSyncCommittee *SyncCommittee `json:"next_sync_committee"` LatestExecutionPayloadHeader *ExecutionPayloadHeaderCapella `json:"latest_execution_payload_header"` NextWithdrawalIndex uint64 `json:"next_withdrawal_index,omitempty"` NextWithdrawalValidatorIndex uint64 `json:"next_withdrawal_validator_index,omitempty"` HistoricalSummaries []*HistoricalSummary `json:"historical_summaries,omitempty" ssz-max:"16777216"` }
func (*BeaconStateCapellaMainnet) GetBlockRoots ¶
func (b *BeaconStateCapellaMainnet) GetBlockRoots() [][]byte
func (*BeaconStateCapellaMainnet) GetCurrentSyncCommittee ¶
func (b *BeaconStateCapellaMainnet) GetCurrentSyncCommittee() *SyncCommittee
func (*BeaconStateCapellaMainnet) GetFinalizedCheckpoint ¶
func (b *BeaconStateCapellaMainnet) GetFinalizedCheckpoint() *Checkpoint
func (*BeaconStateCapellaMainnet) GetLatestBlockHeader ¶
func (b *BeaconStateCapellaMainnet) GetLatestBlockHeader() *BeaconBlockHeader
func (*BeaconStateCapellaMainnet) GetNextSyncCommittee ¶
func (b *BeaconStateCapellaMainnet) GetNextSyncCommittee() *SyncCommittee
func (*BeaconStateCapellaMainnet) GetSlot ¶
func (b *BeaconStateCapellaMainnet) GetSlot() uint64
func (*BeaconStateCapellaMainnet) GetTree ¶
func (b *BeaconStateCapellaMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BeaconStateCapellaMainnet object
func (*BeaconStateCapellaMainnet) HashTreeRoot ¶
func (b *BeaconStateCapellaMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconStateCapellaMainnet object
func (*BeaconStateCapellaMainnet) HashTreeRootWith ¶
func (b *BeaconStateCapellaMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BeaconStateCapellaMainnet object with a hasher
func (*BeaconStateCapellaMainnet) MarshalSSZ ¶
func (b *BeaconStateCapellaMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconStateCapellaMainnet object
func (*BeaconStateCapellaMainnet) MarshalSSZTo ¶
func (b *BeaconStateCapellaMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconStateCapellaMainnet object to a target array
func (*BeaconStateCapellaMainnet) SetBlockRoots ¶
func (b *BeaconStateCapellaMainnet) SetBlockRoots(blockRoots [][]byte)
func (*BeaconStateCapellaMainnet) SizeSSZ ¶
func (b *BeaconStateCapellaMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconStateCapellaMainnet object
func (*BeaconStateCapellaMainnet) UnmarshalSSZ ¶
func (b *BeaconStateCapellaMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconStateCapellaMainnet object
type BeaconStateDenebMainnet ¶
type BeaconStateDenebMainnet struct { GenesisTime uint64 `json:"genesis_time"` GenesisValidatorsRoot []byte `json:"genesis_validators_root" ssz-size:"32"` Slot uint64 `json:"slot"` Fork *Fork `json:"fork"` LatestBlockHeader *BeaconBlockHeader `json:"latest_block_header"` BlockRoots [][]byte `json:"block_roots" ssz-size:"8192,32"` StateRoots [][]byte `json:"state_roots" ssz-size:"8192,32"` HistoricalRoots [][]byte `json:"historical_roots" ssz-max:"16777216" ssz-size:"?,32"` Eth1Data *Eth1Data `json:"eth1_data"` Eth1DataVotes []*Eth1Data `json:"eth1_data_votes" ssz-max:"2048"` Eth1DepositIndex uint64 `json:"eth1_deposit_index"` Validators []*Validator `json:"validators" ssz-max:"1099511627776"` Balances []uint64 `json:"balances" ssz-max:"1099511627776"` RandaoMixes [][]byte `json:"randao_mixes" ssz-size:"65536,32"` Slashings []uint64 `json:"slashings" ssz-size:"8192"` PreviousEpochParticipation []byte `json:"previous_epoch_participation" ssz-max:"1099511627776"` CurrentEpochParticipation []byte `json:"current_epoch_participation" ssz-max:"1099511627776"` JustificationBits []byte `json:"justification_bits" cast-type:"github.com/prysmaticlabs/go-bitfield.Bitvector4" ssz-size:"1"` PreviousJustifiedCheckpoint *Checkpoint `json:"previous_justified_checkpoint"` CurrentJustifiedCheckpoint *Checkpoint `json:"current_justified_checkpoint"` FinalizedCheckpoint *Checkpoint `json:"finalized_checkpoint"` InactivityScores []uint64 `json:"inactivity_scores" ssz-max:"1099511627776"` CurrentSyncCommittee *SyncCommittee `json:"current_sync_committee"` NextSyncCommittee *SyncCommittee `json:"next_sync_committee"` LatestExecutionPayloadHeader *ExecutionPayloadHeaderDeneb `json:"latest_execution_payload_header"` NextWithdrawalIndex uint64 `json:"next_withdrawal_index,omitempty"` NextWithdrawalValidatorIndex uint64 `json:"next_withdrawal_validator_index,omitempty"` HistoricalSummaries []*HistoricalSummary `json:"historical_summaries,omitempty" ssz-max:"16777216"` }
func (*BeaconStateDenebMainnet) GetBlockRoots ¶
func (b *BeaconStateDenebMainnet) GetBlockRoots() [][]byte
func (*BeaconStateDenebMainnet) GetCurrentSyncCommittee ¶
func (b *BeaconStateDenebMainnet) GetCurrentSyncCommittee() *SyncCommittee
func (*BeaconStateDenebMainnet) GetFinalizedCheckpoint ¶
func (b *BeaconStateDenebMainnet) GetFinalizedCheckpoint() *Checkpoint
func (*BeaconStateDenebMainnet) GetLatestBlockHeader ¶
func (b *BeaconStateDenebMainnet) GetLatestBlockHeader() *BeaconBlockHeader
func (*BeaconStateDenebMainnet) GetNextSyncCommittee ¶
func (b *BeaconStateDenebMainnet) GetNextSyncCommittee() *SyncCommittee
func (*BeaconStateDenebMainnet) GetSlot ¶
func (b *BeaconStateDenebMainnet) GetSlot() uint64
func (*BeaconStateDenebMainnet) GetTree ¶
func (b *BeaconStateDenebMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BeaconStateDenebMainnet object
func (*BeaconStateDenebMainnet) HashTreeRoot ¶
func (b *BeaconStateDenebMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconStateDenebMainnet object
func (*BeaconStateDenebMainnet) HashTreeRootWith ¶
func (b *BeaconStateDenebMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BeaconStateDenebMainnet object with a hasher
func (*BeaconStateDenebMainnet) MarshalSSZ ¶
func (b *BeaconStateDenebMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconStateDenebMainnet object
func (*BeaconStateDenebMainnet) MarshalSSZTo ¶
func (b *BeaconStateDenebMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconStateDenebMainnet object to a target array
func (*BeaconStateDenebMainnet) SetBlockRoots ¶
func (b *BeaconStateDenebMainnet) SetBlockRoots(blockRoots [][]byte)
func (*BeaconStateDenebMainnet) SizeSSZ ¶
func (b *BeaconStateDenebMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconStateDenebMainnet object
func (*BeaconStateDenebMainnet) UnmarshalSSZ ¶
func (b *BeaconStateDenebMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconStateDenebMainnet object
type BlockRootsContainer ¶
type BlockRootsContainerMainnet ¶
type BlockRootsContainerMainnet struct {
BlockRoots [][]byte `json:"block_roots" ssz-size:"8192,32"`
}
func (*BlockRootsContainerMainnet) GetTree ¶
func (b *BlockRootsContainerMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BlockRootsContainerMainnet object
func (*BlockRootsContainerMainnet) HashTreeRoot ¶
func (b *BlockRootsContainerMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BlockRootsContainerMainnet object
func (*BlockRootsContainerMainnet) HashTreeRootWith ¶
func (b *BlockRootsContainerMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BlockRootsContainerMainnet object with a hasher
func (*BlockRootsContainerMainnet) MarshalSSZ ¶
func (b *BlockRootsContainerMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BlockRootsContainerMainnet object
func (*BlockRootsContainerMainnet) MarshalSSZTo ¶
func (b *BlockRootsContainerMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BlockRootsContainerMainnet object to a target array
func (*BlockRootsContainerMainnet) SetBlockRoots ¶
func (b *BlockRootsContainerMainnet) SetBlockRoots(blockRoots [][]byte)
func (*BlockRootsContainerMainnet) SizeSSZ ¶
func (b *BlockRootsContainerMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BlockRootsContainerMainnet object
func (*BlockRootsContainerMainnet) UnmarshalSSZ ¶
func (b *BlockRootsContainerMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BlockRootsContainerMainnet object
type Checkpoint ¶
func (*Checkpoint) GetTree ¶
func (c *Checkpoint) GetTree() (*ssz.Node, error)
GetTree ssz hashes the Checkpoint object
func (*Checkpoint) HashTreeRoot ¶
func (c *Checkpoint) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the Checkpoint object
func (*Checkpoint) HashTreeRootWith ¶
func (c *Checkpoint) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Checkpoint object with a hasher
func (*Checkpoint) MarshalSSZ ¶
func (c *Checkpoint) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the Checkpoint object
func (*Checkpoint) MarshalSSZTo ¶
func (c *Checkpoint) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the Checkpoint object to a target array
func (*Checkpoint) SizeSSZ ¶
func (c *Checkpoint) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the Checkpoint object
func (*Checkpoint) UnmarshalSSZ ¶
func (c *Checkpoint) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the Checkpoint object
type Deposit ¶
type Deposit struct { Proof [][]byte `ssz-size:"33,32"` Data *DepositData }
func (*Deposit) HashTreeRoot ¶
HashTreeRoot ssz hashes the Deposit object
func (*Deposit) HashTreeRootWith ¶
func (d *Deposit) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Deposit object with a hasher
func (*Deposit) MarshalSSZ ¶
MarshalSSZ ssz marshals the Deposit object
func (*Deposit) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Deposit object to a target array
func (*Deposit) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Deposit object
type DepositData ¶
type DepositData struct { Pubkey [48]byte `json:"pubkey" ssz-size:"48"` WithdrawalCredentials [32]byte `json:"withdrawal_credentials" ssz-size:"32"` Amount uint64 `json:"amount"` Signature []byte `json:"signature" ssz-size:"96"` Root [32]byte `ssz:"-"` }
func (*DepositData) GetTree ¶
func (d *DepositData) GetTree() (*ssz.Node, error)
GetTree ssz hashes the DepositData object
func (*DepositData) HashTreeRoot ¶
func (d *DepositData) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the DepositData object
func (*DepositData) HashTreeRootWith ¶
func (d *DepositData) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the DepositData object with a hasher
func (*DepositData) MarshalSSZ ¶
func (d *DepositData) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the DepositData object
func (*DepositData) MarshalSSZTo ¶
func (d *DepositData) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the DepositData object to a target array
func (*DepositData) SizeSSZ ¶
func (d *DepositData) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the DepositData object
func (*DepositData) UnmarshalSSZ ¶
func (d *DepositData) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the DepositData object
type Eth1Data ¶
type Eth1Data struct { DepositRoot []byte `json:"deposit_root" ssz-size:"32"` DepositCount uint64 `json:"deposit_count"` BlockHash []byte `json:"block_hash" ssz-size:"32"` }
func (*Eth1Data) HashTreeRoot ¶
HashTreeRoot ssz hashes the Eth1Data object
func (*Eth1Data) HashTreeRootWith ¶
func (e *Eth1Data) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Eth1Data object with a hasher
func (*Eth1Data) MarshalSSZ ¶
MarshalSSZ ssz marshals the Eth1Data object
func (*Eth1Data) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Eth1Data object to a target array
func (*Eth1Data) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Eth1Data object
type ExecutionHeader ¶
type ExecutionPayloadCapella ¶
type ExecutionPayloadCapella struct { ParentHash [32]byte `ssz-size:"32" json:"parent_hash"` FeeRecipient [20]byte `ssz-size:"20" json:"fee_recipient"` StateRoot [32]byte `ssz-size:"32" json:"state_root"` ReceiptsRoot [32]byte `ssz-size:"32" json:"receipts_root"` LogsBloom [256]byte `ssz-size:"256" json:"logs_bloom"` PrevRandao [32]byte `ssz-size:"32" json:"prev_randao"` BlockNumber uint64 `json:"block_number"` GasLimit uint64 `json:"gas_limit"` GasUsed uint64 `json:"gas_used"` Timestamp uint64 `json:"timestamp"` ExtraData []byte `ssz-max:"32" json:"extra_data"` BaseFeePerGas [32]byte `ssz-size:"32" json:"base_fee_per_gas"` BlockHash [32]byte `ssz-size:"32" json:"block_hash"` Transactions [][]byte `ssz-max:"1048576,1073741824" ssz-size:"?,?" json:"transactions"` Withdrawals []*Withdrawal `ssz-max:"16" json:"withdrawals"` }
Capella structures
func (*ExecutionPayloadCapella) GetTree ¶
func (e *ExecutionPayloadCapella) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ExecutionPayloadCapella object
func (*ExecutionPayloadCapella) HashTreeRoot ¶
func (e *ExecutionPayloadCapella) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadCapella object
func (*ExecutionPayloadCapella) HashTreeRootWith ¶
func (e *ExecutionPayloadCapella) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadCapella object with a hasher
func (*ExecutionPayloadCapella) MarshalSSZ ¶
func (e *ExecutionPayloadCapella) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadCapella object
func (*ExecutionPayloadCapella) MarshalSSZTo ¶
func (e *ExecutionPayloadCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadCapella object to a target array
func (*ExecutionPayloadCapella) SizeSSZ ¶
func (e *ExecutionPayloadCapella) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadCapella object
func (*ExecutionPayloadCapella) UnmarshalSSZ ¶
func (e *ExecutionPayloadCapella) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadCapella object
type ExecutionPayloadDeneb ¶
type ExecutionPayloadDeneb struct { ParentHash [32]byte `ssz-size:"32" json:"parent_hash"` FeeRecipient [20]byte `ssz-size:"20" json:"fee_recipient"` StateRoot [32]byte `ssz-size:"32" json:"state_root"` ReceiptsRoot [32]byte `ssz-size:"32" json:"receipts_root"` LogsBloom [256]byte `ssz-size:"256" json:"logs_bloom"` PrevRandao [32]byte `ssz-size:"32" json:"prev_randao"` BlockNumber uint64 `json:"block_number"` GasLimit uint64 `json:"gas_limit"` GasUsed uint64 `json:"gas_used"` Timestamp uint64 `json:"timestamp"` ExtraData []byte `ssz-max:"32" json:"extra_data"` BaseFeePerGas [32]byte `ssz-size:"32" json:"base_fee_per_gas"` BlockHash [32]byte `ssz-size:"32" json:"block_hash"` Transactions [][]byte `ssz-max:"1048576,1073741824" ssz-size:"?,?" json:"transactions"` Withdrawals []*Withdrawal `ssz-max:"16" json:"withdrawals"` BlobGasUsed uint64 `json:"blob_gas_used,omitempty"` ExcessBlobGas uint64 `json:"excess_blob_gas,omitempty"` }
func (*ExecutionPayloadDeneb) GetTree ¶
func (e *ExecutionPayloadDeneb) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ExecutionPayloadDeneb object
func (*ExecutionPayloadDeneb) HashTreeRoot ¶
func (e *ExecutionPayloadDeneb) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadDeneb object
func (*ExecutionPayloadDeneb) HashTreeRootWith ¶
func (e *ExecutionPayloadDeneb) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadDeneb object with a hasher
func (*ExecutionPayloadDeneb) MarshalSSZ ¶
func (e *ExecutionPayloadDeneb) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadDeneb object
func (*ExecutionPayloadDeneb) MarshalSSZTo ¶
func (e *ExecutionPayloadDeneb) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadDeneb object to a target array
func (*ExecutionPayloadDeneb) SizeSSZ ¶
func (e *ExecutionPayloadDeneb) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadDeneb object
func (*ExecutionPayloadDeneb) UnmarshalSSZ ¶
func (e *ExecutionPayloadDeneb) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadDeneb object
type ExecutionPayloadHeaderCapella ¶
type ExecutionPayloadHeaderCapella struct { ParentHash []byte `json:"parent_hash" ssz-size:"32"` FeeRecipient []byte `json:"fee_recipient" ssz-size:"20"` StateRoot []byte `json:"state_root" ssz-size:"32"` ReceiptsRoot []byte `json:"receipts_root" ssz-size:"32"` LogsBloom []byte `json:"logs_bloom" ssz-size:"256"` PrevRandao []byte `json:"prev_randao" ssz-size:"32"` BlockNumber uint64 `json:"block_number"` GasLimit uint64 `json:"gas_limit"` GasUsed uint64 `json:"gas_used"` Timestamp uint64 `json:"timestamp"` ExtraData []byte `json:"extra_data" ssz-max:"32"` BaseFeePerGas []byte `json:"base_fee_per_gas" ssz-size:"32"` BlockHash []byte `json:"block_hash" ssz-size:"32"` TransactionsRoot []byte `json:"transactions_root" ssz-size:"32"` WithdrawalsRoot []byte `json:"withdrawals_root" ssz-size:"32"` }
func (*ExecutionPayloadHeaderCapella) GetTree ¶
func (e *ExecutionPayloadHeaderCapella) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ExecutionPayloadHeaderCapella object
func (*ExecutionPayloadHeaderCapella) HashTreeRoot ¶
func (e *ExecutionPayloadHeaderCapella) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadHeaderCapella object
func (*ExecutionPayloadHeaderCapella) HashTreeRootWith ¶
func (e *ExecutionPayloadHeaderCapella) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadHeaderCapella object with a hasher
func (*ExecutionPayloadHeaderCapella) MarshalSSZ ¶
func (e *ExecutionPayloadHeaderCapella) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadHeaderCapella object
func (*ExecutionPayloadHeaderCapella) MarshalSSZTo ¶
func (e *ExecutionPayloadHeaderCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadHeaderCapella object to a target array
func (*ExecutionPayloadHeaderCapella) SizeSSZ ¶
func (e *ExecutionPayloadHeaderCapella) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeaderCapella object
func (*ExecutionPayloadHeaderCapella) UnmarshalSSZ ¶
func (e *ExecutionPayloadHeaderCapella) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeaderCapella object
type ExecutionPayloadHeaderDeneb ¶
type ExecutionPayloadHeaderDeneb struct { ParentHash []byte `json:"parent_hash" ssz-size:"32"` FeeRecipient []byte `json:"fee_recipient" ssz-size:"20"` StateRoot []byte `json:"state_root" ssz-size:"32"` ReceiptsRoot []byte `json:"receipts_root" ssz-size:"32"` LogsBloom []byte `json:"logs_bloom" ssz-size:"256"` PrevRandao []byte `json:"prev_randao" ssz-size:"32"` BlockNumber uint64 `json:"block_number"` GasLimit uint64 `json:"gas_limit"` GasUsed uint64 `json:"gas_used"` Timestamp uint64 `json:"timestamp"` ExtraData []byte `json:"extra_data" ssz-max:"32"` BaseFeePerGas []byte `json:"base_fee_per_gas" ssz-size:"32"` BlockHash []byte `json:"block_hash" ssz-size:"32"` TransactionsRoot []byte `json:"transactions_root" ssz-size:"32"` WithdrawalsRoot []byte `json:"withdrawals_root" ssz-size:"32"` BlobGasUsed uint64 `json:"blob_gas_used,omitempty"` ExcessBlobGas uint64 `json:"excess_blob_gas,omitempty"` }
func (*ExecutionPayloadHeaderDeneb) GetTree ¶
func (e *ExecutionPayloadHeaderDeneb) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ExecutionPayloadHeaderDeneb object
func (*ExecutionPayloadHeaderDeneb) HashTreeRoot ¶
func (e *ExecutionPayloadHeaderDeneb) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadHeaderDeneb object
func (*ExecutionPayloadHeaderDeneb) HashTreeRootWith ¶
func (e *ExecutionPayloadHeaderDeneb) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadHeaderDeneb object with a hasher
func (*ExecutionPayloadHeaderDeneb) MarshalSSZ ¶
func (e *ExecutionPayloadHeaderDeneb) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadHeaderDeneb object
func (*ExecutionPayloadHeaderDeneb) MarshalSSZTo ¶
func (e *ExecutionPayloadHeaderDeneb) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadHeaderDeneb object to a target array
func (*ExecutionPayloadHeaderDeneb) SizeSSZ ¶
func (e *ExecutionPayloadHeaderDeneb) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeaderDeneb object
func (*ExecutionPayloadHeaderDeneb) UnmarshalSSZ ¶
func (e *ExecutionPayloadHeaderDeneb) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeaderDeneb object
type FinalizedHeader ¶
type Fork ¶
type Fork struct { PreviousVersion []byte `json:"previous_version" ssz-size:"4"` CurrentVersion []byte `json:"current_version" ssz-size:"4"` Epoch uint64 `json:"epoch"` }
func (*Fork) HashTreeRoot ¶
HashTreeRoot ssz hashes the Fork object
func (*Fork) HashTreeRootWith ¶
func (f *Fork) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Fork object with a hasher
func (*Fork) MarshalSSZ ¶
MarshalSSZ ssz marshals the Fork object
func (*Fork) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Fork object to a target array
func (*Fork) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Fork object
type HistoricalSummary ¶
type HistoricalSummary struct { BlockSummaryRoot []byte `json:"block_summary_root,omitempty" ssz-size:"32"` StateSummaryRoot []byte `json:"state_summary_root,omitempty" ssz-size:"32"` }
func (*HistoricalSummary) GetTree ¶
func (h *HistoricalSummary) GetTree() (*ssz.Node, error)
GetTree ssz hashes the HistoricalSummary object
func (*HistoricalSummary) HashTreeRoot ¶
func (h *HistoricalSummary) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the HistoricalSummary object
func (*HistoricalSummary) HashTreeRootWith ¶
func (h *HistoricalSummary) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the HistoricalSummary object with a hasher
func (*HistoricalSummary) MarshalSSZ ¶
func (h *HistoricalSummary) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the HistoricalSummary object
func (*HistoricalSummary) MarshalSSZTo ¶
func (h *HistoricalSummary) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the HistoricalSummary object to a target array
func (*HistoricalSummary) SizeSSZ ¶
func (h *HistoricalSummary) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the HistoricalSummary object
func (*HistoricalSummary) UnmarshalSSZ ¶
func (h *HistoricalSummary) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the HistoricalSummary object
type IndexedAttestation ¶
type IndexedAttestation struct { AttestationIndices []uint64 `json:"attesting_indices" ssz-max:"2048"` Data *AttestationData `json:"data"` Signature []byte `json:"signature" ssz-size:"96"` }
func (*IndexedAttestation) GetTree ¶
func (i *IndexedAttestation) GetTree() (*ssz.Node, error)
GetTree ssz hashes the IndexedAttestation object
func (*IndexedAttestation) HashTreeRoot ¶
func (i *IndexedAttestation) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the IndexedAttestation object
func (*IndexedAttestation) HashTreeRootWith ¶
func (i *IndexedAttestation) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the IndexedAttestation object with a hasher
func (*IndexedAttestation) MarshalSSZ ¶
func (i *IndexedAttestation) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the IndexedAttestation object
func (*IndexedAttestation) MarshalSSZTo ¶
func (i *IndexedAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the IndexedAttestation object to a target array
func (*IndexedAttestation) SizeSSZ ¶
func (i *IndexedAttestation) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the IndexedAttestation object
func (*IndexedAttestation) UnmarshalSSZ ¶
func (i *IndexedAttestation) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the IndexedAttestation object
type ProposerSlashing ¶
type ProposerSlashing struct { Header1 *SignedBeaconBlockHeader `json:"signed_header_1"` Header2 *SignedBeaconBlockHeader `json:"signed_header_2"` }
func (*ProposerSlashing) GetTree ¶
func (p *ProposerSlashing) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ProposerSlashing object
func (*ProposerSlashing) HashTreeRoot ¶
func (p *ProposerSlashing) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ProposerSlashing object
func (*ProposerSlashing) HashTreeRootWith ¶
func (p *ProposerSlashing) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ProposerSlashing object with a hasher
func (*ProposerSlashing) MarshalSSZ ¶
func (p *ProposerSlashing) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ProposerSlashing object
func (*ProposerSlashing) MarshalSSZTo ¶
func (p *ProposerSlashing) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ProposerSlashing object to a target array
func (*ProposerSlashing) SizeSSZ ¶
func (p *ProposerSlashing) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ProposerSlashing object
func (*ProposerSlashing) UnmarshalSSZ ¶
func (p *ProposerSlashing) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ProposerSlashing object
type SignedBLSToExecutionChange ¶
type SignedBLSToExecutionChange struct { Message *BLSToExecutionChange `json:"message,omitempty"` Signature []byte `json:"signature,omitempty" ssz-size:"96"` }
func (*SignedBLSToExecutionChange) GetTree ¶
func (s *SignedBLSToExecutionChange) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedBLSToExecutionChange object
func (*SignedBLSToExecutionChange) HashTreeRoot ¶
func (s *SignedBLSToExecutionChange) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedBLSToExecutionChange object
func (*SignedBLSToExecutionChange) HashTreeRootWith ¶
func (s *SignedBLSToExecutionChange) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedBLSToExecutionChange object with a hasher
func (*SignedBLSToExecutionChange) MarshalSSZ ¶
func (s *SignedBLSToExecutionChange) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedBLSToExecutionChange object
func (*SignedBLSToExecutionChange) MarshalSSZTo ¶
func (s *SignedBLSToExecutionChange) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedBLSToExecutionChange object to a target array
func (*SignedBLSToExecutionChange) SizeSSZ ¶
func (s *SignedBLSToExecutionChange) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedBLSToExecutionChange object
func (*SignedBLSToExecutionChange) UnmarshalSSZ ¶
func (s *SignedBLSToExecutionChange) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedBLSToExecutionChange object
type SignedBeaconBlockHeader ¶
type SignedBeaconBlockHeader struct { Header *BeaconBlockHeader `json:"message"` Signature []byte `json:"signature" ssz-size:"96"` }
func (*SignedBeaconBlockHeader) GetTree ¶
func (s *SignedBeaconBlockHeader) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedBeaconBlockHeader object
func (*SignedBeaconBlockHeader) HashTreeRoot ¶
func (s *SignedBeaconBlockHeader) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedBeaconBlockHeader object
func (*SignedBeaconBlockHeader) HashTreeRootWith ¶
func (s *SignedBeaconBlockHeader) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedBeaconBlockHeader object with a hasher
func (*SignedBeaconBlockHeader) MarshalSSZ ¶
func (s *SignedBeaconBlockHeader) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedBeaconBlockHeader object
func (*SignedBeaconBlockHeader) MarshalSSZTo ¶
func (s *SignedBeaconBlockHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedBeaconBlockHeader object to a target array
func (*SignedBeaconBlockHeader) SizeSSZ ¶
func (s *SignedBeaconBlockHeader) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedBeaconBlockHeader object
func (*SignedBeaconBlockHeader) UnmarshalSSZ ¶
func (s *SignedBeaconBlockHeader) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedBeaconBlockHeader object
type SignedVoluntaryExit ¶
type SignedVoluntaryExit struct { Exit *VoluntaryExit `json:"message"` Signature [96]byte `json:"signature" ssz-size:"96"` }
func (*SignedVoluntaryExit) GetTree ¶
func (s *SignedVoluntaryExit) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedVoluntaryExit object
func (*SignedVoluntaryExit) HashTreeRoot ¶
func (s *SignedVoluntaryExit) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedVoluntaryExit object
func (*SignedVoluntaryExit) HashTreeRootWith ¶
func (s *SignedVoluntaryExit) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedVoluntaryExit object with a hasher
func (*SignedVoluntaryExit) MarshalSSZ ¶
func (s *SignedVoluntaryExit) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedVoluntaryExit object
func (*SignedVoluntaryExit) MarshalSSZTo ¶
func (s *SignedVoluntaryExit) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedVoluntaryExit object to a target array
func (*SignedVoluntaryExit) SizeSSZ ¶
func (s *SignedVoluntaryExit) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedVoluntaryExit object
func (*SignedVoluntaryExit) UnmarshalSSZ ¶
func (s *SignedVoluntaryExit) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedVoluntaryExit object
type SyncAggregate ¶
type SyncAggregateMainnet ¶
type SyncAggregateMainnet struct { SyncCommitteeBits []byte `json:"sync_committee_bits" ssz-size:"64"` SyncCommitteeSignature [96]byte `json:"sync_committee_signature" ssz-size:"96"` }
func (*SyncAggregateMainnet) GetSyncAggregateBits ¶
func (s *SyncAggregateMainnet) GetSyncAggregateBits() []byte
func (*SyncAggregateMainnet) GetSyncAggregateSignature ¶
func (s *SyncAggregateMainnet) GetSyncAggregateSignature() [96]byte
func (*SyncAggregateMainnet) GetTree ¶
func (s *SyncAggregateMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SyncAggregateMainnet object
func (*SyncAggregateMainnet) HashTreeRoot ¶
func (s *SyncAggregateMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SyncAggregateMainnet object
func (*SyncAggregateMainnet) HashTreeRootWith ¶
func (s *SyncAggregateMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SyncAggregateMainnet object with a hasher
func (*SyncAggregateMainnet) MarshalSSZ ¶
func (s *SyncAggregateMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SyncAggregateMainnet object
func (*SyncAggregateMainnet) MarshalSSZTo ¶
func (s *SyncAggregateMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SyncAggregateMainnet object to a target array
func (*SyncAggregateMainnet) SizeSSZ ¶
func (s *SyncAggregateMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SyncAggregateMainnet object
func (*SyncAggregateMainnet) UnmarshalSSZ ¶
func (s *SyncAggregateMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SyncAggregateMainnet object
type SyncCommittee ¶
type SyncCommittee struct { PubKeys [][]byte `json:"pubkeys" ssz-size:"512,48"` AggregatePubKey [48]byte `json:"aggregate_pubkey" ssz-size:"48"` }
func (*SyncCommittee) GetTree ¶
func (s *SyncCommittee) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SyncCommittee object
func (*SyncCommittee) HashTreeRoot ¶
func (s *SyncCommittee) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SyncCommittee object
func (*SyncCommittee) HashTreeRootWith ¶
func (s *SyncCommittee) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SyncCommittee object with a hasher
func (*SyncCommittee) MarshalSSZ ¶
func (s *SyncCommittee) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SyncCommittee object
func (*SyncCommittee) MarshalSSZTo ¶
func (s *SyncCommittee) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SyncCommittee object to a target array
func (*SyncCommittee) SizeSSZ ¶
func (s *SyncCommittee) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SyncCommittee object
func (*SyncCommittee) UnmarshalSSZ ¶
func (s *SyncCommittee) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SyncCommittee object
type TransactionsRootContainer ¶
type TransactionsRootContainer struct {
Transactions [][]byte `ssz-max:"1048576,1073741824" ssz-size:"?,?" json:"transactions"`
}
func (*TransactionsRootContainer) GetTree ¶
func (t *TransactionsRootContainer) GetTree() (*ssz.Node, error)
GetTree ssz hashes the TransactionsRootContainer object
func (*TransactionsRootContainer) HashTreeRoot ¶
func (t *TransactionsRootContainer) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the TransactionsRootContainer object
func (*TransactionsRootContainer) HashTreeRootWith ¶
func (t *TransactionsRootContainer) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the TransactionsRootContainer object with a hasher
func (*TransactionsRootContainer) MarshalSSZ ¶
func (t *TransactionsRootContainer) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the TransactionsRootContainer object
func (*TransactionsRootContainer) MarshalSSZTo ¶
func (t *TransactionsRootContainer) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the TransactionsRootContainer object to a target array
func (*TransactionsRootContainer) SizeSSZ ¶
func (t *TransactionsRootContainer) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the TransactionsRootContainer object
func (*TransactionsRootContainer) UnmarshalSSZ ¶
func (t *TransactionsRootContainer) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the TransactionsRootContainer object
type Validator ¶
type Validator struct { Pubkey []byte `json:"pubkey" ssz-size:"48"` WithdrawalCredentials []byte `json:"withdrawal_credentials" ssz-size:"32"` EffectiveBalance uint64 `json:"effective_balance"` Slashed bool `json:"slashed"` ActivationEligibilityEpoch uint64 `json:"activation_eligibility_epoch"` ActivationEpoch uint64 `json:"activation_epoch"` ExitEpoch uint64 `json:"exit_epoch"` WithdrawableEpoch uint64 `json:"withdrawable_epoch"` }
func (*Validator) HashTreeRoot ¶
HashTreeRoot ssz hashes the Validator object
func (*Validator) HashTreeRootWith ¶
func (v *Validator) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Validator object with a hasher
func (*Validator) MarshalSSZ ¶
MarshalSSZ ssz marshals the Validator object
func (*Validator) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Validator object to a target array
func (*Validator) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Validator object
type VoluntaryExit ¶
type VoluntaryExit struct { Epoch uint64 `json:"epoch"` ValidatorIndex uint64 `json:"validator_index"` }
func (*VoluntaryExit) GetTree ¶
func (v *VoluntaryExit) GetTree() (*ssz.Node, error)
GetTree ssz hashes the VoluntaryExit object
func (*VoluntaryExit) HashTreeRoot ¶
func (v *VoluntaryExit) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the VoluntaryExit object
func (*VoluntaryExit) HashTreeRootWith ¶
func (v *VoluntaryExit) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the VoluntaryExit object with a hasher
func (*VoluntaryExit) MarshalSSZ ¶
func (v *VoluntaryExit) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the VoluntaryExit object
func (*VoluntaryExit) MarshalSSZTo ¶
func (v *VoluntaryExit) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the VoluntaryExit object to a target array
func (*VoluntaryExit) SizeSSZ ¶
func (v *VoluntaryExit) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the VoluntaryExit object
func (*VoluntaryExit) UnmarshalSSZ ¶
func (v *VoluntaryExit) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the VoluntaryExit object
type Withdrawal ¶
type Withdrawal struct { Index uint64 `json:"index"` ValidatorIndex uint64 `json:"validator_index"` Address [20]byte `json:"address" ssz-size:"20"` Amount uint64 `json:"amount"` }
func (*Withdrawal) GetTree ¶
func (w *Withdrawal) GetTree() (*ssz.Node, error)
GetTree ssz hashes the Withdrawal object
func (*Withdrawal) HashTreeRoot ¶
func (w *Withdrawal) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the Withdrawal object
func (*Withdrawal) HashTreeRootWith ¶
func (w *Withdrawal) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the Withdrawal object with a hasher
func (*Withdrawal) MarshalSSZ ¶
func (w *Withdrawal) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the Withdrawal object
func (*Withdrawal) MarshalSSZTo ¶
func (w *Withdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the Withdrawal object to a target array
func (*Withdrawal) SizeSSZ ¶
func (w *Withdrawal) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the Withdrawal object
func (*Withdrawal) UnmarshalSSZ ¶
func (w *Withdrawal) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the Withdrawal object
type WithdrawalsRootContainerMainnet ¶
type WithdrawalsRootContainerMainnet struct {
Withdrawals []*Withdrawal `ssz-max:"16" json:"withdrawals"`
}
func (*WithdrawalsRootContainerMainnet) GetTree ¶
func (w *WithdrawalsRootContainerMainnet) GetTree() (*ssz.Node, error)
GetTree ssz hashes the WithdrawalsRootContainerMainnet object
func (*WithdrawalsRootContainerMainnet) HashTreeRoot ¶
func (w *WithdrawalsRootContainerMainnet) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the WithdrawalsRootContainerMainnet object
func (*WithdrawalsRootContainerMainnet) HashTreeRootWith ¶
func (w *WithdrawalsRootContainerMainnet) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the WithdrawalsRootContainerMainnet object with a hasher
func (*WithdrawalsRootContainerMainnet) MarshalSSZ ¶
func (w *WithdrawalsRootContainerMainnet) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the WithdrawalsRootContainerMainnet object
func (*WithdrawalsRootContainerMainnet) MarshalSSZTo ¶
func (w *WithdrawalsRootContainerMainnet) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the WithdrawalsRootContainerMainnet object to a target array
func (*WithdrawalsRootContainerMainnet) SizeSSZ ¶
func (w *WithdrawalsRootContainerMainnet) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the WithdrawalsRootContainerMainnet object
func (*WithdrawalsRootContainerMainnet) UnmarshalSSZ ¶
func (w *WithdrawalsRootContainerMainnet) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the WithdrawalsRootContainerMainnet object