@silvana-one/agent 1.0.33 → 1.0.35
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/dist/node/proto/proto/coordinator/v1/coordinator_pb.d.ts +1990 -0
- package/dist/node/proto/proto/coordinator/v1/coordinator_pb.js +424 -0
- package/dist/node/proto/proto/coordinator/v1/coordinator_pb.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/proto/proto/coordinator/v1/coordinator_pb.d.ts +1990 -0
- package/dist/web/proto/proto/coordinator/v1/coordinator_pb.js +424 -0
- package/dist/web/proto/proto/coordinator/v1/coordinator_pb.js.map +1 -0
- package/package.json +1 -1
- package/src/proto/proto/coordinator/v1/coordinator_pb.ts +2481 -0
|
@@ -0,0 +1,1990 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file proto/coordinator/v1/coordinator.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_proto_coordinator_v1_coordinator: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* Job message matching the partial Move struct
|
|
9
|
+
*
|
|
10
|
+
* @generated from message silvana.coordinator.v1.Job
|
|
11
|
+
*/
|
|
12
|
+
export type Job = Message<"silvana.coordinator.v1.Job"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: uint64 job_sequence = 1;
|
|
15
|
+
*/
|
|
16
|
+
jobSequence: bigint;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: optional string description = 2;
|
|
19
|
+
*/
|
|
20
|
+
description?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Metadata of the agent method to call
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: string developer = 3;
|
|
25
|
+
*/
|
|
26
|
+
developer: string;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string agent = 4;
|
|
29
|
+
*/
|
|
30
|
+
agent: string;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: string agent_method = 5;
|
|
33
|
+
*/
|
|
34
|
+
agentMethod: string;
|
|
35
|
+
/**
|
|
36
|
+
* Metadata of the calling app instance
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string app = 6;
|
|
39
|
+
*/
|
|
40
|
+
app: string;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string app_instance = 7;
|
|
43
|
+
*/
|
|
44
|
+
appInstance: string;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string app_instance_method = 8;
|
|
47
|
+
*/
|
|
48
|
+
appInstanceMethod: string;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: optional uint64 block_number = 9;
|
|
51
|
+
*/
|
|
52
|
+
blockNumber?: bigint;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: repeated uint64 sequences = 10;
|
|
55
|
+
*/
|
|
56
|
+
sequences: bigint[];
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: repeated uint64 sequences1 = 11;
|
|
59
|
+
*/
|
|
60
|
+
sequences1: bigint[];
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: repeated uint64 sequences2 = 12;
|
|
63
|
+
*/
|
|
64
|
+
sequences2: bigint[];
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: bytes data = 13;
|
|
67
|
+
*/
|
|
68
|
+
data: Uint8Array;
|
|
69
|
+
/**
|
|
70
|
+
* Generated unique job ID for agent reference
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: string job_id = 14;
|
|
73
|
+
*/
|
|
74
|
+
jobId: string;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata of the job
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: uint32 attempts = 15;
|
|
79
|
+
*/
|
|
80
|
+
attempts: number;
|
|
81
|
+
/**
|
|
82
|
+
* Metadata of the job
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: uint64 created_at = 16;
|
|
85
|
+
*/
|
|
86
|
+
createdAt: bigint;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: uint64 updated_at = 17;
|
|
89
|
+
*/
|
|
90
|
+
updatedAt: bigint;
|
|
91
|
+
/**
|
|
92
|
+
* Chain for settlement jobs
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: optional string chain = 18;
|
|
95
|
+
*/
|
|
96
|
+
chain?: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message silvana.coordinator.v1.Job.
|
|
100
|
+
* Use `create(JobSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export declare const JobSchema: GenMessage<Job>;
|
|
103
|
+
/**
|
|
104
|
+
* Request message for getting a job
|
|
105
|
+
*
|
|
106
|
+
* @generated from message silvana.coordinator.v1.GetJobRequest
|
|
107
|
+
*/
|
|
108
|
+
export type GetJobRequest = Message<"silvana.coordinator.v1.GetJobRequest"> & {
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: string developer = 1;
|
|
111
|
+
*/
|
|
112
|
+
developer: string;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string agent = 2;
|
|
115
|
+
*/
|
|
116
|
+
agent: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string agent_method = 3;
|
|
119
|
+
*/
|
|
120
|
+
agentMethod: string;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: string session_id = 4;
|
|
123
|
+
*/
|
|
124
|
+
sessionId: string;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message silvana.coordinator.v1.GetJobRequest.
|
|
128
|
+
* Use `create(GetJobRequestSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export declare const GetJobRequestSchema: GenMessage<GetJobRequest>;
|
|
131
|
+
/**
|
|
132
|
+
* Response message containing a job
|
|
133
|
+
*
|
|
134
|
+
* @generated from message silvana.coordinator.v1.GetJobResponse
|
|
135
|
+
*/
|
|
136
|
+
export type GetJobResponse = Message<"silvana.coordinator.v1.GetJobResponse"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: bool success = 1;
|
|
139
|
+
*/
|
|
140
|
+
success: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: string message = 2;
|
|
143
|
+
*/
|
|
144
|
+
message: string;
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: optional silvana.coordinator.v1.Job job = 3;
|
|
147
|
+
*/
|
|
148
|
+
job?: Job;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message silvana.coordinator.v1.GetJobResponse.
|
|
152
|
+
* Use `create(GetJobResponseSchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export declare const GetJobResponseSchema: GenMessage<GetJobResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* Request message for completing a job
|
|
157
|
+
*
|
|
158
|
+
* @generated from message silvana.coordinator.v1.CompleteJobRequest
|
|
159
|
+
*/
|
|
160
|
+
export type CompleteJobRequest = Message<"silvana.coordinator.v1.CompleteJobRequest"> & {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string job_id = 1;
|
|
163
|
+
*/
|
|
164
|
+
jobId: string;
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: string session_id = 2;
|
|
167
|
+
*/
|
|
168
|
+
sessionId: string;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message silvana.coordinator.v1.CompleteJobRequest.
|
|
172
|
+
* Use `create(CompleteJobRequestSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export declare const CompleteJobRequestSchema: GenMessage<CompleteJobRequest>;
|
|
175
|
+
/**
|
|
176
|
+
* Response message for job completion
|
|
177
|
+
*
|
|
178
|
+
* @generated from message silvana.coordinator.v1.CompleteJobResponse
|
|
179
|
+
*/
|
|
180
|
+
export type CompleteJobResponse = Message<"silvana.coordinator.v1.CompleteJobResponse"> & {
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: bool success = 1;
|
|
183
|
+
*/
|
|
184
|
+
success: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: string message = 2;
|
|
187
|
+
*/
|
|
188
|
+
message: string;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message silvana.coordinator.v1.CompleteJobResponse.
|
|
192
|
+
* Use `create(CompleteJobResponseSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export declare const CompleteJobResponseSchema: GenMessage<CompleteJobResponse>;
|
|
195
|
+
/**
|
|
196
|
+
* Request message for failing a job
|
|
197
|
+
*
|
|
198
|
+
* @generated from message silvana.coordinator.v1.FailJobRequest
|
|
199
|
+
*/
|
|
200
|
+
export type FailJobRequest = Message<"silvana.coordinator.v1.FailJobRequest"> & {
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: string job_id = 1;
|
|
203
|
+
*/
|
|
204
|
+
jobId: string;
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: string error_message = 2;
|
|
207
|
+
*/
|
|
208
|
+
errorMessage: string;
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string session_id = 3;
|
|
211
|
+
*/
|
|
212
|
+
sessionId: string;
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* Describes the message silvana.coordinator.v1.FailJobRequest.
|
|
216
|
+
* Use `create(FailJobRequestSchema)` to create a new message.
|
|
217
|
+
*/
|
|
218
|
+
export declare const FailJobRequestSchema: GenMessage<FailJobRequest>;
|
|
219
|
+
/**
|
|
220
|
+
* Response message for job failure
|
|
221
|
+
*
|
|
222
|
+
* @generated from message silvana.coordinator.v1.FailJobResponse
|
|
223
|
+
*/
|
|
224
|
+
export type FailJobResponse = Message<"silvana.coordinator.v1.FailJobResponse"> & {
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: bool success = 1;
|
|
227
|
+
*/
|
|
228
|
+
success: boolean;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: string message = 2;
|
|
231
|
+
*/
|
|
232
|
+
message: string;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Describes the message silvana.coordinator.v1.FailJobResponse.
|
|
236
|
+
* Use `create(FailJobResponseSchema)` to create a new message.
|
|
237
|
+
*/
|
|
238
|
+
export declare const FailJobResponseSchema: GenMessage<FailJobResponse>;
|
|
239
|
+
/**
|
|
240
|
+
* Request message for terminating a job
|
|
241
|
+
*
|
|
242
|
+
* @generated from message silvana.coordinator.v1.TerminateJobRequest
|
|
243
|
+
*/
|
|
244
|
+
export type TerminateJobRequest = Message<"silvana.coordinator.v1.TerminateJobRequest"> & {
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: string session_id = 1;
|
|
247
|
+
*/
|
|
248
|
+
sessionId: string;
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: string job_id = 2;
|
|
251
|
+
*/
|
|
252
|
+
jobId: string;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message silvana.coordinator.v1.TerminateJobRequest.
|
|
256
|
+
* Use `create(TerminateJobRequestSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export declare const TerminateJobRequestSchema: GenMessage<TerminateJobRequest>;
|
|
259
|
+
/**
|
|
260
|
+
* Response message for terminating a job
|
|
261
|
+
*
|
|
262
|
+
* @generated from message silvana.coordinator.v1.TerminateJobResponse
|
|
263
|
+
*/
|
|
264
|
+
export type TerminateJobResponse = Message<"silvana.coordinator.v1.TerminateJobResponse"> & {
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: bool success = 1;
|
|
267
|
+
*/
|
|
268
|
+
success: boolean;
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: string message = 2;
|
|
271
|
+
*/
|
|
272
|
+
message: string;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Describes the message silvana.coordinator.v1.TerminateJobResponse.
|
|
276
|
+
* Use `create(TerminateJobResponseSchema)` to create a new message.
|
|
277
|
+
*/
|
|
278
|
+
export declare const TerminateJobResponseSchema: GenMessage<TerminateJobResponse>;
|
|
279
|
+
/**
|
|
280
|
+
* Request message for submitting a proof
|
|
281
|
+
*
|
|
282
|
+
* @generated from message silvana.coordinator.v1.SubmitProofRequest
|
|
283
|
+
*/
|
|
284
|
+
export type SubmitProofRequest = Message<"silvana.coordinator.v1.SubmitProofRequest"> & {
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: string session_id = 1;
|
|
287
|
+
*/
|
|
288
|
+
sessionId: string;
|
|
289
|
+
/**
|
|
290
|
+
* @generated from field: uint64 block_number = 2;
|
|
291
|
+
*/
|
|
292
|
+
blockNumber: bigint;
|
|
293
|
+
/**
|
|
294
|
+
* should be sorted
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: repeated uint64 sequences = 3;
|
|
297
|
+
*/
|
|
298
|
+
sequences: bigint[];
|
|
299
|
+
/**
|
|
300
|
+
* optional
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: repeated uint64 merged_sequences_1 = 4;
|
|
303
|
+
*/
|
|
304
|
+
mergedSequences1: bigint[];
|
|
305
|
+
/**
|
|
306
|
+
* optional
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: repeated uint64 merged_sequences_2 = 5;
|
|
309
|
+
*/
|
|
310
|
+
mergedSequences2: bigint[];
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: string job_id = 6;
|
|
313
|
+
*/
|
|
314
|
+
jobId: string;
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: string proof = 7;
|
|
317
|
+
*/
|
|
318
|
+
proof: string;
|
|
319
|
+
/**
|
|
320
|
+
* in milliseconds
|
|
321
|
+
*
|
|
322
|
+
* @generated from field: uint64 cpu_time = 8;
|
|
323
|
+
*/
|
|
324
|
+
cpuTime: bigint;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Describes the message silvana.coordinator.v1.SubmitProofRequest.
|
|
328
|
+
* Use `create(SubmitProofRequestSchema)` to create a new message.
|
|
329
|
+
*/
|
|
330
|
+
export declare const SubmitProofRequestSchema: GenMessage<SubmitProofRequest>;
|
|
331
|
+
/**
|
|
332
|
+
* Response message for proof submission
|
|
333
|
+
*
|
|
334
|
+
* @generated from message silvana.coordinator.v1.SubmitProofResponse
|
|
335
|
+
*/
|
|
336
|
+
export type SubmitProofResponse = Message<"silvana.coordinator.v1.SubmitProofResponse"> & {
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: bool success = 1;
|
|
339
|
+
*/
|
|
340
|
+
success: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: string message = 2;
|
|
343
|
+
*/
|
|
344
|
+
message: string;
|
|
345
|
+
/**
|
|
346
|
+
* @generated from field: string tx_hash = 3;
|
|
347
|
+
*/
|
|
348
|
+
txHash: string;
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: string da_hash = 4;
|
|
351
|
+
*/
|
|
352
|
+
daHash: string;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Describes the message silvana.coordinator.v1.SubmitProofResponse.
|
|
356
|
+
* Use `create(SubmitProofResponseSchema)` to create a new message.
|
|
357
|
+
*/
|
|
358
|
+
export declare const SubmitProofResponseSchema: GenMessage<SubmitProofResponse>;
|
|
359
|
+
/**
|
|
360
|
+
* Request message for rejecting a proof
|
|
361
|
+
*
|
|
362
|
+
* @generated from message silvana.coordinator.v1.RejectProofRequest
|
|
363
|
+
*/
|
|
364
|
+
export type RejectProofRequest = Message<"silvana.coordinator.v1.RejectProofRequest"> & {
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: string session_id = 1;
|
|
367
|
+
*/
|
|
368
|
+
sessionId: string;
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: uint64 block_number = 2;
|
|
371
|
+
*/
|
|
372
|
+
blockNumber: bigint;
|
|
373
|
+
/**
|
|
374
|
+
* should be sorted
|
|
375
|
+
*
|
|
376
|
+
* @generated from field: repeated uint64 sequences = 3;
|
|
377
|
+
*/
|
|
378
|
+
sequences: bigint[];
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string job_id = 4;
|
|
381
|
+
*/
|
|
382
|
+
jobId: string;
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* Describes the message silvana.coordinator.v1.RejectProofRequest.
|
|
386
|
+
* Use `create(RejectProofRequestSchema)` to create a new message.
|
|
387
|
+
*/
|
|
388
|
+
export declare const RejectProofRequestSchema: GenMessage<RejectProofRequest>;
|
|
389
|
+
/**
|
|
390
|
+
* Response message for proof rejection
|
|
391
|
+
*
|
|
392
|
+
* @generated from message silvana.coordinator.v1.RejectProofResponse
|
|
393
|
+
*/
|
|
394
|
+
export type RejectProofResponse = Message<"silvana.coordinator.v1.RejectProofResponse"> & {
|
|
395
|
+
/**
|
|
396
|
+
* @generated from field: bool success = 1;
|
|
397
|
+
*/
|
|
398
|
+
success: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* @generated from field: string message = 2;
|
|
401
|
+
*/
|
|
402
|
+
message: string;
|
|
403
|
+
/**
|
|
404
|
+
* @generated from field: string tx_hash = 3;
|
|
405
|
+
*/
|
|
406
|
+
txHash: string;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* Describes the message silvana.coordinator.v1.RejectProofResponse.
|
|
410
|
+
* Use `create(RejectProofResponseSchema)` to create a new message.
|
|
411
|
+
*/
|
|
412
|
+
export declare const RejectProofResponseSchema: GenMessage<RejectProofResponse>;
|
|
413
|
+
/**
|
|
414
|
+
* Request message for submitting state
|
|
415
|
+
*
|
|
416
|
+
* @generated from message silvana.coordinator.v1.SubmitStateRequest
|
|
417
|
+
*/
|
|
418
|
+
export type SubmitStateRequest = Message<"silvana.coordinator.v1.SubmitStateRequest"> & {
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: string session_id = 1;
|
|
421
|
+
*/
|
|
422
|
+
sessionId: string;
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: uint64 sequence = 2;
|
|
425
|
+
*/
|
|
426
|
+
sequence: bigint;
|
|
427
|
+
/**
|
|
428
|
+
* @generated from field: string job_id = 3;
|
|
429
|
+
*/
|
|
430
|
+
jobId: string;
|
|
431
|
+
/**
|
|
432
|
+
* raw state data (vector<u8>) for update_state_for_sequence
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: optional bytes new_state_data = 4;
|
|
435
|
+
*/
|
|
436
|
+
newStateData?: Uint8Array;
|
|
437
|
+
/**
|
|
438
|
+
* serialized state data (string) to write to Walrus
|
|
439
|
+
*
|
|
440
|
+
* @generated from field: optional string serialized_state = 5;
|
|
441
|
+
*/
|
|
442
|
+
serializedState?: string;
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* Describes the message silvana.coordinator.v1.SubmitStateRequest.
|
|
446
|
+
* Use `create(SubmitStateRequestSchema)` to create a new message.
|
|
447
|
+
*/
|
|
448
|
+
export declare const SubmitStateRequestSchema: GenMessage<SubmitStateRequest>;
|
|
449
|
+
/**
|
|
450
|
+
* Response message for state submission
|
|
451
|
+
*
|
|
452
|
+
* @generated from message silvana.coordinator.v1.SubmitStateResponse
|
|
453
|
+
*/
|
|
454
|
+
export type SubmitStateResponse = Message<"silvana.coordinator.v1.SubmitStateResponse"> & {
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: bool success = 1;
|
|
457
|
+
*/
|
|
458
|
+
success: boolean;
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: string message = 2;
|
|
461
|
+
*/
|
|
462
|
+
message: string;
|
|
463
|
+
/**
|
|
464
|
+
* @generated from field: string tx_hash = 3;
|
|
465
|
+
*/
|
|
466
|
+
txHash: string;
|
|
467
|
+
/**
|
|
468
|
+
* only present if serialized_state was provided
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: optional string da_hash = 4;
|
|
471
|
+
*/
|
|
472
|
+
daHash?: string;
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* Describes the message silvana.coordinator.v1.SubmitStateResponse.
|
|
476
|
+
* Use `create(SubmitStateResponseSchema)` to create a new message.
|
|
477
|
+
*/
|
|
478
|
+
export declare const SubmitStateResponseSchema: GenMessage<SubmitStateResponse>;
|
|
479
|
+
/**
|
|
480
|
+
* Sequence state message matching the Move SequenceState struct
|
|
481
|
+
*
|
|
482
|
+
* @generated from message silvana.coordinator.v1.SequenceState
|
|
483
|
+
*/
|
|
484
|
+
export type SequenceState = Message<"silvana.coordinator.v1.SequenceState"> & {
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: uint64 sequence = 1;
|
|
487
|
+
*/
|
|
488
|
+
sequence: bigint;
|
|
489
|
+
/**
|
|
490
|
+
* @generated from field: optional bytes state = 2;
|
|
491
|
+
*/
|
|
492
|
+
state?: Uint8Array;
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: optional string data_availability = 3;
|
|
495
|
+
*/
|
|
496
|
+
dataAvailability?: string;
|
|
497
|
+
/**
|
|
498
|
+
* @generated from field: bytes optimistic_state = 4;
|
|
499
|
+
*/
|
|
500
|
+
optimisticState: Uint8Array;
|
|
501
|
+
/**
|
|
502
|
+
* @generated from field: bytes transition_data = 5;
|
|
503
|
+
*/
|
|
504
|
+
transitionData: Uint8Array;
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* Describes the message silvana.coordinator.v1.SequenceState.
|
|
508
|
+
* Use `create(SequenceStateSchema)` to create a new message.
|
|
509
|
+
*/
|
|
510
|
+
export declare const SequenceStateSchema: GenMessage<SequenceState>;
|
|
511
|
+
/**
|
|
512
|
+
* Request message for querying sequence states
|
|
513
|
+
*
|
|
514
|
+
* @generated from message silvana.coordinator.v1.GetSequenceStatesRequest
|
|
515
|
+
*/
|
|
516
|
+
export type GetSequenceStatesRequest = Message<"silvana.coordinator.v1.GetSequenceStatesRequest"> & {
|
|
517
|
+
/**
|
|
518
|
+
* @generated from field: string session_id = 1;
|
|
519
|
+
*/
|
|
520
|
+
sessionId: string;
|
|
521
|
+
/**
|
|
522
|
+
* @generated from field: string job_id = 2;
|
|
523
|
+
*/
|
|
524
|
+
jobId: string;
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: uint64 sequence = 3;
|
|
527
|
+
*/
|
|
528
|
+
sequence: bigint;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* Describes the message silvana.coordinator.v1.GetSequenceStatesRequest.
|
|
532
|
+
* Use `create(GetSequenceStatesRequestSchema)` to create a new message.
|
|
533
|
+
*/
|
|
534
|
+
export declare const GetSequenceStatesRequestSchema: GenMessage<GetSequenceStatesRequest>;
|
|
535
|
+
/**
|
|
536
|
+
* Response message for sequence states query
|
|
537
|
+
*
|
|
538
|
+
* @generated from message silvana.coordinator.v1.GetSequenceStatesResponse
|
|
539
|
+
*/
|
|
540
|
+
export type GetSequenceStatesResponse = Message<"silvana.coordinator.v1.GetSequenceStatesResponse"> & {
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: bool success = 1;
|
|
543
|
+
*/
|
|
544
|
+
success: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* @generated from field: string message = 2;
|
|
547
|
+
*/
|
|
548
|
+
message: string;
|
|
549
|
+
/**
|
|
550
|
+
* @generated from field: repeated silvana.coordinator.v1.SequenceState states = 3;
|
|
551
|
+
*/
|
|
552
|
+
states: SequenceState[];
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Describes the message silvana.coordinator.v1.GetSequenceStatesResponse.
|
|
556
|
+
* Use `create(GetSequenceStatesResponseSchema)` to create a new message.
|
|
557
|
+
*/
|
|
558
|
+
export declare const GetSequenceStatesResponseSchema: GenMessage<GetSequenceStatesResponse>;
|
|
559
|
+
/**
|
|
560
|
+
* Request message for reading data availability by hash
|
|
561
|
+
*
|
|
562
|
+
* @generated from message silvana.coordinator.v1.ReadDataAvailabilityRequest
|
|
563
|
+
*/
|
|
564
|
+
export type ReadDataAvailabilityRequest = Message<"silvana.coordinator.v1.ReadDataAvailabilityRequest"> & {
|
|
565
|
+
/**
|
|
566
|
+
* @generated from field: string da_hash = 1;
|
|
567
|
+
*/
|
|
568
|
+
daHash: string;
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: string session_id = 2;
|
|
571
|
+
*/
|
|
572
|
+
sessionId: string;
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* Describes the message silvana.coordinator.v1.ReadDataAvailabilityRequest.
|
|
576
|
+
* Use `create(ReadDataAvailabilityRequestSchema)` to create a new message.
|
|
577
|
+
*/
|
|
578
|
+
export declare const ReadDataAvailabilityRequestSchema: GenMessage<ReadDataAvailabilityRequest>;
|
|
579
|
+
/**
|
|
580
|
+
* Response message for data availability read
|
|
581
|
+
*
|
|
582
|
+
* @generated from message silvana.coordinator.v1.ReadDataAvailabilityResponse
|
|
583
|
+
*/
|
|
584
|
+
export type ReadDataAvailabilityResponse = Message<"silvana.coordinator.v1.ReadDataAvailabilityResponse"> & {
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: optional string data = 1;
|
|
587
|
+
*/
|
|
588
|
+
data?: string;
|
|
589
|
+
/**
|
|
590
|
+
* @generated from field: bool success = 2;
|
|
591
|
+
*/
|
|
592
|
+
success: boolean;
|
|
593
|
+
/**
|
|
594
|
+
* @generated from field: string message = 3;
|
|
595
|
+
*/
|
|
596
|
+
message: string;
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* Describes the message silvana.coordinator.v1.ReadDataAvailabilityResponse.
|
|
600
|
+
* Use `create(ReadDataAvailabilityResponseSchema)` to create a new message.
|
|
601
|
+
*/
|
|
602
|
+
export declare const ReadDataAvailabilityResponseSchema: GenMessage<ReadDataAvailabilityResponse>;
|
|
603
|
+
/**
|
|
604
|
+
* Request message for getting a proof
|
|
605
|
+
*
|
|
606
|
+
* @generated from message silvana.coordinator.v1.GetProofRequest
|
|
607
|
+
*/
|
|
608
|
+
export type GetProofRequest = Message<"silvana.coordinator.v1.GetProofRequest"> & {
|
|
609
|
+
/**
|
|
610
|
+
* @generated from field: string session_id = 1;
|
|
611
|
+
*/
|
|
612
|
+
sessionId: string;
|
|
613
|
+
/**
|
|
614
|
+
* @generated from field: uint64 block_number = 2;
|
|
615
|
+
*/
|
|
616
|
+
blockNumber: bigint;
|
|
617
|
+
/**
|
|
618
|
+
* should be sorted
|
|
619
|
+
*
|
|
620
|
+
* @generated from field: repeated uint64 sequences = 3;
|
|
621
|
+
*/
|
|
622
|
+
sequences: bigint[];
|
|
623
|
+
/**
|
|
624
|
+
* @generated from field: string job_id = 4;
|
|
625
|
+
*/
|
|
626
|
+
jobId: string;
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* Describes the message silvana.coordinator.v1.GetProofRequest.
|
|
630
|
+
* Use `create(GetProofRequestSchema)` to create a new message.
|
|
631
|
+
*/
|
|
632
|
+
export declare const GetProofRequestSchema: GenMessage<GetProofRequest>;
|
|
633
|
+
/**
|
|
634
|
+
* Response message for getting a proof
|
|
635
|
+
*
|
|
636
|
+
* @generated from message silvana.coordinator.v1.GetProofResponse
|
|
637
|
+
*/
|
|
638
|
+
export type GetProofResponse = Message<"silvana.coordinator.v1.GetProofResponse"> & {
|
|
639
|
+
/**
|
|
640
|
+
* @generated from field: bool success = 1;
|
|
641
|
+
*/
|
|
642
|
+
success: boolean;
|
|
643
|
+
/**
|
|
644
|
+
* available when success is true
|
|
645
|
+
*
|
|
646
|
+
* @generated from field: optional string proof = 2;
|
|
647
|
+
*/
|
|
648
|
+
proof?: string;
|
|
649
|
+
/**
|
|
650
|
+
* available when success is false
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: string message = 3;
|
|
653
|
+
*/
|
|
654
|
+
message: string;
|
|
655
|
+
};
|
|
656
|
+
/**
|
|
657
|
+
* Describes the message silvana.coordinator.v1.GetProofResponse.
|
|
658
|
+
* Use `create(GetProofResponseSchema)` to create a new message.
|
|
659
|
+
*/
|
|
660
|
+
export declare const GetProofResponseSchema: GenMessage<GetProofResponse>;
|
|
661
|
+
/**
|
|
662
|
+
* Request message for getting a block proof
|
|
663
|
+
*
|
|
664
|
+
* @generated from message silvana.coordinator.v1.GetBlockProofRequest
|
|
665
|
+
*/
|
|
666
|
+
export type GetBlockProofRequest = Message<"silvana.coordinator.v1.GetBlockProofRequest"> & {
|
|
667
|
+
/**
|
|
668
|
+
* @generated from field: string session_id = 1;
|
|
669
|
+
*/
|
|
670
|
+
sessionId: string;
|
|
671
|
+
/**
|
|
672
|
+
* @generated from field: uint64 block_number = 2;
|
|
673
|
+
*/
|
|
674
|
+
blockNumber: bigint;
|
|
675
|
+
/**
|
|
676
|
+
* @generated from field: string job_id = 3;
|
|
677
|
+
*/
|
|
678
|
+
jobId: string;
|
|
679
|
+
};
|
|
680
|
+
/**
|
|
681
|
+
* Describes the message silvana.coordinator.v1.GetBlockProofRequest.
|
|
682
|
+
* Use `create(GetBlockProofRequestSchema)` to create a new message.
|
|
683
|
+
*/
|
|
684
|
+
export declare const GetBlockProofRequestSchema: GenMessage<GetBlockProofRequest>;
|
|
685
|
+
/**
|
|
686
|
+
* Response message for getting a block proof
|
|
687
|
+
*
|
|
688
|
+
* @generated from message silvana.coordinator.v1.GetBlockProofResponse
|
|
689
|
+
*/
|
|
690
|
+
export type GetBlockProofResponse = Message<"silvana.coordinator.v1.GetBlockProofResponse"> & {
|
|
691
|
+
/**
|
|
692
|
+
* @generated from field: bool success = 1;
|
|
693
|
+
*/
|
|
694
|
+
success: boolean;
|
|
695
|
+
/**
|
|
696
|
+
* available when success is true
|
|
697
|
+
*
|
|
698
|
+
* @generated from field: optional string block_proof = 2;
|
|
699
|
+
*/
|
|
700
|
+
blockProof?: string;
|
|
701
|
+
/**
|
|
702
|
+
* error message or status details
|
|
703
|
+
*
|
|
704
|
+
* @generated from field: string message = 3;
|
|
705
|
+
*/
|
|
706
|
+
message: string;
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* Describes the message silvana.coordinator.v1.GetBlockProofResponse.
|
|
710
|
+
* Use `create(GetBlockProofResponseSchema)` to create a new message.
|
|
711
|
+
*/
|
|
712
|
+
export declare const GetBlockProofResponseSchema: GenMessage<GetBlockProofResponse>;
|
|
713
|
+
/**
|
|
714
|
+
* Request message for retrieving a secret
|
|
715
|
+
*
|
|
716
|
+
* @generated from message silvana.coordinator.v1.RetrieveSecretRequest
|
|
717
|
+
*/
|
|
718
|
+
export type RetrieveSecretRequest = Message<"silvana.coordinator.v1.RetrieveSecretRequest"> & {
|
|
719
|
+
/**
|
|
720
|
+
* @generated from field: string job_id = 1;
|
|
721
|
+
*/
|
|
722
|
+
jobId: string;
|
|
723
|
+
/**
|
|
724
|
+
* @generated from field: string session_id = 2;
|
|
725
|
+
*/
|
|
726
|
+
sessionId: string;
|
|
727
|
+
/**
|
|
728
|
+
* @generated from field: string name = 3;
|
|
729
|
+
*/
|
|
730
|
+
name: string;
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* Describes the message silvana.coordinator.v1.RetrieveSecretRequest.
|
|
734
|
+
* Use `create(RetrieveSecretRequestSchema)` to create a new message.
|
|
735
|
+
*/
|
|
736
|
+
export declare const RetrieveSecretRequestSchema: GenMessage<RetrieveSecretRequest>;
|
|
737
|
+
/**
|
|
738
|
+
* Response message for secret retrieval
|
|
739
|
+
*
|
|
740
|
+
* @generated from message silvana.coordinator.v1.RetrieveSecretResponse
|
|
741
|
+
*/
|
|
742
|
+
export type RetrieveSecretResponse = Message<"silvana.coordinator.v1.RetrieveSecretResponse"> & {
|
|
743
|
+
/**
|
|
744
|
+
* @generated from field: bool success = 1;
|
|
745
|
+
*/
|
|
746
|
+
success: boolean;
|
|
747
|
+
/**
|
|
748
|
+
* @generated from field: string message = 2;
|
|
749
|
+
*/
|
|
750
|
+
message: string;
|
|
751
|
+
/**
|
|
752
|
+
* Only returned if success is true
|
|
753
|
+
*
|
|
754
|
+
* @generated from field: optional string secret_value = 3;
|
|
755
|
+
*/
|
|
756
|
+
secretValue?: string;
|
|
757
|
+
};
|
|
758
|
+
/**
|
|
759
|
+
* Describes the message silvana.coordinator.v1.RetrieveSecretResponse.
|
|
760
|
+
* Use `create(RetrieveSecretResponseSchema)` to create a new message.
|
|
761
|
+
*/
|
|
762
|
+
export declare const RetrieveSecretResponseSchema: GenMessage<RetrieveSecretResponse>;
|
|
763
|
+
/**
|
|
764
|
+
* Request message for setting a key-value pair
|
|
765
|
+
*
|
|
766
|
+
* @generated from message silvana.coordinator.v1.SetKVRequest
|
|
767
|
+
*/
|
|
768
|
+
export type SetKVRequest = Message<"silvana.coordinator.v1.SetKVRequest"> & {
|
|
769
|
+
/**
|
|
770
|
+
* @generated from field: string job_id = 1;
|
|
771
|
+
*/
|
|
772
|
+
jobId: string;
|
|
773
|
+
/**
|
|
774
|
+
* @generated from field: string session_id = 2;
|
|
775
|
+
*/
|
|
776
|
+
sessionId: string;
|
|
777
|
+
/**
|
|
778
|
+
* @generated from field: string key = 3;
|
|
779
|
+
*/
|
|
780
|
+
key: string;
|
|
781
|
+
/**
|
|
782
|
+
* @generated from field: string value = 4;
|
|
783
|
+
*/
|
|
784
|
+
value: string;
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
787
|
+
* Describes the message silvana.coordinator.v1.SetKVRequest.
|
|
788
|
+
* Use `create(SetKVRequestSchema)` to create a new message.
|
|
789
|
+
*/
|
|
790
|
+
export declare const SetKVRequestSchema: GenMessage<SetKVRequest>;
|
|
791
|
+
/**
|
|
792
|
+
* Response message for setting a key-value pair
|
|
793
|
+
*
|
|
794
|
+
* @generated from message silvana.coordinator.v1.SetKVResponse
|
|
795
|
+
*/
|
|
796
|
+
export type SetKVResponse = Message<"silvana.coordinator.v1.SetKVResponse"> & {
|
|
797
|
+
/**
|
|
798
|
+
* @generated from field: bool success = 1;
|
|
799
|
+
*/
|
|
800
|
+
success: boolean;
|
|
801
|
+
/**
|
|
802
|
+
* @generated from field: string message = 2;
|
|
803
|
+
*/
|
|
804
|
+
message: string;
|
|
805
|
+
/**
|
|
806
|
+
* @generated from field: string tx_hash = 3;
|
|
807
|
+
*/
|
|
808
|
+
txHash: string;
|
|
809
|
+
};
|
|
810
|
+
/**
|
|
811
|
+
* Describes the message silvana.coordinator.v1.SetKVResponse.
|
|
812
|
+
* Use `create(SetKVResponseSchema)` to create a new message.
|
|
813
|
+
*/
|
|
814
|
+
export declare const SetKVResponseSchema: GenMessage<SetKVResponse>;
|
|
815
|
+
/**
|
|
816
|
+
* Request message for getting a key-value pair
|
|
817
|
+
*
|
|
818
|
+
* @generated from message silvana.coordinator.v1.GetKVRequest
|
|
819
|
+
*/
|
|
820
|
+
export type GetKVRequest = Message<"silvana.coordinator.v1.GetKVRequest"> & {
|
|
821
|
+
/**
|
|
822
|
+
* @generated from field: string job_id = 1;
|
|
823
|
+
*/
|
|
824
|
+
jobId: string;
|
|
825
|
+
/**
|
|
826
|
+
* @generated from field: string session_id = 2;
|
|
827
|
+
*/
|
|
828
|
+
sessionId: string;
|
|
829
|
+
/**
|
|
830
|
+
* @generated from field: string key = 3;
|
|
831
|
+
*/
|
|
832
|
+
key: string;
|
|
833
|
+
};
|
|
834
|
+
/**
|
|
835
|
+
* Describes the message silvana.coordinator.v1.GetKVRequest.
|
|
836
|
+
* Use `create(GetKVRequestSchema)` to create a new message.
|
|
837
|
+
*/
|
|
838
|
+
export declare const GetKVRequestSchema: GenMessage<GetKVRequest>;
|
|
839
|
+
/**
|
|
840
|
+
* Response message for getting a key-value pair
|
|
841
|
+
*
|
|
842
|
+
* @generated from message silvana.coordinator.v1.GetKVResponse
|
|
843
|
+
*/
|
|
844
|
+
export type GetKVResponse = Message<"silvana.coordinator.v1.GetKVResponse"> & {
|
|
845
|
+
/**
|
|
846
|
+
* @generated from field: bool success = 1;
|
|
847
|
+
*/
|
|
848
|
+
success: boolean;
|
|
849
|
+
/**
|
|
850
|
+
* @generated from field: string message = 2;
|
|
851
|
+
*/
|
|
852
|
+
message: string;
|
|
853
|
+
/**
|
|
854
|
+
* Only returned if success is true and key exists
|
|
855
|
+
*
|
|
856
|
+
* @generated from field: optional string value = 3;
|
|
857
|
+
*/
|
|
858
|
+
value?: string;
|
|
859
|
+
};
|
|
860
|
+
/**
|
|
861
|
+
* Describes the message silvana.coordinator.v1.GetKVResponse.
|
|
862
|
+
* Use `create(GetKVResponseSchema)` to create a new message.
|
|
863
|
+
*/
|
|
864
|
+
export declare const GetKVResponseSchema: GenMessage<GetKVResponse>;
|
|
865
|
+
/**
|
|
866
|
+
* Request message for deleting a key-value pair
|
|
867
|
+
*
|
|
868
|
+
* @generated from message silvana.coordinator.v1.DeleteKVRequest
|
|
869
|
+
*/
|
|
870
|
+
export type DeleteKVRequest = Message<"silvana.coordinator.v1.DeleteKVRequest"> & {
|
|
871
|
+
/**
|
|
872
|
+
* @generated from field: string job_id = 1;
|
|
873
|
+
*/
|
|
874
|
+
jobId: string;
|
|
875
|
+
/**
|
|
876
|
+
* @generated from field: string session_id = 2;
|
|
877
|
+
*/
|
|
878
|
+
sessionId: string;
|
|
879
|
+
/**
|
|
880
|
+
* @generated from field: string key = 3;
|
|
881
|
+
*/
|
|
882
|
+
key: string;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* Describes the message silvana.coordinator.v1.DeleteKVRequest.
|
|
886
|
+
* Use `create(DeleteKVRequestSchema)` to create a new message.
|
|
887
|
+
*/
|
|
888
|
+
export declare const DeleteKVRequestSchema: GenMessage<DeleteKVRequest>;
|
|
889
|
+
/**
|
|
890
|
+
* Response message for deleting a key-value pair
|
|
891
|
+
*
|
|
892
|
+
* @generated from message silvana.coordinator.v1.DeleteKVResponse
|
|
893
|
+
*/
|
|
894
|
+
export type DeleteKVResponse = Message<"silvana.coordinator.v1.DeleteKVResponse"> & {
|
|
895
|
+
/**
|
|
896
|
+
* @generated from field: bool success = 1;
|
|
897
|
+
*/
|
|
898
|
+
success: boolean;
|
|
899
|
+
/**
|
|
900
|
+
* @generated from field: string message = 2;
|
|
901
|
+
*/
|
|
902
|
+
message: string;
|
|
903
|
+
/**
|
|
904
|
+
* @generated from field: string tx_hash = 3;
|
|
905
|
+
*/
|
|
906
|
+
txHash: string;
|
|
907
|
+
};
|
|
908
|
+
/**
|
|
909
|
+
* Describes the message silvana.coordinator.v1.DeleteKVResponse.
|
|
910
|
+
* Use `create(DeleteKVResponseSchema)` to create a new message.
|
|
911
|
+
*/
|
|
912
|
+
export declare const DeleteKVResponseSchema: GenMessage<DeleteKVResponse>;
|
|
913
|
+
/**
|
|
914
|
+
* Request message for adding metadata (write-once)
|
|
915
|
+
*
|
|
916
|
+
* @generated from message silvana.coordinator.v1.AddMetadataRequest
|
|
917
|
+
*/
|
|
918
|
+
export type AddMetadataRequest = Message<"silvana.coordinator.v1.AddMetadataRequest"> & {
|
|
919
|
+
/**
|
|
920
|
+
* @generated from field: string job_id = 1;
|
|
921
|
+
*/
|
|
922
|
+
jobId: string;
|
|
923
|
+
/**
|
|
924
|
+
* @generated from field: string session_id = 2;
|
|
925
|
+
*/
|
|
926
|
+
sessionId: string;
|
|
927
|
+
/**
|
|
928
|
+
* @generated from field: string key = 3;
|
|
929
|
+
*/
|
|
930
|
+
key: string;
|
|
931
|
+
/**
|
|
932
|
+
* @generated from field: string value = 4;
|
|
933
|
+
*/
|
|
934
|
+
value: string;
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* Describes the message silvana.coordinator.v1.AddMetadataRequest.
|
|
938
|
+
* Use `create(AddMetadataRequestSchema)` to create a new message.
|
|
939
|
+
*/
|
|
940
|
+
export declare const AddMetadataRequestSchema: GenMessage<AddMetadataRequest>;
|
|
941
|
+
/**
|
|
942
|
+
* Response message for adding metadata
|
|
943
|
+
*
|
|
944
|
+
* @generated from message silvana.coordinator.v1.AddMetadataResponse
|
|
945
|
+
*/
|
|
946
|
+
export type AddMetadataResponse = Message<"silvana.coordinator.v1.AddMetadataResponse"> & {
|
|
947
|
+
/**
|
|
948
|
+
* @generated from field: bool success = 1;
|
|
949
|
+
*/
|
|
950
|
+
success: boolean;
|
|
951
|
+
/**
|
|
952
|
+
* @generated from field: string message = 2;
|
|
953
|
+
*/
|
|
954
|
+
message: string;
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: string tx_hash = 3;
|
|
957
|
+
*/
|
|
958
|
+
txHash: string;
|
|
959
|
+
};
|
|
960
|
+
/**
|
|
961
|
+
* Describes the message silvana.coordinator.v1.AddMetadataResponse.
|
|
962
|
+
* Use `create(AddMetadataResponseSchema)` to create a new message.
|
|
963
|
+
*/
|
|
964
|
+
export declare const AddMetadataResponseSchema: GenMessage<AddMetadataResponse>;
|
|
965
|
+
/**
|
|
966
|
+
* Request message for getting metadata
|
|
967
|
+
*
|
|
968
|
+
* @generated from message silvana.coordinator.v1.GetMetadataRequest
|
|
969
|
+
*/
|
|
970
|
+
export type GetMetadataRequest = Message<"silvana.coordinator.v1.GetMetadataRequest"> & {
|
|
971
|
+
/**
|
|
972
|
+
* @generated from field: string job_id = 1;
|
|
973
|
+
*/
|
|
974
|
+
jobId: string;
|
|
975
|
+
/**
|
|
976
|
+
* @generated from field: string session_id = 2;
|
|
977
|
+
*/
|
|
978
|
+
sessionId: string;
|
|
979
|
+
/**
|
|
980
|
+
* @generated from field: optional string key = 3;
|
|
981
|
+
*/
|
|
982
|
+
key?: string;
|
|
983
|
+
};
|
|
984
|
+
/**
|
|
985
|
+
* Describes the message silvana.coordinator.v1.GetMetadataRequest.
|
|
986
|
+
* Use `create(GetMetadataRequestSchema)` to create a new message.
|
|
987
|
+
*/
|
|
988
|
+
export declare const GetMetadataRequestSchema: GenMessage<GetMetadataRequest>;
|
|
989
|
+
/**
|
|
990
|
+
* Metadata message containing AppInstance information
|
|
991
|
+
* Settlement info for a specific chain
|
|
992
|
+
*
|
|
993
|
+
* @generated from message silvana.coordinator.v1.SettlementInfo
|
|
994
|
+
*/
|
|
995
|
+
export type SettlementInfo = Message<"silvana.coordinator.v1.SettlementInfo"> & {
|
|
996
|
+
/**
|
|
997
|
+
* @generated from field: string chain = 1;
|
|
998
|
+
*/
|
|
999
|
+
chain: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* @generated from field: uint64 last_settled_block_number = 2;
|
|
1002
|
+
*/
|
|
1003
|
+
lastSettledBlockNumber: bigint;
|
|
1004
|
+
/**
|
|
1005
|
+
* @generated from field: optional string settlement_address = 3;
|
|
1006
|
+
*/
|
|
1007
|
+
settlementAddress?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* @generated from field: optional uint64 settlement_job = 4;
|
|
1010
|
+
*/
|
|
1011
|
+
settlementJob?: bigint;
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* Describes the message silvana.coordinator.v1.SettlementInfo.
|
|
1015
|
+
* Use `create(SettlementInfoSchema)` to create a new message.
|
|
1016
|
+
*/
|
|
1017
|
+
export declare const SettlementInfoSchema: GenMessage<SettlementInfo>;
|
|
1018
|
+
/**
|
|
1019
|
+
* @generated from message silvana.coordinator.v1.Metadata
|
|
1020
|
+
*/
|
|
1021
|
+
export type Metadata = Message<"silvana.coordinator.v1.Metadata"> & {
|
|
1022
|
+
/**
|
|
1023
|
+
* The metadata value if a key was requested
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: optional string value = 1;
|
|
1026
|
+
*/
|
|
1027
|
+
value?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* AppInstance fields
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from field: string app_instance_id = 2;
|
|
1032
|
+
*/
|
|
1033
|
+
appInstanceId: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from field: string silvana_app_name = 3;
|
|
1036
|
+
*/
|
|
1037
|
+
silvanaAppName: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* @generated from field: optional string description = 4;
|
|
1040
|
+
*/
|
|
1041
|
+
description?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from field: uint64 sequence = 5;
|
|
1044
|
+
*/
|
|
1045
|
+
sequence: bigint;
|
|
1046
|
+
/**
|
|
1047
|
+
* @generated from field: string admin = 6;
|
|
1048
|
+
*/
|
|
1049
|
+
admin: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from field: uint64 block_number = 7;
|
|
1052
|
+
*/
|
|
1053
|
+
blockNumber: bigint;
|
|
1054
|
+
/**
|
|
1055
|
+
* @generated from field: uint64 previous_block_timestamp = 8;
|
|
1056
|
+
*/
|
|
1057
|
+
previousBlockTimestamp: bigint;
|
|
1058
|
+
/**
|
|
1059
|
+
* @generated from field: uint64 previous_block_last_sequence = 9;
|
|
1060
|
+
*/
|
|
1061
|
+
previousBlockLastSequence: bigint;
|
|
1062
|
+
/**
|
|
1063
|
+
* @generated from field: uint64 last_proved_block_number = 10;
|
|
1064
|
+
*/
|
|
1065
|
+
lastProvedBlockNumber: bigint;
|
|
1066
|
+
/**
|
|
1067
|
+
* @generated from field: bool is_paused = 11;
|
|
1068
|
+
*/
|
|
1069
|
+
isPaused: boolean;
|
|
1070
|
+
/**
|
|
1071
|
+
* @generated from field: uint64 created_at = 12;
|
|
1072
|
+
*/
|
|
1073
|
+
createdAt: bigint;
|
|
1074
|
+
/**
|
|
1075
|
+
* @generated from field: uint64 updated_at = 13;
|
|
1076
|
+
*/
|
|
1077
|
+
updatedAt: bigint;
|
|
1078
|
+
/**
|
|
1079
|
+
* Multi-chain settlement support
|
|
1080
|
+
*
|
|
1081
|
+
* key is chain identifier
|
|
1082
|
+
*
|
|
1083
|
+
* @generated from field: map<string, silvana.coordinator.v1.SettlementInfo> settlements = 14;
|
|
1084
|
+
*/
|
|
1085
|
+
settlements: {
|
|
1086
|
+
[key: string]: SettlementInfo;
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
/**
|
|
1090
|
+
* Describes the message silvana.coordinator.v1.Metadata.
|
|
1091
|
+
* Use `create(MetadataSchema)` to create a new message.
|
|
1092
|
+
*/
|
|
1093
|
+
export declare const MetadataSchema: GenMessage<Metadata>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Response message for getting metadata
|
|
1096
|
+
*
|
|
1097
|
+
* @generated from message silvana.coordinator.v1.GetMetadataResponse
|
|
1098
|
+
*/
|
|
1099
|
+
export type GetMetadataResponse = Message<"silvana.coordinator.v1.GetMetadataResponse"> & {
|
|
1100
|
+
/**
|
|
1101
|
+
* @generated from field: bool success = 1;
|
|
1102
|
+
*/
|
|
1103
|
+
success: boolean;
|
|
1104
|
+
/**
|
|
1105
|
+
* @generated from field: string message = 2;
|
|
1106
|
+
*/
|
|
1107
|
+
message: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* @generated from field: optional silvana.coordinator.v1.Metadata metadata = 3;
|
|
1110
|
+
*/
|
|
1111
|
+
metadata?: Metadata;
|
|
1112
|
+
};
|
|
1113
|
+
/**
|
|
1114
|
+
* Describes the message silvana.coordinator.v1.GetMetadataResponse.
|
|
1115
|
+
* Use `create(GetMetadataResponseSchema)` to create a new message.
|
|
1116
|
+
*/
|
|
1117
|
+
export declare const GetMetadataResponseSchema: GenMessage<GetMetadataResponse>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Request message for trying to create a block
|
|
1120
|
+
*
|
|
1121
|
+
* @generated from message silvana.coordinator.v1.TryCreateBlockRequest
|
|
1122
|
+
*/
|
|
1123
|
+
export type TryCreateBlockRequest = Message<"silvana.coordinator.v1.TryCreateBlockRequest"> & {
|
|
1124
|
+
/**
|
|
1125
|
+
* @generated from field: string job_id = 1;
|
|
1126
|
+
*/
|
|
1127
|
+
jobId: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: string session_id = 2;
|
|
1130
|
+
*/
|
|
1131
|
+
sessionId: string;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* Describes the message silvana.coordinator.v1.TryCreateBlockRequest.
|
|
1135
|
+
* Use `create(TryCreateBlockRequestSchema)` to create a new message.
|
|
1136
|
+
*/
|
|
1137
|
+
export declare const TryCreateBlockRequestSchema: GenMessage<TryCreateBlockRequest>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Response message for try create block
|
|
1140
|
+
*
|
|
1141
|
+
* @generated from message silvana.coordinator.v1.TryCreateBlockResponse
|
|
1142
|
+
*/
|
|
1143
|
+
export type TryCreateBlockResponse = Message<"silvana.coordinator.v1.TryCreateBlockResponse"> & {
|
|
1144
|
+
/**
|
|
1145
|
+
* @generated from field: bool success = 1;
|
|
1146
|
+
*/
|
|
1147
|
+
success: boolean;
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from field: string message = 2;
|
|
1150
|
+
*/
|
|
1151
|
+
message: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* @generated from field: string tx_hash = 3;
|
|
1154
|
+
*/
|
|
1155
|
+
txHash: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* The block number if a block was created
|
|
1158
|
+
*
|
|
1159
|
+
* @generated from field: optional uint64 block_number = 4;
|
|
1160
|
+
*/
|
|
1161
|
+
blockNumber?: bigint;
|
|
1162
|
+
};
|
|
1163
|
+
/**
|
|
1164
|
+
* Describes the message silvana.coordinator.v1.TryCreateBlockResponse.
|
|
1165
|
+
* Use `create(TryCreateBlockResponseSchema)` to create a new message.
|
|
1166
|
+
*/
|
|
1167
|
+
export declare const TryCreateBlockResponseSchema: GenMessage<TryCreateBlockResponse>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Request message for updating block state data availability
|
|
1170
|
+
*
|
|
1171
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockStateDataAvailabilityRequest
|
|
1172
|
+
*/
|
|
1173
|
+
export type UpdateBlockStateDataAvailabilityRequest = Message<"silvana.coordinator.v1.UpdateBlockStateDataAvailabilityRequest"> & {
|
|
1174
|
+
/**
|
|
1175
|
+
* @generated from field: string job_id = 1;
|
|
1176
|
+
*/
|
|
1177
|
+
jobId: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* @generated from field: string session_id = 2;
|
|
1180
|
+
*/
|
|
1181
|
+
sessionId: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* @generated from field: uint64 block_number = 3;
|
|
1184
|
+
*/
|
|
1185
|
+
blockNumber: bigint;
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated from field: string state_data_availability = 4;
|
|
1188
|
+
*/
|
|
1189
|
+
stateDataAvailability: string;
|
|
1190
|
+
};
|
|
1191
|
+
/**
|
|
1192
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockStateDataAvailabilityRequest.
|
|
1193
|
+
* Use `create(UpdateBlockStateDataAvailabilityRequestSchema)` to create a new message.
|
|
1194
|
+
*/
|
|
1195
|
+
export declare const UpdateBlockStateDataAvailabilityRequestSchema: GenMessage<UpdateBlockStateDataAvailabilityRequest>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Response message for updating block state data availability
|
|
1198
|
+
*
|
|
1199
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockStateDataAvailabilityResponse
|
|
1200
|
+
*/
|
|
1201
|
+
export type UpdateBlockStateDataAvailabilityResponse = Message<"silvana.coordinator.v1.UpdateBlockStateDataAvailabilityResponse"> & {
|
|
1202
|
+
/**
|
|
1203
|
+
* @generated from field: bool success = 1;
|
|
1204
|
+
*/
|
|
1205
|
+
success: boolean;
|
|
1206
|
+
/**
|
|
1207
|
+
* @generated from field: string message = 2;
|
|
1208
|
+
*/
|
|
1209
|
+
message: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* @generated from field: string tx_hash = 3;
|
|
1212
|
+
*/
|
|
1213
|
+
txHash: string;
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockStateDataAvailabilityResponse.
|
|
1217
|
+
* Use `create(UpdateBlockStateDataAvailabilityResponseSchema)` to create a new message.
|
|
1218
|
+
*/
|
|
1219
|
+
export declare const UpdateBlockStateDataAvailabilityResponseSchema: GenMessage<UpdateBlockStateDataAvailabilityResponse>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Request message for updating block proof data availability
|
|
1222
|
+
*
|
|
1223
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockProofDataAvailabilityRequest
|
|
1224
|
+
*/
|
|
1225
|
+
export type UpdateBlockProofDataAvailabilityRequest = Message<"silvana.coordinator.v1.UpdateBlockProofDataAvailabilityRequest"> & {
|
|
1226
|
+
/**
|
|
1227
|
+
* @generated from field: string job_id = 1;
|
|
1228
|
+
*/
|
|
1229
|
+
jobId: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* @generated from field: string session_id = 2;
|
|
1232
|
+
*/
|
|
1233
|
+
sessionId: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* @generated from field: uint64 block_number = 3;
|
|
1236
|
+
*/
|
|
1237
|
+
blockNumber: bigint;
|
|
1238
|
+
/**
|
|
1239
|
+
* @generated from field: string proof_data_availability = 4;
|
|
1240
|
+
*/
|
|
1241
|
+
proofDataAvailability: string;
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockProofDataAvailabilityRequest.
|
|
1245
|
+
* Use `create(UpdateBlockProofDataAvailabilityRequestSchema)` to create a new message.
|
|
1246
|
+
*/
|
|
1247
|
+
export declare const UpdateBlockProofDataAvailabilityRequestSchema: GenMessage<UpdateBlockProofDataAvailabilityRequest>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Response message for updating block proof data availability
|
|
1250
|
+
*
|
|
1251
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockProofDataAvailabilityResponse
|
|
1252
|
+
*/
|
|
1253
|
+
export type UpdateBlockProofDataAvailabilityResponse = Message<"silvana.coordinator.v1.UpdateBlockProofDataAvailabilityResponse"> & {
|
|
1254
|
+
/**
|
|
1255
|
+
* @generated from field: bool success = 1;
|
|
1256
|
+
*/
|
|
1257
|
+
success: boolean;
|
|
1258
|
+
/**
|
|
1259
|
+
* @generated from field: string message = 2;
|
|
1260
|
+
*/
|
|
1261
|
+
message: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* @generated from field: string tx_hash = 3;
|
|
1264
|
+
*/
|
|
1265
|
+
txHash: string;
|
|
1266
|
+
};
|
|
1267
|
+
/**
|
|
1268
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockProofDataAvailabilityResponse.
|
|
1269
|
+
* Use `create(UpdateBlockProofDataAvailabilityResponseSchema)` to create a new message.
|
|
1270
|
+
*/
|
|
1271
|
+
export declare const UpdateBlockProofDataAvailabilityResponseSchema: GenMessage<UpdateBlockProofDataAvailabilityResponse>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Request message for updating block settlement tx hash
|
|
1274
|
+
*
|
|
1275
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockSettlementTxHashRequest
|
|
1276
|
+
*/
|
|
1277
|
+
export type UpdateBlockSettlementTxHashRequest = Message<"silvana.coordinator.v1.UpdateBlockSettlementTxHashRequest"> & {
|
|
1278
|
+
/**
|
|
1279
|
+
* @generated from field: string job_id = 1;
|
|
1280
|
+
*/
|
|
1281
|
+
jobId: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* @generated from field: string session_id = 2;
|
|
1284
|
+
*/
|
|
1285
|
+
sessionId: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* @generated from field: uint64 block_number = 3;
|
|
1288
|
+
*/
|
|
1289
|
+
blockNumber: bigint;
|
|
1290
|
+
/**
|
|
1291
|
+
* @generated from field: string settlement_tx_hash = 4;
|
|
1292
|
+
*/
|
|
1293
|
+
settlementTxHash: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* Chain identifier for multi-chain settlement
|
|
1296
|
+
*
|
|
1297
|
+
* @generated from field: string chain = 5;
|
|
1298
|
+
*/
|
|
1299
|
+
chain: string;
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockSettlementTxHashRequest.
|
|
1303
|
+
* Use `create(UpdateBlockSettlementTxHashRequestSchema)` to create a new message.
|
|
1304
|
+
*/
|
|
1305
|
+
export declare const UpdateBlockSettlementTxHashRequestSchema: GenMessage<UpdateBlockSettlementTxHashRequest>;
|
|
1306
|
+
/**
|
|
1307
|
+
* Response message for updating block settlement tx hash
|
|
1308
|
+
*
|
|
1309
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockSettlementTxHashResponse
|
|
1310
|
+
*/
|
|
1311
|
+
export type UpdateBlockSettlementTxHashResponse = Message<"silvana.coordinator.v1.UpdateBlockSettlementTxHashResponse"> & {
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from field: bool success = 1;
|
|
1314
|
+
*/
|
|
1315
|
+
success: boolean;
|
|
1316
|
+
/**
|
|
1317
|
+
* @generated from field: string message = 2;
|
|
1318
|
+
*/
|
|
1319
|
+
message: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from field: string tx_hash = 3;
|
|
1322
|
+
*/
|
|
1323
|
+
txHash: string;
|
|
1324
|
+
};
|
|
1325
|
+
/**
|
|
1326
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockSettlementTxHashResponse.
|
|
1327
|
+
* Use `create(UpdateBlockSettlementTxHashResponseSchema)` to create a new message.
|
|
1328
|
+
*/
|
|
1329
|
+
export declare const UpdateBlockSettlementTxHashResponseSchema: GenMessage<UpdateBlockSettlementTxHashResponse>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Request message for updating block settlement tx included in block
|
|
1332
|
+
*
|
|
1333
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockSettlementTxIncludedInBlockRequest
|
|
1334
|
+
*/
|
|
1335
|
+
export type UpdateBlockSettlementTxIncludedInBlockRequest = Message<"silvana.coordinator.v1.UpdateBlockSettlementTxIncludedInBlockRequest"> & {
|
|
1336
|
+
/**
|
|
1337
|
+
* @generated from field: string job_id = 1;
|
|
1338
|
+
*/
|
|
1339
|
+
jobId: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* @generated from field: string session_id = 2;
|
|
1342
|
+
*/
|
|
1343
|
+
sessionId: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* @generated from field: uint64 block_number = 3;
|
|
1346
|
+
*/
|
|
1347
|
+
blockNumber: bigint;
|
|
1348
|
+
/**
|
|
1349
|
+
* @generated from field: uint64 settled_at = 4;
|
|
1350
|
+
*/
|
|
1351
|
+
settledAt: bigint;
|
|
1352
|
+
/**
|
|
1353
|
+
* Chain identifier for multi-chain settlement
|
|
1354
|
+
*
|
|
1355
|
+
* @generated from field: string chain = 5;
|
|
1356
|
+
*/
|
|
1357
|
+
chain: string;
|
|
1358
|
+
};
|
|
1359
|
+
/**
|
|
1360
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockSettlementTxIncludedInBlockRequest.
|
|
1361
|
+
* Use `create(UpdateBlockSettlementTxIncludedInBlockRequestSchema)` to create a new message.
|
|
1362
|
+
*/
|
|
1363
|
+
export declare const UpdateBlockSettlementTxIncludedInBlockRequestSchema: GenMessage<UpdateBlockSettlementTxIncludedInBlockRequest>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Response message for updating block settlement tx included in block
|
|
1366
|
+
*
|
|
1367
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockSettlementTxIncludedInBlockResponse
|
|
1368
|
+
*/
|
|
1369
|
+
export type UpdateBlockSettlementTxIncludedInBlockResponse = Message<"silvana.coordinator.v1.UpdateBlockSettlementTxIncludedInBlockResponse"> & {
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from field: bool success = 1;
|
|
1372
|
+
*/
|
|
1373
|
+
success: boolean;
|
|
1374
|
+
/**
|
|
1375
|
+
* @generated from field: string message = 2;
|
|
1376
|
+
*/
|
|
1377
|
+
message: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* @generated from field: string tx_hash = 3;
|
|
1380
|
+
*/
|
|
1381
|
+
txHash: string;
|
|
1382
|
+
};
|
|
1383
|
+
/**
|
|
1384
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockSettlementTxIncludedInBlockResponse.
|
|
1385
|
+
* Use `create(UpdateBlockSettlementTxIncludedInBlockResponseSchema)` to create a new message.
|
|
1386
|
+
*/
|
|
1387
|
+
export declare const UpdateBlockSettlementTxIncludedInBlockResponseSchema: GenMessage<UpdateBlockSettlementTxIncludedInBlockResponse>;
|
|
1388
|
+
/**
|
|
1389
|
+
* Request message for creating an app job
|
|
1390
|
+
*
|
|
1391
|
+
* @generated from message silvana.coordinator.v1.CreateAppJobRequest
|
|
1392
|
+
*/
|
|
1393
|
+
export type CreateAppJobRequest = Message<"silvana.coordinator.v1.CreateAppJobRequest"> & {
|
|
1394
|
+
/**
|
|
1395
|
+
* @generated from field: string job_id = 1;
|
|
1396
|
+
*/
|
|
1397
|
+
jobId: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* @generated from field: string session_id = 2;
|
|
1400
|
+
*/
|
|
1401
|
+
sessionId: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* @generated from field: string method_name = 3;
|
|
1404
|
+
*/
|
|
1405
|
+
methodName: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* @generated from field: optional string job_description = 4;
|
|
1408
|
+
*/
|
|
1409
|
+
jobDescription?: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* @generated from field: optional uint64 block_number = 5;
|
|
1412
|
+
*/
|
|
1413
|
+
blockNumber?: bigint;
|
|
1414
|
+
/**
|
|
1415
|
+
* @generated from field: repeated uint64 sequences = 6;
|
|
1416
|
+
*/
|
|
1417
|
+
sequences: bigint[];
|
|
1418
|
+
/**
|
|
1419
|
+
* @generated from field: repeated uint64 sequences1 = 7;
|
|
1420
|
+
*/
|
|
1421
|
+
sequences1: bigint[];
|
|
1422
|
+
/**
|
|
1423
|
+
* @generated from field: repeated uint64 sequences2 = 8;
|
|
1424
|
+
*/
|
|
1425
|
+
sequences2: bigint[];
|
|
1426
|
+
/**
|
|
1427
|
+
* @generated from field: bytes data = 9;
|
|
1428
|
+
*/
|
|
1429
|
+
data: Uint8Array;
|
|
1430
|
+
/**
|
|
1431
|
+
* @generated from field: optional uint64 interval_ms = 10;
|
|
1432
|
+
*/
|
|
1433
|
+
intervalMs?: bigint;
|
|
1434
|
+
/**
|
|
1435
|
+
* @generated from field: optional uint64 next_scheduled_at = 11;
|
|
1436
|
+
*/
|
|
1437
|
+
nextScheduledAt?: bigint;
|
|
1438
|
+
/**
|
|
1439
|
+
* Chain identifier for settlement jobs
|
|
1440
|
+
*
|
|
1441
|
+
* @generated from field: optional string settlement_chain = 12;
|
|
1442
|
+
*/
|
|
1443
|
+
settlementChain?: string;
|
|
1444
|
+
};
|
|
1445
|
+
/**
|
|
1446
|
+
* Describes the message silvana.coordinator.v1.CreateAppJobRequest.
|
|
1447
|
+
* Use `create(CreateAppJobRequestSchema)` to create a new message.
|
|
1448
|
+
*/
|
|
1449
|
+
export declare const CreateAppJobRequestSchema: GenMessage<CreateAppJobRequest>;
|
|
1450
|
+
/**
|
|
1451
|
+
* Response message for creating an app job
|
|
1452
|
+
*
|
|
1453
|
+
* @generated from message silvana.coordinator.v1.CreateAppJobResponse
|
|
1454
|
+
*/
|
|
1455
|
+
export type CreateAppJobResponse = Message<"silvana.coordinator.v1.CreateAppJobResponse"> & {
|
|
1456
|
+
/**
|
|
1457
|
+
* @generated from field: bool success = 1;
|
|
1458
|
+
*/
|
|
1459
|
+
success: boolean;
|
|
1460
|
+
/**
|
|
1461
|
+
* @generated from field: string message = 2;
|
|
1462
|
+
*/
|
|
1463
|
+
message: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* @generated from field: string tx_hash = 3;
|
|
1466
|
+
*/
|
|
1467
|
+
txHash: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* The sequence number of the created job
|
|
1470
|
+
*
|
|
1471
|
+
* @generated from field: uint64 job_sequence = 4;
|
|
1472
|
+
*/
|
|
1473
|
+
jobSequence: bigint;
|
|
1474
|
+
};
|
|
1475
|
+
/**
|
|
1476
|
+
* Describes the message silvana.coordinator.v1.CreateAppJobResponse.
|
|
1477
|
+
* Use `create(CreateAppJobResponseSchema)` to create a new message.
|
|
1478
|
+
*/
|
|
1479
|
+
export declare const CreateAppJobResponseSchema: GenMessage<CreateAppJobResponse>;
|
|
1480
|
+
/**
|
|
1481
|
+
* Block message mirroring the Move Block struct
|
|
1482
|
+
*
|
|
1483
|
+
* @generated from message silvana.coordinator.v1.Block
|
|
1484
|
+
*/
|
|
1485
|
+
export type Block = Message<"silvana.coordinator.v1.Block"> & {
|
|
1486
|
+
/**
|
|
1487
|
+
* UID from Move
|
|
1488
|
+
*
|
|
1489
|
+
* @generated from field: string id = 1;
|
|
1490
|
+
*/
|
|
1491
|
+
id: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* @generated from field: string name = 2;
|
|
1494
|
+
*/
|
|
1495
|
+
name: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* @generated from field: uint64 block_number = 3;
|
|
1498
|
+
*/
|
|
1499
|
+
blockNumber: bigint;
|
|
1500
|
+
/**
|
|
1501
|
+
* @generated from field: uint64 start_sequence = 4;
|
|
1502
|
+
*/
|
|
1503
|
+
startSequence: bigint;
|
|
1504
|
+
/**
|
|
1505
|
+
* @generated from field: uint64 end_sequence = 5;
|
|
1506
|
+
*/
|
|
1507
|
+
endSequence: bigint;
|
|
1508
|
+
/**
|
|
1509
|
+
* Element<Scalar> as bytes
|
|
1510
|
+
*
|
|
1511
|
+
* @generated from field: bytes actions_commitment = 6;
|
|
1512
|
+
*/
|
|
1513
|
+
actionsCommitment: Uint8Array;
|
|
1514
|
+
/**
|
|
1515
|
+
* Element<Scalar> as bytes
|
|
1516
|
+
*
|
|
1517
|
+
* @generated from field: bytes state_commitment = 7;
|
|
1518
|
+
*/
|
|
1519
|
+
stateCommitment: Uint8Array;
|
|
1520
|
+
/**
|
|
1521
|
+
* @generated from field: uint64 time_since_last_block = 8;
|
|
1522
|
+
*/
|
|
1523
|
+
timeSinceLastBlock: bigint;
|
|
1524
|
+
/**
|
|
1525
|
+
* @generated from field: uint64 number_of_transactions = 9;
|
|
1526
|
+
*/
|
|
1527
|
+
numberOfTransactions: bigint;
|
|
1528
|
+
/**
|
|
1529
|
+
* Element<Scalar> as bytes
|
|
1530
|
+
*
|
|
1531
|
+
* @generated from field: bytes start_actions_commitment = 10;
|
|
1532
|
+
*/
|
|
1533
|
+
startActionsCommitment: Uint8Array;
|
|
1534
|
+
/**
|
|
1535
|
+
* Element<Scalar> as bytes
|
|
1536
|
+
*
|
|
1537
|
+
* @generated from field: bytes end_actions_commitment = 11;
|
|
1538
|
+
*/
|
|
1539
|
+
endActionsCommitment: Uint8Array;
|
|
1540
|
+
/**
|
|
1541
|
+
* @generated from field: optional string state_data_availability = 12;
|
|
1542
|
+
*/
|
|
1543
|
+
stateDataAvailability?: string;
|
|
1544
|
+
/**
|
|
1545
|
+
* @generated from field: optional string proof_data_availability = 13;
|
|
1546
|
+
*/
|
|
1547
|
+
proofDataAvailability?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Settlement fields removed - now in Settlement per chain
|
|
1550
|
+
*
|
|
1551
|
+
* @generated from field: uint64 created_at = 14;
|
|
1552
|
+
*/
|
|
1553
|
+
createdAt: bigint;
|
|
1554
|
+
/**
|
|
1555
|
+
* @generated from field: optional uint64 state_calculated_at = 15;
|
|
1556
|
+
*/
|
|
1557
|
+
stateCalculatedAt?: bigint;
|
|
1558
|
+
/**
|
|
1559
|
+
* @generated from field: optional uint64 proved_at = 16;
|
|
1560
|
+
*/
|
|
1561
|
+
provedAt?: bigint;
|
|
1562
|
+
};
|
|
1563
|
+
/**
|
|
1564
|
+
* Describes the message silvana.coordinator.v1.Block.
|
|
1565
|
+
* Use `create(BlockSchema)` to create a new message.
|
|
1566
|
+
*/
|
|
1567
|
+
export declare const BlockSchema: GenMessage<Block>;
|
|
1568
|
+
/**
|
|
1569
|
+
* Request message for getting a block
|
|
1570
|
+
*
|
|
1571
|
+
* @generated from message silvana.coordinator.v1.GetBlockRequest
|
|
1572
|
+
*/
|
|
1573
|
+
export type GetBlockRequest = Message<"silvana.coordinator.v1.GetBlockRequest"> & {
|
|
1574
|
+
/**
|
|
1575
|
+
* @generated from field: string job_id = 1;
|
|
1576
|
+
*/
|
|
1577
|
+
jobId: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* @generated from field: string session_id = 2;
|
|
1580
|
+
*/
|
|
1581
|
+
sessionId: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* @generated from field: uint64 block_number = 3;
|
|
1584
|
+
*/
|
|
1585
|
+
blockNumber: bigint;
|
|
1586
|
+
};
|
|
1587
|
+
/**
|
|
1588
|
+
* Describes the message silvana.coordinator.v1.GetBlockRequest.
|
|
1589
|
+
* Use `create(GetBlockRequestSchema)` to create a new message.
|
|
1590
|
+
*/
|
|
1591
|
+
export declare const GetBlockRequestSchema: GenMessage<GetBlockRequest>;
|
|
1592
|
+
/**
|
|
1593
|
+
* Response message for getting a block
|
|
1594
|
+
*
|
|
1595
|
+
* @generated from message silvana.coordinator.v1.GetBlockResponse
|
|
1596
|
+
*/
|
|
1597
|
+
export type GetBlockResponse = Message<"silvana.coordinator.v1.GetBlockResponse"> & {
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from field: bool success = 1;
|
|
1600
|
+
*/
|
|
1601
|
+
success: boolean;
|
|
1602
|
+
/**
|
|
1603
|
+
* @generated from field: string message = 2;
|
|
1604
|
+
*/
|
|
1605
|
+
message: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* @generated from field: optional silvana.coordinator.v1.Block block = 3;
|
|
1608
|
+
*/
|
|
1609
|
+
block?: Block;
|
|
1610
|
+
};
|
|
1611
|
+
/**
|
|
1612
|
+
* Describes the message silvana.coordinator.v1.GetBlockResponse.
|
|
1613
|
+
* Use `create(GetBlockResponseSchema)` to create a new message.
|
|
1614
|
+
*/
|
|
1615
|
+
export declare const GetBlockResponseSchema: GenMessage<GetBlockResponse>;
|
|
1616
|
+
/**
|
|
1617
|
+
* BlockSettlement message for settlement info on a specific chain
|
|
1618
|
+
*
|
|
1619
|
+
* @generated from message silvana.coordinator.v1.BlockSettlement
|
|
1620
|
+
*/
|
|
1621
|
+
export type BlockSettlement = Message<"silvana.coordinator.v1.BlockSettlement"> & {
|
|
1622
|
+
/**
|
|
1623
|
+
* @generated from field: uint64 block_number = 1;
|
|
1624
|
+
*/
|
|
1625
|
+
blockNumber: bigint;
|
|
1626
|
+
/**
|
|
1627
|
+
* @generated from field: optional string settlement_tx_hash = 2;
|
|
1628
|
+
*/
|
|
1629
|
+
settlementTxHash?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* @generated from field: bool settlement_tx_included_in_block = 3;
|
|
1632
|
+
*/
|
|
1633
|
+
settlementTxIncludedInBlock: boolean;
|
|
1634
|
+
/**
|
|
1635
|
+
* @generated from field: optional uint64 sent_to_settlement_at = 4;
|
|
1636
|
+
*/
|
|
1637
|
+
sentToSettlementAt?: bigint;
|
|
1638
|
+
/**
|
|
1639
|
+
* @generated from field: optional uint64 settled_at = 5;
|
|
1640
|
+
*/
|
|
1641
|
+
settledAt?: bigint;
|
|
1642
|
+
};
|
|
1643
|
+
/**
|
|
1644
|
+
* Describes the message silvana.coordinator.v1.BlockSettlement.
|
|
1645
|
+
* Use `create(BlockSettlementSchema)` to create a new message.
|
|
1646
|
+
*/
|
|
1647
|
+
export declare const BlockSettlementSchema: GenMessage<BlockSettlement>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Request message for getting block settlement info for a specific chain
|
|
1650
|
+
*
|
|
1651
|
+
* @generated from message silvana.coordinator.v1.GetBlockSettlementRequest
|
|
1652
|
+
*/
|
|
1653
|
+
export type GetBlockSettlementRequest = Message<"silvana.coordinator.v1.GetBlockSettlementRequest"> & {
|
|
1654
|
+
/**
|
|
1655
|
+
* @generated from field: string job_id = 1;
|
|
1656
|
+
*/
|
|
1657
|
+
jobId: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* @generated from field: string session_id = 2;
|
|
1660
|
+
*/
|
|
1661
|
+
sessionId: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* @generated from field: uint64 block_number = 3;
|
|
1664
|
+
*/
|
|
1665
|
+
blockNumber: bigint;
|
|
1666
|
+
/**
|
|
1667
|
+
* Chain identifier
|
|
1668
|
+
*
|
|
1669
|
+
* @generated from field: string chain = 4;
|
|
1670
|
+
*/
|
|
1671
|
+
chain: string;
|
|
1672
|
+
};
|
|
1673
|
+
/**
|
|
1674
|
+
* Describes the message silvana.coordinator.v1.GetBlockSettlementRequest.
|
|
1675
|
+
* Use `create(GetBlockSettlementRequestSchema)` to create a new message.
|
|
1676
|
+
*/
|
|
1677
|
+
export declare const GetBlockSettlementRequestSchema: GenMessage<GetBlockSettlementRequest>;
|
|
1678
|
+
/**
|
|
1679
|
+
* Response message for getting block settlement info
|
|
1680
|
+
*
|
|
1681
|
+
* @generated from message silvana.coordinator.v1.GetBlockSettlementResponse
|
|
1682
|
+
*/
|
|
1683
|
+
export type GetBlockSettlementResponse = Message<"silvana.coordinator.v1.GetBlockSettlementResponse"> & {
|
|
1684
|
+
/**
|
|
1685
|
+
* @generated from field: bool success = 1;
|
|
1686
|
+
*/
|
|
1687
|
+
success: boolean;
|
|
1688
|
+
/**
|
|
1689
|
+
* @generated from field: string message = 2;
|
|
1690
|
+
*/
|
|
1691
|
+
message: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* @generated from field: optional silvana.coordinator.v1.BlockSettlement block_settlement = 3;
|
|
1694
|
+
*/
|
|
1695
|
+
blockSettlement?: BlockSettlement;
|
|
1696
|
+
/**
|
|
1697
|
+
* @generated from field: string chain = 4;
|
|
1698
|
+
*/
|
|
1699
|
+
chain: string;
|
|
1700
|
+
};
|
|
1701
|
+
/**
|
|
1702
|
+
* Describes the message silvana.coordinator.v1.GetBlockSettlementResponse.
|
|
1703
|
+
* Use `create(GetBlockSettlementResponseSchema)` to create a new message.
|
|
1704
|
+
*/
|
|
1705
|
+
export declare const GetBlockSettlementResponseSchema: GenMessage<GetBlockSettlementResponse>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Request message for updating block settlement on a specific chain
|
|
1708
|
+
*
|
|
1709
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockSettlementRequest
|
|
1710
|
+
*/
|
|
1711
|
+
export type UpdateBlockSettlementRequest = Message<"silvana.coordinator.v1.UpdateBlockSettlementRequest"> & {
|
|
1712
|
+
/**
|
|
1713
|
+
* @generated from field: string job_id = 1;
|
|
1714
|
+
*/
|
|
1715
|
+
jobId: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* @generated from field: string session_id = 2;
|
|
1718
|
+
*/
|
|
1719
|
+
sessionId: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* @generated from field: uint64 block_number = 3;
|
|
1722
|
+
*/
|
|
1723
|
+
blockNumber: bigint;
|
|
1724
|
+
/**
|
|
1725
|
+
* @generated from field: string chain = 4;
|
|
1726
|
+
*/
|
|
1727
|
+
chain: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* @generated from field: optional string settlement_tx_hash = 5;
|
|
1730
|
+
*/
|
|
1731
|
+
settlementTxHash?: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* @generated from field: bool settlement_tx_included_in_block = 6;
|
|
1734
|
+
*/
|
|
1735
|
+
settlementTxIncludedInBlock: boolean;
|
|
1736
|
+
/**
|
|
1737
|
+
* @generated from field: optional uint64 sent_to_settlement_at = 7;
|
|
1738
|
+
*/
|
|
1739
|
+
sentToSettlementAt?: bigint;
|
|
1740
|
+
/**
|
|
1741
|
+
* @generated from field: optional uint64 settled_at = 8;
|
|
1742
|
+
*/
|
|
1743
|
+
settledAt?: bigint;
|
|
1744
|
+
};
|
|
1745
|
+
/**
|
|
1746
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockSettlementRequest.
|
|
1747
|
+
* Use `create(UpdateBlockSettlementRequestSchema)` to create a new message.
|
|
1748
|
+
*/
|
|
1749
|
+
export declare const UpdateBlockSettlementRequestSchema: GenMessage<UpdateBlockSettlementRequest>;
|
|
1750
|
+
/**
|
|
1751
|
+
* Response message for updating block settlement
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from message silvana.coordinator.v1.UpdateBlockSettlementResponse
|
|
1754
|
+
*/
|
|
1755
|
+
export type UpdateBlockSettlementResponse = Message<"silvana.coordinator.v1.UpdateBlockSettlementResponse"> & {
|
|
1756
|
+
/**
|
|
1757
|
+
* @generated from field: bool success = 1;
|
|
1758
|
+
*/
|
|
1759
|
+
success: boolean;
|
|
1760
|
+
/**
|
|
1761
|
+
* @generated from field: string message = 2;
|
|
1762
|
+
*/
|
|
1763
|
+
message: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* @generated from field: string tx_hash = 3;
|
|
1766
|
+
*/
|
|
1767
|
+
txHash: string;
|
|
1768
|
+
};
|
|
1769
|
+
/**
|
|
1770
|
+
* Describes the message silvana.coordinator.v1.UpdateBlockSettlementResponse.
|
|
1771
|
+
* Use `create(UpdateBlockSettlementResponseSchema)` to create a new message.
|
|
1772
|
+
*/
|
|
1773
|
+
export declare const UpdateBlockSettlementResponseSchema: GenMessage<UpdateBlockSettlementResponse>;
|
|
1774
|
+
/**
|
|
1775
|
+
* gRPC service definition
|
|
1776
|
+
*
|
|
1777
|
+
* @generated from service silvana.coordinator.v1.CoordinatorService
|
|
1778
|
+
*/
|
|
1779
|
+
export declare const CoordinatorService: GenService<{
|
|
1780
|
+
/**
|
|
1781
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetJob
|
|
1782
|
+
*/
|
|
1783
|
+
getJob: {
|
|
1784
|
+
methodKind: "unary";
|
|
1785
|
+
input: typeof GetJobRequestSchema;
|
|
1786
|
+
output: typeof GetJobResponseSchema;
|
|
1787
|
+
};
|
|
1788
|
+
/**
|
|
1789
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.CompleteJob
|
|
1790
|
+
*/
|
|
1791
|
+
completeJob: {
|
|
1792
|
+
methodKind: "unary";
|
|
1793
|
+
input: typeof CompleteJobRequestSchema;
|
|
1794
|
+
output: typeof CompleteJobResponseSchema;
|
|
1795
|
+
};
|
|
1796
|
+
/**
|
|
1797
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.FailJob
|
|
1798
|
+
*/
|
|
1799
|
+
failJob: {
|
|
1800
|
+
methodKind: "unary";
|
|
1801
|
+
input: typeof FailJobRequestSchema;
|
|
1802
|
+
output: typeof FailJobResponseSchema;
|
|
1803
|
+
};
|
|
1804
|
+
/**
|
|
1805
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.TerminateJob
|
|
1806
|
+
*/
|
|
1807
|
+
terminateJob: {
|
|
1808
|
+
methodKind: "unary";
|
|
1809
|
+
input: typeof TerminateJobRequestSchema;
|
|
1810
|
+
output: typeof TerminateJobResponseSchema;
|
|
1811
|
+
};
|
|
1812
|
+
/**
|
|
1813
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.SubmitProof
|
|
1814
|
+
*/
|
|
1815
|
+
submitProof: {
|
|
1816
|
+
methodKind: "unary";
|
|
1817
|
+
input: typeof SubmitProofRequestSchema;
|
|
1818
|
+
output: typeof SubmitProofResponseSchema;
|
|
1819
|
+
};
|
|
1820
|
+
/**
|
|
1821
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.RejectProof
|
|
1822
|
+
*/
|
|
1823
|
+
rejectProof: {
|
|
1824
|
+
methodKind: "unary";
|
|
1825
|
+
input: typeof RejectProofRequestSchema;
|
|
1826
|
+
output: typeof RejectProofResponseSchema;
|
|
1827
|
+
};
|
|
1828
|
+
/**
|
|
1829
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.SubmitState
|
|
1830
|
+
*/
|
|
1831
|
+
submitState: {
|
|
1832
|
+
methodKind: "unary";
|
|
1833
|
+
input: typeof SubmitStateRequestSchema;
|
|
1834
|
+
output: typeof SubmitStateResponseSchema;
|
|
1835
|
+
};
|
|
1836
|
+
/**
|
|
1837
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetSequenceStates
|
|
1838
|
+
*/
|
|
1839
|
+
getSequenceStates: {
|
|
1840
|
+
methodKind: "unary";
|
|
1841
|
+
input: typeof GetSequenceStatesRequestSchema;
|
|
1842
|
+
output: typeof GetSequenceStatesResponseSchema;
|
|
1843
|
+
};
|
|
1844
|
+
/**
|
|
1845
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.ReadDataAvailability
|
|
1846
|
+
*/
|
|
1847
|
+
readDataAvailability: {
|
|
1848
|
+
methodKind: "unary";
|
|
1849
|
+
input: typeof ReadDataAvailabilityRequestSchema;
|
|
1850
|
+
output: typeof ReadDataAvailabilityResponseSchema;
|
|
1851
|
+
};
|
|
1852
|
+
/**
|
|
1853
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetProof
|
|
1854
|
+
*/
|
|
1855
|
+
getProof: {
|
|
1856
|
+
methodKind: "unary";
|
|
1857
|
+
input: typeof GetProofRequestSchema;
|
|
1858
|
+
output: typeof GetProofResponseSchema;
|
|
1859
|
+
};
|
|
1860
|
+
/**
|
|
1861
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetBlockProof
|
|
1862
|
+
*/
|
|
1863
|
+
getBlockProof: {
|
|
1864
|
+
methodKind: "unary";
|
|
1865
|
+
input: typeof GetBlockProofRequestSchema;
|
|
1866
|
+
output: typeof GetBlockProofResponseSchema;
|
|
1867
|
+
};
|
|
1868
|
+
/**
|
|
1869
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.RetrieveSecret
|
|
1870
|
+
*/
|
|
1871
|
+
retrieveSecret: {
|
|
1872
|
+
methodKind: "unary";
|
|
1873
|
+
input: typeof RetrieveSecretRequestSchema;
|
|
1874
|
+
output: typeof RetrieveSecretResponseSchema;
|
|
1875
|
+
};
|
|
1876
|
+
/**
|
|
1877
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.SetKV
|
|
1878
|
+
*/
|
|
1879
|
+
setKV: {
|
|
1880
|
+
methodKind: "unary";
|
|
1881
|
+
input: typeof SetKVRequestSchema;
|
|
1882
|
+
output: typeof SetKVResponseSchema;
|
|
1883
|
+
};
|
|
1884
|
+
/**
|
|
1885
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetKV
|
|
1886
|
+
*/
|
|
1887
|
+
getKV: {
|
|
1888
|
+
methodKind: "unary";
|
|
1889
|
+
input: typeof GetKVRequestSchema;
|
|
1890
|
+
output: typeof GetKVResponseSchema;
|
|
1891
|
+
};
|
|
1892
|
+
/**
|
|
1893
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.DeleteKV
|
|
1894
|
+
*/
|
|
1895
|
+
deleteKV: {
|
|
1896
|
+
methodKind: "unary";
|
|
1897
|
+
input: typeof DeleteKVRequestSchema;
|
|
1898
|
+
output: typeof DeleteKVResponseSchema;
|
|
1899
|
+
};
|
|
1900
|
+
/**
|
|
1901
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.AddMetadata
|
|
1902
|
+
*/
|
|
1903
|
+
addMetadata: {
|
|
1904
|
+
methodKind: "unary";
|
|
1905
|
+
input: typeof AddMetadataRequestSchema;
|
|
1906
|
+
output: typeof AddMetadataResponseSchema;
|
|
1907
|
+
};
|
|
1908
|
+
/**
|
|
1909
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetMetadata
|
|
1910
|
+
*/
|
|
1911
|
+
getMetadata: {
|
|
1912
|
+
methodKind: "unary";
|
|
1913
|
+
input: typeof GetMetadataRequestSchema;
|
|
1914
|
+
output: typeof GetMetadataResponseSchema;
|
|
1915
|
+
};
|
|
1916
|
+
/**
|
|
1917
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.TryCreateBlock
|
|
1918
|
+
*/
|
|
1919
|
+
tryCreateBlock: {
|
|
1920
|
+
methodKind: "unary";
|
|
1921
|
+
input: typeof TryCreateBlockRequestSchema;
|
|
1922
|
+
output: typeof TryCreateBlockResponseSchema;
|
|
1923
|
+
};
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.UpdateBlockStateDataAvailability
|
|
1926
|
+
*/
|
|
1927
|
+
updateBlockStateDataAvailability: {
|
|
1928
|
+
methodKind: "unary";
|
|
1929
|
+
input: typeof UpdateBlockStateDataAvailabilityRequestSchema;
|
|
1930
|
+
output: typeof UpdateBlockStateDataAvailabilityResponseSchema;
|
|
1931
|
+
};
|
|
1932
|
+
/**
|
|
1933
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.UpdateBlockProofDataAvailability
|
|
1934
|
+
*/
|
|
1935
|
+
updateBlockProofDataAvailability: {
|
|
1936
|
+
methodKind: "unary";
|
|
1937
|
+
input: typeof UpdateBlockProofDataAvailabilityRequestSchema;
|
|
1938
|
+
output: typeof UpdateBlockProofDataAvailabilityResponseSchema;
|
|
1939
|
+
};
|
|
1940
|
+
/**
|
|
1941
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.UpdateBlockSettlementTxHash
|
|
1942
|
+
*/
|
|
1943
|
+
updateBlockSettlementTxHash: {
|
|
1944
|
+
methodKind: "unary";
|
|
1945
|
+
input: typeof UpdateBlockSettlementTxHashRequestSchema;
|
|
1946
|
+
output: typeof UpdateBlockSettlementTxHashResponseSchema;
|
|
1947
|
+
};
|
|
1948
|
+
/**
|
|
1949
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.UpdateBlockSettlementTxIncludedInBlock
|
|
1950
|
+
*/
|
|
1951
|
+
updateBlockSettlementTxIncludedInBlock: {
|
|
1952
|
+
methodKind: "unary";
|
|
1953
|
+
input: typeof UpdateBlockSettlementTxIncludedInBlockRequestSchema;
|
|
1954
|
+
output: typeof UpdateBlockSettlementTxIncludedInBlockResponseSchema;
|
|
1955
|
+
};
|
|
1956
|
+
/**
|
|
1957
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.CreateAppJob
|
|
1958
|
+
*/
|
|
1959
|
+
createAppJob: {
|
|
1960
|
+
methodKind: "unary";
|
|
1961
|
+
input: typeof CreateAppJobRequestSchema;
|
|
1962
|
+
output: typeof CreateAppJobResponseSchema;
|
|
1963
|
+
};
|
|
1964
|
+
/**
|
|
1965
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetBlock
|
|
1966
|
+
*/
|
|
1967
|
+
getBlock: {
|
|
1968
|
+
methodKind: "unary";
|
|
1969
|
+
input: typeof GetBlockRequestSchema;
|
|
1970
|
+
output: typeof GetBlockResponseSchema;
|
|
1971
|
+
};
|
|
1972
|
+
/**
|
|
1973
|
+
* New BlockSettlement RPCs for multi-chain support
|
|
1974
|
+
*
|
|
1975
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.GetBlockSettlement
|
|
1976
|
+
*/
|
|
1977
|
+
getBlockSettlement: {
|
|
1978
|
+
methodKind: "unary";
|
|
1979
|
+
input: typeof GetBlockSettlementRequestSchema;
|
|
1980
|
+
output: typeof GetBlockSettlementResponseSchema;
|
|
1981
|
+
};
|
|
1982
|
+
/**
|
|
1983
|
+
* @generated from rpc silvana.coordinator.v1.CoordinatorService.UpdateBlockSettlement
|
|
1984
|
+
*/
|
|
1985
|
+
updateBlockSettlement: {
|
|
1986
|
+
methodKind: "unary";
|
|
1987
|
+
input: typeof UpdateBlockSettlementRequestSchema;
|
|
1988
|
+
output: typeof UpdateBlockSettlementResponseSchema;
|
|
1989
|
+
};
|
|
1990
|
+
}>;
|