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

    Class UpdatePreimage

    A preimage update.

    Can be one of the following cases:

    1. Provide a new preimage blob and set the lookup history to available at slot.
    2. Remove (expunge) a preimage and it's lookup history.
    3. Update LookupHistory with given value.
    Index

    Properties

    Accessors

    Methods

    Properties

    action:
        | {
            kind: Provide;
            preimage: PreimageItem;
            providedFor: number & WithBytesRepresentation<4> & pvm.WithOpaque<
                "ServiceId[u32]",
            >;
            slot: | number & WithBytesRepresentation<4> & pvm.WithOpaque<
                "TimeSlot[u32]",
            >
            | null;
        }
        | {
            hash: Blake2bHash & pvm.WithOpaque<"PreimageHash">;
            kind: Remove;
            length: U32;
        }
        | { item: LookupHistoryItem; kind: UpdateOrAdd }

    Accessors

    Methods