@sentio/runtime 3.9.0-rc.8 → 4.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{chunk-P4RGL4TZ.js → chunk-GUQLAUIA.js} +15185 -8374
- package/lib/chunk-GUQLAUIA.js.map +1 -0
- package/lib/{chunk-EXIISBRV.js → chunk-KOMGWSWU.js} +4589 -5362
- package/lib/chunk-KOMGWSWU.js.map +1 -0
- package/lib/{chunk-L2A6JPIQ.js → chunk-LSYQ34WX.js} +3 -3
- package/lib/chunk-LSYQ34WX.js.map +1 -0
- package/lib/{getMachineId-bsd-QYFPRONP.js → getMachineId-bsd-OV63RCBF.js} +4 -4
- package/lib/getMachineId-bsd-OV63RCBF.js.map +1 -0
- package/lib/{getMachineId-darwin-XC67FIUW.js → getMachineId-darwin-7BY3RHHX.js} +4 -4
- package/lib/getMachineId-darwin-7BY3RHHX.js.map +1 -0
- package/lib/{getMachineId-linux-4G7ZY7LQ.js → getMachineId-linux-SN23MJRK.js} +3 -3
- package/lib/getMachineId-linux-SN23MJRK.js.map +1 -0
- package/lib/{getMachineId-unsupported-5IH5IW7P.js → getMachineId-unsupported-CQYUAEDB.js} +3 -3
- package/lib/getMachineId-unsupported-CQYUAEDB.js.map +1 -0
- package/lib/{getMachineId-win-WSA3TUKL.js → getMachineId-win-NL4ZQSDA.js} +4 -4
- package/lib/getMachineId-win-NL4ZQSDA.js.map +1 -0
- package/lib/index.d.ts +4 -6
- package/lib/index.js +2 -2
- package/lib/processor-StqZovMW.d.ts +554 -0
- package/lib/processor-runner.js +4842 -9188
- package/lib/processor-runner.js.map +1 -1
- package/package.json +1 -1
- package/src/endpoints.ts +0 -2
- package/src/full-service.ts +1 -1
- package/src/gen/google/protobuf/empty.ts +22 -7
- package/src/gen/google/protobuf/struct.ts +123 -56
- package/src/gen/google/protobuf/timestamp.ts +33 -26
- package/src/gen/google/type/money.ts +40 -28
- package/src/gen/processor/protos/processor.ts +3007 -1724
- package/src/gen/service/common/protos/common.ts +3272 -1904
- package/src/logger.ts +13 -5
- package/src/processor-runner-program.ts +0 -1
- package/src/provider.ts +1 -1
- package/src/utils.ts +5 -2
- package/lib/chunk-EXIISBRV.js.map +0 -1
- package/lib/chunk-L2A6JPIQ.js.map +0 -1
- package/lib/chunk-P4RGL4TZ.js.map +0 -1
- package/lib/getMachineId-bsd-QYFPRONP.js.map +0 -1
- package/lib/getMachineId-darwin-XC67FIUW.js.map +0 -1
- package/lib/getMachineId-linux-4G7ZY7LQ.js.map +0 -1
- package/lib/getMachineId-unsupported-5IH5IW7P.js.map +0 -1
- package/lib/getMachineId-win-WSA3TUKL.js.map +0 -1
- package/lib/processor-MLp_j8IT.d.ts +0 -864
|
@@ -1,864 +0,0 @@
|
|
|
1
|
-
import { DeepPartial as DeepPartial$2, DBResponse, TemplateInstance, TimeseriesResult as TimeseriesResult$1, ProcessStreamResponse, DBRequest_DBUpsert, ProcessStreamResponseV3, DBRequest, HandlerType as HandlerType$1, ProcessConfigResponse, StartRequest, DataBinding as DataBinding$1, PreparedData, ProcessResult as ProcessResult$1, PreprocessResult, ProcessStreamResponse_Partitions, UpdateTemplatesRequest } from '@sentio/protos';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
4
|
-
import _m0 from 'protobufjs/minimal.js';
|
|
5
|
-
|
|
6
|
-
type Request = Omit<DBRequest, 'opId'>;
|
|
7
|
-
type RequestType = keyof Request;
|
|
8
|
-
declare const timeoutError: Error;
|
|
9
|
-
interface IStoreContext {
|
|
10
|
-
sendRequest(request: DeepPartial$2<Request>, timeoutSecs?: number): Promise<DBResponse>;
|
|
11
|
-
result(dbResult: DBResponse): void;
|
|
12
|
-
error(processId: number, e: any): void;
|
|
13
|
-
close(): void;
|
|
14
|
-
}
|
|
15
|
-
interface IDataBindingContext extends IStoreContext {
|
|
16
|
-
sendTemplateRequest(templates: Array<TemplateInstance>, unbind: boolean): void;
|
|
17
|
-
sendTimeseriesRequest(timeseries: Array<TimeseriesResult$1>): void;
|
|
18
|
-
}
|
|
19
|
-
declare abstract class AbstractStoreContext implements IStoreContext {
|
|
20
|
-
readonly processId: number;
|
|
21
|
-
private static opCounter;
|
|
22
|
-
protected defers: Map<bigint, {
|
|
23
|
-
resolve: (value: any) => void;
|
|
24
|
-
reject: (reason?: any) => void;
|
|
25
|
-
requestType?: RequestType;
|
|
26
|
-
}>;
|
|
27
|
-
private statsInterval;
|
|
28
|
-
private pendings;
|
|
29
|
-
constructor(processId: number);
|
|
30
|
-
newPromise<T>(opId: bigint, requestType?: RequestType): Promise<T>;
|
|
31
|
-
abstract doSend(resp: DeepPartial$2<ProcessStreamResponse>): void;
|
|
32
|
-
sendRequest(request: DeepPartial$2<Request>, timeoutSecs?: number): Promise<DBResponse>;
|
|
33
|
-
result(dbResult: DBResponse): void;
|
|
34
|
-
error(processId: number, e: any): void;
|
|
35
|
-
close(): void;
|
|
36
|
-
upsertBatch: {
|
|
37
|
-
opId: bigint;
|
|
38
|
-
request: DBRequest_DBUpsert;
|
|
39
|
-
promise: Promise<DBResponse>;
|
|
40
|
-
timer: NodeJS.Timeout;
|
|
41
|
-
} | undefined;
|
|
42
|
-
private sendUpsertInBatch;
|
|
43
|
-
private sendBatch;
|
|
44
|
-
awaitPendings(): Promise<void>;
|
|
45
|
-
}
|
|
46
|
-
declare class StoreContext extends AbstractStoreContext {
|
|
47
|
-
readonly subject: Subject<DeepPartial$2<ProcessStreamResponse>>;
|
|
48
|
-
constructor(subject: Subject<DeepPartial$2<ProcessStreamResponse>>, processId: number);
|
|
49
|
-
doSend(resp: DeepPartial$2<ProcessStreamResponse>): void;
|
|
50
|
-
}
|
|
51
|
-
declare class DataBindingContext extends AbstractStoreContext implements IDataBindingContext {
|
|
52
|
-
readonly processId: number;
|
|
53
|
-
readonly subject: Subject<DeepPartial$2<ProcessStreamResponseV3>>;
|
|
54
|
-
constructor(processId: number, subject: Subject<DeepPartial$2<ProcessStreamResponseV3>>);
|
|
55
|
-
sendTemplateRequest(templates: Array<TemplateInstance>, unbind: boolean): void;
|
|
56
|
-
sendTimeseriesRequest(timeseries: Array<TimeseriesResult$1>): void;
|
|
57
|
-
doSend(resp: DeepPartial$2<ProcessStreamResponseV3>): void;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare abstract class Plugin {
|
|
61
|
-
name: string;
|
|
62
|
-
supportedHandlers: HandlerType$1[];
|
|
63
|
-
configure(config: ProcessConfigResponse, forChainId?: string): Promise<void>;
|
|
64
|
-
start(start: StartRequest): Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated The method should not be used, use ctx.states instead
|
|
67
|
-
*/
|
|
68
|
-
stateDiff(config: ProcessConfigResponse): boolean;
|
|
69
|
-
processBinding(request: DataBinding$1, preparedData: PreparedData | undefined): Promise<ProcessResult$1>;
|
|
70
|
-
preprocessBinding(request: DataBinding$1, preprocessStore: {
|
|
71
|
-
[k: string]: any;
|
|
72
|
-
}): Promise<PreprocessResult>;
|
|
73
|
-
partition(request: DataBinding$1): Promise<ProcessStreamResponse_Partitions>;
|
|
74
|
-
/**
|
|
75
|
-
* method used by action server only
|
|
76
|
-
* @param port
|
|
77
|
-
*/
|
|
78
|
-
startServer(port?: number): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* method used by action server only
|
|
81
|
-
*/
|
|
82
|
-
shutdownServer(): void;
|
|
83
|
-
}
|
|
84
|
-
declare class PluginManager {
|
|
85
|
-
static INSTANCE: PluginManager;
|
|
86
|
-
dbContextLocalStorage: AsyncLocalStorage<IStoreContext | IDataBindingContext | undefined>;
|
|
87
|
-
plugins: Plugin[];
|
|
88
|
-
typesToPlugin: Map<HandlerType$1, Plugin>;
|
|
89
|
-
register(plugin: Plugin): void;
|
|
90
|
-
configure(config: ProcessConfigResponse): Promise<void>;
|
|
91
|
-
start(start: StartRequest, actionServerPort?: number): Promise<void[]>;
|
|
92
|
-
startServer(port?: number): Promise<void[]>;
|
|
93
|
-
shutdown(): void;
|
|
94
|
-
/**
|
|
95
|
-
* @deprecated The method should not be used, use ctx.states instead
|
|
96
|
-
*/
|
|
97
|
-
stateDiff(config: ProcessConfigResponse): boolean;
|
|
98
|
-
processBinding(request: DataBinding$1, preparedData: PreparedData | undefined, dbContext?: IDataBindingContext | IStoreContext): Promise<ProcessResult$1>;
|
|
99
|
-
partition(request: DataBinding$1): Promise<ProcessStreamResponse_Partitions>;
|
|
100
|
-
preprocessBinding(request: DataBinding$1, preprocessStore: {
|
|
101
|
-
[k: string]: any;
|
|
102
|
-
}, dbContext?: IDataBindingContext | IStoreContext): Promise<PreprocessResult>;
|
|
103
|
-
updateTemplates(request: UpdateTemplatesRequest): Promise<void>;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
declare enum RichValue_NullValue {
|
|
107
|
-
NULL_VALUE = 0,
|
|
108
|
-
UNRECOGNIZED = -1
|
|
109
|
-
}
|
|
110
|
-
interface Duration {
|
|
111
|
-
value: number;
|
|
112
|
-
unit: string;
|
|
113
|
-
}
|
|
114
|
-
declare const Duration: {
|
|
115
|
-
encode(message: Duration, writer?: _m0.Writer): _m0.Writer;
|
|
116
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Duration;
|
|
117
|
-
fromJSON(object: any): Duration;
|
|
118
|
-
toJSON(message: Duration): unknown;
|
|
119
|
-
create(base?: DeepPartial$1<Duration>): Duration;
|
|
120
|
-
fromPartial(object: DeepPartial$1<Duration>): Duration;
|
|
121
|
-
};
|
|
122
|
-
interface Argument {
|
|
123
|
-
stringValue?: string | undefined;
|
|
124
|
-
intValue?: number | undefined;
|
|
125
|
-
doubleValue?: number | undefined;
|
|
126
|
-
boolValue?: boolean | undefined;
|
|
127
|
-
durationValue?: Duration | undefined;
|
|
128
|
-
}
|
|
129
|
-
declare const Argument: {
|
|
130
|
-
encode(message: Argument, writer?: _m0.Writer): _m0.Writer;
|
|
131
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Argument;
|
|
132
|
-
fromJSON(object: any): Argument;
|
|
133
|
-
toJSON(message: Argument): unknown;
|
|
134
|
-
create(base?: DeepPartial$1<Argument>): Argument;
|
|
135
|
-
fromPartial(object: DeepPartial$1<Argument>): Argument;
|
|
136
|
-
};
|
|
137
|
-
interface Function$1 {
|
|
138
|
-
name: string;
|
|
139
|
-
arguments: Argument[];
|
|
140
|
-
}
|
|
141
|
-
declare const Function$1: {
|
|
142
|
-
encode(message: Function$1, writer?: _m0.Writer): _m0.Writer;
|
|
143
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Function$1;
|
|
144
|
-
fromJSON(object: any): Function$1;
|
|
145
|
-
toJSON(message: Function$1): unknown;
|
|
146
|
-
create(base?: DeepPartial$1<Function$1>): Function$1;
|
|
147
|
-
fromPartial(object: DeepPartial$1<Function$1>): Function$1;
|
|
148
|
-
};
|
|
149
|
-
interface CoinID {
|
|
150
|
-
symbol?: string | undefined;
|
|
151
|
-
address?: CoinID_AddressIdentifier | undefined;
|
|
152
|
-
}
|
|
153
|
-
declare const CoinID: {
|
|
154
|
-
encode(message: CoinID, writer?: _m0.Writer): _m0.Writer;
|
|
155
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CoinID;
|
|
156
|
-
fromJSON(object: any): CoinID;
|
|
157
|
-
toJSON(message: CoinID): unknown;
|
|
158
|
-
create(base?: DeepPartial$1<CoinID>): CoinID;
|
|
159
|
-
fromPartial(object: DeepPartial$1<CoinID>): CoinID;
|
|
160
|
-
};
|
|
161
|
-
interface CoinID_AddressIdentifier {
|
|
162
|
-
address: string;
|
|
163
|
-
chain: string;
|
|
164
|
-
}
|
|
165
|
-
declare const CoinID_AddressIdentifier: {
|
|
166
|
-
encode(message: CoinID_AddressIdentifier, writer?: _m0.Writer): _m0.Writer;
|
|
167
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CoinID_AddressIdentifier;
|
|
168
|
-
fromJSON(object: any): CoinID_AddressIdentifier;
|
|
169
|
-
toJSON(message: CoinID_AddressIdentifier): unknown;
|
|
170
|
-
create(base?: DeepPartial$1<CoinID_AddressIdentifier>): CoinID_AddressIdentifier;
|
|
171
|
-
fromPartial(object: DeepPartial$1<CoinID_AddressIdentifier>): CoinID_AddressIdentifier;
|
|
172
|
-
};
|
|
173
|
-
interface RichValue {
|
|
174
|
-
nullValue?: RichValue_NullValue | undefined;
|
|
175
|
-
intValue?: number | undefined;
|
|
176
|
-
int64Value?: bigint | undefined;
|
|
177
|
-
floatValue?: number | undefined;
|
|
178
|
-
bytesValue?: Uint8Array | undefined;
|
|
179
|
-
boolValue?: boolean | undefined;
|
|
180
|
-
stringValue?: string | undefined;
|
|
181
|
-
timestampValue?: Date | undefined;
|
|
182
|
-
bigintValue?: BigInteger | undefined;
|
|
183
|
-
bigdecimalValue?: BigDecimal | undefined;
|
|
184
|
-
listValue?: RichValueList | undefined;
|
|
185
|
-
structValue?: RichStruct | undefined;
|
|
186
|
-
tokenValue?: TokenAmount | undefined;
|
|
187
|
-
}
|
|
188
|
-
declare const RichValue: {
|
|
189
|
-
encode(message: RichValue, writer?: _m0.Writer): _m0.Writer;
|
|
190
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RichValue;
|
|
191
|
-
fromJSON(object: any): RichValue;
|
|
192
|
-
toJSON(message: RichValue): unknown;
|
|
193
|
-
create(base?: DeepPartial$1<RichValue>): RichValue;
|
|
194
|
-
fromPartial(object: DeepPartial$1<RichValue>): RichValue;
|
|
195
|
-
};
|
|
196
|
-
interface RichStruct {
|
|
197
|
-
fields: {
|
|
198
|
-
[key: string]: RichValue;
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
declare const RichStruct: {
|
|
202
|
-
encode(message: RichStruct, writer?: _m0.Writer): _m0.Writer;
|
|
203
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RichStruct;
|
|
204
|
-
fromJSON(object: any): RichStruct;
|
|
205
|
-
toJSON(message: RichStruct): unknown;
|
|
206
|
-
create(base?: DeepPartial$1<RichStruct>): RichStruct;
|
|
207
|
-
fromPartial(object: DeepPartial$1<RichStruct>): RichStruct;
|
|
208
|
-
};
|
|
209
|
-
interface RichValueList {
|
|
210
|
-
values: RichValue[];
|
|
211
|
-
}
|
|
212
|
-
declare const RichValueList: {
|
|
213
|
-
encode(message: RichValueList, writer?: _m0.Writer): _m0.Writer;
|
|
214
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RichValueList;
|
|
215
|
-
fromJSON(object: any): RichValueList;
|
|
216
|
-
toJSON(message: RichValueList): unknown;
|
|
217
|
-
create(base?: DeepPartial$1<RichValueList>): RichValueList;
|
|
218
|
-
fromPartial(object: DeepPartial$1<RichValueList>): RichValueList;
|
|
219
|
-
};
|
|
220
|
-
interface BigDecimal {
|
|
221
|
-
value: BigInteger | undefined;
|
|
222
|
-
exp: number;
|
|
223
|
-
}
|
|
224
|
-
declare const BigDecimal: {
|
|
225
|
-
encode(message: BigDecimal, writer?: _m0.Writer): _m0.Writer;
|
|
226
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): BigDecimal;
|
|
227
|
-
fromJSON(object: any): BigDecimal;
|
|
228
|
-
toJSON(message: BigDecimal): unknown;
|
|
229
|
-
create(base?: DeepPartial$1<BigDecimal>): BigDecimal;
|
|
230
|
-
fromPartial(object: DeepPartial$1<BigDecimal>): BigDecimal;
|
|
231
|
-
};
|
|
232
|
-
interface BigInteger {
|
|
233
|
-
negative: boolean;
|
|
234
|
-
data: Uint8Array;
|
|
235
|
-
}
|
|
236
|
-
declare const BigInteger: {
|
|
237
|
-
encode(message: BigInteger, writer?: _m0.Writer): _m0.Writer;
|
|
238
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): BigInteger;
|
|
239
|
-
fromJSON(object: any): BigInteger;
|
|
240
|
-
toJSON(message: BigInteger): unknown;
|
|
241
|
-
create(base?: DeepPartial$1<BigInteger>): BigInteger;
|
|
242
|
-
fromPartial(object: DeepPartial$1<BigInteger>): BigInteger;
|
|
243
|
-
};
|
|
244
|
-
interface TokenAmount {
|
|
245
|
-
token: CoinID | undefined;
|
|
246
|
-
amount: BigDecimal | undefined;
|
|
247
|
-
specifiedAt: Date | undefined;
|
|
248
|
-
}
|
|
249
|
-
declare const TokenAmount: {
|
|
250
|
-
encode(message: TokenAmount, writer?: _m0.Writer): _m0.Writer;
|
|
251
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TokenAmount;
|
|
252
|
-
fromJSON(object: any): TokenAmount;
|
|
253
|
-
toJSON(message: TokenAmount): unknown;
|
|
254
|
-
create(base?: DeepPartial$1<TokenAmount>): TokenAmount;
|
|
255
|
-
fromPartial(object: DeepPartial$1<TokenAmount>): TokenAmount;
|
|
256
|
-
};
|
|
257
|
-
type Builtin$1 = Date | Function$1 | Uint8Array | string | number | boolean | bigint | undefined;
|
|
258
|
-
type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1<U>> : T extends {} ? {
|
|
259
|
-
[K in keyof T]?: DeepPartial$1<T[K]>;
|
|
260
|
-
} : Partial<T>;
|
|
261
|
-
|
|
262
|
-
declare enum HandlerType {
|
|
263
|
-
UNKNOWN = 0,
|
|
264
|
-
ETH_LOG = 1,
|
|
265
|
-
ETH_BLOCK = 2,
|
|
266
|
-
ETH_TRACE = 5,
|
|
267
|
-
ETH_TRANSACTION = 11,
|
|
268
|
-
SOL_INSTRUCTION = 4,
|
|
269
|
-
APT_EVENT = 6,
|
|
270
|
-
APT_CALL = 7,
|
|
271
|
-
APT_RESOURCE = 8,
|
|
272
|
-
SUI_EVENT = 3,
|
|
273
|
-
SUI_CALL = 9,
|
|
274
|
-
SUI_OBJECT = 10,
|
|
275
|
-
SUI_OBJECT_CHANGE = 12,
|
|
276
|
-
FUEL_CALL = 13,
|
|
277
|
-
FUEL_RECEIPT = 19,
|
|
278
|
-
FUEL_TRANSACTION = 20,
|
|
279
|
-
FUEL_BLOCK = 17,
|
|
280
|
-
COSMOS_CALL = 14,
|
|
281
|
-
STARKNET_EVENT = 15,
|
|
282
|
-
SOL_BLOCK = 21,
|
|
283
|
-
UNRECOGNIZED = -1
|
|
284
|
-
}
|
|
285
|
-
declare enum LogLevel {
|
|
286
|
-
DEBUG = 0,
|
|
287
|
-
INFO = 1,
|
|
288
|
-
WARNING = 2,
|
|
289
|
-
ERROR = 3,
|
|
290
|
-
CRITICAL = 4,
|
|
291
|
-
UNRECOGNIZED = -1
|
|
292
|
-
}
|
|
293
|
-
declare enum ExecutionConfig_HandlerOrderInsideTransaction {
|
|
294
|
-
BY_LOG_INDEX = 0,
|
|
295
|
-
BY_PROCESSOR_AND_LOG_INDEX = 1,
|
|
296
|
-
UNRECOGNIZED = -1
|
|
297
|
-
}
|
|
298
|
-
declare enum TimeseriesResult_TimeseriesType {
|
|
299
|
-
EVENT = 0,
|
|
300
|
-
GAUGE = 1,
|
|
301
|
-
COUNTER = 2,
|
|
302
|
-
UNRECOGNIZED = -1
|
|
303
|
-
}
|
|
304
|
-
interface ExecutionConfig {
|
|
305
|
-
sequential: boolean;
|
|
306
|
-
forceExactBlockTime: boolean;
|
|
307
|
-
handlerOrderInsideTransaction: ExecutionConfig_HandlerOrderInsideTransaction;
|
|
308
|
-
processBindingTimeout: number;
|
|
309
|
-
skipStartBlockValidation: boolean;
|
|
310
|
-
rpcRetryTimes: number;
|
|
311
|
-
ethAbiDecoderConfig?: ExecutionConfig_DecoderWorkerConfig | undefined;
|
|
312
|
-
}
|
|
313
|
-
declare const ExecutionConfig: {
|
|
314
|
-
encode(message: ExecutionConfig, writer?: _m0.Writer): _m0.Writer;
|
|
315
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutionConfig;
|
|
316
|
-
fromJSON(object: any): ExecutionConfig;
|
|
317
|
-
toJSON(message: ExecutionConfig): unknown;
|
|
318
|
-
create(base?: DeepPartial<ExecutionConfig>): ExecutionConfig;
|
|
319
|
-
fromPartial(object: DeepPartial<ExecutionConfig>): ExecutionConfig;
|
|
320
|
-
};
|
|
321
|
-
interface ExecutionConfig_DecoderWorkerConfig {
|
|
322
|
-
enabled: boolean;
|
|
323
|
-
workerCount?: number | undefined;
|
|
324
|
-
skipWhenDecodeFailed?: boolean | undefined;
|
|
325
|
-
}
|
|
326
|
-
declare const ExecutionConfig_DecoderWorkerConfig: {
|
|
327
|
-
encode(message: ExecutionConfig_DecoderWorkerConfig, writer?: _m0.Writer): _m0.Writer;
|
|
328
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ExecutionConfig_DecoderWorkerConfig;
|
|
329
|
-
fromJSON(object: any): ExecutionConfig_DecoderWorkerConfig;
|
|
330
|
-
toJSON(message: ExecutionConfig_DecoderWorkerConfig): unknown;
|
|
331
|
-
create(base?: DeepPartial<ExecutionConfig_DecoderWorkerConfig>): ExecutionConfig_DecoderWorkerConfig;
|
|
332
|
-
fromPartial(object: DeepPartial<ExecutionConfig_DecoderWorkerConfig>): ExecutionConfig_DecoderWorkerConfig;
|
|
333
|
-
};
|
|
334
|
-
interface Data {
|
|
335
|
-
ethLog?: Data_EthLog | undefined;
|
|
336
|
-
ethBlock?: Data_EthBlock | undefined;
|
|
337
|
-
ethTransaction?: Data_EthTransaction | undefined;
|
|
338
|
-
ethTrace?: Data_EthTrace | undefined;
|
|
339
|
-
solInstruction?: Data_SolInstruction | undefined;
|
|
340
|
-
aptEvent?: Data_AptEvent | undefined;
|
|
341
|
-
aptCall?: Data_AptCall | undefined;
|
|
342
|
-
aptResource?: Data_AptResource | undefined;
|
|
343
|
-
suiEvent?: Data_SuiEvent | undefined;
|
|
344
|
-
suiCall?: Data_SuiCall | undefined;
|
|
345
|
-
suiObject?: Data_SuiObject | undefined;
|
|
346
|
-
suiObjectChange?: Data_SuiObjectChange | undefined;
|
|
347
|
-
fuelLog?: Data_FuelReceipt | undefined;
|
|
348
|
-
/** @deprecated */
|
|
349
|
-
fuelCall?: Data_FuelCall | undefined;
|
|
350
|
-
fuelTransaction?: Data_FuelTransaction | undefined;
|
|
351
|
-
fuelBlock?: Data_FuelBlock | undefined;
|
|
352
|
-
cosmosCall?: Data_CosmosCall | undefined;
|
|
353
|
-
starknetEvents?: Data_StarknetEvent | undefined;
|
|
354
|
-
solBlock?: Data_SolBlock | undefined;
|
|
355
|
-
}
|
|
356
|
-
declare const Data: {
|
|
357
|
-
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
|
358
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data;
|
|
359
|
-
fromJSON(object: any): Data;
|
|
360
|
-
toJSON(message: Data): unknown;
|
|
361
|
-
create(base?: DeepPartial<Data>): Data;
|
|
362
|
-
fromPartial(object: DeepPartial<Data>): Data;
|
|
363
|
-
};
|
|
364
|
-
interface Data_EthLog {
|
|
365
|
-
log: {
|
|
366
|
-
[key: string]: any;
|
|
367
|
-
} | undefined;
|
|
368
|
-
timestamp: Date | undefined;
|
|
369
|
-
transaction?: {
|
|
370
|
-
[key: string]: any;
|
|
371
|
-
} | undefined;
|
|
372
|
-
transactionReceipt?: {
|
|
373
|
-
[key: string]: any;
|
|
374
|
-
} | undefined;
|
|
375
|
-
block?: {
|
|
376
|
-
[key: string]: any;
|
|
377
|
-
} | undefined;
|
|
378
|
-
rawLog: string;
|
|
379
|
-
rawTransaction?: string | undefined;
|
|
380
|
-
rawTransactionReceipt?: string | undefined;
|
|
381
|
-
rawBlock?: string | undefined;
|
|
382
|
-
}
|
|
383
|
-
declare const Data_EthLog: {
|
|
384
|
-
encode(message: Data_EthLog, writer?: _m0.Writer): _m0.Writer;
|
|
385
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthLog;
|
|
386
|
-
fromJSON(object: any): Data_EthLog;
|
|
387
|
-
toJSON(message: Data_EthLog): unknown;
|
|
388
|
-
create(base?: DeepPartial<Data_EthLog>): Data_EthLog;
|
|
389
|
-
fromPartial(object: DeepPartial<Data_EthLog>): Data_EthLog;
|
|
390
|
-
};
|
|
391
|
-
interface Data_EthBlock {
|
|
392
|
-
block: {
|
|
393
|
-
[key: string]: any;
|
|
394
|
-
} | undefined;
|
|
395
|
-
}
|
|
396
|
-
declare const Data_EthBlock: {
|
|
397
|
-
encode(message: Data_EthBlock, writer?: _m0.Writer): _m0.Writer;
|
|
398
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthBlock;
|
|
399
|
-
fromJSON(object: any): Data_EthBlock;
|
|
400
|
-
toJSON(message: Data_EthBlock): unknown;
|
|
401
|
-
create(base?: DeepPartial<Data_EthBlock>): Data_EthBlock;
|
|
402
|
-
fromPartial(object: DeepPartial<Data_EthBlock>): Data_EthBlock;
|
|
403
|
-
};
|
|
404
|
-
interface Data_EthTransaction {
|
|
405
|
-
transaction: {
|
|
406
|
-
[key: string]: any;
|
|
407
|
-
} | undefined;
|
|
408
|
-
timestamp: Date | undefined;
|
|
409
|
-
transactionReceipt?: {
|
|
410
|
-
[key: string]: any;
|
|
411
|
-
} | undefined;
|
|
412
|
-
block?: {
|
|
413
|
-
[key: string]: any;
|
|
414
|
-
} | undefined;
|
|
415
|
-
trace?: {
|
|
416
|
-
[key: string]: any;
|
|
417
|
-
} | undefined;
|
|
418
|
-
rawTransaction: string;
|
|
419
|
-
rawTransactionReceipt?: string | undefined;
|
|
420
|
-
rawBlock?: string | undefined;
|
|
421
|
-
rawTrace?: string | undefined;
|
|
422
|
-
}
|
|
423
|
-
declare const Data_EthTransaction: {
|
|
424
|
-
encode(message: Data_EthTransaction, writer?: _m0.Writer): _m0.Writer;
|
|
425
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthTransaction;
|
|
426
|
-
fromJSON(object: any): Data_EthTransaction;
|
|
427
|
-
toJSON(message: Data_EthTransaction): unknown;
|
|
428
|
-
create(base?: DeepPartial<Data_EthTransaction>): Data_EthTransaction;
|
|
429
|
-
fromPartial(object: DeepPartial<Data_EthTransaction>): Data_EthTransaction;
|
|
430
|
-
};
|
|
431
|
-
interface Data_EthTrace {
|
|
432
|
-
trace: {
|
|
433
|
-
[key: string]: any;
|
|
434
|
-
} | undefined;
|
|
435
|
-
timestamp: Date | undefined;
|
|
436
|
-
transaction?: {
|
|
437
|
-
[key: string]: any;
|
|
438
|
-
} | undefined;
|
|
439
|
-
transactionReceipt?: {
|
|
440
|
-
[key: string]: any;
|
|
441
|
-
} | undefined;
|
|
442
|
-
block?: {
|
|
443
|
-
[key: string]: any;
|
|
444
|
-
} | undefined;
|
|
445
|
-
}
|
|
446
|
-
declare const Data_EthTrace: {
|
|
447
|
-
encode(message: Data_EthTrace, writer?: _m0.Writer): _m0.Writer;
|
|
448
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_EthTrace;
|
|
449
|
-
fromJSON(object: any): Data_EthTrace;
|
|
450
|
-
toJSON(message: Data_EthTrace): unknown;
|
|
451
|
-
create(base?: DeepPartial<Data_EthTrace>): Data_EthTrace;
|
|
452
|
-
fromPartial(object: DeepPartial<Data_EthTrace>): Data_EthTrace;
|
|
453
|
-
};
|
|
454
|
-
interface Data_SolInstruction {
|
|
455
|
-
instructionData: string;
|
|
456
|
-
slot: bigint;
|
|
457
|
-
programAccountId: string;
|
|
458
|
-
accounts: string[];
|
|
459
|
-
parsed?: {
|
|
460
|
-
[key: string]: any;
|
|
461
|
-
} | undefined;
|
|
462
|
-
rawTransaction?: string | undefined;
|
|
463
|
-
}
|
|
464
|
-
declare const Data_SolInstruction: {
|
|
465
|
-
encode(message: Data_SolInstruction, writer?: _m0.Writer): _m0.Writer;
|
|
466
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SolInstruction;
|
|
467
|
-
fromJSON(object: any): Data_SolInstruction;
|
|
468
|
-
toJSON(message: Data_SolInstruction): unknown;
|
|
469
|
-
create(base?: DeepPartial<Data_SolInstruction>): Data_SolInstruction;
|
|
470
|
-
fromPartial(object: DeepPartial<Data_SolInstruction>): Data_SolInstruction;
|
|
471
|
-
};
|
|
472
|
-
interface Data_SolBlock {
|
|
473
|
-
rawBlock: string;
|
|
474
|
-
timestamp: Date | undefined;
|
|
475
|
-
slot: bigint;
|
|
476
|
-
}
|
|
477
|
-
declare const Data_SolBlock: {
|
|
478
|
-
encode(message: Data_SolBlock, writer?: _m0.Writer): _m0.Writer;
|
|
479
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SolBlock;
|
|
480
|
-
fromJSON(object: any): Data_SolBlock;
|
|
481
|
-
toJSON(message: Data_SolBlock): unknown;
|
|
482
|
-
create(base?: DeepPartial<Data_SolBlock>): Data_SolBlock;
|
|
483
|
-
fromPartial(object: DeepPartial<Data_SolBlock>): Data_SolBlock;
|
|
484
|
-
};
|
|
485
|
-
interface Data_AptEvent {
|
|
486
|
-
rawEvent: string;
|
|
487
|
-
eventIndex: number;
|
|
488
|
-
/** @deprecated */
|
|
489
|
-
transaction: {
|
|
490
|
-
[key: string]: any;
|
|
491
|
-
} | undefined;
|
|
492
|
-
rawTransaction: string;
|
|
493
|
-
}
|
|
494
|
-
declare const Data_AptEvent: {
|
|
495
|
-
encode(message: Data_AptEvent, writer?: _m0.Writer): _m0.Writer;
|
|
496
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_AptEvent;
|
|
497
|
-
fromJSON(object: any): Data_AptEvent;
|
|
498
|
-
toJSON(message: Data_AptEvent): unknown;
|
|
499
|
-
create(base?: DeepPartial<Data_AptEvent>): Data_AptEvent;
|
|
500
|
-
fromPartial(object: DeepPartial<Data_AptEvent>): Data_AptEvent;
|
|
501
|
-
};
|
|
502
|
-
interface Data_AptCall {
|
|
503
|
-
/** @deprecated */
|
|
504
|
-
transaction: {
|
|
505
|
-
[key: string]: any;
|
|
506
|
-
} | undefined;
|
|
507
|
-
rawTransaction: string;
|
|
508
|
-
}
|
|
509
|
-
declare const Data_AptCall: {
|
|
510
|
-
encode(message: Data_AptCall, writer?: _m0.Writer): _m0.Writer;
|
|
511
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_AptCall;
|
|
512
|
-
fromJSON(object: any): Data_AptCall;
|
|
513
|
-
toJSON(message: Data_AptCall): unknown;
|
|
514
|
-
create(base?: DeepPartial<Data_AptCall>): Data_AptCall;
|
|
515
|
-
fromPartial(object: DeepPartial<Data_AptCall>): Data_AptCall;
|
|
516
|
-
};
|
|
517
|
-
interface Data_AptResource {
|
|
518
|
-
/** @deprecated */
|
|
519
|
-
resources: {
|
|
520
|
-
[key: string]: any;
|
|
521
|
-
}[];
|
|
522
|
-
version: bigint;
|
|
523
|
-
timestampMicros: bigint;
|
|
524
|
-
rawResources: string[];
|
|
525
|
-
}
|
|
526
|
-
declare const Data_AptResource: {
|
|
527
|
-
encode(message: Data_AptResource, writer?: _m0.Writer): _m0.Writer;
|
|
528
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_AptResource;
|
|
529
|
-
fromJSON(object: any): Data_AptResource;
|
|
530
|
-
toJSON(message: Data_AptResource): unknown;
|
|
531
|
-
create(base?: DeepPartial<Data_AptResource>): Data_AptResource;
|
|
532
|
-
fromPartial(object: DeepPartial<Data_AptResource>): Data_AptResource;
|
|
533
|
-
};
|
|
534
|
-
interface Data_SuiEvent {
|
|
535
|
-
/** @deprecated */
|
|
536
|
-
transaction: {
|
|
537
|
-
[key: string]: any;
|
|
538
|
-
} | undefined;
|
|
539
|
-
rawEvent: string;
|
|
540
|
-
rawTransaction: string;
|
|
541
|
-
timestamp: Date | undefined;
|
|
542
|
-
slot: bigint;
|
|
543
|
-
}
|
|
544
|
-
declare const Data_SuiEvent: {
|
|
545
|
-
encode(message: Data_SuiEvent, writer?: _m0.Writer): _m0.Writer;
|
|
546
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiEvent;
|
|
547
|
-
fromJSON(object: any): Data_SuiEvent;
|
|
548
|
-
toJSON(message: Data_SuiEvent): unknown;
|
|
549
|
-
create(base?: DeepPartial<Data_SuiEvent>): Data_SuiEvent;
|
|
550
|
-
fromPartial(object: DeepPartial<Data_SuiEvent>): Data_SuiEvent;
|
|
551
|
-
};
|
|
552
|
-
interface Data_SuiCall {
|
|
553
|
-
/** @deprecated */
|
|
554
|
-
transaction: {
|
|
555
|
-
[key: string]: any;
|
|
556
|
-
} | undefined;
|
|
557
|
-
rawTransaction: string;
|
|
558
|
-
timestamp: Date | undefined;
|
|
559
|
-
slot: bigint;
|
|
560
|
-
}
|
|
561
|
-
declare const Data_SuiCall: {
|
|
562
|
-
encode(message: Data_SuiCall, writer?: _m0.Writer): _m0.Writer;
|
|
563
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiCall;
|
|
564
|
-
fromJSON(object: any): Data_SuiCall;
|
|
565
|
-
toJSON(message: Data_SuiCall): unknown;
|
|
566
|
-
create(base?: DeepPartial<Data_SuiCall>): Data_SuiCall;
|
|
567
|
-
fromPartial(object: DeepPartial<Data_SuiCall>): Data_SuiCall;
|
|
568
|
-
};
|
|
569
|
-
interface Data_SuiObject {
|
|
570
|
-
/** @deprecated */
|
|
571
|
-
objects: {
|
|
572
|
-
[key: string]: any;
|
|
573
|
-
}[];
|
|
574
|
-
/** @deprecated */
|
|
575
|
-
self?: {
|
|
576
|
-
[key: string]: any;
|
|
577
|
-
} | undefined;
|
|
578
|
-
rawObjects: string[];
|
|
579
|
-
rawSelf?: string | undefined;
|
|
580
|
-
objectId: string;
|
|
581
|
-
objectVersion: bigint;
|
|
582
|
-
objectDigest: string;
|
|
583
|
-
timestamp: Date | undefined;
|
|
584
|
-
slot: bigint;
|
|
585
|
-
}
|
|
586
|
-
declare const Data_SuiObject: {
|
|
587
|
-
encode(message: Data_SuiObject, writer?: _m0.Writer): _m0.Writer;
|
|
588
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiObject;
|
|
589
|
-
fromJSON(object: any): Data_SuiObject;
|
|
590
|
-
toJSON(message: Data_SuiObject): unknown;
|
|
591
|
-
create(base?: DeepPartial<Data_SuiObject>): Data_SuiObject;
|
|
592
|
-
fromPartial(object: DeepPartial<Data_SuiObject>): Data_SuiObject;
|
|
593
|
-
};
|
|
594
|
-
interface Data_SuiObjectChange {
|
|
595
|
-
/** @deprecated */
|
|
596
|
-
changes: {
|
|
597
|
-
[key: string]: any;
|
|
598
|
-
}[];
|
|
599
|
-
rawChanges: string[];
|
|
600
|
-
timestamp: Date | undefined;
|
|
601
|
-
txDigest: string;
|
|
602
|
-
slot: bigint;
|
|
603
|
-
}
|
|
604
|
-
declare const Data_SuiObjectChange: {
|
|
605
|
-
encode(message: Data_SuiObjectChange, writer?: _m0.Writer): _m0.Writer;
|
|
606
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SuiObjectChange;
|
|
607
|
-
fromJSON(object: any): Data_SuiObjectChange;
|
|
608
|
-
toJSON(message: Data_SuiObjectChange): unknown;
|
|
609
|
-
create(base?: DeepPartial<Data_SuiObjectChange>): Data_SuiObjectChange;
|
|
610
|
-
fromPartial(object: DeepPartial<Data_SuiObjectChange>): Data_SuiObjectChange;
|
|
611
|
-
};
|
|
612
|
-
interface Data_FuelReceipt {
|
|
613
|
-
transaction: {
|
|
614
|
-
[key: string]: any;
|
|
615
|
-
} | undefined;
|
|
616
|
-
timestamp: Date | undefined;
|
|
617
|
-
receiptIndex: bigint;
|
|
618
|
-
}
|
|
619
|
-
declare const Data_FuelReceipt: {
|
|
620
|
-
encode(message: Data_FuelReceipt, writer?: _m0.Writer): _m0.Writer;
|
|
621
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelReceipt;
|
|
622
|
-
fromJSON(object: any): Data_FuelReceipt;
|
|
623
|
-
toJSON(message: Data_FuelReceipt): unknown;
|
|
624
|
-
create(base?: DeepPartial<Data_FuelReceipt>): Data_FuelReceipt;
|
|
625
|
-
fromPartial(object: DeepPartial<Data_FuelReceipt>): Data_FuelReceipt;
|
|
626
|
-
};
|
|
627
|
-
interface Data_FuelTransaction {
|
|
628
|
-
transaction: {
|
|
629
|
-
[key: string]: any;
|
|
630
|
-
} | undefined;
|
|
631
|
-
timestamp: Date | undefined;
|
|
632
|
-
}
|
|
633
|
-
declare const Data_FuelTransaction: {
|
|
634
|
-
encode(message: Data_FuelTransaction, writer?: _m0.Writer): _m0.Writer;
|
|
635
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelTransaction;
|
|
636
|
-
fromJSON(object: any): Data_FuelTransaction;
|
|
637
|
-
toJSON(message: Data_FuelTransaction): unknown;
|
|
638
|
-
create(base?: DeepPartial<Data_FuelTransaction>): Data_FuelTransaction;
|
|
639
|
-
fromPartial(object: DeepPartial<Data_FuelTransaction>): Data_FuelTransaction;
|
|
640
|
-
};
|
|
641
|
-
/** @deprecated */
|
|
642
|
-
interface Data_FuelCall {
|
|
643
|
-
transaction: {
|
|
644
|
-
[key: string]: any;
|
|
645
|
-
} | undefined;
|
|
646
|
-
timestamp: Date | undefined;
|
|
647
|
-
}
|
|
648
|
-
declare const Data_FuelCall: {
|
|
649
|
-
encode(message: Data_FuelCall, writer?: _m0.Writer): _m0.Writer;
|
|
650
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelCall;
|
|
651
|
-
fromJSON(object: any): Data_FuelCall;
|
|
652
|
-
toJSON(message: Data_FuelCall): unknown;
|
|
653
|
-
create(base?: DeepPartial<Data_FuelCall>): Data_FuelCall;
|
|
654
|
-
fromPartial(object: DeepPartial<Data_FuelCall>): Data_FuelCall;
|
|
655
|
-
};
|
|
656
|
-
interface Data_FuelBlock {
|
|
657
|
-
block: {
|
|
658
|
-
[key: string]: any;
|
|
659
|
-
} | undefined;
|
|
660
|
-
timestamp: Date | undefined;
|
|
661
|
-
}
|
|
662
|
-
declare const Data_FuelBlock: {
|
|
663
|
-
encode(message: Data_FuelBlock, writer?: _m0.Writer): _m0.Writer;
|
|
664
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelBlock;
|
|
665
|
-
fromJSON(object: any): Data_FuelBlock;
|
|
666
|
-
toJSON(message: Data_FuelBlock): unknown;
|
|
667
|
-
create(base?: DeepPartial<Data_FuelBlock>): Data_FuelBlock;
|
|
668
|
-
fromPartial(object: DeepPartial<Data_FuelBlock>): Data_FuelBlock;
|
|
669
|
-
};
|
|
670
|
-
interface Data_CosmosCall {
|
|
671
|
-
transaction: {
|
|
672
|
-
[key: string]: any;
|
|
673
|
-
} | undefined;
|
|
674
|
-
timestamp: Date | undefined;
|
|
675
|
-
}
|
|
676
|
-
declare const Data_CosmosCall: {
|
|
677
|
-
encode(message: Data_CosmosCall, writer?: _m0.Writer): _m0.Writer;
|
|
678
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_CosmosCall;
|
|
679
|
-
fromJSON(object: any): Data_CosmosCall;
|
|
680
|
-
toJSON(message: Data_CosmosCall): unknown;
|
|
681
|
-
create(base?: DeepPartial<Data_CosmosCall>): Data_CosmosCall;
|
|
682
|
-
fromPartial(object: DeepPartial<Data_CosmosCall>): Data_CosmosCall;
|
|
683
|
-
};
|
|
684
|
-
interface Data_StarknetEvent {
|
|
685
|
-
result: {
|
|
686
|
-
[key: string]: any;
|
|
687
|
-
} | undefined;
|
|
688
|
-
timestamp: Date | undefined;
|
|
689
|
-
}
|
|
690
|
-
declare const Data_StarknetEvent: {
|
|
691
|
-
encode(message: Data_StarknetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
692
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_StarknetEvent;
|
|
693
|
-
fromJSON(object: any): Data_StarknetEvent;
|
|
694
|
-
toJSON(message: Data_StarknetEvent): unknown;
|
|
695
|
-
create(base?: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
|
696
|
-
fromPartial(object: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
|
697
|
-
};
|
|
698
|
-
interface DataBinding {
|
|
699
|
-
data: Data | undefined;
|
|
700
|
-
handlerType: HandlerType;
|
|
701
|
-
handlerIds: number[];
|
|
702
|
-
chainId: string;
|
|
703
|
-
}
|
|
704
|
-
declare const DataBinding: {
|
|
705
|
-
encode(message: DataBinding, writer?: _m0.Writer): _m0.Writer;
|
|
706
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DataBinding;
|
|
707
|
-
fromJSON(object: any): DataBinding;
|
|
708
|
-
toJSON(message: DataBinding): unknown;
|
|
709
|
-
create(base?: DeepPartial<DataBinding>): DataBinding;
|
|
710
|
-
fromPartial(object: DeepPartial<DataBinding>): DataBinding;
|
|
711
|
-
};
|
|
712
|
-
interface StateResult {
|
|
713
|
-
configUpdated: boolean;
|
|
714
|
-
error?: string | undefined;
|
|
715
|
-
}
|
|
716
|
-
declare const StateResult: {
|
|
717
|
-
encode(message: StateResult, writer?: _m0.Writer): _m0.Writer;
|
|
718
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): StateResult;
|
|
719
|
-
fromJSON(object: any): StateResult;
|
|
720
|
-
toJSON(message: StateResult): unknown;
|
|
721
|
-
create(base?: DeepPartial<StateResult>): StateResult;
|
|
722
|
-
fromPartial(object: DeepPartial<StateResult>): StateResult;
|
|
723
|
-
};
|
|
724
|
-
interface ProcessResult {
|
|
725
|
-
gauges: GaugeResult[];
|
|
726
|
-
counters: CounterResult[];
|
|
727
|
-
events: EventTrackingResult[];
|
|
728
|
-
exports: ExportResult[];
|
|
729
|
-
states: StateResult | undefined;
|
|
730
|
-
timeseriesResult: TimeseriesResult[];
|
|
731
|
-
}
|
|
732
|
-
declare const ProcessResult: {
|
|
733
|
-
encode(message: ProcessResult, writer?: _m0.Writer): _m0.Writer;
|
|
734
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ProcessResult;
|
|
735
|
-
fromJSON(object: any): ProcessResult;
|
|
736
|
-
toJSON(message: ProcessResult): unknown;
|
|
737
|
-
create(base?: DeepPartial<ProcessResult>): ProcessResult;
|
|
738
|
-
fromPartial(object: DeepPartial<ProcessResult>): ProcessResult;
|
|
739
|
-
};
|
|
740
|
-
interface RecordMetaData {
|
|
741
|
-
address: string;
|
|
742
|
-
contractName: string;
|
|
743
|
-
blockNumber: bigint;
|
|
744
|
-
transactionHash: string;
|
|
745
|
-
chainId: string;
|
|
746
|
-
transactionIndex: number;
|
|
747
|
-
logIndex: number;
|
|
748
|
-
name: string;
|
|
749
|
-
labels: {
|
|
750
|
-
[key: string]: string;
|
|
751
|
-
};
|
|
752
|
-
}
|
|
753
|
-
declare const RecordMetaData: {
|
|
754
|
-
encode(message: RecordMetaData, writer?: _m0.Writer): _m0.Writer;
|
|
755
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RecordMetaData;
|
|
756
|
-
fromJSON(object: any): RecordMetaData;
|
|
757
|
-
toJSON(message: RecordMetaData): unknown;
|
|
758
|
-
create(base?: DeepPartial<RecordMetaData>): RecordMetaData;
|
|
759
|
-
fromPartial(object: DeepPartial<RecordMetaData>): RecordMetaData;
|
|
760
|
-
};
|
|
761
|
-
interface MetricValue {
|
|
762
|
-
bigDecimal?: string | undefined;
|
|
763
|
-
doubleValue?: number | undefined;
|
|
764
|
-
bigInteger?: BigInteger | undefined;
|
|
765
|
-
}
|
|
766
|
-
declare const MetricValue: {
|
|
767
|
-
encode(message: MetricValue, writer?: _m0.Writer): _m0.Writer;
|
|
768
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MetricValue;
|
|
769
|
-
fromJSON(object: any): MetricValue;
|
|
770
|
-
toJSON(message: MetricValue): unknown;
|
|
771
|
-
create(base?: DeepPartial<MetricValue>): MetricValue;
|
|
772
|
-
fromPartial(object: DeepPartial<MetricValue>): MetricValue;
|
|
773
|
-
};
|
|
774
|
-
interface RuntimeInfo {
|
|
775
|
-
from: HandlerType;
|
|
776
|
-
}
|
|
777
|
-
declare const RuntimeInfo: {
|
|
778
|
-
encode(message: RuntimeInfo, writer?: _m0.Writer): _m0.Writer;
|
|
779
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RuntimeInfo;
|
|
780
|
-
fromJSON(object: any): RuntimeInfo;
|
|
781
|
-
toJSON(message: RuntimeInfo): unknown;
|
|
782
|
-
create(base?: DeepPartial<RuntimeInfo>): RuntimeInfo;
|
|
783
|
-
fromPartial(object: DeepPartial<RuntimeInfo>): RuntimeInfo;
|
|
784
|
-
};
|
|
785
|
-
interface GaugeResult {
|
|
786
|
-
metadata: RecordMetaData | undefined;
|
|
787
|
-
metricValue: MetricValue | undefined;
|
|
788
|
-
runtimeInfo: RuntimeInfo | undefined;
|
|
789
|
-
}
|
|
790
|
-
declare const GaugeResult: {
|
|
791
|
-
encode(message: GaugeResult, writer?: _m0.Writer): _m0.Writer;
|
|
792
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GaugeResult;
|
|
793
|
-
fromJSON(object: any): GaugeResult;
|
|
794
|
-
toJSON(message: GaugeResult): unknown;
|
|
795
|
-
create(base?: DeepPartial<GaugeResult>): GaugeResult;
|
|
796
|
-
fromPartial(object: DeepPartial<GaugeResult>): GaugeResult;
|
|
797
|
-
};
|
|
798
|
-
interface CounterResult {
|
|
799
|
-
metadata: RecordMetaData | undefined;
|
|
800
|
-
metricValue: MetricValue | undefined;
|
|
801
|
-
add: boolean;
|
|
802
|
-
runtimeInfo: RuntimeInfo | undefined;
|
|
803
|
-
}
|
|
804
|
-
declare const CounterResult: {
|
|
805
|
-
encode(message: CounterResult, writer?: _m0.Writer): _m0.Writer;
|
|
806
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CounterResult;
|
|
807
|
-
fromJSON(object: any): CounterResult;
|
|
808
|
-
toJSON(message: CounterResult): unknown;
|
|
809
|
-
create(base?: DeepPartial<CounterResult>): CounterResult;
|
|
810
|
-
fromPartial(object: DeepPartial<CounterResult>): CounterResult;
|
|
811
|
-
};
|
|
812
|
-
interface EventTrackingResult {
|
|
813
|
-
metadata: RecordMetaData | undefined;
|
|
814
|
-
distinctEntityId: string;
|
|
815
|
-
attributes: {
|
|
816
|
-
[key: string]: any;
|
|
817
|
-
} | undefined;
|
|
818
|
-
severity: LogLevel;
|
|
819
|
-
message: string;
|
|
820
|
-
runtimeInfo: RuntimeInfo | undefined;
|
|
821
|
-
attributes2: RichStruct | undefined;
|
|
822
|
-
noMetric: boolean;
|
|
823
|
-
}
|
|
824
|
-
declare const EventTrackingResult: {
|
|
825
|
-
encode(message: EventTrackingResult, writer?: _m0.Writer): _m0.Writer;
|
|
826
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): EventTrackingResult;
|
|
827
|
-
fromJSON(object: any): EventTrackingResult;
|
|
828
|
-
toJSON(message: EventTrackingResult): unknown;
|
|
829
|
-
create(base?: DeepPartial<EventTrackingResult>): EventTrackingResult;
|
|
830
|
-
fromPartial(object: DeepPartial<EventTrackingResult>): EventTrackingResult;
|
|
831
|
-
};
|
|
832
|
-
interface TimeseriesResult {
|
|
833
|
-
metadata: RecordMetaData | undefined;
|
|
834
|
-
type: TimeseriesResult_TimeseriesType;
|
|
835
|
-
data: RichStruct | undefined;
|
|
836
|
-
runtimeInfo: RuntimeInfo | undefined;
|
|
837
|
-
}
|
|
838
|
-
declare const TimeseriesResult: {
|
|
839
|
-
encode(message: TimeseriesResult, writer?: _m0.Writer): _m0.Writer;
|
|
840
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TimeseriesResult;
|
|
841
|
-
fromJSON(object: any): TimeseriesResult;
|
|
842
|
-
toJSON(message: TimeseriesResult): unknown;
|
|
843
|
-
create(base?: DeepPartial<TimeseriesResult>): TimeseriesResult;
|
|
844
|
-
fromPartial(object: DeepPartial<TimeseriesResult>): TimeseriesResult;
|
|
845
|
-
};
|
|
846
|
-
interface ExportResult {
|
|
847
|
-
metadata: RecordMetaData | undefined;
|
|
848
|
-
payload: string;
|
|
849
|
-
runtimeInfo: RuntimeInfo | undefined;
|
|
850
|
-
}
|
|
851
|
-
declare const ExportResult: {
|
|
852
|
-
encode(message: ExportResult, writer?: _m0.Writer): _m0.Writer;
|
|
853
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ExportResult;
|
|
854
|
-
fromJSON(object: any): ExportResult;
|
|
855
|
-
toJSON(message: ExportResult): unknown;
|
|
856
|
-
create(base?: DeepPartial<ExportResult>): ExportResult;
|
|
857
|
-
fromPartial(object: DeepPartial<ExportResult>): ExportResult;
|
|
858
|
-
};
|
|
859
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
860
|
-
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
861
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
862
|
-
} : Partial<T>;
|
|
863
|
-
|
|
864
|
-
export { AbstractStoreContext as A, DataBinding as D, ExecutionConfig as E, HandlerType as H, type IStoreContext as I, Plugin as P, StoreContext as S, ProcessResult as a, PluginManager as b, type IDataBindingContext as c, DataBindingContext as d, timeoutError as t };
|