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;
55 Hash previous_block_id = 3;
56 uint64 timestamp_ms = 4;
57 Hash transactions_root = 5;
59 bytes next_consensus_program = 7;
62 repeated bytes witness_arguments = 9;
67 repeated Hash result_ids = 2;
69 uint64 min_time_ms = 4;
70 uint64 max_time_ms = 5;
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;
84 Hash time_range_id = 2;
86 repeated bytes witness_arguments = 4;
87 Hash witness_anchored_id = 5;
91 ValueSource source = 1;
92 Program control_program = 2;
99 ValueSource source = 1;
106 uint64 min_time_ms = 1;
107 uint64 max_time_ms = 2;
113 AssetAmount value = 2;
116 ValueDestination witness_destination = 5;
117 AssetDefinition witness_asset_definition = 6;
118 repeated bytes witness_arguments = 7;
119 Hash witness_anchored_id = 8;
124 Hash spent_output_id = 1;
127 ValueDestination witness_destination = 4;
128 repeated bytes witness_arguments = 5;
129 Hash witness_anchored_id = 6;