Class TestProcessorServer

Implements

Constructors

Properties

accountConfigs: AccountConfig[]
aptos: AptosFacet
btc: BTCFacet
contractConfigs: ContractConfig[]
cosmos: CosmosFacet
eth: EthFacet
fuel: FuelFacet
service: ProcessorServiceImpl
solana: SolanaFacet
starknet: StarknetFacet
sui: SuiFacet

Methods

  • Parameters

    Returns ServerStreamingMethodResult<
        {
            dbRequest?: {
                delete?: { entity?: string[]; id?: string[] };
                get?: { entity?: string; id?: string };
                list?: {
                    cursor?: string;
                    entity?: string;
                    filters?: {
                        field?: string;
                        op?: DBRequest_DBOperator;
                        value?: { values?: ... };
                    }[];
                    pageSize?: number;
                };
                opId?: bigint;
                upsert?: {
                    data?: { [key: string]: any }[];
                    entity?: string[];
                    entityData?: { fields?: { [key: ...]: ... } }[];
                    id?: string[];
                };
            };
            processId?: number;
        },
    >

  • Parameters

    Returns ServerStreamingMethodResult<
        {
            dbRequest?: {
                delete?: { entity?: string[]; id?: string[] };
                get?: { entity?: string; id?: string };
                list?: {
                    cursor?: string;
                    entity?: string;
                    filters?: {
                        field?: string;
                        op?: DBRequest_DBOperator;
                        value?: { values?: ... };
                    }[];
                    pageSize?: number;
                };
                opId?: bigint;
                upsert?: {
                    data?: { [key: string]: any }[];
                    entity?: string[];
                    entityData?: { fields?: { [key: ...]: ... } }[];
                    id?: string[];
                };
            };
            processId?: number;
            result?: {
                counters?: {
                    add?: boolean;
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: ...]: ... };
                        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: ...]: ... } };
                    distinctEntityId?: string;
                    message?: string;
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: ...]: ... };
                        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: ...]: ... };
                        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: ...]: ... };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    metricValue?: {
                        bigDecimal?: string;
                        bigInteger?: { data?: ...; negative?: ... };
                        doubleValue?: number;
                    };
                    runtimeInfo?: { from?: HandlerType };
                }[];
                states?: { configUpdated?: boolean; error?: string };
            };
        },
    >