@qubic.ts/contracts 0.1.0

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.
Files changed (83) hide show
  1. package/package.json +17 -0
  2. package/scripts/generate-artifacts.ts +178 -0
  3. package/src/codec/entry-input.test.ts +198 -0
  4. package/src/codec/entry-input.ts +959 -0
  5. package/src/codec/index.ts +8 -0
  6. package/src/generated/contracts/CCF.registry.json +741 -0
  7. package/src/generated/contracts/CCF.types.ts +307 -0
  8. package/src/generated/contracts/GQMPROP.registry.json +518 -0
  9. package/src/generated/contracts/GQMPROP.types.ts +238 -0
  10. package/src/generated/contracts/MLM.registry.json +8 -0
  11. package/src/generated/contracts/MLM.types.ts +42 -0
  12. package/src/generated/contracts/MSVAULT.registry.json +1162 -0
  13. package/src/generated/contracts/MSVAULT.types.ts +598 -0
  14. package/src/generated/contracts/NOST.registry.json +1131 -0
  15. package/src/generated/contracts/NOST.types.ts +515 -0
  16. package/src/generated/contracts/QBAY.registry.json +1492 -0
  17. package/src/generated/contracts/QBAY.types.ts +681 -0
  18. package/src/generated/contracts/QBOND.registry.json +734 -0
  19. package/src/generated/contracts/QBOND.types.ts +397 -0
  20. package/src/generated/contracts/QDRAW.registry.json +112 -0
  21. package/src/generated/contracts/QDRAW.types.ts +110 -0
  22. package/src/generated/contracts/QDUEL.registry.json +466 -0
  23. package/src/generated/contracts/QDUEL.types.ts +265 -0
  24. package/src/generated/contracts/QEARN.registry.json +458 -0
  25. package/src/generated/contracts/QEARN.types.ts +265 -0
  26. package/src/generated/contracts/QIP.registry.json +483 -0
  27. package/src/generated/contracts/QIP.types.ts +194 -0
  28. package/src/generated/contracts/QRAFFLE.registry.json +916 -0
  29. package/src/generated/contracts/QRAFFLE.types.ts +446 -0
  30. package/src/generated/contracts/QRP.registry.json +139 -0
  31. package/src/generated/contracts/QRP.types.ts +144 -0
  32. package/src/generated/contracts/QRWA.registry.json +765 -0
  33. package/src/generated/contracts/QRWA.types.ts +402 -0
  34. package/src/generated/contracts/QSWAP.registry.json +941 -0
  35. package/src/generated/contracts/QSWAP.types.ts +479 -0
  36. package/src/generated/contracts/QTF.registry.json +480 -0
  37. package/src/generated/contracts/QTF.types.ts +346 -0
  38. package/src/generated/contracts/QUOTTERY.registry.json +530 -0
  39. package/src/generated/contracts/QUOTTERY.types.ts +262 -0
  40. package/src/generated/contracts/QUTIL.registry.json +1378 -0
  41. package/src/generated/contracts/QUTIL.types.ts +612 -0
  42. package/src/generated/contracts/QVAULT.registry.json +527 -0
  43. package/src/generated/contracts/QVAULT.types.ts +309 -0
  44. package/src/generated/contracts/QX.registry.json +610 -0
  45. package/src/generated/contracts/QX.types.ts +323 -0
  46. package/src/generated/contracts/RANDOM.registry.json +51 -0
  47. package/src/generated/contracts/RANDOM.types.ts +65 -0
  48. package/src/generated/contracts/RL.registry.json +490 -0
  49. package/src/generated/contracts/RL.types.ts +304 -0
  50. package/src/generated/contracts/SWATCH.registry.json +8 -0
  51. package/src/generated/contracts/SWATCH.types.ts +42 -0
  52. package/src/generated/core-registry.codecs.ts +6622 -0
  53. package/src/generated/core-registry.source.json +14342 -0
  54. package/src/generated/core-registry.ts +14349 -0
  55. package/src/generated/core-registry.types.ts +100 -0
  56. package/src/generator/contract-codecs.fixture.test.ts +17 -0
  57. package/src/generator/contract-codecs.test.ts +115 -0
  58. package/src/generator/contract-codecs.ts +416 -0
  59. package/src/generator/index.ts +14 -0
  60. package/src/generator/per-contract-files.test.ts +70 -0
  61. package/src/generator/per-contract-files.ts +122 -0
  62. package/src/generator/registry-runtime.fixture.test.ts +17 -0
  63. package/src/generator/registry-runtime.test.ts +55 -0
  64. package/src/generator/registry-runtime.ts +28 -0
  65. package/src/generator/registry-types.fixture.test.ts +17 -0
  66. package/src/generator/registry-types.test.ts +55 -0
  67. package/src/generator/registry-types.ts +75 -0
  68. package/src/index.test.ts +29 -0
  69. package/src/index.ts +49 -0
  70. package/src/registry/index.ts +17 -0
  71. package/src/registry/io-layout.fixture.test.ts +24 -0
  72. package/src/registry/io-layout.test.ts +93 -0
  73. package/src/registry/io-layout.ts +57 -0
  74. package/src/registry/normalize.ts +61 -0
  75. package/src/registry/schema.fixture.test.ts +21 -0
  76. package/src/registry/schema.ts +97 -0
  77. package/src/registry/types.ts +98 -0
  78. package/test/fixtures/io-layout.contracts.json +32 -0
  79. package/test/fixtures/io-layout.layouts.json +14 -0
  80. package/test/fixtures/registry.sample.codecs.ts +100 -0
  81. package/test/fixtures/registry.sample.json +27 -0
  82. package/test/fixtures/registry.sample.runtime.ts +54 -0
  83. package/test/fixtures/registry.sample.types.ts +16 -0
@@ -0,0 +1,765 @@
1
+ {
2
+ "contractName": "QRWA",
3
+ "contractIndex": 20,
4
+ "filename": "qRWA.h",
5
+ "address": "UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHQEE",
6
+ "entries": [
7
+ {
8
+ "kind": "function",
9
+ "name": "GetGovParams",
10
+ "inputType": 1,
11
+ "inputTypeName": "GetGovParams_input",
12
+ "outputTypeName": "GetGovParams_output",
13
+ "inputSize": 1,
14
+ "outputSize": 184
15
+ },
16
+ {
17
+ "kind": "function",
18
+ "name": "GetGovPoll",
19
+ "inputType": 2,
20
+ "inputTypeName": "GetGovPoll_input",
21
+ "outputTypeName": "GetGovPoll_output",
22
+ "inputSize": 8,
23
+ "outputSize": 216
24
+ },
25
+ {
26
+ "kind": "function",
27
+ "name": "GetAssetReleasePoll",
28
+ "inputType": 3,
29
+ "inputTypeName": "GetAssetReleasePoll_input",
30
+ "outputTypeName": "GetAssetReleasePoll_output",
31
+ "inputSize": 8,
32
+ "outputSize": 152
33
+ },
34
+ {
35
+ "kind": "function",
36
+ "name": "GetTreasuryBalance",
37
+ "inputType": 4,
38
+ "inputTypeName": "GetTreasuryBalance_input",
39
+ "outputTypeName": "GetTreasuryBalance_output",
40
+ "inputSize": 1,
41
+ "outputSize": 8
42
+ },
43
+ {
44
+ "kind": "function",
45
+ "name": "GetDividendBalances",
46
+ "inputType": 5,
47
+ "inputTypeName": "GetDividendBalances_input",
48
+ "outputTypeName": "GetDividendBalances_output",
49
+ "inputSize": 1,
50
+ "outputSize": 32
51
+ },
52
+ {
53
+ "kind": "function",
54
+ "name": "GetTotalDistributed",
55
+ "inputType": 6,
56
+ "inputTypeName": "GetTotalDistributed_input",
57
+ "outputTypeName": "GetTotalDistributed_output",
58
+ "inputSize": 1,
59
+ "outputSize": 16
60
+ },
61
+ {
62
+ "kind": "function",
63
+ "name": "GetActiveAssetReleasePollIds",
64
+ "inputType": 7,
65
+ "inputTypeName": "GetActiveAssetReleasePollIds_input",
66
+ "outputTypeName": "GetActiveAssetReleasePollIds_output",
67
+ "inputSize": 1,
68
+ "outputSize": 520
69
+ },
70
+ {
71
+ "kind": "function",
72
+ "name": "GetActiveGovPollIds",
73
+ "inputType": 8,
74
+ "inputTypeName": "GetActiveGovPollIds_input",
75
+ "outputTypeName": "GetActiveGovPollIds_output",
76
+ "inputSize": 1,
77
+ "outputSize": 520
78
+ },
79
+ {
80
+ "kind": "function",
81
+ "name": "GetGeneralAssetBalance",
82
+ "inputType": 9,
83
+ "inputTypeName": "GetGeneralAssetBalance_input",
84
+ "outputTypeName": "GetGeneralAssetBalance_output",
85
+ "inputSize": 40,
86
+ "outputSize": 16
87
+ },
88
+ {
89
+ "kind": "function",
90
+ "name": "GetGeneralAssets",
91
+ "inputType": 10,
92
+ "inputTypeName": "GetGeneralAssets_input",
93
+ "outputTypeName": "GetGeneralAssets_output",
94
+ "inputSize": 1,
95
+ "outputSize": 49160
96
+ },
97
+ {
98
+ "kind": "procedure",
99
+ "name": "DonateToTreasury",
100
+ "inputType": 3,
101
+ "inputTypeName": "DonateToTreasury_input",
102
+ "outputTypeName": "DonateToTreasury_output",
103
+ "inputSize": 8,
104
+ "outputSize": 8
105
+ },
106
+ {
107
+ "kind": "procedure",
108
+ "name": "VoteGovParams",
109
+ "inputType": 4,
110
+ "inputTypeName": "VoteGovParams_input",
111
+ "outputTypeName": "VoteGovParams_output",
112
+ "inputSize": 184,
113
+ "outputSize": 8
114
+ },
115
+ {
116
+ "kind": "procedure",
117
+ "name": "CreateAssetReleasePoll",
118
+ "inputType": 5,
119
+ "inputTypeName": "CreateAssetReleasePoll_input",
120
+ "outputTypeName": "CreateAssetReleasePoll_output",
121
+ "inputSize": 112,
122
+ "outputSize": 16
123
+ },
124
+ {
125
+ "kind": "procedure",
126
+ "name": "VoteAssetRelease",
127
+ "inputType": 6,
128
+ "inputTypeName": "VoteAssetRelease_input",
129
+ "outputTypeName": "VoteAssetRelease_output",
130
+ "inputSize": 16,
131
+ "outputSize": 8
132
+ },
133
+ {
134
+ "kind": "procedure",
135
+ "name": "DepositGeneralAsset",
136
+ "inputType": 7,
137
+ "inputTypeName": "DepositGeneralAsset_input",
138
+ "outputTypeName": "DepositGeneralAsset_output",
139
+ "inputSize": 48,
140
+ "outputSize": 8
141
+ },
142
+ {
143
+ "kind": "procedure",
144
+ "name": "RevokeAssetManagementRights",
145
+ "inputType": 8,
146
+ "inputTypeName": "RevokeAssetManagementRights_input",
147
+ "outputTypeName": "RevokeAssetManagementRights_output",
148
+ "inputSize": 48,
149
+ "outputSize": 16
150
+ }
151
+ ],
152
+ "ioTypes": [
153
+ {
154
+ "kind": "struct",
155
+ "name": "Asset",
156
+ "fields": [
157
+ {
158
+ "name": "issuer",
159
+ "type": "id",
160
+ "byteOffset": 0
161
+ },
162
+ {
163
+ "name": "assetName",
164
+ "type": "uint64",
165
+ "byteOffset": 32
166
+ }
167
+ ],
168
+ "byteSize": 40,
169
+ "byteAlign": 8
170
+ },
171
+ {
172
+ "kind": "struct",
173
+ "name": "AssetReleaseProposal",
174
+ "fields": [
175
+ {
176
+ "name": "proposalId",
177
+ "type": "uint64",
178
+ "byteOffset": 0
179
+ },
180
+ {
181
+ "name": "proposalName",
182
+ "type": "id",
183
+ "byteOffset": 8
184
+ },
185
+ {
186
+ "name": "asset",
187
+ "type": "Asset",
188
+ "byteOffset": 40
189
+ },
190
+ {
191
+ "name": "amount",
192
+ "type": "uint64",
193
+ "byteOffset": 80
194
+ },
195
+ {
196
+ "name": "destination",
197
+ "type": "id",
198
+ "byteOffset": 88
199
+ },
200
+ {
201
+ "name": "status",
202
+ "type": "uint64",
203
+ "byteOffset": 120
204
+ },
205
+ {
206
+ "name": "votesYes",
207
+ "type": "uint64",
208
+ "byteOffset": 128
209
+ },
210
+ {
211
+ "name": "votesNo",
212
+ "type": "uint64",
213
+ "byteOffset": 136
214
+ }
215
+ ],
216
+ "byteSize": 144,
217
+ "byteAlign": 8
218
+ },
219
+ {
220
+ "kind": "struct",
221
+ "name": "CreateAssetReleasePoll_input",
222
+ "fields": [
223
+ {
224
+ "name": "proposalName",
225
+ "type": "id",
226
+ "byteOffset": 0
227
+ },
228
+ {
229
+ "name": "asset",
230
+ "type": "Asset",
231
+ "byteOffset": 32
232
+ },
233
+ {
234
+ "name": "amount",
235
+ "type": "uint64",
236
+ "byteOffset": 72
237
+ },
238
+ {
239
+ "name": "destination",
240
+ "type": "id",
241
+ "byteOffset": 80
242
+ }
243
+ ],
244
+ "byteSize": 112,
245
+ "byteAlign": 8
246
+ },
247
+ {
248
+ "kind": "struct",
249
+ "name": "CreateAssetReleasePoll_output",
250
+ "fields": [
251
+ {
252
+ "name": "status",
253
+ "type": "uint64",
254
+ "byteOffset": 0
255
+ },
256
+ {
257
+ "name": "proposalId",
258
+ "type": "uint64",
259
+ "byteOffset": 8
260
+ }
261
+ ],
262
+ "byteSize": 16,
263
+ "byteAlign": 8
264
+ },
265
+ {
266
+ "kind": "struct",
267
+ "name": "DepositGeneralAsset_input",
268
+ "fields": [
269
+ {
270
+ "name": "asset",
271
+ "type": "Asset",
272
+ "byteOffset": 0
273
+ },
274
+ {
275
+ "name": "amount",
276
+ "type": "uint64",
277
+ "byteOffset": 40
278
+ }
279
+ ],
280
+ "byteSize": 48,
281
+ "byteAlign": 8
282
+ },
283
+ {
284
+ "kind": "struct",
285
+ "name": "DepositGeneralAsset_output",
286
+ "fields": [
287
+ {
288
+ "name": "status",
289
+ "type": "uint64",
290
+ "byteOffset": 0
291
+ }
292
+ ],
293
+ "byteSize": 8,
294
+ "byteAlign": 8
295
+ },
296
+ {
297
+ "kind": "struct",
298
+ "name": "DonateToTreasury_input",
299
+ "fields": [
300
+ {
301
+ "name": "amount",
302
+ "type": "uint64",
303
+ "byteOffset": 0
304
+ }
305
+ ],
306
+ "byteSize": 8,
307
+ "byteAlign": 8
308
+ },
309
+ {
310
+ "kind": "struct",
311
+ "name": "DonateToTreasury_output",
312
+ "fields": [
313
+ {
314
+ "name": "status",
315
+ "type": "uint64",
316
+ "byteOffset": 0
317
+ }
318
+ ],
319
+ "byteSize": 8,
320
+ "byteAlign": 8
321
+ },
322
+ {
323
+ "kind": "struct",
324
+ "name": "GetActiveAssetReleasePollIds_input",
325
+ "fields": [],
326
+ "byteSize": 1,
327
+ "byteAlign": 1
328
+ },
329
+ {
330
+ "kind": "struct",
331
+ "name": "GetActiveAssetReleasePollIds_output",
332
+ "fields": [
333
+ {
334
+ "name": "count",
335
+ "type": "uint64",
336
+ "byteOffset": 0
337
+ },
338
+ {
339
+ "name": "ids",
340
+ "type": "Array<uint64, 64>",
341
+ "byteOffset": 8
342
+ }
343
+ ],
344
+ "byteSize": 520,
345
+ "byteAlign": 8
346
+ },
347
+ {
348
+ "kind": "struct",
349
+ "name": "GetActiveGovPollIds_input",
350
+ "fields": [],
351
+ "byteSize": 1,
352
+ "byteAlign": 1
353
+ },
354
+ {
355
+ "kind": "struct",
356
+ "name": "GetActiveGovPollIds_output",
357
+ "fields": [
358
+ {
359
+ "name": "count",
360
+ "type": "uint64",
361
+ "byteOffset": 0
362
+ },
363
+ {
364
+ "name": "ids",
365
+ "type": "Array<uint64, 64>",
366
+ "byteOffset": 8
367
+ }
368
+ ],
369
+ "byteSize": 520,
370
+ "byteAlign": 8
371
+ },
372
+ {
373
+ "kind": "struct",
374
+ "name": "GetAssetReleasePoll_input",
375
+ "fields": [
376
+ {
377
+ "name": "proposalId",
378
+ "type": "uint64",
379
+ "byteOffset": 0
380
+ }
381
+ ],
382
+ "byteSize": 8,
383
+ "byteAlign": 8
384
+ },
385
+ {
386
+ "kind": "struct",
387
+ "name": "GetAssetReleasePoll_output",
388
+ "fields": [
389
+ {
390
+ "name": "proposal",
391
+ "type": "AssetReleaseProposal",
392
+ "byteOffset": 0
393
+ },
394
+ {
395
+ "name": "status",
396
+ "type": "uint64",
397
+ "byteOffset": 144
398
+ }
399
+ ],
400
+ "byteSize": 152,
401
+ "byteAlign": 8
402
+ },
403
+ {
404
+ "kind": "struct",
405
+ "name": "GetDividendBalances_input",
406
+ "fields": [],
407
+ "byteSize": 1,
408
+ "byteAlign": 1
409
+ },
410
+ {
411
+ "kind": "struct",
412
+ "name": "GetDividendBalances_output",
413
+ "fields": [
414
+ {
415
+ "name": "revenuePoolA",
416
+ "type": "uint64",
417
+ "byteOffset": 0
418
+ },
419
+ {
420
+ "name": "revenuePoolB",
421
+ "type": "uint64",
422
+ "byteOffset": 8
423
+ },
424
+ {
425
+ "name": "qmineDividendPool",
426
+ "type": "uint64",
427
+ "byteOffset": 16
428
+ },
429
+ {
430
+ "name": "qrwaDividendPool",
431
+ "type": "uint64",
432
+ "byteOffset": 24
433
+ }
434
+ ],
435
+ "byteSize": 32,
436
+ "byteAlign": 8
437
+ },
438
+ {
439
+ "kind": "struct",
440
+ "name": "GetGeneralAssetBalance_input",
441
+ "fields": [
442
+ {
443
+ "name": "asset",
444
+ "type": "Asset",
445
+ "byteOffset": 0
446
+ }
447
+ ],
448
+ "byteSize": 40,
449
+ "byteAlign": 8
450
+ },
451
+ {
452
+ "kind": "struct",
453
+ "name": "GetGeneralAssetBalance_output",
454
+ "fields": [
455
+ {
456
+ "name": "balance",
457
+ "type": "uint64",
458
+ "byteOffset": 0
459
+ },
460
+ {
461
+ "name": "status",
462
+ "type": "uint64",
463
+ "byteOffset": 8
464
+ }
465
+ ],
466
+ "byteSize": 16,
467
+ "byteAlign": 8
468
+ },
469
+ {
470
+ "kind": "struct",
471
+ "name": "GetGeneralAssets_input",
472
+ "fields": [],
473
+ "byteSize": 1,
474
+ "byteAlign": 1
475
+ },
476
+ {
477
+ "kind": "struct",
478
+ "name": "GetGeneralAssets_output",
479
+ "fields": [
480
+ {
481
+ "name": "count",
482
+ "type": "uint64",
483
+ "byteOffset": 0
484
+ },
485
+ {
486
+ "name": "assets",
487
+ "type": "Array<Asset, 1024>",
488
+ "byteOffset": 8
489
+ },
490
+ {
491
+ "name": "balances",
492
+ "type": "Array<uint64, 1024>",
493
+ "byteOffset": 40968
494
+ }
495
+ ],
496
+ "byteSize": 49160,
497
+ "byteAlign": 8
498
+ },
499
+ {
500
+ "kind": "struct",
501
+ "name": "GetGovParams_input",
502
+ "fields": [],
503
+ "byteSize": 1,
504
+ "byteAlign": 1
505
+ },
506
+ {
507
+ "kind": "struct",
508
+ "name": "GetGovParams_output",
509
+ "fields": [
510
+ {
511
+ "name": "params",
512
+ "type": "QRWAGovParams",
513
+ "byteOffset": 0
514
+ }
515
+ ],
516
+ "byteSize": 184,
517
+ "byteAlign": 8
518
+ },
519
+ {
520
+ "kind": "struct",
521
+ "name": "GetGovPoll_input",
522
+ "fields": [
523
+ {
524
+ "name": "proposalId",
525
+ "type": "uint64",
526
+ "byteOffset": 0
527
+ }
528
+ ],
529
+ "byteSize": 8,
530
+ "byteAlign": 8
531
+ },
532
+ {
533
+ "kind": "struct",
534
+ "name": "GetGovPoll_output",
535
+ "fields": [
536
+ {
537
+ "name": "proposal",
538
+ "type": "QRWAGovProposal",
539
+ "byteOffset": 0
540
+ },
541
+ {
542
+ "name": "status",
543
+ "type": "uint64",
544
+ "byteOffset": 208
545
+ }
546
+ ],
547
+ "byteSize": 216,
548
+ "byteAlign": 8
549
+ },
550
+ {
551
+ "kind": "struct",
552
+ "name": "GetTotalDistributed_input",
553
+ "fields": [],
554
+ "byteSize": 1,
555
+ "byteAlign": 1
556
+ },
557
+ {
558
+ "kind": "struct",
559
+ "name": "GetTotalDistributed_output",
560
+ "fields": [
561
+ {
562
+ "name": "totalQmineDistributed",
563
+ "type": "uint64",
564
+ "byteOffset": 0
565
+ },
566
+ {
567
+ "name": "totalQRWADistributed",
568
+ "type": "uint64",
569
+ "byteOffset": 8
570
+ }
571
+ ],
572
+ "byteSize": 16,
573
+ "byteAlign": 8
574
+ },
575
+ {
576
+ "kind": "struct",
577
+ "name": "GetTreasuryBalance_input",
578
+ "fields": [],
579
+ "byteSize": 1,
580
+ "byteAlign": 1
581
+ },
582
+ {
583
+ "kind": "struct",
584
+ "name": "GetTreasuryBalance_output",
585
+ "fields": [
586
+ {
587
+ "name": "balance",
588
+ "type": "uint64",
589
+ "byteOffset": 0
590
+ }
591
+ ],
592
+ "byteSize": 8,
593
+ "byteAlign": 8
594
+ },
595
+ {
596
+ "kind": "struct",
597
+ "name": "QRWAGovParams",
598
+ "fields": [
599
+ {
600
+ "name": "mAdminAddress",
601
+ "type": "id",
602
+ "byteOffset": 0
603
+ },
604
+ {
605
+ "name": "electricityAddress",
606
+ "type": "id",
607
+ "byteOffset": 32
608
+ },
609
+ {
610
+ "name": "maintenanceAddress",
611
+ "type": "id",
612
+ "byteOffset": 64
613
+ },
614
+ {
615
+ "name": "reinvestmentAddress",
616
+ "type": "id",
617
+ "byteOffset": 96
618
+ },
619
+ {
620
+ "name": "qmineDevAddress",
621
+ "type": "id",
622
+ "byteOffset": 128
623
+ },
624
+ {
625
+ "name": "electricityPercent",
626
+ "type": "uint64",
627
+ "byteOffset": 160
628
+ },
629
+ {
630
+ "name": "maintenancePercent",
631
+ "type": "uint64",
632
+ "byteOffset": 168
633
+ },
634
+ {
635
+ "name": "reinvestmentPercent",
636
+ "type": "uint64",
637
+ "byteOffset": 176
638
+ }
639
+ ],
640
+ "byteSize": 184,
641
+ "byteAlign": 8
642
+ },
643
+ {
644
+ "kind": "struct",
645
+ "name": "QRWAGovProposal",
646
+ "fields": [
647
+ {
648
+ "name": "proposalId",
649
+ "type": "uint64",
650
+ "byteOffset": 0
651
+ },
652
+ {
653
+ "name": "status",
654
+ "type": "uint64",
655
+ "byteOffset": 8
656
+ },
657
+ {
658
+ "name": "score",
659
+ "type": "uint64",
660
+ "byteOffset": 16
661
+ },
662
+ {
663
+ "name": "params",
664
+ "type": "QRWAGovParams",
665
+ "byteOffset": 24
666
+ }
667
+ ],
668
+ "byteSize": 208,
669
+ "byteAlign": 8
670
+ },
671
+ {
672
+ "kind": "struct",
673
+ "name": "RevokeAssetManagementRights_input",
674
+ "fields": [
675
+ {
676
+ "name": "asset",
677
+ "type": "Asset",
678
+ "byteOffset": 0
679
+ },
680
+ {
681
+ "name": "numberOfShares",
682
+ "type": "sint64",
683
+ "byteOffset": 40
684
+ }
685
+ ],
686
+ "byteSize": 48,
687
+ "byteAlign": 8
688
+ },
689
+ {
690
+ "kind": "struct",
691
+ "name": "RevokeAssetManagementRights_output",
692
+ "fields": [
693
+ {
694
+ "name": "transferredNumberOfShares",
695
+ "type": "sint64",
696
+ "byteOffset": 0
697
+ },
698
+ {
699
+ "name": "status",
700
+ "type": "uint64",
701
+ "byteOffset": 8
702
+ }
703
+ ],
704
+ "byteSize": 16,
705
+ "byteAlign": 8
706
+ },
707
+ {
708
+ "kind": "struct",
709
+ "name": "VoteAssetRelease_input",
710
+ "fields": [
711
+ {
712
+ "name": "proposalId",
713
+ "type": "uint64",
714
+ "byteOffset": 0
715
+ },
716
+ {
717
+ "name": "option",
718
+ "type": "uint64",
719
+ "byteOffset": 8
720
+ }
721
+ ],
722
+ "byteSize": 16,
723
+ "byteAlign": 8
724
+ },
725
+ {
726
+ "kind": "struct",
727
+ "name": "VoteAssetRelease_output",
728
+ "fields": [
729
+ {
730
+ "name": "status",
731
+ "type": "uint64",
732
+ "byteOffset": 0
733
+ }
734
+ ],
735
+ "byteSize": 8,
736
+ "byteAlign": 8
737
+ },
738
+ {
739
+ "kind": "struct",
740
+ "name": "VoteGovParams_input",
741
+ "fields": [
742
+ {
743
+ "name": "proposal",
744
+ "type": "QRWAGovParams",
745
+ "byteOffset": 0
746
+ }
747
+ ],
748
+ "byteSize": 184,
749
+ "byteAlign": 8
750
+ },
751
+ {
752
+ "kind": "struct",
753
+ "name": "VoteGovParams_output",
754
+ "fields": [
755
+ {
756
+ "name": "status",
757
+ "type": "uint64",
758
+ "byteOffset": 0
759
+ }
760
+ ],
761
+ "byteSize": 8,
762
+ "byteAlign": 8
763
+ }
764
+ ]
765
+ }