Documentation
¶
Overview ¶
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 5ab124fd14fc73ebf073ec3d655828afa31b5a378eeb87325eaa26a64b59a0f3 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: efa7422da7021e8ac7b4520b52e3e5bf651a342efab91cb7b683d5e6a7d2a7d8 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 834d4b32b565ed8ddf561b91ac0c479c93bd2aad55733cf5dd6787d254e95231 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 29be7500521c82f8e1a4b25df318e7b03bc07606db0ec1084404668206d8495f Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: ff294cfb40110eeb1710be67170dfa5bc91aa532d7cc6ea215b5545f7e14fcac Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: ca49eeff1eb3a573171246c7a7acf20b632c2d84e1c44038589f03a30b275b04 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 2814233bb3b8337c061ff6e590643587ba7f097131ad6f291a424c8a8ee5d512 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 66ee5efe5c0a7b4add4b02bdb68c7eb0f4db97255ccbbefdf60fc603909db5dd Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 6744f46015a151229eea5c50db45670c0ca6575b5ef67d8601cdc56c3d21905b Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 58af077c89deeb7ce2248ff3ff397aff72293d08a25a33a2d0fedf75538f01c9 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 93a3638d29d1033f5d77582e002a25ce16b7709e67d9a577dca2e2eee05fc03a Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 81e5a47d626f6521c02c01a2b484460fd986437545dc852251014056c19596d0 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: c029e3715523491291a5c9fbc094b18145e9ac7d7f446b81b318085036a64b97 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: a36cbe07a5d8c38f27b08333e0ea138079daab656596e7d604c7b242cb786667 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: d23bfbfe177e790f259c72ecceeb7dbb69430c0b7695b247d261574b8958b0f9 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 4333584b59b5cad6eb3c9eeade45c584ec1f19d51a5d74c1efe7aa5a5402e7d8 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: e5106e1b343855cf77f85e7f88bdd3b5a8e65aaa84980b9159905404a08de64f Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 6e7bc3ef07452a47ae01e1a88fbfe02bd3f61e8392b5fa4ab997c9e81569bfa6 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: bc7c6dc18dab78bc139b97fbd8777cc5cc5aa36fd9e267e054cad05789205c6d Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 3908ebeeeffed33153f7c3f68780c43415eba9226b0a17b9aa73ddbe3e0a9892 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: b008b6f3176e10b2ec64ed7943073b8be0db0d370ff48dbf3a42ba68b9a889d9 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 650130ca32152912881bfce4fe3cffa22cfb8d2970293fecedcd10be365c5c44 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 3bbb944c1b2c8d58c376c6e6dcf5bfc04b945efe9a44443f3d606df9d7aa9cb5 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 9f0e256740a86de8e5f70563414d7a63dd090cf46ea2b0b94f5df4b7d197e530 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 0e8052523366a012e897e4234d9226f6d5981e66a1961f9c4822cb103dc154f7 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: ab6225206ea43f8e7c2b2020c769383723d0205c6b8babc792d4f71096b7f2b3 Version: v1.3.2 (https://github.com/pk910/dynamic-ssz)
Index ¶
- type AggregateAndProof
- func (t *AggregateAndProof) HashTreeRoot() (root [32]byte, err error)
- func (t *AggregateAndProof) HashTreeRootWith(hh sszutils.HashWalker) error
- func (a *AggregateAndProof) MarshalJSON() ([]byte, error)
- func (t *AggregateAndProof) MarshalSSZ() ([]byte, error)
- func (t *AggregateAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (a *AggregateAndProof) MarshalYAML() ([]byte, error)
- func (t *AggregateAndProof) SizeSSZ() (size int)
- func (a *AggregateAndProof) String() string
- func (a *AggregateAndProof) UnmarshalJSON(input []byte) error
- func (t *AggregateAndProof) UnmarshalSSZ(buf []byte) (err error)
- func (a *AggregateAndProof) UnmarshalYAML(input []byte) error
- type Attestation
- func (a *Attestation) AggregateValidatorIndex() (phase0.ValidatorIndex, error)
- func (a *Attestation) CommitteeIndex() (phase0.CommitteeIndex, error)
- func (t *Attestation) HashTreeRoot() (root [32]byte, err error)
- func (t *Attestation) HashTreeRootWith(hh sszutils.HashWalker) error
- func (a *Attestation) MarshalJSON() ([]byte, error)
- func (t *Attestation) MarshalSSZ() ([]byte, error)
- func (t *Attestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (a *Attestation) MarshalYAML() ([]byte, error)
- func (t *Attestation) SizeSSZ() (size int)
- func (a *Attestation) String() string
- func (a *Attestation) ToSingleAttestation(validatorIndex *phase0.ValidatorIndex) (*electra.SingleAttestation, error)
- func (a *Attestation) UnmarshalJSON(input []byte) error
- func (t *Attestation) UnmarshalSSZ(buf []byte) (err error)
- func (a *Attestation) UnmarshalYAML(input []byte) error
- type AttesterSlashing
- func (t *AttesterSlashing) HashTreeRoot() (root [32]byte, err error)
- func (t *AttesterSlashing) HashTreeRootWith(hh sszutils.HashWalker) error
- func (a *AttesterSlashing) MarshalJSON() ([]byte, error)
- func (t *AttesterSlashing) MarshalSSZ() ([]byte, error)
- func (t *AttesterSlashing) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (a *AttesterSlashing) MarshalYAML() ([]byte, error)
- func (t *AttesterSlashing) SizeSSZ() (size int)
- func (a *AttesterSlashing) String() string
- func (a *AttesterSlashing) UnmarshalJSON(input []byte) error
- func (t *AttesterSlashing) UnmarshalSSZ(buf []byte) (err error)
- func (a *AttesterSlashing) UnmarshalYAML(input []byte) error
- 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 BlockAccessList
- 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 BuilderDepositRequest
- func (t *BuilderDepositRequest) HashTreeRoot() (root [32]byte, err error)
- func (t *BuilderDepositRequest) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BuilderDepositRequest) MarshalJSON() ([]byte, error)
- func (t *BuilderDepositRequest) MarshalSSZ() ([]byte, error)
- func (t *BuilderDepositRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BuilderDepositRequest) MarshalYAML() ([]byte, error)
- func (t *BuilderDepositRequest) SizeSSZ() (size int)
- func (b *BuilderDepositRequest) String() string
- func (b *BuilderDepositRequest) UnmarshalJSON(input []byte) error
- func (t *BuilderDepositRequest) UnmarshalSSZ(buf []byte) (err error)
- func (b *BuilderDepositRequest) UnmarshalYAML(input []byte) error
- type BuilderExitRequest
- func (t *BuilderExitRequest) HashTreeRoot() (root [32]byte, err error)
- func (t *BuilderExitRequest) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BuilderExitRequest) MarshalJSON() ([]byte, error)
- func (t *BuilderExitRequest) MarshalSSZ() ([]byte, error)
- func (t *BuilderExitRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BuilderExitRequest) MarshalYAML() ([]byte, error)
- func (t *BuilderExitRequest) SizeSSZ() (size int)
- func (b *BuilderExitRequest) String() string
- func (b *BuilderExitRequest) UnmarshalJSON(input []byte) error
- func (t *BuilderExitRequest) UnmarshalSSZ(buf []byte) (err error)
- func (b *BuilderExitRequest) 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 ExecutionPayload
- func (t *ExecutionPayload) HashTreeRoot() (root [32]byte, err error)
- func (t *ExecutionPayload) HashTreeRootWith(hh sszutils.HashWalker) error
- func (e *ExecutionPayload) MarshalJSON() ([]byte, error)
- func (t *ExecutionPayload) MarshalSSZ() ([]byte, error)
- func (t *ExecutionPayload) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayload) MarshalYAML() ([]byte, error)
- func (t *ExecutionPayload) SizeSSZ() (size int)
- func (e *ExecutionPayload) String() string
- func (e *ExecutionPayload) UnmarshalJSON(input []byte) error
- func (t *ExecutionPayload) UnmarshalSSZ(buf []byte) (err error)
- func (e *ExecutionPayload) UnmarshalYAML(input []byte) 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 ExecutionRequests
- func (t *ExecutionRequests) HashTreeRoot() (root [32]byte, err error)
- func (t *ExecutionRequests) HashTreeRootWith(hh sszutils.HashWalker) error
- func (e *ExecutionRequests) MarshalJSON() ([]byte, error)
- func (t *ExecutionRequests) MarshalSSZ() ([]byte, error)
- func (t *ExecutionRequests) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionRequests) MarshalYAML() ([]byte, error)
- func (t *ExecutionRequests) SizeSSZ() (size int)
- func (e *ExecutionRequests) String() string
- func (e *ExecutionRequests) UnmarshalJSON(input []byte) error
- func (t *ExecutionRequests) UnmarshalSSZ(buf []byte) (err error)
- func (e *ExecutionRequests) UnmarshalYAML(input []byte) error
- type IndexedAttestation
- func (t *IndexedAttestation) HashTreeRoot() (root [32]byte, err error)
- func (t *IndexedAttestation) HashTreeRootWith(hh sszutils.HashWalker) error
- func (i *IndexedAttestation) MarshalJSON() ([]byte, error)
- func (t *IndexedAttestation) MarshalSSZ() ([]byte, error)
- func (t *IndexedAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (i *IndexedAttestation) MarshalYAML() ([]byte, error)
- func (t *IndexedAttestation) SizeSSZ() (size int)
- func (i *IndexedAttestation) String() string
- func (i *IndexedAttestation) UnmarshalJSON(input []byte) error
- func (t *IndexedAttestation) UnmarshalSSZ(buf []byte) (err error)
- func (i *IndexedAttestation) 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 SignedAggregateAndProof
- func (t *SignedAggregateAndProof) HashTreeRoot() (root [32]byte, err error)
- func (t *SignedAggregateAndProof) HashTreeRootWith(hh sszutils.HashWalker) error
- func (s *SignedAggregateAndProof) MarshalJSON() ([]byte, error)
- func (t *SignedAggregateAndProof) MarshalSSZ() ([]byte, error)
- func (t *SignedAggregateAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedAggregateAndProof) MarshalYAML() ([]byte, error)
- func (t *SignedAggregateAndProof) SizeSSZ() (size int)
- func (s *SignedAggregateAndProof) String() string
- func (s *SignedAggregateAndProof) UnmarshalJSON(input []byte) error
- func (t *SignedAggregateAndProof) UnmarshalSSZ(buf []byte) (err error)
- func (s *SignedAggregateAndProof) 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 AggregateAndProof ¶ added in v0.1.6
type AggregateAndProof struct {
AggregatorIndex phase0.ValidatorIndex
Aggregate *Attestation
SelectionProof phase0.BLSSignature `ssz-size:"96"`
}
AggregateAndProof is the Ethereum 2 attestation structure.
func (*AggregateAndProof) HashTreeRoot ¶ added in v0.1.6
func (t *AggregateAndProof) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *AggregateAndProof.
func (*AggregateAndProof) HashTreeRootWith ¶ added in v0.1.6
func (t *AggregateAndProof) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *AggregateAndProof using the given hash walker.
func (*AggregateAndProof) MarshalJSON ¶ added in v0.1.6
func (a *AggregateAndProof) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*AggregateAndProof) MarshalSSZ ¶ added in v0.1.6
func (t *AggregateAndProof) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *AggregateAndProof to SSZ-encoded bytes.
func (*AggregateAndProof) MarshalSSZTo ¶ added in v0.1.6
func (t *AggregateAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *AggregateAndProof to SSZ-encoded bytes, appending to the provided buffer.
func (*AggregateAndProof) MarshalYAML ¶ added in v0.1.6
func (a *AggregateAndProof) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*AggregateAndProof) SizeSSZ ¶ added in v0.1.6
func (t *AggregateAndProof) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *AggregateAndProof.
func (*AggregateAndProof) String ¶ added in v0.1.6
func (a *AggregateAndProof) String() string
String returns a string version of the structure.
func (*AggregateAndProof) UnmarshalJSON ¶ added in v0.1.6
func (a *AggregateAndProof) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*AggregateAndProof) UnmarshalSSZ ¶ added in v0.1.6
func (t *AggregateAndProof) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *AggregateAndProof from SSZ-encoded bytes.
func (*AggregateAndProof) UnmarshalYAML ¶ added in v0.1.6
func (a *AggregateAndProof) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type Attestation ¶ added in v0.1.6
type Attestation struct {
AggregationBits bitfield.Bitlist `ssz-index:"0" ssz-type:"progressive-bitlist"`
Data *phase0.AttestationData `ssz-index:"1"`
Signature phase0.BLSSignature `ssz-index:"2" ssz-size:"96"`
CommitteeBits bitfield.Bitvector64 `ssz-index:"3" dynssz-size:"MAX_COMMITTEES_PER_SLOT/8" ssz-size:"8"`
}
Attestation is the Ethereum 2 attestation structure.
func (*Attestation) AggregateValidatorIndex ¶ added in v0.1.6
func (a *Attestation) AggregateValidatorIndex() (phase0.ValidatorIndex, error)
AggregateValidatorIndex returns the index if only one bit is set, otherwise error.
func (*Attestation) CommitteeIndex ¶ added in v0.1.6
func (a *Attestation) CommitteeIndex() (phase0.CommitteeIndex, error)
CommitteeIndex returns the index if only one bit is set, otherwise error.
func (*Attestation) HashTreeRoot ¶ added in v0.1.6
func (t *Attestation) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *Attestation.
func (*Attestation) HashTreeRootWith ¶ added in v0.1.6
func (t *Attestation) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *Attestation using the given hash walker.
func (*Attestation) MarshalJSON ¶ added in v0.1.6
func (a *Attestation) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*Attestation) MarshalSSZ ¶ added in v0.1.6
func (t *Attestation) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *Attestation to SSZ-encoded bytes.
func (*Attestation) MarshalSSZTo ¶ added in v0.1.6
func (t *Attestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *Attestation to SSZ-encoded bytes, appending to the provided buffer.
func (*Attestation) MarshalYAML ¶ added in v0.1.6
func (a *Attestation) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*Attestation) SizeSSZ ¶ added in v0.1.6
func (t *Attestation) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *Attestation.
func (*Attestation) String ¶ added in v0.1.6
func (a *Attestation) String() string
String returns a string version of the structure.
func (*Attestation) ToSingleAttestation ¶ added in v0.1.6
func (a *Attestation) ToSingleAttestation(validatorIndex *phase0.ValidatorIndex) (*electra.SingleAttestation, error)
ToSingleAttestation returns a SingleAttestation representation of the Attestation.
func (*Attestation) UnmarshalJSON ¶ added in v0.1.6
func (a *Attestation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*Attestation) UnmarshalSSZ ¶ added in v0.1.6
func (t *Attestation) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *Attestation from SSZ-encoded bytes.
func (*Attestation) UnmarshalYAML ¶ added in v0.1.6
func (a *Attestation) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type AttesterSlashing ¶ added in v0.1.6
type AttesterSlashing struct {
Attestation1 *IndexedAttestation
Attestation2 *IndexedAttestation
}
AttesterSlashing provides information about an attester slashing.
func (*AttesterSlashing) HashTreeRoot ¶ added in v0.1.6
func (t *AttesterSlashing) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *AttesterSlashing.
func (*AttesterSlashing) HashTreeRootWith ¶ added in v0.1.6
func (t *AttesterSlashing) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *AttesterSlashing using the given hash walker.
func (*AttesterSlashing) MarshalJSON ¶ added in v0.1.6
func (a *AttesterSlashing) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*AttesterSlashing) MarshalSSZ ¶ added in v0.1.6
func (t *AttesterSlashing) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *AttesterSlashing to SSZ-encoded bytes.
func (*AttesterSlashing) MarshalSSZTo ¶ added in v0.1.6
func (t *AttesterSlashing) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *AttesterSlashing to SSZ-encoded bytes, appending to the provided buffer.
func (*AttesterSlashing) MarshalYAML ¶ added in v0.1.6
func (a *AttesterSlashing) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*AttesterSlashing) SizeSSZ ¶ added in v0.1.6
func (t *AttesterSlashing) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *AttesterSlashing.
func (*AttesterSlashing) String ¶ added in v0.1.6
func (a *AttesterSlashing) String() string
func (*AttesterSlashing) UnmarshalJSON ¶ added in v0.1.6
func (a *AttesterSlashing) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*AttesterSlashing) UnmarshalSSZ ¶ added in v0.1.6
func (t *AttesterSlashing) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *AttesterSlashing from SSZ-encoded bytes.
func (*AttesterSlashing) UnmarshalYAML ¶ added in v0.1.6
func (a *AttesterSlashing) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
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-index:"0"`
ETH1Data *phase0.ETH1Data `ssz-index:"1"`
Graffiti [32]byte `ssz-index:"2"`
ProposerSlashings []*phase0.ProposerSlashing `ssz-index:"3" ssz-type:"progressive-list"`
AttesterSlashings []*AttesterSlashing `ssz-index:"4" ssz-type:"progressive-list"`
Attestations []*Attestation `ssz-index:"5" ssz-type:"progressive-list"`
Deposits []*phase0.Deposit `ssz-index:"6" ssz-type:"progressive-list"`
VoluntaryExits []*phase0.SignedVoluntaryExit `ssz-index:"7" ssz-type:"progressive-list"`
SyncAggregate *altair.SyncAggregate `ssz-index:"8"`
BLSToExecutionChanges []*capella.SignedBLSToExecutionChange `ssz-index:"9" ssz-type:"progressive-list"`
SignedExecutionPayloadBid *SignedExecutionPayloadBid `ssz-index:"10"`
PayloadAttestations []*PayloadAttestation `ssz-index:"11" ssz-type:"progressive-list"`
ParentExecutionRequests *ExecutionRequests `ssz-index:"12"`
}
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 `ssz-index:"0"`
GenesisValidatorsRoot phase0.Root `ssz-index:"1" ssz-size:"32"`
Slot phase0.Slot `ssz-index:"2"`
Fork *phase0.Fork `ssz-index:"3"`
LatestBlockHeader *phase0.BeaconBlockHeader `ssz-index:"4"`
BlockRoots []phase0.Root `ssz-index:"5" dynssz-size:"SLOTS_PER_HISTORICAL_ROOT,32" ssz-size:"8192,32"`
StateRoots []phase0.Root `ssz-index:"6" dynssz-size:"SLOTS_PER_HISTORICAL_ROOT,32" ssz-size:"8192,32"`
HistoricalRoots []phase0.Root `ssz-index:"7" ssz-max:"16777216" ssz-size:"?,32"`
ETH1Data *phase0.ETH1Data `ssz-index:"8"`
ETH1DataVotes []*phase0.ETH1Data `ssz-index:"9" dynssz-max:"EPOCHS_PER_ETH1_VOTING_PERIOD*SLOTS_PER_EPOCH" ssz-max:"2048"`
ETH1DepositIndex uint64 `ssz-index:"10"`
Validators []*phase0.Validator `ssz-index:"11" ssz-type:"progressive-list"`
Balances []phase0.Gwei `ssz-index:"12" ssz-type:"progressive-list"`
RANDAOMixes []phase0.Root `ssz-index:"13" dynssz-size:"EPOCHS_PER_HISTORICAL_VECTOR,32" ssz-size:"65536,32"`
Slashings []phase0.Gwei `ssz-index:"14" dynssz-size:"EPOCHS_PER_SLASHINGS_VECTOR" ssz-size:"8192"`
PreviousEpochParticipation []altair.ParticipationFlags `ssz-index:"15" ssz-type:"progressive-list"`
CurrentEpochParticipation []altair.ParticipationFlags `ssz-index:"16" ssz-type:"progressive-list"`
JustificationBits bitfield.Bitvector4 `ssz-index:"17" ssz-size:"1"`
PreviousJustifiedCheckpoint *phase0.Checkpoint `ssz-index:"18"`
CurrentJustifiedCheckpoint *phase0.Checkpoint `ssz-index:"19"`
FinalizedCheckpoint *phase0.Checkpoint `ssz-index:"20"`
InactivityScores []uint64 `ssz-index:"21" ssz-type:"progressive-list"`
CurrentSyncCommittee *altair.SyncCommittee `ssz-index:"22"`
NextSyncCommittee *altair.SyncCommittee `ssz-index:"23"`
LatestBlockHash phase0.Hash32 `ssz-index:"24" ssz-size:"32"`
NextWithdrawalIndex capella.WithdrawalIndex `ssz-index:"25"`
NextWithdrawalValidatorIndex phase0.ValidatorIndex `ssz-index:"26"`
HistoricalSummaries []*capella.HistoricalSummary `ssz-index:"27" ssz-max:"16777216"`
DepositRequestsStartIndex uint64 `ssz-index:"28"`
DepositBalanceToConsume phase0.Gwei `ssz-index:"29"`
ExitBalanceToConsume phase0.Gwei `ssz-index:"30"`
EarliestExitEpoch phase0.Epoch `ssz-index:"31"`
ConsolidationBalanceToConsume phase0.Gwei `ssz-index:"32"`
EarliestConsolidationEpoch phase0.Epoch `ssz-index:"33"`
PendingDeposits []*electra.PendingDeposit `ssz-index:"34" ssz-type:"progressive-list"`
PendingPartialWithdrawals []*electra.PendingPartialWithdrawal `ssz-index:"35" ssz-type:"progressive-list"`
PendingConsolidations []*electra.PendingConsolidation `ssz-index:"36" ssz-type:"progressive-list"`
ProposerLookahead []phase0.ValidatorIndex `ssz-index:"37" dynssz-size:"(MIN_SEED_LOOKAHEAD+1)*SLOTS_PER_EPOCH" ssz-size:"64"`
Builders []*Builder `ssz-index:"38" ssz-type:"progressive-list"`
NextWithdrawalBuilderIndex BuilderIndex `ssz-index:"39"`
ExecutionPayloadAvailability []uint8 `ssz-index:"40" dynssz-size:"SLOTS_PER_HISTORICAL_ROOT/8" ssz-size:"1024"`
BuilderPendingPayments []*BuilderPendingPayment `ssz-index:"41" dynssz-size:"SLOTS_PER_EPOCH*2" ssz-size:"64"`
BuilderPendingWithdrawals []*BuilderPendingWithdrawal `ssz-index:"42" ssz-type:"progressive-list"`
LatestExecutionPayloadBid *ExecutionPayloadBid `ssz-index:"43"`
PayloadExpectedWithdrawals []*capella.Withdrawal `ssz-index:"44" ssz-type:"progressive-list"`
PTCWindow [][]phase0.ValidatorIndex `ssz-index:"45" dynssz-size:"(2+MIN_SEED_LOOKAHEAD)*SLOTS_PER_EPOCH,PTC_SIZE" ssz-size:"96,512"`
}
BeaconState represents a beacon state for EIP-7732.
func (*BeaconState) HashTreeRoot ¶
func (t *BeaconState) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BeaconState.
func (*BeaconState) HashTreeRootWith ¶
func (t *BeaconState) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BeaconState using the given hash walker.
func (*BeaconState) MarshalJSON ¶
func (b *BeaconState) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BeaconState) MarshalSSZ ¶
func (t *BeaconState) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BeaconState to SSZ-encoded bytes.
func (*BeaconState) MarshalSSZTo ¶
func (t *BeaconState) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BeaconState to SSZ-encoded bytes, appending to the provided buffer.
func (*BeaconState) MarshalYAML ¶
func (b *BeaconState) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BeaconState) SizeSSZ ¶
func (t *BeaconState) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BeaconState.
func (*BeaconState) String ¶
func (b *BeaconState) String() string
String returns a string version of the structure.
func (*BeaconState) UnmarshalJSON ¶
func (b *BeaconState) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*BeaconState) UnmarshalSSZ ¶
func (t *BeaconState) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BeaconState from SSZ-encoded bytes.
func (*BeaconState) UnmarshalYAML ¶
func (b *BeaconState) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type BlockAccessList ¶ added in v0.1.0
type BlockAccessList []byte
BlockAccessList is the RLP-encoded block access list (EIP-7928).
type Builder ¶
type Builder struct {
PublicKey phase0.BLSPubKey `ssz-size:"48"`
Version uint8
ExecutionAddress bellatrix.ExecutionAddress `ssz-size:"20"`
Balance phase0.Gwei
DepositEpoch phase0.Epoch
WithdrawableEpoch phase0.Epoch
}
Builder is the Ethereum 2 builder structure.
func (*Builder) HashTreeRoot ¶
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 BuilderDepositRequest ¶ added in v0.1.4
type BuilderDepositRequest struct {
Pubkey phase0.BLSPubKey `ssz-size:"48"`
WithdrawalCredentials []byte `ssz-size:"32"`
Amount phase0.Gwei
Signature phase0.BLSSignature `ssz-size:"96"`
}
BuilderDepositRequest represents a builder deposit request (EIP-8282).
func (*BuilderDepositRequest) HashTreeRoot ¶ added in v0.1.4
func (t *BuilderDepositRequest) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BuilderDepositRequest.
func (*BuilderDepositRequest) HashTreeRootWith ¶ added in v0.1.4
func (t *BuilderDepositRequest) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BuilderDepositRequest using the given hash walker.
func (*BuilderDepositRequest) MarshalJSON ¶ added in v0.1.4
func (b *BuilderDepositRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BuilderDepositRequest) MarshalSSZ ¶ added in v0.1.4
func (t *BuilderDepositRequest) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BuilderDepositRequest to SSZ-encoded bytes.
func (*BuilderDepositRequest) MarshalSSZTo ¶ added in v0.1.4
func (t *BuilderDepositRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BuilderDepositRequest to SSZ-encoded bytes, appending to the provided buffer.
func (*BuilderDepositRequest) MarshalYAML ¶ added in v0.1.4
func (b *BuilderDepositRequest) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BuilderDepositRequest) SizeSSZ ¶ added in v0.1.4
func (t *BuilderDepositRequest) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BuilderDepositRequest.
func (*BuilderDepositRequest) String ¶ added in v0.1.4
func (b *BuilderDepositRequest) String() string
String returns a string version of the structure.
func (*BuilderDepositRequest) UnmarshalJSON ¶ added in v0.1.4
func (b *BuilderDepositRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*BuilderDepositRequest) UnmarshalSSZ ¶ added in v0.1.4
func (t *BuilderDepositRequest) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BuilderDepositRequest from SSZ-encoded bytes.
func (*BuilderDepositRequest) UnmarshalYAML ¶ added in v0.1.4
func (b *BuilderDepositRequest) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type BuilderExitRequest ¶ added in v0.1.4
type BuilderExitRequest struct {
SourceAddress bellatrix.ExecutionAddress `ssz-size:"20"`
Pubkey phase0.BLSPubKey `ssz-size:"48"`
}
BuilderExitRequest represents a builder exit request (EIP-8282).
func (*BuilderExitRequest) HashTreeRoot ¶ added in v0.1.4
func (t *BuilderExitRequest) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BuilderExitRequest.
func (*BuilderExitRequest) HashTreeRootWith ¶ added in v0.1.4
func (t *BuilderExitRequest) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BuilderExitRequest using the given hash walker.
func (*BuilderExitRequest) MarshalJSON ¶ added in v0.1.4
func (b *BuilderExitRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BuilderExitRequest) MarshalSSZ ¶ added in v0.1.4
func (t *BuilderExitRequest) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BuilderExitRequest to SSZ-encoded bytes.
func (*BuilderExitRequest) MarshalSSZTo ¶ added in v0.1.4
func (t *BuilderExitRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BuilderExitRequest to SSZ-encoded bytes, appending to the provided buffer.
func (*BuilderExitRequest) MarshalYAML ¶ added in v0.1.4
func (b *BuilderExitRequest) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BuilderExitRequest) SizeSSZ ¶ added in v0.1.4
func (t *BuilderExitRequest) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BuilderExitRequest.
func (*BuilderExitRequest) String ¶ added in v0.1.4
func (b *BuilderExitRequest) String() string
String returns a string version of the structure.
func (*BuilderExitRequest) UnmarshalJSON ¶ added in v0.1.4
func (b *BuilderExitRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*BuilderExitRequest) UnmarshalSSZ ¶ added in v0.1.4
func (t *BuilderExitRequest) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BuilderExitRequest from SSZ-encoded bytes.
func (*BuilderExitRequest) UnmarshalYAML ¶ added in v0.1.4
func (b *BuilderExitRequest) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type BuilderIndex ¶
type BuilderIndex uint64
BuilderIndex is the index of the builder.
func (BuilderIndex) MarshalJSON ¶
func (v BuilderIndex) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BuilderIndex) UnmarshalJSON ¶
func (v *BuilderIndex) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
type BuilderPendingPayment ¶
type BuilderPendingPayment struct {
Weight phase0.Gwei
Withdrawal *BuilderPendingWithdrawal
ProposerIndex phase0.ValidatorIndex
}
BuilderPendingPayment represents a builder pending payment.
func (*BuilderPendingPayment) HashTreeRoot ¶
func (t *BuilderPendingPayment) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BuilderPendingPayment.
func (*BuilderPendingPayment) HashTreeRootWith ¶
func (t *BuilderPendingPayment) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BuilderPendingPayment using the given hash walker.
func (*BuilderPendingPayment) MarshalSSZ ¶
func (t *BuilderPendingPayment) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BuilderPendingPayment to SSZ-encoded bytes.
func (*BuilderPendingPayment) MarshalSSZTo ¶
func (t *BuilderPendingPayment) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BuilderPendingPayment to SSZ-encoded bytes, appending to the provided buffer.
func (*BuilderPendingPayment) SizeSSZ ¶
func (t *BuilderPendingPayment) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BuilderPendingPayment.
func (*BuilderPendingPayment) String ¶
func (p *BuilderPendingPayment) String() string
String returns a string version of the structure.
func (*BuilderPendingPayment) UnmarshalSSZ ¶
func (t *BuilderPendingPayment) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BuilderPendingPayment from SSZ-encoded bytes.
type BuilderPendingWithdrawal ¶
type BuilderPendingWithdrawal struct {
FeeRecipient bellatrix.ExecutionAddress `ssz-size:"20"`
Amount phase0.Gwei
BuilderIndex BuilderIndex
}
BuilderPendingWithdrawal represents a builder pending withdrawal.
func (*BuilderPendingWithdrawal) HashTreeRoot ¶
func (t *BuilderPendingWithdrawal) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BuilderPendingWithdrawal.
func (*BuilderPendingWithdrawal) HashTreeRootWith ¶
func (t *BuilderPendingWithdrawal) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BuilderPendingWithdrawal using the given hash walker.
func (*BuilderPendingWithdrawal) MarshalSSZ ¶
func (t *BuilderPendingWithdrawal) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BuilderPendingWithdrawal to SSZ-encoded bytes.
func (*BuilderPendingWithdrawal) MarshalSSZTo ¶
func (t *BuilderPendingWithdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BuilderPendingWithdrawal to SSZ-encoded bytes, appending to the provided buffer.
func (*BuilderPendingWithdrawal) SizeSSZ ¶
func (t *BuilderPendingWithdrawal) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BuilderPendingWithdrawal.
func (*BuilderPendingWithdrawal) String ¶
func (p *BuilderPendingWithdrawal) String() string
String returns a string version of the structure.
func (*BuilderPendingWithdrawal) UnmarshalSSZ ¶
func (t *BuilderPendingWithdrawal) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BuilderPendingWithdrawal from SSZ-encoded bytes.
type ExecutionPayload ¶ added in v0.1.0
type ExecutionPayload struct {
ParentHash phase0.Hash32 `ssz-index:"0"`
FeeRecipient bellatrix.ExecutionAddress `ssz-index:"1"`
StateRoot phase0.Root `ssz-index:"2"`
ReceiptsRoot phase0.Root `ssz-index:"3"`
LogsBloom [256]byte `ssz-index:"4"`
PrevRandao [32]byte `ssz-index:"5"`
BlockNumber uint64 `ssz-index:"6"`
GasLimit uint64 `ssz-index:"7"`
GasUsed uint64 `ssz-index:"8"`
Timestamp uint64 `ssz-index:"9"`
ExtraData []byte `ssz-index:"10" dynssz-max:"MAX_EXTRA_DATA_BYTES" ssz-max:"32"`
BaseFeePerGas *uint256.Int `ssz-index:"11" ssz-type:"uint256"`
BlockHash phase0.Hash32 `ssz-index:"12"`
Transactions []bellatrix.Transaction `ssz-index:"13" ssz-type:"progressive-list,progressive-list"`
Withdrawals []*capella.Withdrawal `ssz-index:"14" ssz-type:"progressive-list"`
BlobGasUsed uint64 `ssz-index:"15"`
ExcessBlobGas uint64 `ssz-index:"16"`
BlockAccessList BlockAccessList `ssz-index:"17" ssz-type:"progressive-list"`
SlotNumber uint64 `ssz-index:"18"`
}
ExecutionPayload represents an execution layer payload.
func (*ExecutionPayload) HashTreeRoot ¶ added in v0.1.0
func (t *ExecutionPayload) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *ExecutionPayload.
func (*ExecutionPayload) HashTreeRootWith ¶ added in v0.1.0
func (t *ExecutionPayload) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *ExecutionPayload using the given hash walker.
func (*ExecutionPayload) MarshalJSON ¶ added in v0.1.0
func (e *ExecutionPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ExecutionPayload) MarshalSSZ ¶ added in v0.1.0
func (t *ExecutionPayload) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *ExecutionPayload to SSZ-encoded bytes.
func (*ExecutionPayload) MarshalSSZTo ¶ added in v0.1.0
func (t *ExecutionPayload) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *ExecutionPayload to SSZ-encoded bytes, appending to the provided buffer.
func (*ExecutionPayload) MarshalYAML ¶ added in v0.1.0
func (e *ExecutionPayload) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*ExecutionPayload) SizeSSZ ¶ added in v0.1.0
func (t *ExecutionPayload) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *ExecutionPayload.
func (*ExecutionPayload) String ¶ added in v0.1.0
func (e *ExecutionPayload) String() string
String returns a string version of the structure.
func (*ExecutionPayload) UnmarshalJSON ¶ added in v0.1.0
func (e *ExecutionPayload) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*ExecutionPayload) UnmarshalSSZ ¶ added in v0.1.0
func (t *ExecutionPayload) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *ExecutionPayload from SSZ-encoded bytes.
func (*ExecutionPayload) UnmarshalYAML ¶ added in v0.1.0
func (e *ExecutionPayload) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type ExecutionPayloadBid ¶
type ExecutionPayloadBid struct {
ParentBlockHash phase0.Hash32 `ssz-index:"0"`
ParentBlockRoot phase0.Root `ssz-index:"1"`
BlockHash phase0.Hash32 `ssz-index:"2"`
PrevRandao phase0.Root `ssz-index:"3"`
FeeRecipient bellatrix.ExecutionAddress `ssz-index:"4"`
GasLimit uint64 `ssz-index:"5"`
BuilderIndex BuilderIndex `ssz-index:"6"`
Slot phase0.Slot `ssz-index:"7"`
Value phase0.Gwei `ssz-index:"8"`
ExecutionPayment phase0.Gwei `ssz-index:"9"`
BlobKZGCommitments []deneb.KZGCommitment `ssz-index:"10" ssz-type:"progressive-list"`
ExecutionRequestsRoot phase0.Root `ssz-index:"11"`
}
ExecutionPayloadBid represents an execution payload bid for EIP-7732.
func (*ExecutionPayloadBid) HashTreeRoot ¶
func (t *ExecutionPayloadBid) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *ExecutionPayloadBid.
func (*ExecutionPayloadBid) HashTreeRootWith ¶
func (t *ExecutionPayloadBid) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *ExecutionPayloadBid using the given hash walker.
func (*ExecutionPayloadBid) MarshalJSON ¶
func (e *ExecutionPayloadBid) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ExecutionPayloadBid) MarshalSSZ ¶
func (t *ExecutionPayloadBid) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *ExecutionPayloadBid to SSZ-encoded bytes.
func (*ExecutionPayloadBid) MarshalSSZTo ¶
func (t *ExecutionPayloadBid) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *ExecutionPayloadBid to SSZ-encoded bytes, appending to the provided buffer.
func (*ExecutionPayloadBid) MarshalYAML ¶
func (e *ExecutionPayloadBid) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*ExecutionPayloadBid) SizeSSZ ¶
func (t *ExecutionPayloadBid) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *ExecutionPayloadBid.
func (*ExecutionPayloadBid) String ¶
func (e *ExecutionPayloadBid) String() string
String returns a string version of the structure.
func (*ExecutionPayloadBid) UnmarshalJSON ¶
func (e *ExecutionPayloadBid) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*ExecutionPayloadBid) UnmarshalSSZ ¶
func (t *ExecutionPayloadBid) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *ExecutionPayloadBid from SSZ-encoded bytes.
func (*ExecutionPayloadBid) UnmarshalYAML ¶
func (e *ExecutionPayloadBid) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type ExecutionPayloadEnvelope ¶
type ExecutionPayloadEnvelope struct {
Payload *ExecutionPayload `ssz-index:"0"`
ExecutionRequests *ExecutionRequests `ssz-index:"1"`
BuilderIndex BuilderIndex `ssz-index:"2"`
BeaconBlockRoot phase0.Root `ssz-index:"3"`
ParentBeaconBlockRoot phase0.Root `ssz-index:"4"`
}
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 ExecutionRequests ¶ added in v0.1.4
type ExecutionRequests struct {
Deposits []*electra.DepositRequest `ssz-index:"0" ssz-type:"progressive-list"`
Withdrawals []*electra.WithdrawalRequest `ssz-index:"1" ssz-type:"progressive-list"`
Consolidations []*electra.ConsolidationRequest `ssz-index:"2" ssz-type:"progressive-list"`
BuilderDeposits []*BuilderDepositRequest `ssz-index:"3" ssz-type:"progressive-list"`
BuilderExits []*BuilderExitRequest `ssz-index:"4" ssz-type:"progressive-list"`
}
ExecutionRequests represents the execution layer triggered requests of a payload (EIP-8282).
func (*ExecutionRequests) HashTreeRoot ¶ added in v0.1.4
func (t *ExecutionRequests) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *ExecutionRequests.
func (*ExecutionRequests) HashTreeRootWith ¶ added in v0.1.4
func (t *ExecutionRequests) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *ExecutionRequests using the given hash walker.
func (*ExecutionRequests) MarshalJSON ¶ added in v0.1.4
func (e *ExecutionRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ExecutionRequests) MarshalSSZ ¶ added in v0.1.4
func (t *ExecutionRequests) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *ExecutionRequests to SSZ-encoded bytes.
func (*ExecutionRequests) MarshalSSZTo ¶ added in v0.1.4
func (t *ExecutionRequests) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *ExecutionRequests to SSZ-encoded bytes, appending to the provided buffer.
func (*ExecutionRequests) MarshalYAML ¶ added in v0.1.4
func (e *ExecutionRequests) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*ExecutionRequests) SizeSSZ ¶ added in v0.1.4
func (t *ExecutionRequests) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *ExecutionRequests.
func (*ExecutionRequests) String ¶ added in v0.1.4
func (e *ExecutionRequests) String() string
String returns a string version of the structure.
func (*ExecutionRequests) UnmarshalJSON ¶ added in v0.1.4
func (e *ExecutionRequests) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*ExecutionRequests) UnmarshalSSZ ¶ added in v0.1.4
func (t *ExecutionRequests) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *ExecutionRequests from SSZ-encoded bytes.
func (*ExecutionRequests) UnmarshalYAML ¶ added in v0.1.4
func (e *ExecutionRequests) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type IndexedAttestation ¶ added in v0.1.6
type IndexedAttestation struct {
// Currently using primitives as sszgen does not handle []ValidatorIndex
AttestingIndices []uint64 `ssz-index:"0" ssz-type:"progressive-list"`
Data *phase0.AttestationData `ssz-index:"1"`
Signature phase0.BLSSignature `ssz-index:"2" ssz-size:"96"`
}
IndexedAttestation provides a signed attestation with a list of attesting indices.
func (*IndexedAttestation) HashTreeRoot ¶ added in v0.1.6
func (t *IndexedAttestation) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *IndexedAttestation.
func (*IndexedAttestation) HashTreeRootWith ¶ added in v0.1.6
func (t *IndexedAttestation) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *IndexedAttestation using the given hash walker.
func (*IndexedAttestation) MarshalJSON ¶ added in v0.1.6
func (i *IndexedAttestation) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*IndexedAttestation) MarshalSSZ ¶ added in v0.1.6
func (t *IndexedAttestation) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *IndexedAttestation to SSZ-encoded bytes.
func (*IndexedAttestation) MarshalSSZTo ¶ added in v0.1.6
func (t *IndexedAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *IndexedAttestation to SSZ-encoded bytes, appending to the provided buffer.
func (*IndexedAttestation) MarshalYAML ¶ added in v0.1.6
func (i *IndexedAttestation) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*IndexedAttestation) SizeSSZ ¶ added in v0.1.6
func (t *IndexedAttestation) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *IndexedAttestation.
func (*IndexedAttestation) String ¶ added in v0.1.6
func (i *IndexedAttestation) String() string
String returns a string version of the structure.
func (*IndexedAttestation) UnmarshalJSON ¶ added in v0.1.6
func (i *IndexedAttestation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*IndexedAttestation) UnmarshalSSZ ¶ added in v0.1.6
func (t *IndexedAttestation) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *IndexedAttestation from SSZ-encoded bytes.
func (*IndexedAttestation) UnmarshalYAML ¶ added in v0.1.6
func (i *IndexedAttestation) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type IndexedPayloadAttestation ¶
type IndexedPayloadAttestation struct {
AttestingIndices []phase0.ValidatorIndex `ssz-index:"0" dynssz-max:"PTC_SIZE" ssz-max:"512"`
Data *PayloadAttestationData `ssz-index:"1"`
Signature phase0.BLSSignature `ssz-index:"2"`
}
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 `ssz-index:"0" dynssz-size:"PTC_SIZE/8" ssz-size:"64"`
Data *PayloadAttestationData `ssz-index:"1"`
Signature phase0.BLSSignature `ssz-index:"2"`
}
PayloadAttestation represents a payload attestation.
func (*PayloadAttestation) HashTreeRoot ¶
func (t *PayloadAttestation) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *PayloadAttestation.
func (*PayloadAttestation) HashTreeRootWith ¶
func (t *PayloadAttestation) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *PayloadAttestation using the given hash walker.
func (*PayloadAttestation) MarshalJSON ¶
func (p *PayloadAttestation) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*PayloadAttestation) MarshalSSZ ¶
func (t *PayloadAttestation) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *PayloadAttestation to SSZ-encoded bytes.
func (*PayloadAttestation) MarshalSSZTo ¶
func (t *PayloadAttestation) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *PayloadAttestation to SSZ-encoded bytes, appending to the provided buffer.
func (*PayloadAttestation) MarshalYAML ¶
func (p *PayloadAttestation) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*PayloadAttestation) SizeSSZ ¶
func (t *PayloadAttestation) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *PayloadAttestation.
func (*PayloadAttestation) String ¶
func (p *PayloadAttestation) String() string
String returns a string version of the structure.
func (*PayloadAttestation) UnmarshalJSON ¶
func (p *PayloadAttestation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*PayloadAttestation) UnmarshalSSZ ¶
func (t *PayloadAttestation) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *PayloadAttestation from SSZ-encoded bytes.
func (*PayloadAttestation) UnmarshalYAML ¶
func (p *PayloadAttestation) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type PayloadAttestationData ¶
type PayloadAttestationData struct {
BeaconBlockRoot phase0.Root `ssz-size:"32"`
Slot phase0.Slot
PayloadPresent bool
BlobDataAvailable bool
}
PayloadAttestationData represents payload attestation data.
func (*PayloadAttestationData) HashTreeRoot ¶
func (t *PayloadAttestationData) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *PayloadAttestationData.
func (*PayloadAttestationData) HashTreeRootWith ¶
func (t *PayloadAttestationData) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *PayloadAttestationData using the given hash walker.
func (*PayloadAttestationData) MarshalJSON ¶
func (p *PayloadAttestationData) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*PayloadAttestationData) MarshalSSZ ¶
func (t *PayloadAttestationData) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *PayloadAttestationData to SSZ-encoded bytes.
func (*PayloadAttestationData) MarshalSSZTo ¶
func (t *PayloadAttestationData) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *PayloadAttestationData to SSZ-encoded bytes, appending to the provided buffer.
func (*PayloadAttestationData) MarshalYAML ¶
func (p *PayloadAttestationData) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*PayloadAttestationData) SizeSSZ ¶
func (t *PayloadAttestationData) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *PayloadAttestationData.
func (*PayloadAttestationData) String ¶
func (p *PayloadAttestationData) String() string
String returns a string version of the structure.
func (*PayloadAttestationData) UnmarshalJSON ¶
func (p *PayloadAttestationData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*PayloadAttestationData) UnmarshalSSZ ¶
func (t *PayloadAttestationData) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *PayloadAttestationData from SSZ-encoded bytes.
func (*PayloadAttestationData) UnmarshalYAML ¶
func (p *PayloadAttestationData) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type PayloadAttestationMessage ¶
type PayloadAttestationMessage struct {
ValidatorIndex phase0.ValidatorIndex
Data *PayloadAttestationData
Signature phase0.BLSSignature `ssz-size:"96"`
}
PayloadAttestationMessage represents a payload attestation message.
func (*PayloadAttestationMessage) HashTreeRoot ¶
func (t *PayloadAttestationMessage) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *PayloadAttestationMessage.
func (*PayloadAttestationMessage) HashTreeRootWith ¶
func (t *PayloadAttestationMessage) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *PayloadAttestationMessage using the given hash walker.
func (*PayloadAttestationMessage) MarshalJSON ¶
func (p *PayloadAttestationMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*PayloadAttestationMessage) MarshalSSZ ¶
func (t *PayloadAttestationMessage) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *PayloadAttestationMessage to SSZ-encoded bytes.
func (*PayloadAttestationMessage) MarshalSSZTo ¶
func (t *PayloadAttestationMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *PayloadAttestationMessage to SSZ-encoded bytes, appending to the provided buffer.
func (*PayloadAttestationMessage) MarshalYAML ¶
func (p *PayloadAttestationMessage) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*PayloadAttestationMessage) SizeSSZ ¶
func (t *PayloadAttestationMessage) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *PayloadAttestationMessage.
func (*PayloadAttestationMessage) String ¶
func (p *PayloadAttestationMessage) String() string
String returns a string version of the structure.
func (*PayloadAttestationMessage) UnmarshalJSON ¶
func (p *PayloadAttestationMessage) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*PayloadAttestationMessage) UnmarshalSSZ ¶
func (t *PayloadAttestationMessage) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *PayloadAttestationMessage from SSZ-encoded bytes.
func (*PayloadAttestationMessage) UnmarshalYAML ¶
func (p *PayloadAttestationMessage) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type ProposerPreferences ¶
type ProposerPreferences struct {
DependentRoot phase0.Root `ssz-size:"32"`
ProposalSlot phase0.Slot
ValidatorIndex phase0.ValidatorIndex
FeeRecipient bellatrix.ExecutionAddress `ssz-size:"20"`
TargetGasLimit 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 SignedAggregateAndProof ¶ added in v0.1.6
type SignedAggregateAndProof struct {
Message *AggregateAndProof
Signature phase0.BLSSignature `ssz-size:"96"`
}
SignedAggregateAndProof provides information about a signed aggregate and proof.
func (*SignedAggregateAndProof) HashTreeRoot ¶ added in v0.1.6
func (t *SignedAggregateAndProof) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *SignedAggregateAndProof.
func (*SignedAggregateAndProof) HashTreeRootWith ¶ added in v0.1.6
func (t *SignedAggregateAndProof) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *SignedAggregateAndProof using the given hash walker.
func (*SignedAggregateAndProof) MarshalJSON ¶ added in v0.1.6
func (s *SignedAggregateAndProof) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*SignedAggregateAndProof) MarshalSSZ ¶ added in v0.1.6
func (t *SignedAggregateAndProof) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *SignedAggregateAndProof to SSZ-encoded bytes.
func (*SignedAggregateAndProof) MarshalSSZTo ¶ added in v0.1.6
func (t *SignedAggregateAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *SignedAggregateAndProof to SSZ-encoded bytes, appending to the provided buffer.
func (*SignedAggregateAndProof) MarshalYAML ¶ added in v0.1.6
func (s *SignedAggregateAndProof) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*SignedAggregateAndProof) SizeSSZ ¶ added in v0.1.6
func (t *SignedAggregateAndProof) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *SignedAggregateAndProof.
func (*SignedAggregateAndProof) String ¶ added in v0.1.6
func (s *SignedAggregateAndProof) String() string
String returns a string version of the structure.
func (*SignedAggregateAndProof) UnmarshalJSON ¶ added in v0.1.6
func (s *SignedAggregateAndProof) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*SignedAggregateAndProof) UnmarshalSSZ ¶ added in v0.1.6
func (t *SignedAggregateAndProof) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *SignedAggregateAndProof from SSZ-encoded bytes.
func (*SignedAggregateAndProof) UnmarshalYAML ¶ added in v0.1.6
func (s *SignedAggregateAndProof) 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
¶
- aggregateandproof.go
- aggregateandproof_ssz.go
- attestation.go
- attestation_ssz.go
- attesterslashing.go
- attesterslashing_ssz.go
- 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
- builderdepositrequest.go
- builderdepositrequest_json.go
- builderdepositrequest_ssz.go
- builderdepositrequest_yaml.go
- builderexitrequest.go
- builderexitrequest_json.go
- builderexitrequest_ssz.go
- builderexitrequest_yaml.go
- builderindex.go
- builderpendingpayment.go
- builderpendingpayment_ssz.go
- builderpendingwithdrawal.go
- builderpendingwithdrawal_ssz.go
- executionpayload.go
- executionpayload_json.go
- executionpayload_ssz.go
- executionpayload_yaml.go
- executionpayloadbid.go
- executionpayloadbid_json.go
- executionpayloadbid_ssz.go
- executionpayloadbid_yaml.go
- executionpayloadenvelope.go
- executionpayloadenvelope_json.go
- executionpayloadenvelope_ssz.go
- executionpayloadenvelope_yaml.go
- executionrequests.go
- executionrequests_json.go
- executionrequests_ssz.go
- executionrequests_yaml.go
- generate.go
- indexedattestation.go
- indexedattestation_ssz.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
- signedaggregateandproof.go
- signedaggregateandproof_ssz.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