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 Program issuance_program = 1;
41 AssetAmount value = 2;
45 message ValueDestination {
47 AssetAmount value = 2;
54 Hash previous_block_id = 3;
56 Hash transactions_root = 5;
57 Hash transaction_status_hash = 6;
60 TransactionStatus transaction_status = 9;
65 uint64 serialized_size = 2;
66 uint64 time_range = 3;
67 repeated Hash result_ids = 4;
70 message TxVerifyResult {
74 message TransactionStatus {
76 repeated TxVerifyResult verify_status = 2;
80 repeated ValueSource sources = 1; // issuances, spends, and muxes
82 repeated ValueDestination witness_destinations = 3; // outputs, retirements, and muxes
83 repeated bytes witness_arguments = 4;
87 ValueDestination witness_destination = 1;
92 ValueSource source = 1;
93 Program control_program = 2;
98 ValueSource source = 1;
104 AssetAmount value = 2;
105 ValueDestination witness_destination = 3;
106 AssetDefinition witness_asset_definition = 4;
107 repeated bytes witness_arguments = 5;
112 Hash spent_output_id = 1;
113 ValueDestination witness_destination = 2;
114 repeated bytes witness_arguments = 3;