Variable ProcessResult

ProcessResult: {
    create(
        base?: {
            counters?: {
                add?: boolean;
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: (...) | (...) };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                metricValue?: {
                    bigDecimal?: string;
                    bigInteger?: { data?: (...)
                    | (...); negative?: (...) | (...) | (...) };
                    doubleValue?: number;
                };
                runtimeInfo?: { from?: HandlerType };
            }[];
            events?: {
                attributes?: { [key: string]: any };
                attributes2?: { fields?: { [key: string]: (...) | (...) } };
                distinctEntityId?: string;
                message?: string;
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: (...) | (...) };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                noMetric?: boolean;
                runtimeInfo?: { from?: HandlerType };
                severity?: LogLevel;
            }[];
            exports?: {
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: (...)
                    | (...) };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                payload?: string;
                runtimeInfo?: { from?: HandlerType };
            }[];
            gauges?: {
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: (...)
                    | (...) };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                metricValue?: {
                    bigDecimal?: string;
                    bigInteger?: { data?: (...)
                    | (...); negative?: (...) | (...) | (...) };
                    doubleValue?: number;
                };
                runtimeInfo?: { from?: HandlerType };
            }[];
            states?: { configUpdated?: boolean; error?: string };
        },
    ): ProcessResult;
    decode(input: Uint8Array | Reader, length?: number): ProcessResult;
    encode(message: ProcessResult, writer?: Writer): Writer;
    fromJSON(object: any): ProcessResult;
    fromPartial(
        object: {
            counters?: {
                add?: boolean;
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: undefined | string };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                metricValue?: {
                    bigDecimal?: string;
                    bigInteger?: { data?: Uint8Array; negative?: boolean };
                    doubleValue?: number;
                };
                runtimeInfo?: { from?: HandlerType };
            }[];
            events?: {
                attributes?: { [key: string]: any };
                attributes2?: {
                    fields?: {
                        [key: string]:
                            | undefined
                            | {
                                bigdecimalValue?: ...;
                                bigintValue?: ...;
                                boolValue?: ...;
                                bytesValue?: ...;
                                floatValue?: ...;
                                intValue?: ...;
                                listValue?: ...;
                                nullValue?: ...;
                                stringValue?: ...;
                                structValue?: ...;
                                timestampValue?: ...;
                                tokenValue?: ...;
                            };
                    };
                };
                distinctEntityId?: string;
                message?: string;
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: undefined
                    | string };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                noMetric?: boolean;
                runtimeInfo?: { from?: HandlerType };
                severity?: LogLevel;
            }[];
            exports?: {
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: undefined
                    | string };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                payload?: string;
                runtimeInfo?: { from?: HandlerType };
            }[];
            gauges?: {
                metadata?: {
                    address?: string;
                    blockNumber?: bigint;
                    chainId?: string;
                    contractName?: string;
                    labels?: { [key: string]: undefined
                    | string };
                    logIndex?: number;
                    name?: string;
                    transactionHash?: string;
                    transactionIndex?: number;
                };
                metricValue?: {
                    bigDecimal?: string;
                    bigInteger?: { data?: Uint8Array; negative?: boolean };
                    doubleValue?: number;
                };
                runtimeInfo?: { from?: HandlerType };
            }[];
            states?: { configUpdated?: boolean; error?: string };
        },
    ): ProcessResult;
    toJSON(message: ProcessResult): unknown;
}