@hiero-ledger/sdk
    Preparing search index...

    Class EvmHookMappingEntry

    An entry in a Solidity mapping. Very helpful for protocols that apply HookStore to manage the entries of a hook contract's mapping instead its raw storage slots.

    This is especially attractive when the mapping value itself fits in a single word; for more complicated value storage layouts it becomes necessary to combine the mapping update with additional `EvmHookStorageSlot` updates that specify the complete storage slots of the value type.

    Index

    Constructors

    • Parameters

      • props: {
            key?: Uint8Array<ArrayBufferLike>;
            preimage?: Uint8Array<ArrayBufferLike>;
            value?: Uint8Array<ArrayBufferLike>;
        } = {}

      Returns EvmHookMappingEntry

    Accessors

    Methods