13 uint64 vm_version = 1;
17 // This message type duplicates Hash, above. One alternative is to
18 // embed a Hash inside an AssetID. But it's useful for AssetID to be
19 // plain old data (without pointers). Another alternative is use Hash
20 // in any protobuf types where an AssetID is called for, but it's
21 // preferable to have type safety.
34 message AssetDefinition {
35 Hash initial_block_id = 1;
36 Program issuance_program = 2;
42 AssetAmount value = 2;
46 message ValueDestination {
48 AssetAmount value = 2;
54 uint64 serialized_size = 2;
56 Hash previous_block_id = 4;
57 uint64 timestamp_ms = 5;
58 Hash transactions_root = 6;
66 uint64 serialized_size = 2;
67 repeated Hash result_ids = 3;
69 uint64 min_time_ms. = 5;
70 uint64 max_time_ms. = 6;
75 repeated ValueSource sources = 1; // issuances, spends, and muxes
78 repeated ValueDestination witness_destinations = 4; // outputs, retirements, and muxes
79 repeated bytes witness_arguments = 5;
85 repeated bytes witness_arguments = 3;
86 Hash witness_anchored_id = 4;
90 ValueDestination witness_destination = 1;
94 ValueSource source = 1;
95 Program control_program = 2;
102 ValueSource source = 1;
110 AssetAmount value = 2;
113 ValueDestination witness_destination = 5;
114 AssetDefinition witness_asset_definition = 6;
115 repeated bytes witness_arguments = 7;
116 Hash witness_anchored_id = 8;
121 Hash spent_output_id = 1;
124 ValueDestination witness_destination = 4;
125 repeated bytes witness_arguments = 5;
126 Hash witness_anchored_id = 6;