koilib 5.5.3 → 5.5.5

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.
@@ -0,0 +1,726 @@
1
+ {
2
+ "nested": {
3
+ "koinos": {
4
+ "options": {
5
+ "go_package": "github.com/koinos/koinos-proto-golang/koinos"
6
+ },
7
+ "nested": {
8
+ "block_topology": {
9
+ "fields": {
10
+ "id": {
11
+ "type": "bytes",
12
+ "id": 1,
13
+ "options": {
14
+ "(btype)": "BLOCK_ID"
15
+ }
16
+ },
17
+ "height": {
18
+ "type": "uint64",
19
+ "id": 2,
20
+ "options": {
21
+ "jstype": "JS_STRING"
22
+ }
23
+ },
24
+ "previous": {
25
+ "type": "bytes",
26
+ "id": 3,
27
+ "options": {
28
+ "(btype)": "BLOCK_ID"
29
+ }
30
+ }
31
+ }
32
+ },
33
+ "protocol": {
34
+ "options": {
35
+ "go_package": "github.com/koinos/koinos-proto-golang/koinos/protocol"
36
+ },
37
+ "nested": {
38
+ "event_data": {
39
+ "fields": {
40
+ "sequence": {
41
+ "type": "uint32",
42
+ "id": 1
43
+ },
44
+ "source": {
45
+ "type": "bytes",
46
+ "id": 2,
47
+ "options": {
48
+ "(btype)": "CONTRACT_ID"
49
+ }
50
+ },
51
+ "name": {
52
+ "type": "string",
53
+ "id": 3
54
+ },
55
+ "data": {
56
+ "type": "bytes",
57
+ "id": 4
58
+ },
59
+ "impacted": {
60
+ "rule": "repeated",
61
+ "type": "bytes",
62
+ "id": 5,
63
+ "options": {
64
+ "(btype)": "ADDRESS"
65
+ }
66
+ }
67
+ }
68
+ },
69
+ "contract_call_bundle": {
70
+ "fields": {
71
+ "contract_id": {
72
+ "type": "bytes",
73
+ "id": 1,
74
+ "options": {
75
+ "(btype)": "CONTRACT_ID"
76
+ }
77
+ },
78
+ "entry_point": {
79
+ "type": "uint32",
80
+ "id": 2
81
+ }
82
+ }
83
+ },
84
+ "system_call_target": {
85
+ "oneofs": {
86
+ "target": {
87
+ "oneof": ["thunk_id", "system_call_bundle"]
88
+ }
89
+ },
90
+ "fields": {
91
+ "thunk_id": {
92
+ "type": "uint32",
93
+ "id": 1
94
+ },
95
+ "system_call_bundle": {
96
+ "type": "contract_call_bundle",
97
+ "id": 2
98
+ }
99
+ }
100
+ },
101
+ "upload_contract_operation": {
102
+ "fields": {
103
+ "contract_id": {
104
+ "type": "bytes",
105
+ "id": 1,
106
+ "options": {
107
+ "(btype)": "CONTRACT_ID"
108
+ }
109
+ },
110
+ "bytecode": {
111
+ "type": "bytes",
112
+ "id": 2
113
+ },
114
+ "abi": {
115
+ "type": "string",
116
+ "id": 3
117
+ },
118
+ "authorizes_call_contract": {
119
+ "type": "bool",
120
+ "id": 4
121
+ },
122
+ "authorizes_transaction_application": {
123
+ "type": "bool",
124
+ "id": 5
125
+ },
126
+ "authorizes_upload_contract": {
127
+ "type": "bool",
128
+ "id": 6
129
+ }
130
+ }
131
+ },
132
+ "call_contract_operation": {
133
+ "fields": {
134
+ "contract_id": {
135
+ "type": "bytes",
136
+ "id": 1,
137
+ "options": {
138
+ "(btype)": "CONTRACT_ID"
139
+ }
140
+ },
141
+ "entry_point": {
142
+ "type": "uint32",
143
+ "id": 2
144
+ },
145
+ "args": {
146
+ "type": "bytes",
147
+ "id": 3
148
+ }
149
+ }
150
+ },
151
+ "set_system_call_operation": {
152
+ "fields": {
153
+ "call_id": {
154
+ "type": "uint32",
155
+ "id": 1
156
+ },
157
+ "target": {
158
+ "type": "system_call_target",
159
+ "id": 2
160
+ }
161
+ }
162
+ },
163
+ "set_system_contract_operation": {
164
+ "fields": {
165
+ "contract_id": {
166
+ "type": "bytes",
167
+ "id": 1,
168
+ "options": {
169
+ "(btype)": "CONTRACT_ID"
170
+ }
171
+ },
172
+ "system_contract": {
173
+ "type": "bool",
174
+ "id": 2
175
+ }
176
+ }
177
+ },
178
+ "operation": {
179
+ "oneofs": {
180
+ "op": {
181
+ "oneof": [
182
+ "upload_contract",
183
+ "call_contract",
184
+ "set_system_call",
185
+ "set_system_contract"
186
+ ]
187
+ }
188
+ },
189
+ "fields": {
190
+ "upload_contract": {
191
+ "type": "upload_contract_operation",
192
+ "id": 1
193
+ },
194
+ "call_contract": {
195
+ "type": "call_contract_operation",
196
+ "id": 2
197
+ },
198
+ "set_system_call": {
199
+ "type": "set_system_call_operation",
200
+ "id": 3
201
+ },
202
+ "set_system_contract": {
203
+ "type": "set_system_contract_operation",
204
+ "id": 4
205
+ }
206
+ }
207
+ },
208
+ "transaction_header": {
209
+ "fields": {
210
+ "chain_id": {
211
+ "type": "bytes",
212
+ "id": 1
213
+ },
214
+ "rc_limit": {
215
+ "type": "uint64",
216
+ "id": 2,
217
+ "options": {
218
+ "jstype": "JS_STRING"
219
+ }
220
+ },
221
+ "nonce": {
222
+ "type": "bytes",
223
+ "id": 3
224
+ },
225
+ "operation_merkle_root": {
226
+ "type": "bytes",
227
+ "id": 4
228
+ },
229
+ "payer": {
230
+ "type": "bytes",
231
+ "id": 5,
232
+ "options": {
233
+ "(btype)": "ADDRESS"
234
+ }
235
+ },
236
+ "payee": {
237
+ "type": "bytes",
238
+ "id": 6,
239
+ "options": {
240
+ "(btype)": "ADDRESS"
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "transaction": {
246
+ "fields": {
247
+ "id": {
248
+ "type": "bytes",
249
+ "id": 1,
250
+ "options": {
251
+ "(btype)": "TRANSACTION_ID"
252
+ }
253
+ },
254
+ "header": {
255
+ "type": "transaction_header",
256
+ "id": 2
257
+ },
258
+ "operations": {
259
+ "rule": "repeated",
260
+ "type": "operation",
261
+ "id": 3
262
+ },
263
+ "signatures": {
264
+ "rule": "repeated",
265
+ "type": "bytes",
266
+ "id": 4
267
+ }
268
+ }
269
+ },
270
+ "transaction_receipt": {
271
+ "fields": {
272
+ "id": {
273
+ "type": "bytes",
274
+ "id": 1,
275
+ "options": {
276
+ "(btype)": "TRANSACTION_ID"
277
+ }
278
+ },
279
+ "payer": {
280
+ "type": "bytes",
281
+ "id": 2,
282
+ "options": {
283
+ "(btype)": "ADDRESS"
284
+ }
285
+ },
286
+ "max_payer_rc": {
287
+ "type": "uint64",
288
+ "id": 3,
289
+ "options": {
290
+ "jstype": "JS_STRING"
291
+ }
292
+ },
293
+ "rc_limit": {
294
+ "type": "uint64",
295
+ "id": 4,
296
+ "options": {
297
+ "jstype": "JS_STRING"
298
+ }
299
+ },
300
+ "rc_used": {
301
+ "type": "uint64",
302
+ "id": 5,
303
+ "options": {
304
+ "jstype": "JS_STRING"
305
+ }
306
+ },
307
+ "disk_storage_used": {
308
+ "type": "uint64",
309
+ "id": 6,
310
+ "options": {
311
+ "jstype": "JS_STRING"
312
+ }
313
+ },
314
+ "network_bandwidth_used": {
315
+ "type": "uint64",
316
+ "id": 7,
317
+ "options": {
318
+ "jstype": "JS_STRING"
319
+ }
320
+ },
321
+ "compute_bandwidth_used": {
322
+ "type": "uint64",
323
+ "id": 8,
324
+ "options": {
325
+ "jstype": "JS_STRING"
326
+ }
327
+ },
328
+ "reverted": {
329
+ "type": "bool",
330
+ "id": 9
331
+ },
332
+ "events": {
333
+ "rule": "repeated",
334
+ "type": "event_data",
335
+ "id": 10
336
+ },
337
+ "logs": {
338
+ "rule": "repeated",
339
+ "type": "string",
340
+ "id": 11
341
+ }
342
+ }
343
+ },
344
+ "block_header": {
345
+ "fields": {
346
+ "previous": {
347
+ "type": "bytes",
348
+ "id": 1,
349
+ "options": {
350
+ "(btype)": "BLOCK_ID"
351
+ }
352
+ },
353
+ "height": {
354
+ "type": "uint64",
355
+ "id": 2,
356
+ "options": {
357
+ "jstype": "JS_STRING"
358
+ }
359
+ },
360
+ "timestamp": {
361
+ "type": "uint64",
362
+ "id": 3,
363
+ "options": {
364
+ "jstype": "JS_STRING"
365
+ }
366
+ },
367
+ "previous_state_merkle_root": {
368
+ "type": "bytes",
369
+ "id": 4
370
+ },
371
+ "transaction_merkle_root": {
372
+ "type": "bytes",
373
+ "id": 5
374
+ },
375
+ "signer": {
376
+ "type": "bytes",
377
+ "id": 6,
378
+ "options": {
379
+ "(btype)": "ADDRESS"
380
+ }
381
+ },
382
+ "approved_proposals": {
383
+ "rule": "repeated",
384
+ "type": "bytes",
385
+ "id": 7,
386
+ "options": {
387
+ "(btype)": "TRANSACTION_ID"
388
+ }
389
+ }
390
+ }
391
+ },
392
+ "block": {
393
+ "fields": {
394
+ "id": {
395
+ "type": "bytes",
396
+ "id": 1,
397
+ "options": {
398
+ "(btype)": "BLOCK_ID"
399
+ }
400
+ },
401
+ "header": {
402
+ "type": "block_header",
403
+ "id": 2
404
+ },
405
+ "transactions": {
406
+ "rule": "repeated",
407
+ "type": "transaction",
408
+ "id": 3
409
+ },
410
+ "signature": {
411
+ "type": "bytes",
412
+ "id": 4
413
+ }
414
+ }
415
+ },
416
+ "block_receipt": {
417
+ "fields": {
418
+ "id": {
419
+ "type": "bytes",
420
+ "id": 1,
421
+ "options": {
422
+ "(btype)": "BLOCK_ID"
423
+ }
424
+ },
425
+ "height": {
426
+ "type": "uint64",
427
+ "id": 2,
428
+ "options": {
429
+ "jstype": "JS_STRING"
430
+ }
431
+ },
432
+ "disk_storage_used": {
433
+ "type": "uint64",
434
+ "id": 3,
435
+ "options": {
436
+ "jstype": "JS_STRING"
437
+ }
438
+ },
439
+ "network_bandwidth_used": {
440
+ "type": "uint64",
441
+ "id": 4,
442
+ "options": {
443
+ "jstype": "JS_STRING"
444
+ }
445
+ },
446
+ "compute_bandwidth_used": {
447
+ "type": "uint64",
448
+ "id": 5,
449
+ "options": {
450
+ "jstype": "JS_STRING"
451
+ }
452
+ },
453
+ "state_merkle_root": {
454
+ "type": "bytes",
455
+ "id": 6
456
+ },
457
+ "events": {
458
+ "rule": "repeated",
459
+ "type": "event_data",
460
+ "id": 7
461
+ },
462
+ "transaction_receipts": {
463
+ "rule": "repeated",
464
+ "type": "transaction_receipt",
465
+ "id": 8
466
+ },
467
+ "logs": {
468
+ "rule": "repeated",
469
+ "type": "string",
470
+ "id": 9
471
+ }
472
+ }
473
+ }
474
+ }
475
+ },
476
+ "chain": {
477
+ "options": {
478
+ "go_package": "github.com/koinos/koinos-proto-golang/koinos/chain"
479
+ },
480
+ "nested": {
481
+ "error_data": {
482
+ "fields": {
483
+ "message": {
484
+ "type": "string",
485
+ "id": 1
486
+ }
487
+ }
488
+ },
489
+ "result": {
490
+ "oneofs": {
491
+ "value": {
492
+ "oneof": ["object", "error"]
493
+ }
494
+ },
495
+ "fields": {
496
+ "object": {
497
+ "type": "bytes",
498
+ "id": 1
499
+ },
500
+ "error": {
501
+ "type": "error_data",
502
+ "id": 2
503
+ }
504
+ }
505
+ },
506
+ "object_space": {
507
+ "fields": {
508
+ "system": {
509
+ "type": "bool",
510
+ "id": 1
511
+ },
512
+ "zone": {
513
+ "type": "bytes",
514
+ "id": 2
515
+ },
516
+ "id": {
517
+ "type": "uint32",
518
+ "id": 3
519
+ }
520
+ }
521
+ },
522
+ "database_key": {
523
+ "fields": {
524
+ "space": {
525
+ "type": "object_space",
526
+ "id": 1
527
+ },
528
+ "key": {
529
+ "type": "bytes",
530
+ "id": 2
531
+ }
532
+ }
533
+ },
534
+ "max_account_resources": {
535
+ "fields": {
536
+ "value": {
537
+ "type": "uint64",
538
+ "id": 1,
539
+ "options": {
540
+ "jstype": "JS_STRING"
541
+ }
542
+ }
543
+ }
544
+ },
545
+ "privilege": {
546
+ "values": {
547
+ "kernel_mode": 0,
548
+ "user_mode": 1
549
+ }
550
+ },
551
+ "head_info": {
552
+ "fields": {
553
+ "head_topology": {
554
+ "type": "block_topology",
555
+ "id": 1
556
+ },
557
+ "head_block_time": {
558
+ "type": "uint64",
559
+ "id": 2,
560
+ "options": {
561
+ "jstype": "JS_STRING"
562
+ }
563
+ },
564
+ "last_irreversible_block": {
565
+ "type": "uint64",
566
+ "id": 3,
567
+ "options": {
568
+ "jstype": "JS_STRING"
569
+ }
570
+ }
571
+ }
572
+ },
573
+ "caller_data": {
574
+ "fields": {
575
+ "caller": {
576
+ "type": "bytes",
577
+ "id": 1,
578
+ "options": {
579
+ "(btype)": "ADDRESS"
580
+ }
581
+ },
582
+ "caller_privilege": {
583
+ "type": "privilege",
584
+ "id": 2
585
+ }
586
+ }
587
+ },
588
+ "argument_data": {
589
+ "fields": {
590
+ "entry_point": {
591
+ "type": "uint32",
592
+ "id": 1
593
+ },
594
+ "arguments": {
595
+ "type": "bytes",
596
+ "id": 2
597
+ }
598
+ }
599
+ },
600
+ "resource_limit_data": {
601
+ "fields": {
602
+ "disk_storage_limit": {
603
+ "type": "uint64",
604
+ "id": 1,
605
+ "options": {
606
+ "jstype": "JS_STRING"
607
+ }
608
+ },
609
+ "disk_storage_cost": {
610
+ "type": "uint64",
611
+ "id": 2,
612
+ "options": {
613
+ "jstype": "JS_STRING"
614
+ }
615
+ },
616
+ "network_bandwidth_limit": {
617
+ "type": "uint64",
618
+ "id": 3,
619
+ "options": {
620
+ "jstype": "JS_STRING"
621
+ }
622
+ },
623
+ "network_bandwidth_cost": {
624
+ "type": "uint64",
625
+ "id": 4,
626
+ "options": {
627
+ "jstype": "JS_STRING"
628
+ }
629
+ },
630
+ "compute_bandwidth_limit": {
631
+ "type": "uint64",
632
+ "id": 5,
633
+ "options": {
634
+ "jstype": "JS_STRING"
635
+ }
636
+ },
637
+ "compute_bandwidth_cost": {
638
+ "type": "uint64",
639
+ "id": 6,
640
+ "options": {
641
+ "jstype": "JS_STRING"
642
+ }
643
+ }
644
+ }
645
+ },
646
+ "contract_metadata_object": {
647
+ "fields": {
648
+ "hash": {
649
+ "type": "bytes",
650
+ "id": 1
651
+ },
652
+ "system": {
653
+ "type": "bool",
654
+ "id": 2
655
+ },
656
+ "authorizes_call_contract": {
657
+ "type": "bool",
658
+ "id": 3
659
+ },
660
+ "authorizes_transaction_application": {
661
+ "type": "bool",
662
+ "id": 4
663
+ },
664
+ "authorizes_upload_contract": {
665
+ "type": "bool",
666
+ "id": 5
667
+ }
668
+ }
669
+ },
670
+ "compute_bandwidth_entry": {
671
+ "fields": {
672
+ "name": {
673
+ "type": "string",
674
+ "id": 1
675
+ },
676
+ "compute": {
677
+ "type": "uint64",
678
+ "id": 2
679
+ }
680
+ }
681
+ },
682
+ "compute_bandwidth_registry": {
683
+ "fields": {
684
+ "entries": {
685
+ "rule": "repeated",
686
+ "type": "compute_bandwidth_entry",
687
+ "id": 1
688
+ }
689
+ }
690
+ },
691
+ "genesis_entry": {
692
+ "fields": {
693
+ "space": {
694
+ "type": "object_space",
695
+ "id": 1
696
+ },
697
+ "key": {
698
+ "type": "bytes",
699
+ "id": 2
700
+ },
701
+ "value": {
702
+ "type": "bytes",
703
+ "id": 3
704
+ }
705
+ }
706
+ },
707
+ "genesis_data": {
708
+ "fields": {
709
+ "entries": {
710
+ "rule": "repeated",
711
+ "type": "genesis_entry",
712
+ "id": 1
713
+ }
714
+ }
715
+ },
716
+ "dsa": {
717
+ "values": {
718
+ "ecdsa_secp256k1": 0
719
+ }
720
+ }
721
+ }
722
+ }
723
+ }
724
+ }
725
+ }
726
+ }