UNPKG

@truffle/codec

Version:

Library for encoding and decoding smart contract data

12 lines (11 loc) 687 B
/** * @protected * * @packageDocumentation */ import * as Format from "../../format"; import type * as Pointer from "../../pointer"; import type { DecoderRequest, DecoderOptions } from "../../types"; import * as Evm from "../../evm"; export declare function decodeMemory(dataType: Format.Types.Type, pointer: Pointer.MemoryPointer, info: Evm.EvmInfo, options?: DecoderOptions): Generator<DecoderRequest, Format.Values.Result, Uint8Array | null>; export declare function decodeMemoryReferenceByAddress(dataType: Format.Types.ReferenceType, pointer: Pointer.DataPointer, info: Evm.EvmInfo, options?: DecoderOptions): Generator<DecoderRequest, Format.Values.Result, Uint8Array | null>;