api

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 10 Imported by: 158

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 08636ad5a6add4599e6b010f2318fc2d68a65ba8f1b4397b0424fa97b0cbc352 Version: 0.1.3

Code generated by fastssz. DO NOT EDIT. Hash: 08636ad5a6add4599e6b010f2318fc2d68a65ba8f1b4397b0424fa97b0cbc352 Version: 0.1.3

Code generated by fastssz. DO NOT EDIT. Hash: 08636ad5a6add4599e6b010f2318fc2d68a65ba8f1b4397b0424fa97b0cbc352 Version: 0.1.3

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionedBlindedBeaconBlock

type VersionedBlindedBeaconBlock struct {
	Version   spec.DataVersion
	Bellatrix *apiv1bellatrix.BlindedBeaconBlock
	Capella   *apiv1capella.BlindedBeaconBlock
	Deneb     *apiv1deneb.BlindedBeaconBlock
}

VersionedBlindedBeaconBlock contains a versioned blinded beacon block.

func (*VersionedBlindedBeaconBlock) Attestations

func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)

Attestations returns the attestations of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) BodyRoot

func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)

BodyRoot returns the body root of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) FeeRecipient added in v0.13.3

FeeRecipient returns the fee recipient of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) GetTree added in v0.13.0

func (v *VersionedBlindedBeaconBlock) GetTree() (*ssz.Node, error)

GetTree ssz hashes the VersionedBlindedBeaconBlock object

func (*VersionedBlindedBeaconBlock) Graffiti added in v0.18.0

func (v *VersionedBlindedBeaconBlock) Graffiti() ([32]byte, error)

Graffiti returns the graffiti of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) HashTreeRoot added in v0.13.0

func (v *VersionedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the VersionedBlindedBeaconBlock object

func (*VersionedBlindedBeaconBlock) HashTreeRootWith added in v0.13.0

func (v *VersionedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the VersionedBlindedBeaconBlock object with a hasher

func (*VersionedBlindedBeaconBlock) IsEmpty

func (v *VersionedBlindedBeaconBlock) IsEmpty() bool

IsEmpty returns true if there is no block.

func (*VersionedBlindedBeaconBlock) MarshalSSZ added in v0.13.0

func (v *VersionedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the VersionedBlindedBeaconBlock object

func (*VersionedBlindedBeaconBlock) MarshalSSZTo added in v0.13.0

func (v *VersionedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the VersionedBlindedBeaconBlock object to a target array

func (*VersionedBlindedBeaconBlock) ParentRoot

func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)

ParentRoot returns the parent root of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) ProposerIndex added in v0.18.1

ProposerIndex returns the proposer index of the beacon block.

func (*VersionedBlindedBeaconBlock) RandaoReveal added in v0.18.0

RandaoReveal returns the RANDAO reveal of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) Root

Root returns the root of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) SizeSSZ added in v0.13.0

func (v *VersionedBlindedBeaconBlock) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the VersionedBlindedBeaconBlock object

func (*VersionedBlindedBeaconBlock) Slot

Slot returns the slot of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) StateRoot

func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error)

StateRoot returns the state root of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) String added in v0.12.0

func (v *VersionedBlindedBeaconBlock) String() string

String returns a string version of the structure.

func (*VersionedBlindedBeaconBlock) Timestamp added in v0.14.4

func (v *VersionedBlindedBeaconBlock) Timestamp() (uint64, error)

Timestamp returns the timestamp of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) TransactionsRoot added in v0.13.1

func (v *VersionedBlindedBeaconBlock) TransactionsRoot() (phase0.Root, error)

TransactionsRoot returns the transactions root of the blinded beacon block.

func (*VersionedBlindedBeaconBlock) UnmarshalSSZ added in v0.13.0

func (v *VersionedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the VersionedBlindedBeaconBlock object

type VersionedSignedBlindedBeaconBlock

type VersionedSignedBlindedBeaconBlock struct {
	Version   spec.DataVersion
	Bellatrix *apiv1bellatrix.SignedBlindedBeaconBlock
	Capella   *apiv1capella.SignedBlindedBeaconBlock
	Deneb     *apiv1deneb.SignedBlindedBeaconBlock
}

VersionedSignedBlindedBeaconBlock contains a versioned signed blinded beacon block.

func (*VersionedSignedBlindedBeaconBlock) Attestations

Attestations returns the attestations of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) AttesterSlashings

func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error)

AttesterSlashings returns the attester slashings of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) BodyRoot

BodyRoot returns the body root of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) ExecutionBlockHash added in v0.18.1

func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockHash() (phase0.Hash32, error)

ExecutionBlockHash returns the hash of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) ExecutionBlockNumber added in v0.18.1

func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockNumber() (uint64, error)

ExecutionBlockNumber returns the block number of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) GetTree added in v0.18.2

GetTree ssz hashes the VersionedSignedBlindedBeaconBlock object

func (*VersionedSignedBlindedBeaconBlock) HashTreeRoot added in v0.18.2

func (v *VersionedSignedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the VersionedSignedBlindedBeaconBlock object

func (*VersionedSignedBlindedBeaconBlock) HashTreeRootWith added in v0.18.2

func (v *VersionedSignedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the VersionedSignedBlindedBeaconBlock object with a hasher

func (*VersionedSignedBlindedBeaconBlock) MarshalSSZ added in v0.18.2

func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the VersionedSignedBlindedBeaconBlock object

func (*VersionedSignedBlindedBeaconBlock) MarshalSSZTo added in v0.18.2

func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the VersionedSignedBlindedBeaconBlock object to a target array

func (*VersionedSignedBlindedBeaconBlock) ParentRoot

ParentRoot returns the parent root of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) ProposerIndex added in v0.18.1

ProposerIndex returns the proposer index of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) ProposerSlashings

func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error)

ProposerSlashings returns the proposer slashings of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) Root

Root returns the root of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) Signature added in v0.18.1

Signature returns the signature of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) SizeSSZ added in v0.18.2

func (v *VersionedSignedBlindedBeaconBlock) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the VersionedSignedBlindedBeaconBlock object

func (*VersionedSignedBlindedBeaconBlock) Slot

Slot returns the slot of the signed beacon block.

func (*VersionedSignedBlindedBeaconBlock) StateRoot

StateRoot returns the state root of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) UnmarshalSSZ added in v0.18.2

func (v *VersionedSignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the VersionedSignedBlindedBeaconBlock object

type VersionedSignedValidatorRegistration added in v0.12.0

type VersionedSignedValidatorRegistration struct {
	Version spec.BuilderVersion
	V1      *apiv1.SignedValidatorRegistration
}

VersionedSignedValidatorRegistration contains a versioned SignedValidatorRegistrationV1.

func (*VersionedSignedValidatorRegistration) FeeRecipient added in v0.12.0

FeeRecipient returns the fee recipient of the signed validator registration.

func (*VersionedSignedValidatorRegistration) GasLimit added in v0.12.0

GasLimit returns the gas limit of the signed validator registration.

func (*VersionedSignedValidatorRegistration) GetTree added in v0.18.2

GetTree ssz hashes the VersionedSignedValidatorRegistration object

func (*VersionedSignedValidatorRegistration) HashTreeRoot added in v0.18.2

func (v *VersionedSignedValidatorRegistration) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the VersionedSignedValidatorRegistration object

func (*VersionedSignedValidatorRegistration) HashTreeRootWith added in v0.18.2

func (v *VersionedSignedValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the VersionedSignedValidatorRegistration object with a hasher

func (*VersionedSignedValidatorRegistration) MarshalSSZ added in v0.18.2

func (v *VersionedSignedValidatorRegistration) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the VersionedSignedValidatorRegistration object

func (*VersionedSignedValidatorRegistration) MarshalSSZTo added in v0.18.2

func (v *VersionedSignedValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the VersionedSignedValidatorRegistration object to a target array

func (*VersionedSignedValidatorRegistration) PubKey added in v0.12.0

PubKey returns the public key of the signed validator registration.

func (*VersionedSignedValidatorRegistration) Root added in v0.13.1

Root returns the root of the validator registration.

func (*VersionedSignedValidatorRegistration) SizeSSZ added in v0.18.2

func (v *VersionedSignedValidatorRegistration) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the VersionedSignedValidatorRegistration object

func (*VersionedSignedValidatorRegistration) Timestamp added in v0.12.0

Timestamp returns the timestamp of the signed validator registration.

func (*VersionedSignedValidatorRegistration) UnmarshalSSZ added in v0.18.2

func (v *VersionedSignedValidatorRegistration) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the VersionedSignedValidatorRegistration object

type VersionedValidatorRegistration added in v0.12.0

type VersionedValidatorRegistration struct {
	Version spec.BuilderVersion
	V1      *apiv1.ValidatorRegistration
}

VersionedValidatorRegistration contains a versioned ValidatorRegistrationV1.

func (*VersionedValidatorRegistration) FeeRecipient added in v0.12.0

FeeRecipient returns the fee recipient of the validator registration.

func (*VersionedValidatorRegistration) GasLimit added in v0.12.0

func (v *VersionedValidatorRegistration) GasLimit() (uint64, error)

GasLimit returns the gas limit of the validator registration.

func (*VersionedValidatorRegistration) IsEmpty added in v0.12.0

func (v *VersionedValidatorRegistration) IsEmpty() bool

IsEmpty returns true if there is no block.

func (*VersionedValidatorRegistration) PubKey added in v0.12.0

PubKey returns the public key of the validator registration.

func (*VersionedValidatorRegistration) Root added in v0.13.1

Root returns the root of the validator registration.

func (*VersionedValidatorRegistration) Timestamp added in v0.12.0

func (v *VersionedValidatorRegistration) Timestamp() (time.Time, error)

Timestamp returns the timestamp of the validator registration.

Directories

Path Synopsis
v1
Code generated by fastssz.
Code generated by fastssz.
bellatrix
Code generated by fastssz.
Code generated by fastssz.
capella
Code generated by fastssz.
Code generated by fastssz.
deneb
Code generated by fastssz.
Code generated by fastssz.

Jump to

Keyboard shortcuts

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