-
Notifications
You must be signed in to change notification settings - Fork 36
/
tx.proto
538 lines (446 loc) · 25 KB
/
tx.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
syntax = "proto3";
package provenance.metadata.v1;
import "gogoproto/gogo.proto";
import "provenance/metadata/v1/metadata.proto";
import "provenance/metadata/v1/objectstore.proto";
import "provenance/metadata/v1/scope.proto";
import "provenance/metadata/v1/specification.proto";
option go_package = "github.com/provenance-io/provenance/x/metadata/types";
option java_package = "io.provenance.metadata.v1";
option java_multiple_files = true;
// Msg defines the Metadata Msg service.
service Msg {
// ---- Primary Data Management -----
// WriteScope adds or updates a scope.
rpc WriteScope(MsgWriteScopeRequest) returns (MsgWriteScopeResponse);
// DeleteScope deletes a scope and all associated Records, Sessions.
rpc DeleteScope(MsgDeleteScopeRequest) returns (MsgDeleteScopeResponse);
// AddScopeDataAccess adds data access AccAddress to scope
rpc AddScopeDataAccess(MsgAddScopeDataAccessRequest) returns (MsgAddScopeDataAccessResponse);
// DeleteScopeDataAccess removes data access AccAddress from scope
rpc DeleteScopeDataAccess(MsgDeleteScopeDataAccessRequest) returns (MsgDeleteScopeDataAccessResponse);
// AddScopeOwner adds new owner parties to a scope
rpc AddScopeOwner(MsgAddScopeOwnerRequest) returns (MsgAddScopeOwnerResponse);
// DeleteScopeOwner removes owner parties (by addresses) from a scope
rpc DeleteScopeOwner(MsgDeleteScopeOwnerRequest) returns (MsgDeleteScopeOwnerResponse);
// WriteSession adds or updates a session context.
rpc WriteSession(MsgWriteSessionRequest) returns (MsgWriteSessionResponse);
// WriteRecord adds or updates a record.
rpc WriteRecord(MsgWriteRecordRequest) returns (MsgWriteRecordResponse);
// DeleteRecord deletes a record.
rpc DeleteRecord(MsgDeleteRecordRequest) returns (MsgDeleteRecordResponse);
// ---- Specification Management -----
// WriteScopeSpecification adds or updates a scope specification.
rpc WriteScopeSpecification(MsgWriteScopeSpecificationRequest) returns (MsgWriteScopeSpecificationResponse);
// DeleteScopeSpecification deletes a scope specification.
rpc DeleteScopeSpecification(MsgDeleteScopeSpecificationRequest) returns (MsgDeleteScopeSpecificationResponse);
// WriteContractSpecification adds or updates a contract specification.
rpc WriteContractSpecification(MsgWriteContractSpecificationRequest) returns (MsgWriteContractSpecificationResponse);
// DeleteContractSpecification deletes a contract specification.
rpc DeleteContractSpecification(MsgDeleteContractSpecificationRequest)
returns (MsgDeleteContractSpecificationResponse);
// AddContractSpecToScopeSpec adds contract specification to a scope specification.
rpc AddContractSpecToScopeSpec(MsgAddContractSpecToScopeSpecRequest) returns (MsgAddContractSpecToScopeSpecResponse);
// DeleteContractSpecFromScopeSpec deletes a contract specification from a scope specification.
rpc DeleteContractSpecFromScopeSpec(MsgDeleteContractSpecFromScopeSpecRequest)
returns (MsgDeleteContractSpecFromScopeSpecResponse);
// WriteRecordSpecification adds or updates a record specification.
rpc WriteRecordSpecification(MsgWriteRecordSpecificationRequest) returns (MsgWriteRecordSpecificationResponse);
// DeleteRecordSpecification deletes a record specification.
rpc DeleteRecordSpecification(MsgDeleteRecordSpecificationRequest) returns (MsgDeleteRecordSpecificationResponse);
// ---- Object Store Locator Management -----
// BindOSLocator binds an owner address to a uri.
rpc BindOSLocator(MsgBindOSLocatorRequest) returns (MsgBindOSLocatorResponse);
// DeleteOSLocator deletes an existing ObjectStoreLocator record.
rpc DeleteOSLocator(MsgDeleteOSLocatorRequest) returns (MsgDeleteOSLocatorResponse);
// ModifyOSLocator updates an ObjectStoreLocator record by the current owner.
rpc ModifyOSLocator(MsgModifyOSLocatorRequest) returns (MsgModifyOSLocatorResponse);
}
// MsgWriteScopeRequest is the request type for the Msg/WriteScope RPC method.
message MsgWriteScopeRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// scope is the Scope you want added or updated.
Scope scope = 1 [(gogoproto.nullable) = false];
// signers is the list of address of those signing this request.
repeated string signers = 2;
// scope_uuid is an optional uuid string, e.g. "91978ba2-5f35-459a-86a7-feca1b0512e0"
// If provided, it will be used to generate the MetadataAddress for the scope which will override the scope_id in the
// provided scope. If not provided (or it is an empty string), nothing special happens.
// If there is a value in scope.scope_id that is different from the one created from this uuid, an error is returned.
string scope_uuid = 3 [(gogoproto.moretags) = "yaml:\"scope_uuid\""];
// spec_uuid is an optional scope specification uuid string, e.g. "dc83ea70-eacd-40fe-9adf-1cf6148bf8a2"
// If provided, it will be used to generate the MetadataAddress for the scope specification which will override the
// specification_id in the provided scope. If not provided (or it is an empty string), nothing special happens.
// If there is a value in scope.specification_id that is different from the one created from this uuid, an error is
// returned.
string spec_uuid = 4 [(gogoproto.moretags) = "yaml:\"spec_uuid\""];
}
// MsgWriteScopeResponse is the response type for the Msg/WriteScope RPC method.
message MsgWriteScopeResponse {
// scope_id_info contains information about the id/address of the scope that was added or updated.
ScopeIdInfo scope_id_info = 1 [(gogoproto.moretags) = "yaml:\"scope_id_info\""];
}
// MsgDeleteScopeRequest is the request type for the Msg/DeleteScope RPC method.
message MsgDeleteScopeRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// Unique ID for the scope to delete
bytes scope_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"scope_id\""
];
repeated string signers = 2;
}
// MsgDeleteScopeResponse is the response type for the Msg/DeleteScope RPC method.
message MsgDeleteScopeResponse {}
// MsgAddScopeDataAccessRequest is the request to add data access AccAddress to scope
message MsgAddScopeDataAccessRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// scope MetadataAddress for updating data access
bytes scope_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"scope_id\""
];
// AccAddress addresses to be added to scope
repeated string data_access = 2 [(gogoproto.moretags) = "yaml:\"data_access\""];
// signers is the list of address of those signing this request.
repeated string signers = 3;
}
// MsgAddScopeDataAccessResponse is the response for adding data access AccAddress to scope
message MsgAddScopeDataAccessResponse {}
// MsgDeleteScopeDataAccessRequest is the request to remove data access AccAddress to scope
message MsgDeleteScopeDataAccessRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// scope MetadataAddress for removing data access
bytes scope_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"scope_id\""
];
// AccAddress address to be removed from scope
repeated string data_access = 2 [(gogoproto.moretags) = "yaml:\"data_access\""];
// signers is the list of address of those signing this request.
repeated string signers = 3;
}
// MsgDeleteScopeDataAccessResponse is the response from removing data access AccAddress to scope
message MsgDeleteScopeDataAccessResponse {}
// MsgAddScopeOwnerRequest is the request to add owner AccAddress to scope
message MsgAddScopeOwnerRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// scope MetadataAddress for updating data access
bytes scope_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"scope_id\""
];
// owner parties to add to the scope
repeated Party owners = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"owners\""];
// signers is the list of address of those signing this request.
repeated string signers = 3;
}
// MsgAddScopeOwnerResponse is the response for adding owner AccAddresses to scope
message MsgAddScopeOwnerResponse {}
// MsgDeleteScopeOwnerRequest is the request to remove owner AccAddresses to scope
message MsgDeleteScopeOwnerRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// scope MetadataAddress for removing data access
bytes scope_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"scope_id\""
];
// AccAddress owner addresses to be removed from scope
repeated string owners = 2 [(gogoproto.moretags) = "yaml:\"owners\""];
// signers is the list of address of those signing this request.
repeated string signers = 3;
}
// MsgDeleteScopeOwnerResponse is the response from removing owner AccAddress to scope
message MsgDeleteScopeOwnerResponse {}
// MsgWriteSessionRequest is the request type for the Msg/WriteSession RPC method.
message MsgWriteSessionRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// session is the Session you want added or updated.
Session session = 1 [(gogoproto.nullable) = false];
// signers is the list of address of those signing this request.
repeated string signers = 2;
// SessionIDComponents is an optional (alternate) way of defining what the session_id should be in the provided
// session. If provided, it must have both a scope and session_uuid. Those components will be used to create the
// MetadataAddress for the session which will override the session_id in the provided session. If not provided (or
// all empty), nothing special happens.
// If there is a value in session.session_id that is different from the one created from these components, an error is
// returned.
SessionIdComponents session_id_components = 3 [(gogoproto.moretags) = "yaml:\"session_id_components\""];
// spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
// If provided, it will be used to generate the MetadataAddress for the contract specification which will override the
// specification_id in the provided session. If not provided (or it is an empty string), nothing special happens.
// If there is a value in session.specification_id that is different from the one created from this uuid, an error is
// returned.
string spec_uuid = 4 [(gogoproto.moretags) = "yaml:\"spec_uuid\""];
}
// SessionIDComponents contains fields for the components that make up a session id.
message SessionIdComponents {
// scope is used to define the scope this session belongs to.
oneof scope_identifier {
// scope_uuid is the uuid string for the scope, e.g. "91978ba2-5f35-459a-86a7-feca1b0512e0"
string scope_uuid = 1 [(gogoproto.moretags) = "yaml:\"scope_uuid\""];
// scope_addr is the bech32 address string for the scope, g.g. "scope1qzge0zaztu65tx5x5llv5xc9ztsqxlkwel"
string scope_addr = 2 [(gogoproto.moretags) = "yaml:\"scope_addr\""];
}
// session_uuid is a uuid string for identifying this session, e.g. "5803f8bc-6067-4eb5-951f-2121671c2ec0"
string session_uuid = 3 [(gogoproto.moretags) = "yaml:\"session_uuid\""];
}
// MsgWriteSessionResponse is the response type for the Msg/WriteSession RPC method.
message MsgWriteSessionResponse {
// session_id_info contains information about the id/address of the session that was added or updated.
SessionIdInfo session_id_info = 1 [(gogoproto.moretags) = "yaml:\"session_id_info\""];
}
// MsgWriteRecordRequest is the request type for the Msg/WriteRecord RPC method.
message MsgWriteRecordRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// record is the Record you want added or updated.
Record record = 1 [(gogoproto.nullable) = false];
// signers is the list of address of those signing this request.
repeated string signers = 2;
// SessionIDComponents is an optional (alternate) way of defining what the session_id should be in the provided
// record. If provided, it must have both a scope and session_uuid. Those components will be used to create the
// MetadataAddress for the session which will override the session_id in the provided record. If not provided (or
// all empty), nothing special happens.
// If there is a value in record.session_id that is different from the one created from these components, an error is
// returned.
SessionIdComponents session_id_components = 3 [(gogoproto.moretags) = "yaml:\"session_id_components\""];
// contract_spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
// If provided, it will be combined with the record name to generate the MetadataAddress for the record specification
// which will override the specification_id in the provided record. If not provided (or it is an empty string),
// nothing special happens.
// If there is a value in record.specification_id that is different from the one created from this uuid and
// record.name, an error is returned.
string contract_spec_uuid = 4 [(gogoproto.moretags) = "yaml:\"contract_spec_uuid\""];
// parties is the list of parties involved with this record.
// Deprecated: This field is ignored. The parties are identified in the session and as signers.
repeated Party parties = 5 [(gogoproto.nullable) = false];
}
// MsgWriteRecordResponse is the response type for the Msg/WriteRecord RPC method.
message MsgWriteRecordResponse {
// record_id_info contains information about the id/address of the record that was added or updated.
RecordIdInfo record_id_info = 1 [(gogoproto.moretags) = "yaml:\"record_id_info\""];
}
// MsgDeleteRecordRequest is the request type for the Msg/DeleteRecord RPC method.
message MsgDeleteRecordRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
bytes record_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"record_id\""
];
repeated string signers = 2;
}
// MsgDeleteRecordResponse is the response type for the Msg/DeleteRecord RPC method.
message MsgDeleteRecordResponse {}
// MsgWriteScopeSpecificationRequest is the request type for the Msg/WriteScopeSpecification RPC method.
message MsgWriteScopeSpecificationRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// specification is the ScopeSpecification you want added or updated.
ScopeSpecification specification = 1 [(gogoproto.nullable) = false];
// signers is the list of address of those signing this request.
repeated string signers = 2;
// spec_uuid is an optional scope specification uuid string, e.g. "dc83ea70-eacd-40fe-9adf-1cf6148bf8a2"
// If provided, it will be used to generate the MetadataAddress for the scope specification which will override the
// specification_id in the provided specification. If not provided (or it is an empty string), nothing special
// happens.
// If there is a value in specification.specification_id that is different from the one created from this uuid, an
// error is returned.
string spec_uuid = 3 [(gogoproto.moretags) = "yaml:\"spec_uuid\""];
}
// MsgWriteScopeSpecificationResponse is the response type for the Msg/WriteScopeSpecification RPC method.
message MsgWriteScopeSpecificationResponse {
// scope_spec_id_info contains information about the id/address of the scope specification that was added or updated.
ScopeSpecIdInfo scope_spec_id_info = 1 [(gogoproto.moretags) = "yaml:\"scope_spec_id_info\""];
}
// MsgDeleteScopeSpecificationRequest is the request type for the Msg/DeleteScopeSpecification RPC method.
message MsgDeleteScopeSpecificationRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// MetadataAddress for the scope specification to delete.
bytes specification_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"specification_id\""
];
repeated string signers = 2;
}
// MsgDeleteScopeSpecificationResponse is the response type for the Msg/DeleteScopeSpecification RPC method.
message MsgDeleteScopeSpecificationResponse {}
// MsgWriteContractSpecificationRequest is the request type for the Msg/WriteContractSpecification RPC method.
message MsgWriteContractSpecificationRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// specification is the ContractSpecification you want added or updated.
ContractSpecification specification = 1 [(gogoproto.nullable) = false];
// signers is the list of address of those signing this request.
repeated string signers = 2;
// spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
// If provided, it will be used to generate the MetadataAddress for the contract specification which will override the
// specification_id in the provided specification. If not provided (or it is an empty string), nothing special
// happens.
// If there is a value in specification.specification_id that is different from the one created from this uuid, an
// error is returned.
string spec_uuid = 3 [(gogoproto.moretags) = "yaml:\"spec_uuid\""];
}
// MsgWriteContractSpecificationResponse is the response type for the Msg/WriteContractSpecification RPC method.
message MsgWriteContractSpecificationResponse {
// contract_spec_id_info contains information about the id/address of the contract specification that was added or
// updated.
ContractSpecIdInfo contract_spec_id_info = 1 [(gogoproto.moretags) = "yaml:\"contract_spec_id_info\""];
}
// MsgAddContractSpecToScopeSpecRequest is the request type for the Msg/AddContractSpecToScopeSpec RPC method.
message MsgAddContractSpecToScopeSpecRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// MetadataAddress for the contract specification to add.
bytes contract_specification_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"specification_id\""
];
// MetadataAddress for the scope specification to add contract specification to.
bytes scope_specification_id = 2 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"specification_id\""
];
repeated string signers = 3;
}
// MsgAddContractSpecToScopeSpecResponse is the response type for the Msg/AddContractSpecToScopeSpec RPC method.
message MsgAddContractSpecToScopeSpecResponse {}
// MsgDeleteContractSpecFromScopeSpecRequest is the request type for the Msg/DeleteContractSpecFromScopeSpec RPC method.
message MsgDeleteContractSpecFromScopeSpecRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// MetadataAddress for the contract specification to add.
bytes contract_specification_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"specification_id\""
];
// MetadataAddress for the scope specification to add contract specification to.
bytes scope_specification_id = 2 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"specification_id\""
];
repeated string signers = 3;
}
// MsgDeleteContractSpecFromScopeSpecResponse is the response type for the Msg/DeleteContractSpecFromScopeSpec RPC
// method.
message MsgDeleteContractSpecFromScopeSpecResponse {}
// MsgDeleteContractSpecificationRequest is the request type for the Msg/DeleteContractSpecification RPC method.
message MsgDeleteContractSpecificationRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// MetadataAddress for the contract specification to delete.
bytes specification_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"specification_id\""
];
repeated string signers = 2;
}
// MsgDeleteContractSpecificationResponse is the response type for the Msg/DeleteContractSpecification RPC method.
message MsgDeleteContractSpecificationResponse {}
// MsgWriteRecordSpecificationRequest is the request type for the Msg/WriteRecordSpecification RPC method.
message MsgWriteRecordSpecificationRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// specification is the RecordSpecification you want added or updated.
RecordSpecification specification = 1 [(gogoproto.nullable) = false];
// signers is the list of address of those signing this request.
repeated string signers = 2;
// contract_spec_uuid is an optional contract specification uuid string, e.g. "def6bc0a-c9dd-4874-948f-5206e6060a84"
// If provided, it will be combined with the record specification name to generate the MetadataAddress for the record
// specification which will override the specification_id in the provided specification. If not provided (or it is an
// empty string), nothing special happens.
// If there is a value in specification.specification_id that is different from the one created from this uuid and
// specification.name, an error is returned.
string contract_spec_uuid = 3 [(gogoproto.moretags) = "yaml:\"contract_spec_uuid\""];
}
// MsgWriteRecordSpecificationResponse is the response type for the Msg/WriteRecordSpecification RPC method.
message MsgWriteRecordSpecificationResponse {
// record_spec_id_info contains information about the id/address of the record specification that was added or
// updated.
RecordSpecIdInfo record_spec_id_info = 1 [(gogoproto.moretags) = "yaml:\"record_spec_id_info\""];
}
// MsgDeleteRecordSpecificationRequest is the request type for the Msg/DeleteRecordSpecification RPC method.
message MsgDeleteRecordSpecificationRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_stringer) = true;
option (gogoproto.goproto_getters) = false;
// MetadataAddress for the record specification to delete.
bytes specification_id = 1 [
(gogoproto.nullable) = false,
(gogoproto.customtype) = "MetadataAddress",
(gogoproto.moretags) = "yaml:\"specification_id\""
];
repeated string signers = 2;
}
// MsgDeleteRecordSpecificationResponse is the response type for the Msg/DeleteRecordSpecification RPC method.
message MsgDeleteRecordSpecificationResponse {}
// MsgBindOSLocatorRequest is the request type for the Msg/BindOSLocator RPC method.
message MsgBindOSLocatorRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;
// The object locator to bind the address to bind to the URI.
ObjectStoreLocator locator = 1 [(gogoproto.nullable) = false];
}
// MsgBindOSLocatorResponse is the response type for the Msg/BindOSLocator RPC method.
message MsgBindOSLocatorResponse {
ObjectStoreLocator locator = 1 [(gogoproto.nullable) = false];
}
// MsgDeleteOSLocatorRequest is the request type for the Msg/DeleteOSLocator RPC method.
message MsgDeleteOSLocatorRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;
// The record being removed
ObjectStoreLocator locator = 1 [(gogoproto.nullable) = false];
}
// MsgDeleteOSLocatorResponse is the response type for the Msg/DeleteOSLocator RPC method.
message MsgDeleteOSLocatorResponse {
ObjectStoreLocator locator = 1 [(gogoproto.nullable) = false];
}
// MsgModifyOSLocatorRequest is the request type for the Msg/ModifyOSLocator RPC method.
message MsgModifyOSLocatorRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;
// The object locator to bind the address to bind to the URI.
ObjectStoreLocator locator = 1 [(gogoproto.nullable) = false];
}
// MsgModifyOSLocatorResponse is the response type for the Msg/ModifyOSLocator RPC method.
message MsgModifyOSLocatorResponse {
ObjectStoreLocator locator = 1 [(gogoproto.nullable) = false];
}