@lodestar/types
Version:
Typescript types required for lodestar
46 lines • 2.91 kB
TypeScript
import { ValueOf } from "@chainsafe/ssz";
import * as ssz from "./sszTypes.js";
export type AttestationSubnets = ValueOf<typeof ssz.AttestationSubnets>;
export type BeaconBlockHeader = ValueOf<typeof ssz.BeaconBlockHeader>;
export type BeaconBlockHeaderBigint = ValueOf<typeof ssz.BeaconBlockHeaderBigint>;
export type SignedBeaconBlockHeader = ValueOf<typeof ssz.SignedBeaconBlockHeader>;
export type SignedBeaconBlockHeaderBigint = ValueOf<typeof ssz.SignedBeaconBlockHeaderBigint>;
export type Checkpoint = ValueOf<typeof ssz.Checkpoint>;
export type DepositMessage = ValueOf<typeof ssz.DepositMessage>;
export type DepositData = ValueOf<typeof ssz.DepositData>;
export type DepositEvent = ValueOf<typeof ssz.DepositEvent>;
export type Eth1Data = ValueOf<typeof ssz.Eth1Data>;
export type Eth1DataOrdered = ValueOf<typeof ssz.Eth1DataOrdered>;
export type Eth1Block = ValueOf<typeof ssz.Eth1Block>;
export type Fork = ValueOf<typeof ssz.Fork>;
export type ForkData = ValueOf<typeof ssz.ForkData>;
export type ENRForkID = ValueOf<typeof ssz.ENRForkID>;
export type HistoricalBatch = ValueOf<typeof ssz.HistoricalBatch>;
export type Validator = ValueOf<typeof ssz.Validator>;
export type Validators = ValueOf<typeof ssz.Validators>;
export type AttestationData = ValueOf<typeof ssz.AttestationData>;
export type AttestationDataBigint = ValueOf<typeof ssz.AttestationDataBigint>;
export type IndexedAttestation = ValueOf<typeof ssz.IndexedAttestation>;
export type IndexedAttestationBigint = ValueOf<typeof ssz.IndexedAttestationBigint>;
export type PendingAttestation = ValueOf<typeof ssz.PendingAttestation>;
export type SigningData = ValueOf<typeof ssz.SigningData>;
export type Attestation = ValueOf<typeof ssz.Attestation>;
export type AttesterSlashing = ValueOf<typeof ssz.AttesterSlashing>;
export type Deposit = ValueOf<typeof ssz.Deposit>;
export type ProposerSlashing = ValueOf<typeof ssz.ProposerSlashing>;
export type VoluntaryExit = ValueOf<typeof ssz.VoluntaryExit>;
export type SignedVoluntaryExit = ValueOf<typeof ssz.SignedVoluntaryExit>;
export type BeaconBlockBody = ValueOf<typeof ssz.BeaconBlockBody>;
export type BeaconBlock = ValueOf<typeof ssz.BeaconBlock>;
export type SignedBeaconBlock = ValueOf<typeof ssz.SignedBeaconBlock>;
export type BeaconState = ValueOf<typeof ssz.BeaconState>;
export type CommitteeAssignment = ValueOf<typeof ssz.CommitteeAssignment>;
export type AggregateAndProof = ValueOf<typeof ssz.AggregateAndProof>;
export type SignedAggregateAndProof = ValueOf<typeof ssz.SignedAggregateAndProof>;
export type Status = ValueOf<typeof ssz.Status>;
export type Goodbye = ValueOf<typeof ssz.Goodbye>;
export type Ping = ValueOf<typeof ssz.Ping>;
export type Metadata = ValueOf<typeof ssz.Metadata>;
export type BeaconBlocksByRangeRequest = ValueOf<typeof ssz.BeaconBlocksByRangeRequest>;
export type Genesis = ValueOf<typeof ssz.Genesis>;
//# sourceMappingURL=types.d.ts.map