import { ChainForkConfig } from "@lodestar/config"; import { ForkAll, ForkSeq } from "@lodestar/params"; import { SSZTypesFor, Slot } from "@lodestar/types"; /** * 48 + 32 + 8 + 1 + 8 + 8 + 8 + 8 = 121 * ``` * class Validator(Container): pubkey: BLSPubkey [fixed - 48 bytes] withdrawal_credentials: Bytes32 [fixed - 32 bytes] effective_balance: Gwei [fixed - 8 bytes] slashed: boolean [fixed - 1 byte] # Status epochs activation_eligibility_epoch: Epoch [fixed - 8 bytes] activation_epoch: Epoch [fixed - 8 bytes] exit_epoch: Epoch [fixed - 8 bytes] withdrawable_epoch: Epoch [fixed - 8 bytes] ``` */ export declare const VALIDATOR_BYTES_SIZE = 121; export declare function getForkFromStateBytes(config: ChainForkConfig, bytes: Uint8Array): ForkSeq; export declare function getStateTypeFromBytes(config: ChainForkConfig, bytes: Uint8Array): SSZTypesFor; export declare function getStateSlotFromBytes(bytes: Uint8Array): Slot; //# sourceMappingURL=sszBytes.d.ts.map