Documentation
¶
Overview ¶
Code generated by dynamic-ssz. DO NOT EDIT. Hash: b0c2887b11de205f74859fcc90e554d5359db4a75c6a12561f5ebbf50a940a28 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 0611cbb77d0b17801fd9b68967f3b569f7656e2088ee4bd64d340f4650ce6346 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 196beed311e1f401bc92b1725bba0e2bfaa4571947456fa92cc06eb669fd193f Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 2814233bb3b8337c061ff6e590643587ba7f097131ad6f291a424c8a8ee5d512 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 5c047d08712b5b457e3755b11439fec4573531a4bc91cb732e26e8bc832e793e Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 93a3638d29d1033f5d77582e002a25ce16b7709e67d9a577dca2e2eee05fc03a Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 6bc09289305153fb05f8d39c9e7fc223808f156528098ea2ecfa8a7a8ff34bf0 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: b11cc2a2d8d878dd38c73756e3a16b183c77bc4a93c918e26cc06f54e54bb102 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: d067f94f00a388a335af0f473b51e29146d387dde98df4a9d42b310fd0c20cfd Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: d364ccca834fb67bd4d5a37608621f3922221764a89d029bce7228a62874d901 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: bc7c6dc18dab78bc139b97fbd8777cc5cc5aa36fd9e267e054cad05789205c6d Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 3908ebeeeffed33153f7c3f68780c43415eba9226b0a17b9aa73ddbe3e0a9892 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 8295c875069e1c44bb07f12b924408d40f59e683f603a1b4dbfd850b532c2c31 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: dddf3d95bd99508f3758de64f9eac82a06e175caf741db9f4690a8af43d02ec0 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 6c435b7f02ad0723332b14bc83595f6d377bd14e86f8bfb5386f853eb837153b Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 4fd84d3c6c911dd21ef867f5f18f8a5dd7c27da30462ac2a087789ae3edef0e9 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: fc74cb9c1451bda9e7c3795fa2c0a64872801553e85689f4a382111be30f7135 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Index ¶
- type BeaconBlock
- func (t *BeaconBlock) HashTreeRoot() (root [32]byte, err error)
- func (t *BeaconBlock) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BeaconBlock) MarshalJSON() ([]byte, error)
- func (t *BeaconBlock) MarshalSSZ() ([]byte, error)
- func (t *BeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconBlock) MarshalYAML() ([]byte, error)
- func (t *BeaconBlock) SizeSSZ() (size int)
- func (b *BeaconBlock) String() string
- func (b *BeaconBlock) UnmarshalJSON(input []byte) error
- func (t *BeaconBlock) UnmarshalSSZ(buf []byte) (err error)
- func (b *BeaconBlock) UnmarshalYAML(input []byte) error
- type BeaconBlockBody
- func (t *BeaconBlockBody) HashTreeRoot() (root [32]byte, err error)
- func (t *BeaconBlockBody) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BeaconBlockBody) MarshalJSON() ([]byte, error)
- func (t *BeaconBlockBody) MarshalSSZ() ([]byte, error)
- func (t *BeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconBlockBody) MarshalYAML() ([]byte, error)
- func (t *BeaconBlockBody) SizeSSZ() (size int)
- func (b *BeaconBlockBody) String() string
- func (b *BeaconBlockBody) UnmarshalJSON(input []byte) error
- func (t *BeaconBlockBody) UnmarshalSSZ(buf []byte) (err error)
- func (b *BeaconBlockBody) UnmarshalYAML(input []byte) error
- type BeaconState
- func (t *BeaconState) HashTreeRoot() (root [32]byte, err error)
- func (t *BeaconState) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BeaconState) MarshalJSON() ([]byte, error)
- func (t *BeaconState) MarshalSSZ() ([]byte, error)
- func (t *BeaconState) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BeaconState) MarshalYAML() ([]byte, error)
- func (t *BeaconState) SizeSSZ() (size int)
- func (b *BeaconState) String() string
- func (b *BeaconState) UnmarshalJSON(input []byte) error
- func (t *BeaconState) UnmarshalSSZ(buf []byte) (err error)
- func (b *BeaconState) UnmarshalYAML(input []byte) error
- type Builder
- func (t *Builder) HashTreeRoot() (root [32]byte, err error)
- func (t *Builder) HashTreeRootWith(hh sszutils.HashWalker) error
- func (v *Builder) MarshalJSON() ([]byte, error)
- func (t *Builder) MarshalSSZ() ([]byte, error)
- func (t *Builder) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *Builder) MarshalYAML() ([]byte, error)
- func (t *Builder) SizeSSZ() (size int)
- func (v *Builder) String() string
- func (v *Builder) UnmarshalJSON(input []byte) error
- func (t *Builder) UnmarshalSSZ(buf []byte) (err error)
- func (v *Builder) UnmarshalYAML(input []byte) error
- type BuilderIndex
- type BuilderPendingPayment
- func (t *BuilderPendingPayment) HashTreeRoot() (root [32]byte, err error)
- func (t *BuilderPendingPayment) HashTreeRootWith(hh sszutils.HashWalker) error
- func (t *BuilderPendingPayment) MarshalSSZ() ([]byte, error)
- func (t *BuilderPendingPayment) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (t *BuilderPendingPayment) SizeSSZ() (size int)
- func (p *BuilderPendingPayment) String() string
- func (t *BuilderPendingPayment) UnmarshalSSZ(buf []byte) (err error)
- type BuilderPendingWithdrawal
- func (t *BuilderPendingWithdrawal) HashTreeRoot() (root [32]byte, err error)
- func (t *BuilderPendingWithdrawal) HashTreeRootWith(hh sszutils.HashWalker) error
- func (t *BuilderPendingWithdrawal) MarshalSSZ() ([]byte, error)
- func (t *BuilderPendingWithdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (t *BuilderPendingWithdrawal) SizeSSZ() (size int)
- func (p *BuilderPendingWithdrawal) String() string
- func (t *BuilderPendingWithdrawal) UnmarshalSSZ(buf []byte) (err error)
- type ExecutionPayloadBid
- func (t *ExecutionPayloadBid) HashTreeRoot() (root [32]byte, err error)
- func (t *ExecutionPayloadBid) HashTreeRootWith(hh sszutils.HashWalker) error
- func (e *ExecutionPayloadBid) MarshalJSON() ([]byte, error)
- func (t *ExecutionPayloadBid) MarshalSSZ() ([]byte, error)
- func (t *ExecutionPayloadBid) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayloadBid) MarshalYAML() ([]byte, error)
- func (t *ExecutionPayloadBid) SizeSSZ() (size int)
- func (e *ExecutionPayloadBid) String() string
- func (e *ExecutionPayloadBid) UnmarshalJSON(input []byte) error
- func (t *ExecutionPayloadBid) UnmarshalSSZ(buf []byte) (err error)
- func (e *ExecutionPayloadBid) UnmarshalYAML(input []byte) error
- type ExecutionPayloadEnvelope
- func (t *ExecutionPayloadEnvelope) HashTreeRoot() (root [32]byte, err error)
- func (t *ExecutionPayloadEnvelope) HashTreeRootWith(hh sszutils.HashWalker) error
- func (e *ExecutionPayloadEnvelope) MarshalJSON() ([]byte, error)
- func (t *ExecutionPayloadEnvelope) MarshalSSZ() ([]byte, error)
- func (t *ExecutionPayloadEnvelope) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayloadEnvelope) MarshalYAML() ([]byte, error)
- func (t *ExecutionPayloadEnvelope) SizeSSZ() (size int)
- func (e *ExecutionPayloadEnvelope) String() string
- func (e *ExecutionPayloadEnvelope) UnmarshalJSON(input []byte) error
- func (t *ExecutionPayloadEnvelope) UnmarshalSSZ(buf []byte) (err error)
- func (e *ExecutionPayloadEnvelope) UnmarshalYAML(input []byte) error
- type IndexedPayloadAttestation
- func (t *IndexedPayloadAttestation) HashTreeRoot() (root [32]byte, err error)
- func (t *IndexedPayloadAttestation) HashTreeRootWith(hh sszutils.HashWalker) error
- func (i *IndexedPayloadAttestation) MarshalJSON() ([]byte, error)
- func (t *IndexedPayloadAttestation) MarshalSSZ() ([]byte, error)
- func (t *IndexedPayloadAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *IndexedPayloadAttestation) MarshalYAML() ([]byte, error)
- func (t *IndexedPayloadAttestation) SizeSSZ() (size int)
- func (i *IndexedPayloadAttestation) String() string
- func (i *IndexedPayloadAttestation) UnmarshalJSON(input []byte) error
- func (t *IndexedPayloadAttestation) UnmarshalSSZ(buf []byte) (err error)
- func (i *IndexedPayloadAttestation) UnmarshalYAML(input []byte) error
- type PayloadAttestation
- func (t *PayloadAttestation) HashTreeRoot() (root [32]byte, err error)
- func (t *PayloadAttestation) HashTreeRootWith(hh sszutils.HashWalker) error
- func (p *PayloadAttestation) MarshalJSON() ([]byte, error)
- func (t *PayloadAttestation) MarshalSSZ() ([]byte, error)
- func (t *PayloadAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (p *PayloadAttestation) MarshalYAML() ([]byte, error)
- func (t *PayloadAttestation) SizeSSZ() (size int)
- func (p *PayloadAttestation) String() string
- func (p *PayloadAttestation) UnmarshalJSON(input []byte) error
- func (t *PayloadAttestation) UnmarshalSSZ(buf []byte) (err error)
- func (p *PayloadAttestation) UnmarshalYAML(input []byte) error
- type PayloadAttestationData
- func (t *PayloadAttestationData) HashTreeRoot() (root [32]byte, err error)
- func (t *PayloadAttestationData) HashTreeRootWith(hh sszutils.HashWalker) error
- func (p *PayloadAttestationData) MarshalJSON() ([]byte, error)
- func (t *PayloadAttestationData) MarshalSSZ() ([]byte, error)
- func (t *PayloadAttestationData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (p *PayloadAttestationData) MarshalYAML() ([]byte, error)
- func (t *PayloadAttestationData) SizeSSZ() (size int)
- func (p *PayloadAttestationData) String() string
- func (p *PayloadAttestationData) UnmarshalJSON(input []byte) error
- func (t *PayloadAttestationData) UnmarshalSSZ(buf []byte) (err error)
- func (p *PayloadAttestationData) UnmarshalYAML(input []byte) error
- type PayloadAttestationMessage
- func (t *PayloadAttestationMessage) HashTreeRoot() (root [32]byte, err error)
- func (t *PayloadAttestationMessage) HashTreeRootWith(hh sszutils.HashWalker) error
- func (p *PayloadAttestationMessage) MarshalJSON() ([]byte, error)
- func (t *PayloadAttestationMessage) MarshalSSZ() ([]byte, error)
- func (t *PayloadAttestationMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (p *PayloadAttestationMessage) MarshalYAML() ([]byte, error)
- func (t *PayloadAttestationMessage) SizeSSZ() (size int)
- func (p *PayloadAttestationMessage) String() string
- func (p *PayloadAttestationMessage) UnmarshalJSON(input []byte) error
- func (t *PayloadAttestationMessage) UnmarshalSSZ(buf []byte) (err error)
- func (p *PayloadAttestationMessage) UnmarshalYAML(input []byte) error
- type ProposerPreferences
- func (t *ProposerPreferences) HashTreeRoot() (root [32]byte, err error)
- func (t *ProposerPreferences) HashTreeRootWith(hh sszutils.HashWalker) error
- func (p *ProposerPreferences) MarshalJSON() ([]byte, error)
- func (t *ProposerPreferences) MarshalSSZ() ([]byte, error)
- func (t *ProposerPreferences) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (p *ProposerPreferences) MarshalYAML() ([]byte, error)
- func (t *ProposerPreferences) SizeSSZ() (size int)
- func (p *ProposerPreferences) String() string
- func (p *ProposerPreferences) UnmarshalJSON(input []byte) error
- func (t *ProposerPreferences) UnmarshalSSZ(buf []byte) (err error)
- func (p *ProposerPreferences) UnmarshalYAML(input []byte) error
- type SignedBeaconBlock
- func (t *SignedBeaconBlock) HashTreeRoot() (root [32]byte, err error)
- func (t *SignedBeaconBlock) HashTreeRootWith(hh sszutils.HashWalker) error
- func (s *SignedBeaconBlock) MarshalJSON() ([]byte, error)
- func (t *SignedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (t *SignedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedBeaconBlock) MarshalYAML() ([]byte, error)
- func (t *SignedBeaconBlock) SizeSSZ() (size int)
- func (s *SignedBeaconBlock) String() string
- func (s *SignedBeaconBlock) UnmarshalJSON(input []byte) error
- func (t *SignedBeaconBlock) UnmarshalSSZ(buf []byte) (err error)
- func (s *SignedBeaconBlock) UnmarshalYAML(input []byte) error
- type SignedExecutionPayloadBid
- func (t *SignedExecutionPayloadBid) HashTreeRoot() (root [32]byte, err error)
- func (t *SignedExecutionPayloadBid) HashTreeRootWith(hh sszutils.HashWalker) error
- func (s *SignedExecutionPayloadBid) MarshalJSON() ([]byte, error)
- func (t *SignedExecutionPayloadBid) MarshalSSZ() ([]byte, error)
- func (t *SignedExecutionPayloadBid) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedExecutionPayloadBid) MarshalYAML() ([]byte, error)
- func (t *SignedExecutionPayloadBid) SizeSSZ() (size int)
- func (s *SignedExecutionPayloadBid) String() string
- func (s *SignedExecutionPayloadBid) UnmarshalJSON(input []byte) error
- func (t *SignedExecutionPayloadBid) UnmarshalSSZ(buf []byte) (err error)
- func (s *SignedExecutionPayloadBid) UnmarshalYAML(input []byte) error
- type SignedExecutionPayloadEnvelope
- func (t *SignedExecutionPayloadEnvelope) HashTreeRoot() (root [32]byte, err error)
- func (t *SignedExecutionPayloadEnvelope) HashTreeRootWith(hh sszutils.HashWalker) error
- func (s *SignedExecutionPayloadEnvelope) MarshalJSON() ([]byte, error)
- func (t *SignedExecutionPayloadEnvelope) MarshalSSZ() ([]byte, error)
- func (t *SignedExecutionPayloadEnvelope) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedExecutionPayloadEnvelope) MarshalYAML() ([]byte, error)
- func (t *SignedExecutionPayloadEnvelope) SizeSSZ() (size int)
- func (s *SignedExecutionPayloadEnvelope) String() string
- func (s *SignedExecutionPayloadEnvelope) UnmarshalJSON(input []byte) error
- func (t *SignedExecutionPayloadEnvelope) UnmarshalSSZ(buf []byte) (err error)
- func (s *SignedExecutionPayloadEnvelope) UnmarshalYAML(input []byte) error
- type SignedProposerPreferences
- func (t *SignedProposerPreferences) HashTreeRoot() (root [32]byte, err error)
- func (t *SignedProposerPreferences) HashTreeRootWith(hh sszutils.HashWalker) error
- func (s *SignedProposerPreferences) MarshalJSON() ([]byte, error)
- func (t *SignedProposerPreferences) MarshalSSZ() ([]byte, error)
- func (t *SignedProposerPreferences) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedProposerPreferences) MarshalYAML() ([]byte, error)
- func (t *SignedProposerPreferences) SizeSSZ() (size int)
- func (s *SignedProposerPreferences) String() string
- func (s *SignedProposerPreferences) UnmarshalJSON(input []byte) error
- func (t *SignedProposerPreferences) UnmarshalSSZ(buf []byte) (err error)
- func (s *SignedProposerPreferences) UnmarshalYAML(input []byte) error
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"`
}
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
LatestExecutionPayloadBid *ExecutionPayloadBid
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"`
LatestBlockHash phase0.Hash32 `ssz-size:"32"`
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 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 ¶
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 ¶
MarshalJSON implements json.Marshaler.
func (*Builder) MarshalSSZ ¶
MarshalSSZ marshals the *Builder to SSZ-encoded bytes.
func (*Builder) MarshalSSZTo ¶
MarshalSSZTo marshals the *Builder to SSZ-encoded bytes, appending to the provided buffer.
func (*Builder) MarshalYAML ¶
MarshalYAML implements yaml.Marshaler.
func (*Builder) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
func (*Builder) UnmarshalSSZ ¶
UnmarshalSSZ unmarshals the *Builder from SSZ-encoded bytes.
func (*Builder) UnmarshalYAML ¶
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 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"`
}
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 *deneb.ExecutionPayload
ExecutionRequests *electra.ExecutionRequests
BuilderIndex BuilderIndex
BeaconBlockRoot phase0.Root `ssz-size:"32"`
Slot phase0.Slot
StateRoot 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 {
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 ¶
func (s *SignedExecutionPayloadEnvelope) String() 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
¶
- beaconblock.go
- beaconblock_json.go
- beaconblock_ssz.go
- beaconblock_yaml.go
- beaconblockbody.go
- beaconblockbody_json.go
- beaconblockbody_ssz.go
- beaconblockbody_yaml.go
- beaconstate.go
- beaconstate_json.go
- beaconstate_ssz.go
- beaconstate_yaml.go
- builder.go
- builder_ssz.go
- builderindex.go
- builderpendingpayment.go
- builderpendingpayment_ssz.go
- builderpendingwithdrawal.go
- builderpendingwithdrawal_ssz.go
- executionpayloadbid.go
- executionpayloadbid_json.go
- executionpayloadbid_ssz.go
- executionpayloadbid_yaml.go
- executionpayloadenvelope.go
- executionpayloadenvelope_json.go
- executionpayloadenvelope_ssz.go
- executionpayloadenvelope_yaml.go
- generate.go
- indexedpayloadattestation.go
- indexedpayloadattestation_json.go
- indexedpayloadattestation_ssz.go
- indexedpayloadattestation_yaml.go
- payloadattestation.go
- payloadattestation_json.go
- payloadattestation_ssz.go
- payloadattestation_yaml.go
- payloadattestationdata.go
- payloadattestationdata_json.go
- payloadattestationdata_ssz.go
- payloadattestationdata_yaml.go
- payloadattestationmessage.go
- payloadattestationmessage_json.go
- payloadattestationmessage_ssz.go
- payloadattestationmessage_yaml.go
- proposerpreferences.go
- proposerpreferences_json.go
- proposerpreferences_ssz.go
- proposerpreferences_yaml.go
- signedbeaconblock.go
- signedbeaconblock_json.go
- signedbeaconblock_ssz.go
- signedbeaconblock_yaml.go
- signedexecutionpayloadbid.go
- signedexecutionpayloadbid_json.go
- signedexecutionpayloadbid_ssz.go
- signedexecutionpayloadbid_yaml.go
- signedexecutionpayloadenvelope.go
- signedexecutionpayloadenvelope_json.go
- signedexecutionpayloadenvelope_ssz.go
- signedexecutionpayloadenvelope_yaml.go
- signedproposerpreferences.go
- signedproposerpreferences_json.go
- signedproposerpreferences_ssz.go
- signedproposerpreferences_yaml.go