Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...

    Type Alias StateCodec<T, V>

    type StateCodec<T, V = T> = {
        Codec: Descriptor<T, V>;
        extract: (s: State) => T;
        key: state_merkleization.StateKey;
    }

    Type Parameters

    • T
    • V = T
    Index

    Properties

    Properties

    Codec: Descriptor<T, V>
    extract: (s: State) => T