catalyst_protocol_sdk_rust/
Transaction.rs

1// This file is generated by rust-protobuf 2.10.0. Do not edit
2// @generated
3
4// https://github.com/Manishearth/rust-clippy/issues/702
5#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![cfg_attr(rustfmt, rustfmt_skip)]
9
10#![allow(box_pointers)]
11#![allow(dead_code)]
12#![allow(missing_docs)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(non_upper_case_globals)]
16#![allow(trivial_casts)]
17#![allow(unsafe_code)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20//! Generated file from `Transaction.proto`
21
22use protobuf::Message as Message_imported_for_functions;
23use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
24
25/// Generated files are compatible only with the same version
26/// of protobuf runtime.
27const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_10_0;
28
29#[derive(PartialEq,Clone,Default)]
30pub struct PublicEntry {
31    // message fields
32    pub receiver_address: ::std::vec::Vec<u8>,
33    pub sender_address: ::std::vec::Vec<u8>,
34    pub amount: ::std::vec::Vec<u8>,
35    pub data: ::std::vec::Vec<u8>,
36    pub timestamp: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
37    pub gas_price: ::std::vec::Vec<u8>,
38    pub gas_limit: u64,
39    pub transaction_fees: ::std::vec::Vec<u8>,
40    pub nonce: u64,
41    pub signature: ::protobuf::SingularPtrField<super::Cryptography::Signature>,
42    // special fields
43    pub unknown_fields: ::protobuf::UnknownFields,
44    pub cached_size: ::protobuf::CachedSize,
45}
46
47impl<'a> ::std::default::Default for &'a PublicEntry {
48    fn default() -> &'a PublicEntry {
49        <PublicEntry as ::protobuf::Message>::default_instance()
50    }
51}
52
53impl PublicEntry {
54    pub fn new() -> PublicEntry {
55        ::std::default::Default::default()
56    }
57
58    // bytes receiver_address = 1;
59
60
61    pub fn get_receiver_address(&self) -> &[u8] {
62        &self.receiver_address
63    }
64    pub fn clear_receiver_address(&mut self) {
65        self.receiver_address.clear();
66    }
67
68    // Param is passed by value, moved
69    pub fn set_receiver_address(&mut self, v: ::std::vec::Vec<u8>) {
70        self.receiver_address = v;
71    }
72
73    // Mutable pointer to the field.
74    // If field is not initialized, it is initialized with default value first.
75    pub fn mut_receiver_address(&mut self) -> &mut ::std::vec::Vec<u8> {
76        &mut self.receiver_address
77    }
78
79    // Take field
80    pub fn take_receiver_address(&mut self) -> ::std::vec::Vec<u8> {
81        ::std::mem::replace(&mut self.receiver_address, ::std::vec::Vec::new())
82    }
83
84    // bytes sender_address = 2;
85
86
87    pub fn get_sender_address(&self) -> &[u8] {
88        &self.sender_address
89    }
90    pub fn clear_sender_address(&mut self) {
91        self.sender_address.clear();
92    }
93
94    // Param is passed by value, moved
95    pub fn set_sender_address(&mut self, v: ::std::vec::Vec<u8>) {
96        self.sender_address = v;
97    }
98
99    // Mutable pointer to the field.
100    // If field is not initialized, it is initialized with default value first.
101    pub fn mut_sender_address(&mut self) -> &mut ::std::vec::Vec<u8> {
102        &mut self.sender_address
103    }
104
105    // Take field
106    pub fn take_sender_address(&mut self) -> ::std::vec::Vec<u8> {
107        ::std::mem::replace(&mut self.sender_address, ::std::vec::Vec::new())
108    }
109
110    // bytes amount = 3;
111
112
113    pub fn get_amount(&self) -> &[u8] {
114        &self.amount
115    }
116    pub fn clear_amount(&mut self) {
117        self.amount.clear();
118    }
119
120    // Param is passed by value, moved
121    pub fn set_amount(&mut self, v: ::std::vec::Vec<u8>) {
122        self.amount = v;
123    }
124
125    // Mutable pointer to the field.
126    // If field is not initialized, it is initialized with default value first.
127    pub fn mut_amount(&mut self) -> &mut ::std::vec::Vec<u8> {
128        &mut self.amount
129    }
130
131    // Take field
132    pub fn take_amount(&mut self) -> ::std::vec::Vec<u8> {
133        ::std::mem::replace(&mut self.amount, ::std::vec::Vec::new())
134    }
135
136    // bytes data = 4;
137
138
139    pub fn get_data(&self) -> &[u8] {
140        &self.data
141    }
142    pub fn clear_data(&mut self) {
143        self.data.clear();
144    }
145
146    // Param is passed by value, moved
147    pub fn set_data(&mut self, v: ::std::vec::Vec<u8>) {
148        self.data = v;
149    }
150
151    // Mutable pointer to the field.
152    // If field is not initialized, it is initialized with default value first.
153    pub fn mut_data(&mut self) -> &mut ::std::vec::Vec<u8> {
154        &mut self.data
155    }
156
157    // Take field
158    pub fn take_data(&mut self) -> ::std::vec::Vec<u8> {
159        ::std::mem::replace(&mut self.data, ::std::vec::Vec::new())
160    }
161
162    // .google.protobuf.Timestamp timestamp = 5;
163
164
165    pub fn get_timestamp(&self) -> &::protobuf::well_known_types::Timestamp {
166        self.timestamp.as_ref().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::default_instance())
167    }
168    pub fn clear_timestamp(&mut self) {
169        self.timestamp.clear();
170    }
171
172    pub fn has_timestamp(&self) -> bool {
173        self.timestamp.is_some()
174    }
175
176    // Param is passed by value, moved
177    pub fn set_timestamp(&mut self, v: ::protobuf::well_known_types::Timestamp) {
178        self.timestamp = ::protobuf::SingularPtrField::some(v);
179    }
180
181    // Mutable pointer to the field.
182    // If field is not initialized, it is initialized with default value first.
183    pub fn mut_timestamp(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
184        if self.timestamp.is_none() {
185            self.timestamp.set_default();
186        }
187        self.timestamp.as_mut().unwrap()
188    }
189
190    // Take field
191    pub fn take_timestamp(&mut self) -> ::protobuf::well_known_types::Timestamp {
192        self.timestamp.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
193    }
194
195    // bytes gas_price = 6;
196
197
198    pub fn get_gas_price(&self) -> &[u8] {
199        &self.gas_price
200    }
201    pub fn clear_gas_price(&mut self) {
202        self.gas_price.clear();
203    }
204
205    // Param is passed by value, moved
206    pub fn set_gas_price(&mut self, v: ::std::vec::Vec<u8>) {
207        self.gas_price = v;
208    }
209
210    // Mutable pointer to the field.
211    // If field is not initialized, it is initialized with default value first.
212    pub fn mut_gas_price(&mut self) -> &mut ::std::vec::Vec<u8> {
213        &mut self.gas_price
214    }
215
216    // Take field
217    pub fn take_gas_price(&mut self) -> ::std::vec::Vec<u8> {
218        ::std::mem::replace(&mut self.gas_price, ::std::vec::Vec::new())
219    }
220
221    // uint64 gas_limit = 7;
222
223
224    pub fn get_gas_limit(&self) -> u64 {
225        self.gas_limit
226    }
227    pub fn clear_gas_limit(&mut self) {
228        self.gas_limit = 0;
229    }
230
231    // Param is passed by value, moved
232    pub fn set_gas_limit(&mut self, v: u64) {
233        self.gas_limit = v;
234    }
235
236    // bytes transaction_fees = 8;
237
238
239    pub fn get_transaction_fees(&self) -> &[u8] {
240        &self.transaction_fees
241    }
242    pub fn clear_transaction_fees(&mut self) {
243        self.transaction_fees.clear();
244    }
245
246    // Param is passed by value, moved
247    pub fn set_transaction_fees(&mut self, v: ::std::vec::Vec<u8>) {
248        self.transaction_fees = v;
249    }
250
251    // Mutable pointer to the field.
252    // If field is not initialized, it is initialized with default value first.
253    pub fn mut_transaction_fees(&mut self) -> &mut ::std::vec::Vec<u8> {
254        &mut self.transaction_fees
255    }
256
257    // Take field
258    pub fn take_transaction_fees(&mut self) -> ::std::vec::Vec<u8> {
259        ::std::mem::replace(&mut self.transaction_fees, ::std::vec::Vec::new())
260    }
261
262    // uint64 nonce = 9;
263
264
265    pub fn get_nonce(&self) -> u64 {
266        self.nonce
267    }
268    pub fn clear_nonce(&mut self) {
269        self.nonce = 0;
270    }
271
272    // Param is passed by value, moved
273    pub fn set_nonce(&mut self, v: u64) {
274        self.nonce = v;
275    }
276
277    // .Catalyst.Protocol.Cryptography.Signature signature = 10;
278
279
280    pub fn get_signature(&self) -> &super::Cryptography::Signature {
281        self.signature.as_ref().unwrap_or_else(|| super::Cryptography::Signature::default_instance())
282    }
283    pub fn clear_signature(&mut self) {
284        self.signature.clear();
285    }
286
287    pub fn has_signature(&self) -> bool {
288        self.signature.is_some()
289    }
290
291    // Param is passed by value, moved
292    pub fn set_signature(&mut self, v: super::Cryptography::Signature) {
293        self.signature = ::protobuf::SingularPtrField::some(v);
294    }
295
296    // Mutable pointer to the field.
297    // If field is not initialized, it is initialized with default value first.
298    pub fn mut_signature(&mut self) -> &mut super::Cryptography::Signature {
299        if self.signature.is_none() {
300            self.signature.set_default();
301        }
302        self.signature.as_mut().unwrap()
303    }
304
305    // Take field
306    pub fn take_signature(&mut self) -> super::Cryptography::Signature {
307        self.signature.take().unwrap_or_else(|| super::Cryptography::Signature::new())
308    }
309}
310
311impl ::protobuf::Message for PublicEntry {
312    fn is_initialized(&self) -> bool {
313        for v in &self.timestamp {
314            if !v.is_initialized() {
315                return false;
316            }
317        };
318        for v in &self.signature {
319            if !v.is_initialized() {
320                return false;
321            }
322        };
323        true
324    }
325
326    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
327        while !is.eof()? {
328            let (field_number, wire_type) = is.read_tag_unpack()?;
329            match field_number {
330                1 => {
331                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.receiver_address)?;
332                },
333                2 => {
334                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.sender_address)?;
335                },
336                3 => {
337                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.amount)?;
338                },
339                4 => {
340                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.data)?;
341                },
342                5 => {
343                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.timestamp)?;
344                },
345                6 => {
346                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.gas_price)?;
347                },
348                7 => {
349                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
350                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
351                    }
352                    let tmp = is.read_uint64()?;
353                    self.gas_limit = tmp;
354                },
355                8 => {
356                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.transaction_fees)?;
357                },
358                9 => {
359                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
360                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
361                    }
362                    let tmp = is.read_uint64()?;
363                    self.nonce = tmp;
364                },
365                10 => {
366                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.signature)?;
367                },
368                _ => {
369                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
370                },
371            };
372        }
373        ::std::result::Result::Ok(())
374    }
375
376    // Compute sizes of nested messages
377    #[allow(unused_variables)]
378    fn compute_size(&self) -> u32 {
379        let mut my_size = 0;
380        if !self.receiver_address.is_empty() {
381            my_size += ::protobuf::rt::bytes_size(1, &self.receiver_address);
382        }
383        if !self.sender_address.is_empty() {
384            my_size += ::protobuf::rt::bytes_size(2, &self.sender_address);
385        }
386        if !self.amount.is_empty() {
387            my_size += ::protobuf::rt::bytes_size(3, &self.amount);
388        }
389        if !self.data.is_empty() {
390            my_size += ::protobuf::rt::bytes_size(4, &self.data);
391        }
392        if let Some(ref v) = self.timestamp.as_ref() {
393            let len = v.compute_size();
394            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
395        }
396        if !self.gas_price.is_empty() {
397            my_size += ::protobuf::rt::bytes_size(6, &self.gas_price);
398        }
399        if self.gas_limit != 0 {
400            my_size += ::protobuf::rt::value_size(7, self.gas_limit, ::protobuf::wire_format::WireTypeVarint);
401        }
402        if !self.transaction_fees.is_empty() {
403            my_size += ::protobuf::rt::bytes_size(8, &self.transaction_fees);
404        }
405        if self.nonce != 0 {
406            my_size += ::protobuf::rt::value_size(9, self.nonce, ::protobuf::wire_format::WireTypeVarint);
407        }
408        if let Some(ref v) = self.signature.as_ref() {
409            let len = v.compute_size();
410            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
411        }
412        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
413        self.cached_size.set(my_size);
414        my_size
415    }
416
417    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
418        if !self.receiver_address.is_empty() {
419            os.write_bytes(1, &self.receiver_address)?;
420        }
421        if !self.sender_address.is_empty() {
422            os.write_bytes(2, &self.sender_address)?;
423        }
424        if !self.amount.is_empty() {
425            os.write_bytes(3, &self.amount)?;
426        }
427        if !self.data.is_empty() {
428            os.write_bytes(4, &self.data)?;
429        }
430        if let Some(ref v) = self.timestamp.as_ref() {
431            os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
432            os.write_raw_varint32(v.get_cached_size())?;
433            v.write_to_with_cached_sizes(os)?;
434        }
435        if !self.gas_price.is_empty() {
436            os.write_bytes(6, &self.gas_price)?;
437        }
438        if self.gas_limit != 0 {
439            os.write_uint64(7, self.gas_limit)?;
440        }
441        if !self.transaction_fees.is_empty() {
442            os.write_bytes(8, &self.transaction_fees)?;
443        }
444        if self.nonce != 0 {
445            os.write_uint64(9, self.nonce)?;
446        }
447        if let Some(ref v) = self.signature.as_ref() {
448            os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited)?;
449            os.write_raw_varint32(v.get_cached_size())?;
450            v.write_to_with_cached_sizes(os)?;
451        }
452        os.write_unknown_fields(self.get_unknown_fields())?;
453        ::std::result::Result::Ok(())
454    }
455
456    fn get_cached_size(&self) -> u32 {
457        self.cached_size.get()
458    }
459
460    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
461        &self.unknown_fields
462    }
463
464    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
465        &mut self.unknown_fields
466    }
467
468    fn as_any(&self) -> &dyn (::std::any::Any) {
469        self as &dyn (::std::any::Any)
470    }
471    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
472        self as &mut dyn (::std::any::Any)
473    }
474    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
475        self
476    }
477
478    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
479        Self::descriptor_static()
480    }
481
482    fn new() -> PublicEntry {
483        PublicEntry::new()
484    }
485
486    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
487        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
488            lock: ::protobuf::lazy::ONCE_INIT,
489            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
490        };
491        unsafe {
492            descriptor.get(|| {
493                let mut fields = ::std::vec::Vec::new();
494                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
495                    "receiver_address",
496                    |m: &PublicEntry| { &m.receiver_address },
497                    |m: &mut PublicEntry| { &mut m.receiver_address },
498                ));
499                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
500                    "sender_address",
501                    |m: &PublicEntry| { &m.sender_address },
502                    |m: &mut PublicEntry| { &mut m.sender_address },
503                ));
504                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
505                    "amount",
506                    |m: &PublicEntry| { &m.amount },
507                    |m: &mut PublicEntry| { &mut m.amount },
508                ));
509                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
510                    "data",
511                    |m: &PublicEntry| { &m.data },
512                    |m: &mut PublicEntry| { &mut m.data },
513                ));
514                fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
515                    "timestamp",
516                    |m: &PublicEntry| { &m.timestamp },
517                    |m: &mut PublicEntry| { &mut m.timestamp },
518                ));
519                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
520                    "gas_price",
521                    |m: &PublicEntry| { &m.gas_price },
522                    |m: &mut PublicEntry| { &mut m.gas_price },
523                ));
524                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeUint64>(
525                    "gas_limit",
526                    |m: &PublicEntry| { &m.gas_limit },
527                    |m: &mut PublicEntry| { &mut m.gas_limit },
528                ));
529                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
530                    "transaction_fees",
531                    |m: &PublicEntry| { &m.transaction_fees },
532                    |m: &mut PublicEntry| { &mut m.transaction_fees },
533                ));
534                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeUint64>(
535                    "nonce",
536                    |m: &PublicEntry| { &m.nonce },
537                    |m: &mut PublicEntry| { &mut m.nonce },
538                ));
539                fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::Cryptography::Signature>>(
540                    "signature",
541                    |m: &PublicEntry| { &m.signature },
542                    |m: &mut PublicEntry| { &mut m.signature },
543                ));
544                ::protobuf::reflect::MessageDescriptor::new::<PublicEntry>(
545                    "PublicEntry",
546                    fields,
547                    file_descriptor_proto()
548                )
549            })
550        }
551    }
552
553    fn default_instance() -> &'static PublicEntry {
554        static mut instance: ::protobuf::lazy::Lazy<PublicEntry> = ::protobuf::lazy::Lazy {
555            lock: ::protobuf::lazy::ONCE_INIT,
556            ptr: 0 as *const PublicEntry,
557        };
558        unsafe {
559            instance.get(PublicEntry::new)
560        }
561    }
562}
563
564impl ::protobuf::Clear for PublicEntry {
565    fn clear(&mut self) {
566        self.receiver_address.clear();
567        self.sender_address.clear();
568        self.amount.clear();
569        self.data.clear();
570        self.timestamp.clear();
571        self.gas_price.clear();
572        self.gas_limit = 0;
573        self.transaction_fees.clear();
574        self.nonce = 0;
575        self.signature.clear();
576        self.unknown_fields.clear();
577    }
578}
579
580impl ::std::fmt::Debug for PublicEntry {
581    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
582        ::protobuf::text_format::fmt(self, f)
583    }
584}
585
586impl ::protobuf::reflect::ProtobufValue for PublicEntry {
587    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
588        ::protobuf::reflect::ProtobufValueRef::Message(self)
589    }
590}
591
592#[derive(PartialEq,Clone,Default)]
593pub struct ConfidentialEntry {
594    // message fields
595    pub receiver_public_key: ::std::vec::Vec<u8>,
596    pub sender_public_key: ::std::vec::Vec<u8>,
597    pub pedersen_commitment: ::std::vec::Vec<u8>,
598    pub range_proof: ::protobuf::SingularPtrField<RangeProof>,
599    pub transaction_fees: ::std::vec::Vec<u8>,
600    pub nonce: u64,
601    // special fields
602    pub unknown_fields: ::protobuf::UnknownFields,
603    pub cached_size: ::protobuf::CachedSize,
604}
605
606impl<'a> ::std::default::Default for &'a ConfidentialEntry {
607    fn default() -> &'a ConfidentialEntry {
608        <ConfidentialEntry as ::protobuf::Message>::default_instance()
609    }
610}
611
612impl ConfidentialEntry {
613    pub fn new() -> ConfidentialEntry {
614        ::std::default::Default::default()
615    }
616
617    // bytes receiver_public_key = 1;
618
619
620    pub fn get_receiver_public_key(&self) -> &[u8] {
621        &self.receiver_public_key
622    }
623    pub fn clear_receiver_public_key(&mut self) {
624        self.receiver_public_key.clear();
625    }
626
627    // Param is passed by value, moved
628    pub fn set_receiver_public_key(&mut self, v: ::std::vec::Vec<u8>) {
629        self.receiver_public_key = v;
630    }
631
632    // Mutable pointer to the field.
633    // If field is not initialized, it is initialized with default value first.
634    pub fn mut_receiver_public_key(&mut self) -> &mut ::std::vec::Vec<u8> {
635        &mut self.receiver_public_key
636    }
637
638    // Take field
639    pub fn take_receiver_public_key(&mut self) -> ::std::vec::Vec<u8> {
640        ::std::mem::replace(&mut self.receiver_public_key, ::std::vec::Vec::new())
641    }
642
643    // bytes sender_public_key = 2;
644
645
646    pub fn get_sender_public_key(&self) -> &[u8] {
647        &self.sender_public_key
648    }
649    pub fn clear_sender_public_key(&mut self) {
650        self.sender_public_key.clear();
651    }
652
653    // Param is passed by value, moved
654    pub fn set_sender_public_key(&mut self, v: ::std::vec::Vec<u8>) {
655        self.sender_public_key = v;
656    }
657
658    // Mutable pointer to the field.
659    // If field is not initialized, it is initialized with default value first.
660    pub fn mut_sender_public_key(&mut self) -> &mut ::std::vec::Vec<u8> {
661        &mut self.sender_public_key
662    }
663
664    // Take field
665    pub fn take_sender_public_key(&mut self) -> ::std::vec::Vec<u8> {
666        ::std::mem::replace(&mut self.sender_public_key, ::std::vec::Vec::new())
667    }
668
669    // bytes pedersen_commitment = 3;
670
671
672    pub fn get_pedersen_commitment(&self) -> &[u8] {
673        &self.pedersen_commitment
674    }
675    pub fn clear_pedersen_commitment(&mut self) {
676        self.pedersen_commitment.clear();
677    }
678
679    // Param is passed by value, moved
680    pub fn set_pedersen_commitment(&mut self, v: ::std::vec::Vec<u8>) {
681        self.pedersen_commitment = v;
682    }
683
684    // Mutable pointer to the field.
685    // If field is not initialized, it is initialized with default value first.
686    pub fn mut_pedersen_commitment(&mut self) -> &mut ::std::vec::Vec<u8> {
687        &mut self.pedersen_commitment
688    }
689
690    // Take field
691    pub fn take_pedersen_commitment(&mut self) -> ::std::vec::Vec<u8> {
692        ::std::mem::replace(&mut self.pedersen_commitment, ::std::vec::Vec::new())
693    }
694
695    // .Catalyst.Protocol.Transaction.RangeProof range_proof = 4;
696
697
698    pub fn get_range_proof(&self) -> &RangeProof {
699        self.range_proof.as_ref().unwrap_or_else(|| RangeProof::default_instance())
700    }
701    pub fn clear_range_proof(&mut self) {
702        self.range_proof.clear();
703    }
704
705    pub fn has_range_proof(&self) -> bool {
706        self.range_proof.is_some()
707    }
708
709    // Param is passed by value, moved
710    pub fn set_range_proof(&mut self, v: RangeProof) {
711        self.range_proof = ::protobuf::SingularPtrField::some(v);
712    }
713
714    // Mutable pointer to the field.
715    // If field is not initialized, it is initialized with default value first.
716    pub fn mut_range_proof(&mut self) -> &mut RangeProof {
717        if self.range_proof.is_none() {
718            self.range_proof.set_default();
719        }
720        self.range_proof.as_mut().unwrap()
721    }
722
723    // Take field
724    pub fn take_range_proof(&mut self) -> RangeProof {
725        self.range_proof.take().unwrap_or_else(|| RangeProof::new())
726    }
727
728    // bytes transaction_fees = 5;
729
730
731    pub fn get_transaction_fees(&self) -> &[u8] {
732        &self.transaction_fees
733    }
734    pub fn clear_transaction_fees(&mut self) {
735        self.transaction_fees.clear();
736    }
737
738    // Param is passed by value, moved
739    pub fn set_transaction_fees(&mut self, v: ::std::vec::Vec<u8>) {
740        self.transaction_fees = v;
741    }
742
743    // Mutable pointer to the field.
744    // If field is not initialized, it is initialized with default value first.
745    pub fn mut_transaction_fees(&mut self) -> &mut ::std::vec::Vec<u8> {
746        &mut self.transaction_fees
747    }
748
749    // Take field
750    pub fn take_transaction_fees(&mut self) -> ::std::vec::Vec<u8> {
751        ::std::mem::replace(&mut self.transaction_fees, ::std::vec::Vec::new())
752    }
753
754    // uint64 nonce = 6;
755
756
757    pub fn get_nonce(&self) -> u64 {
758        self.nonce
759    }
760    pub fn clear_nonce(&mut self) {
761        self.nonce = 0;
762    }
763
764    // Param is passed by value, moved
765    pub fn set_nonce(&mut self, v: u64) {
766        self.nonce = v;
767    }
768}
769
770impl ::protobuf::Message for ConfidentialEntry {
771    fn is_initialized(&self) -> bool {
772        for v in &self.range_proof {
773            if !v.is_initialized() {
774                return false;
775            }
776        };
777        true
778    }
779
780    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
781        while !is.eof()? {
782            let (field_number, wire_type) = is.read_tag_unpack()?;
783            match field_number {
784                1 => {
785                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.receiver_public_key)?;
786                },
787                2 => {
788                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.sender_public_key)?;
789                },
790                3 => {
791                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.pedersen_commitment)?;
792                },
793                4 => {
794                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.range_proof)?;
795                },
796                5 => {
797                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.transaction_fees)?;
798                },
799                6 => {
800                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
801                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
802                    }
803                    let tmp = is.read_uint64()?;
804                    self.nonce = tmp;
805                },
806                _ => {
807                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
808                },
809            };
810        }
811        ::std::result::Result::Ok(())
812    }
813
814    // Compute sizes of nested messages
815    #[allow(unused_variables)]
816    fn compute_size(&self) -> u32 {
817        let mut my_size = 0;
818        if !self.receiver_public_key.is_empty() {
819            my_size += ::protobuf::rt::bytes_size(1, &self.receiver_public_key);
820        }
821        if !self.sender_public_key.is_empty() {
822            my_size += ::protobuf::rt::bytes_size(2, &self.sender_public_key);
823        }
824        if !self.pedersen_commitment.is_empty() {
825            my_size += ::protobuf::rt::bytes_size(3, &self.pedersen_commitment);
826        }
827        if let Some(ref v) = self.range_proof.as_ref() {
828            let len = v.compute_size();
829            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
830        }
831        if !self.transaction_fees.is_empty() {
832            my_size += ::protobuf::rt::bytes_size(5, &self.transaction_fees);
833        }
834        if self.nonce != 0 {
835            my_size += ::protobuf::rt::value_size(6, self.nonce, ::protobuf::wire_format::WireTypeVarint);
836        }
837        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
838        self.cached_size.set(my_size);
839        my_size
840    }
841
842    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
843        if !self.receiver_public_key.is_empty() {
844            os.write_bytes(1, &self.receiver_public_key)?;
845        }
846        if !self.sender_public_key.is_empty() {
847            os.write_bytes(2, &self.sender_public_key)?;
848        }
849        if !self.pedersen_commitment.is_empty() {
850            os.write_bytes(3, &self.pedersen_commitment)?;
851        }
852        if let Some(ref v) = self.range_proof.as_ref() {
853            os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
854            os.write_raw_varint32(v.get_cached_size())?;
855            v.write_to_with_cached_sizes(os)?;
856        }
857        if !self.transaction_fees.is_empty() {
858            os.write_bytes(5, &self.transaction_fees)?;
859        }
860        if self.nonce != 0 {
861            os.write_uint64(6, self.nonce)?;
862        }
863        os.write_unknown_fields(self.get_unknown_fields())?;
864        ::std::result::Result::Ok(())
865    }
866
867    fn get_cached_size(&self) -> u32 {
868        self.cached_size.get()
869    }
870
871    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
872        &self.unknown_fields
873    }
874
875    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
876        &mut self.unknown_fields
877    }
878
879    fn as_any(&self) -> &dyn (::std::any::Any) {
880        self as &dyn (::std::any::Any)
881    }
882    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
883        self as &mut dyn (::std::any::Any)
884    }
885    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
886        self
887    }
888
889    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
890        Self::descriptor_static()
891    }
892
893    fn new() -> ConfidentialEntry {
894        ConfidentialEntry::new()
895    }
896
897    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
898        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
899            lock: ::protobuf::lazy::ONCE_INIT,
900            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
901        };
902        unsafe {
903            descriptor.get(|| {
904                let mut fields = ::std::vec::Vec::new();
905                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
906                    "receiver_public_key",
907                    |m: &ConfidentialEntry| { &m.receiver_public_key },
908                    |m: &mut ConfidentialEntry| { &mut m.receiver_public_key },
909                ));
910                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
911                    "sender_public_key",
912                    |m: &ConfidentialEntry| { &m.sender_public_key },
913                    |m: &mut ConfidentialEntry| { &mut m.sender_public_key },
914                ));
915                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
916                    "pedersen_commitment",
917                    |m: &ConfidentialEntry| { &m.pedersen_commitment },
918                    |m: &mut ConfidentialEntry| { &mut m.pedersen_commitment },
919                ));
920                fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<RangeProof>>(
921                    "range_proof",
922                    |m: &ConfidentialEntry| { &m.range_proof },
923                    |m: &mut ConfidentialEntry| { &mut m.range_proof },
924                ));
925                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
926                    "transaction_fees",
927                    |m: &ConfidentialEntry| { &m.transaction_fees },
928                    |m: &mut ConfidentialEntry| { &mut m.transaction_fees },
929                ));
930                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeUint64>(
931                    "nonce",
932                    |m: &ConfidentialEntry| { &m.nonce },
933                    |m: &mut ConfidentialEntry| { &mut m.nonce },
934                ));
935                ::protobuf::reflect::MessageDescriptor::new::<ConfidentialEntry>(
936                    "ConfidentialEntry",
937                    fields,
938                    file_descriptor_proto()
939                )
940            })
941        }
942    }
943
944    fn default_instance() -> &'static ConfidentialEntry {
945        static mut instance: ::protobuf::lazy::Lazy<ConfidentialEntry> = ::protobuf::lazy::Lazy {
946            lock: ::protobuf::lazy::ONCE_INIT,
947            ptr: 0 as *const ConfidentialEntry,
948        };
949        unsafe {
950            instance.get(ConfidentialEntry::new)
951        }
952    }
953}
954
955impl ::protobuf::Clear for ConfidentialEntry {
956    fn clear(&mut self) {
957        self.receiver_public_key.clear();
958        self.sender_public_key.clear();
959        self.pedersen_commitment.clear();
960        self.range_proof.clear();
961        self.transaction_fees.clear();
962        self.nonce = 0;
963        self.unknown_fields.clear();
964    }
965}
966
967impl ::std::fmt::Debug for ConfidentialEntry {
968    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
969        ::protobuf::text_format::fmt(self, f)
970    }
971}
972
973impl ::protobuf::reflect::ProtobufValue for ConfidentialEntry {
974    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
975        ::protobuf::reflect::ProtobufValueRef::Message(self)
976    }
977}
978
979#[derive(PartialEq,Clone,Default)]
980pub struct CoinbaseEntry {
981    // message fields
982    pub receiver_public_key: ::std::vec::Vec<u8>,
983    pub amount: ::std::vec::Vec<u8>,
984    // special fields
985    pub unknown_fields: ::protobuf::UnknownFields,
986    pub cached_size: ::protobuf::CachedSize,
987}
988
989impl<'a> ::std::default::Default for &'a CoinbaseEntry {
990    fn default() -> &'a CoinbaseEntry {
991        <CoinbaseEntry as ::protobuf::Message>::default_instance()
992    }
993}
994
995impl CoinbaseEntry {
996    pub fn new() -> CoinbaseEntry {
997        ::std::default::Default::default()
998    }
999
1000    // bytes receiver_public_key = 1;
1001
1002
1003    pub fn get_receiver_public_key(&self) -> &[u8] {
1004        &self.receiver_public_key
1005    }
1006    pub fn clear_receiver_public_key(&mut self) {
1007        self.receiver_public_key.clear();
1008    }
1009
1010    // Param is passed by value, moved
1011    pub fn set_receiver_public_key(&mut self, v: ::std::vec::Vec<u8>) {
1012        self.receiver_public_key = v;
1013    }
1014
1015    // Mutable pointer to the field.
1016    // If field is not initialized, it is initialized with default value first.
1017    pub fn mut_receiver_public_key(&mut self) -> &mut ::std::vec::Vec<u8> {
1018        &mut self.receiver_public_key
1019    }
1020
1021    // Take field
1022    pub fn take_receiver_public_key(&mut self) -> ::std::vec::Vec<u8> {
1023        ::std::mem::replace(&mut self.receiver_public_key, ::std::vec::Vec::new())
1024    }
1025
1026    // bytes amount = 2;
1027
1028
1029    pub fn get_amount(&self) -> &[u8] {
1030        &self.amount
1031    }
1032    pub fn clear_amount(&mut self) {
1033        self.amount.clear();
1034    }
1035
1036    // Param is passed by value, moved
1037    pub fn set_amount(&mut self, v: ::std::vec::Vec<u8>) {
1038        self.amount = v;
1039    }
1040
1041    // Mutable pointer to the field.
1042    // If field is not initialized, it is initialized with default value first.
1043    pub fn mut_amount(&mut self) -> &mut ::std::vec::Vec<u8> {
1044        &mut self.amount
1045    }
1046
1047    // Take field
1048    pub fn take_amount(&mut self) -> ::std::vec::Vec<u8> {
1049        ::std::mem::replace(&mut self.amount, ::std::vec::Vec::new())
1050    }
1051}
1052
1053impl ::protobuf::Message for CoinbaseEntry {
1054    fn is_initialized(&self) -> bool {
1055        true
1056    }
1057
1058    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1059        while !is.eof()? {
1060            let (field_number, wire_type) = is.read_tag_unpack()?;
1061            match field_number {
1062                1 => {
1063                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.receiver_public_key)?;
1064                },
1065                2 => {
1066                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.amount)?;
1067                },
1068                _ => {
1069                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1070                },
1071            };
1072        }
1073        ::std::result::Result::Ok(())
1074    }
1075
1076    // Compute sizes of nested messages
1077    #[allow(unused_variables)]
1078    fn compute_size(&self) -> u32 {
1079        let mut my_size = 0;
1080        if !self.receiver_public_key.is_empty() {
1081            my_size += ::protobuf::rt::bytes_size(1, &self.receiver_public_key);
1082        }
1083        if !self.amount.is_empty() {
1084            my_size += ::protobuf::rt::bytes_size(2, &self.amount);
1085        }
1086        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1087        self.cached_size.set(my_size);
1088        my_size
1089    }
1090
1091    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1092        if !self.receiver_public_key.is_empty() {
1093            os.write_bytes(1, &self.receiver_public_key)?;
1094        }
1095        if !self.amount.is_empty() {
1096            os.write_bytes(2, &self.amount)?;
1097        }
1098        os.write_unknown_fields(self.get_unknown_fields())?;
1099        ::std::result::Result::Ok(())
1100    }
1101
1102    fn get_cached_size(&self) -> u32 {
1103        self.cached_size.get()
1104    }
1105
1106    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1107        &self.unknown_fields
1108    }
1109
1110    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1111        &mut self.unknown_fields
1112    }
1113
1114    fn as_any(&self) -> &dyn (::std::any::Any) {
1115        self as &dyn (::std::any::Any)
1116    }
1117    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1118        self as &mut dyn (::std::any::Any)
1119    }
1120    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1121        self
1122    }
1123
1124    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1125        Self::descriptor_static()
1126    }
1127
1128    fn new() -> CoinbaseEntry {
1129        CoinbaseEntry::new()
1130    }
1131
1132    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1133        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
1134            lock: ::protobuf::lazy::ONCE_INIT,
1135            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
1136        };
1137        unsafe {
1138            descriptor.get(|| {
1139                let mut fields = ::std::vec::Vec::new();
1140                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1141                    "receiver_public_key",
1142                    |m: &CoinbaseEntry| { &m.receiver_public_key },
1143                    |m: &mut CoinbaseEntry| { &mut m.receiver_public_key },
1144                ));
1145                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1146                    "amount",
1147                    |m: &CoinbaseEntry| { &m.amount },
1148                    |m: &mut CoinbaseEntry| { &mut m.amount },
1149                ));
1150                ::protobuf::reflect::MessageDescriptor::new::<CoinbaseEntry>(
1151                    "CoinbaseEntry",
1152                    fields,
1153                    file_descriptor_proto()
1154                )
1155            })
1156        }
1157    }
1158
1159    fn default_instance() -> &'static CoinbaseEntry {
1160        static mut instance: ::protobuf::lazy::Lazy<CoinbaseEntry> = ::protobuf::lazy::Lazy {
1161            lock: ::protobuf::lazy::ONCE_INIT,
1162            ptr: 0 as *const CoinbaseEntry,
1163        };
1164        unsafe {
1165            instance.get(CoinbaseEntry::new)
1166        }
1167    }
1168}
1169
1170impl ::protobuf::Clear for CoinbaseEntry {
1171    fn clear(&mut self) {
1172        self.receiver_public_key.clear();
1173        self.amount.clear();
1174        self.unknown_fields.clear();
1175    }
1176}
1177
1178impl ::std::fmt::Debug for CoinbaseEntry {
1179    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1180        ::protobuf::text_format::fmt(self, f)
1181    }
1182}
1183
1184impl ::protobuf::reflect::ProtobufValue for CoinbaseEntry {
1185    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
1186        ::protobuf::reflect::ProtobufValueRef::Message(self)
1187    }
1188}
1189
1190#[derive(PartialEq,Clone,Default)]
1191pub struct RangeProof {
1192    // message fields
1193    pub value_commitment: ::protobuf::RepeatedField<::std::vec::Vec<u8>>,
1194    pub bit_commitment: ::std::vec::Vec<u8>,
1195    pub per_bit_blinding_factor_commitment: ::std::vec::Vec<u8>,
1196    pub poly_commitment_t1: ::std::vec::Vec<u8>,
1197    pub poly_commitment_t2: ::std::vec::Vec<u8>,
1198    pub proof_of_share_tau: ::std::vec::Vec<u8>,
1199    pub proof_of_share_mu: ::std::vec::Vec<u8>,
1200    pub aggregated_vector_polynomial_l: ::protobuf::RepeatedField<::std::vec::Vec<u8>>,
1201    pub aggregated_vector_polynomial_r: ::protobuf::RepeatedField<::std::vec::Vec<u8>>,
1202    pub a_prime_0: ::std::vec::Vec<u8>,
1203    pub b_prime_0: ::std::vec::Vec<u8>,
1204    pub t: ::std::vec::Vec<u8>,
1205    // special fields
1206    pub unknown_fields: ::protobuf::UnknownFields,
1207    pub cached_size: ::protobuf::CachedSize,
1208}
1209
1210impl<'a> ::std::default::Default for &'a RangeProof {
1211    fn default() -> &'a RangeProof {
1212        <RangeProof as ::protobuf::Message>::default_instance()
1213    }
1214}
1215
1216impl RangeProof {
1217    pub fn new() -> RangeProof {
1218        ::std::default::Default::default()
1219    }
1220
1221    // repeated bytes value_commitment = 1;
1222
1223
1224    pub fn get_value_commitment(&self) -> &[::std::vec::Vec<u8>] {
1225        &self.value_commitment
1226    }
1227    pub fn clear_value_commitment(&mut self) {
1228        self.value_commitment.clear();
1229    }
1230
1231    // Param is passed by value, moved
1232    pub fn set_value_commitment(&mut self, v: ::protobuf::RepeatedField<::std::vec::Vec<u8>>) {
1233        self.value_commitment = v;
1234    }
1235
1236    // Mutable pointer to the field.
1237    pub fn mut_value_commitment(&mut self) -> &mut ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
1238        &mut self.value_commitment
1239    }
1240
1241    // Take field
1242    pub fn take_value_commitment(&mut self) -> ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
1243        ::std::mem::replace(&mut self.value_commitment, ::protobuf::RepeatedField::new())
1244    }
1245
1246    // bytes bit_commitment = 2;
1247
1248
1249    pub fn get_bit_commitment(&self) -> &[u8] {
1250        &self.bit_commitment
1251    }
1252    pub fn clear_bit_commitment(&mut self) {
1253        self.bit_commitment.clear();
1254    }
1255
1256    // Param is passed by value, moved
1257    pub fn set_bit_commitment(&mut self, v: ::std::vec::Vec<u8>) {
1258        self.bit_commitment = v;
1259    }
1260
1261    // Mutable pointer to the field.
1262    // If field is not initialized, it is initialized with default value first.
1263    pub fn mut_bit_commitment(&mut self) -> &mut ::std::vec::Vec<u8> {
1264        &mut self.bit_commitment
1265    }
1266
1267    // Take field
1268    pub fn take_bit_commitment(&mut self) -> ::std::vec::Vec<u8> {
1269        ::std::mem::replace(&mut self.bit_commitment, ::std::vec::Vec::new())
1270    }
1271
1272    // bytes per_bit_blinding_factor_commitment = 3;
1273
1274
1275    pub fn get_per_bit_blinding_factor_commitment(&self) -> &[u8] {
1276        &self.per_bit_blinding_factor_commitment
1277    }
1278    pub fn clear_per_bit_blinding_factor_commitment(&mut self) {
1279        self.per_bit_blinding_factor_commitment.clear();
1280    }
1281
1282    // Param is passed by value, moved
1283    pub fn set_per_bit_blinding_factor_commitment(&mut self, v: ::std::vec::Vec<u8>) {
1284        self.per_bit_blinding_factor_commitment = v;
1285    }
1286
1287    // Mutable pointer to the field.
1288    // If field is not initialized, it is initialized with default value first.
1289    pub fn mut_per_bit_blinding_factor_commitment(&mut self) -> &mut ::std::vec::Vec<u8> {
1290        &mut self.per_bit_blinding_factor_commitment
1291    }
1292
1293    // Take field
1294    pub fn take_per_bit_blinding_factor_commitment(&mut self) -> ::std::vec::Vec<u8> {
1295        ::std::mem::replace(&mut self.per_bit_blinding_factor_commitment, ::std::vec::Vec::new())
1296    }
1297
1298    // bytes poly_commitment_t1 = 4;
1299
1300
1301    pub fn get_poly_commitment_t1(&self) -> &[u8] {
1302        &self.poly_commitment_t1
1303    }
1304    pub fn clear_poly_commitment_t1(&mut self) {
1305        self.poly_commitment_t1.clear();
1306    }
1307
1308    // Param is passed by value, moved
1309    pub fn set_poly_commitment_t1(&mut self, v: ::std::vec::Vec<u8>) {
1310        self.poly_commitment_t1 = v;
1311    }
1312
1313    // Mutable pointer to the field.
1314    // If field is not initialized, it is initialized with default value first.
1315    pub fn mut_poly_commitment_t1(&mut self) -> &mut ::std::vec::Vec<u8> {
1316        &mut self.poly_commitment_t1
1317    }
1318
1319    // Take field
1320    pub fn take_poly_commitment_t1(&mut self) -> ::std::vec::Vec<u8> {
1321        ::std::mem::replace(&mut self.poly_commitment_t1, ::std::vec::Vec::new())
1322    }
1323
1324    // bytes poly_commitment_t2 = 5;
1325
1326
1327    pub fn get_poly_commitment_t2(&self) -> &[u8] {
1328        &self.poly_commitment_t2
1329    }
1330    pub fn clear_poly_commitment_t2(&mut self) {
1331        self.poly_commitment_t2.clear();
1332    }
1333
1334    // Param is passed by value, moved
1335    pub fn set_poly_commitment_t2(&mut self, v: ::std::vec::Vec<u8>) {
1336        self.poly_commitment_t2 = v;
1337    }
1338
1339    // Mutable pointer to the field.
1340    // If field is not initialized, it is initialized with default value first.
1341    pub fn mut_poly_commitment_t2(&mut self) -> &mut ::std::vec::Vec<u8> {
1342        &mut self.poly_commitment_t2
1343    }
1344
1345    // Take field
1346    pub fn take_poly_commitment_t2(&mut self) -> ::std::vec::Vec<u8> {
1347        ::std::mem::replace(&mut self.poly_commitment_t2, ::std::vec::Vec::new())
1348    }
1349
1350    // bytes proof_of_share_tau = 6;
1351
1352
1353    pub fn get_proof_of_share_tau(&self) -> &[u8] {
1354        &self.proof_of_share_tau
1355    }
1356    pub fn clear_proof_of_share_tau(&mut self) {
1357        self.proof_of_share_tau.clear();
1358    }
1359
1360    // Param is passed by value, moved
1361    pub fn set_proof_of_share_tau(&mut self, v: ::std::vec::Vec<u8>) {
1362        self.proof_of_share_tau = v;
1363    }
1364
1365    // Mutable pointer to the field.
1366    // If field is not initialized, it is initialized with default value first.
1367    pub fn mut_proof_of_share_tau(&mut self) -> &mut ::std::vec::Vec<u8> {
1368        &mut self.proof_of_share_tau
1369    }
1370
1371    // Take field
1372    pub fn take_proof_of_share_tau(&mut self) -> ::std::vec::Vec<u8> {
1373        ::std::mem::replace(&mut self.proof_of_share_tau, ::std::vec::Vec::new())
1374    }
1375
1376    // bytes proof_of_share_mu = 7;
1377
1378
1379    pub fn get_proof_of_share_mu(&self) -> &[u8] {
1380        &self.proof_of_share_mu
1381    }
1382    pub fn clear_proof_of_share_mu(&mut self) {
1383        self.proof_of_share_mu.clear();
1384    }
1385
1386    // Param is passed by value, moved
1387    pub fn set_proof_of_share_mu(&mut self, v: ::std::vec::Vec<u8>) {
1388        self.proof_of_share_mu = v;
1389    }
1390
1391    // Mutable pointer to the field.
1392    // If field is not initialized, it is initialized with default value first.
1393    pub fn mut_proof_of_share_mu(&mut self) -> &mut ::std::vec::Vec<u8> {
1394        &mut self.proof_of_share_mu
1395    }
1396
1397    // Take field
1398    pub fn take_proof_of_share_mu(&mut self) -> ::std::vec::Vec<u8> {
1399        ::std::mem::replace(&mut self.proof_of_share_mu, ::std::vec::Vec::new())
1400    }
1401
1402    // repeated bytes aggregated_vector_polynomial_l = 8;
1403
1404
1405    pub fn get_aggregated_vector_polynomial_l(&self) -> &[::std::vec::Vec<u8>] {
1406        &self.aggregated_vector_polynomial_l
1407    }
1408    pub fn clear_aggregated_vector_polynomial_l(&mut self) {
1409        self.aggregated_vector_polynomial_l.clear();
1410    }
1411
1412    // Param is passed by value, moved
1413    pub fn set_aggregated_vector_polynomial_l(&mut self, v: ::protobuf::RepeatedField<::std::vec::Vec<u8>>) {
1414        self.aggregated_vector_polynomial_l = v;
1415    }
1416
1417    // Mutable pointer to the field.
1418    pub fn mut_aggregated_vector_polynomial_l(&mut self) -> &mut ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
1419        &mut self.aggregated_vector_polynomial_l
1420    }
1421
1422    // Take field
1423    pub fn take_aggregated_vector_polynomial_l(&mut self) -> ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
1424        ::std::mem::replace(&mut self.aggregated_vector_polynomial_l, ::protobuf::RepeatedField::new())
1425    }
1426
1427    // repeated bytes aggregated_vector_polynomial_r = 9;
1428
1429
1430    pub fn get_aggregated_vector_polynomial_r(&self) -> &[::std::vec::Vec<u8>] {
1431        &self.aggregated_vector_polynomial_r
1432    }
1433    pub fn clear_aggregated_vector_polynomial_r(&mut self) {
1434        self.aggregated_vector_polynomial_r.clear();
1435    }
1436
1437    // Param is passed by value, moved
1438    pub fn set_aggregated_vector_polynomial_r(&mut self, v: ::protobuf::RepeatedField<::std::vec::Vec<u8>>) {
1439        self.aggregated_vector_polynomial_r = v;
1440    }
1441
1442    // Mutable pointer to the field.
1443    pub fn mut_aggregated_vector_polynomial_r(&mut self) -> &mut ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
1444        &mut self.aggregated_vector_polynomial_r
1445    }
1446
1447    // Take field
1448    pub fn take_aggregated_vector_polynomial_r(&mut self) -> ::protobuf::RepeatedField<::std::vec::Vec<u8>> {
1449        ::std::mem::replace(&mut self.aggregated_vector_polynomial_r, ::protobuf::RepeatedField::new())
1450    }
1451
1452    // bytes a_prime_0 = 10;
1453
1454
1455    pub fn get_a_prime_0(&self) -> &[u8] {
1456        &self.a_prime_0
1457    }
1458    pub fn clear_a_prime_0(&mut self) {
1459        self.a_prime_0.clear();
1460    }
1461
1462    // Param is passed by value, moved
1463    pub fn set_a_prime_0(&mut self, v: ::std::vec::Vec<u8>) {
1464        self.a_prime_0 = v;
1465    }
1466
1467    // Mutable pointer to the field.
1468    // If field is not initialized, it is initialized with default value first.
1469    pub fn mut_a_prime_0(&mut self) -> &mut ::std::vec::Vec<u8> {
1470        &mut self.a_prime_0
1471    }
1472
1473    // Take field
1474    pub fn take_a_prime_0(&mut self) -> ::std::vec::Vec<u8> {
1475        ::std::mem::replace(&mut self.a_prime_0, ::std::vec::Vec::new())
1476    }
1477
1478    // bytes b_prime_0 = 11;
1479
1480
1481    pub fn get_b_prime_0(&self) -> &[u8] {
1482        &self.b_prime_0
1483    }
1484    pub fn clear_b_prime_0(&mut self) {
1485        self.b_prime_0.clear();
1486    }
1487
1488    // Param is passed by value, moved
1489    pub fn set_b_prime_0(&mut self, v: ::std::vec::Vec<u8>) {
1490        self.b_prime_0 = v;
1491    }
1492
1493    // Mutable pointer to the field.
1494    // If field is not initialized, it is initialized with default value first.
1495    pub fn mut_b_prime_0(&mut self) -> &mut ::std::vec::Vec<u8> {
1496        &mut self.b_prime_0
1497    }
1498
1499    // Take field
1500    pub fn take_b_prime_0(&mut self) -> ::std::vec::Vec<u8> {
1501        ::std::mem::replace(&mut self.b_prime_0, ::std::vec::Vec::new())
1502    }
1503
1504    // bytes t = 12;
1505
1506
1507    pub fn get_t(&self) -> &[u8] {
1508        &self.t
1509    }
1510    pub fn clear_t(&mut self) {
1511        self.t.clear();
1512    }
1513
1514    // Param is passed by value, moved
1515    pub fn set_t(&mut self, v: ::std::vec::Vec<u8>) {
1516        self.t = v;
1517    }
1518
1519    // Mutable pointer to the field.
1520    // If field is not initialized, it is initialized with default value first.
1521    pub fn mut_t(&mut self) -> &mut ::std::vec::Vec<u8> {
1522        &mut self.t
1523    }
1524
1525    // Take field
1526    pub fn take_t(&mut self) -> ::std::vec::Vec<u8> {
1527        ::std::mem::replace(&mut self.t, ::std::vec::Vec::new())
1528    }
1529}
1530
1531impl ::protobuf::Message for RangeProof {
1532    fn is_initialized(&self) -> bool {
1533        true
1534    }
1535
1536    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1537        while !is.eof()? {
1538            let (field_number, wire_type) = is.read_tag_unpack()?;
1539            match field_number {
1540                1 => {
1541                    ::protobuf::rt::read_repeated_bytes_into(wire_type, is, &mut self.value_commitment)?;
1542                },
1543                2 => {
1544                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.bit_commitment)?;
1545                },
1546                3 => {
1547                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.per_bit_blinding_factor_commitment)?;
1548                },
1549                4 => {
1550                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.poly_commitment_t1)?;
1551                },
1552                5 => {
1553                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.poly_commitment_t2)?;
1554                },
1555                6 => {
1556                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.proof_of_share_tau)?;
1557                },
1558                7 => {
1559                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.proof_of_share_mu)?;
1560                },
1561                8 => {
1562                    ::protobuf::rt::read_repeated_bytes_into(wire_type, is, &mut self.aggregated_vector_polynomial_l)?;
1563                },
1564                9 => {
1565                    ::protobuf::rt::read_repeated_bytes_into(wire_type, is, &mut self.aggregated_vector_polynomial_r)?;
1566                },
1567                10 => {
1568                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.a_prime_0)?;
1569                },
1570                11 => {
1571                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.b_prime_0)?;
1572                },
1573                12 => {
1574                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.t)?;
1575                },
1576                _ => {
1577                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1578                },
1579            };
1580        }
1581        ::std::result::Result::Ok(())
1582    }
1583
1584    // Compute sizes of nested messages
1585    #[allow(unused_variables)]
1586    fn compute_size(&self) -> u32 {
1587        let mut my_size = 0;
1588        for value in &self.value_commitment {
1589            my_size += ::protobuf::rt::bytes_size(1, &value);
1590        };
1591        if !self.bit_commitment.is_empty() {
1592            my_size += ::protobuf::rt::bytes_size(2, &self.bit_commitment);
1593        }
1594        if !self.per_bit_blinding_factor_commitment.is_empty() {
1595            my_size += ::protobuf::rt::bytes_size(3, &self.per_bit_blinding_factor_commitment);
1596        }
1597        if !self.poly_commitment_t1.is_empty() {
1598            my_size += ::protobuf::rt::bytes_size(4, &self.poly_commitment_t1);
1599        }
1600        if !self.poly_commitment_t2.is_empty() {
1601            my_size += ::protobuf::rt::bytes_size(5, &self.poly_commitment_t2);
1602        }
1603        if !self.proof_of_share_tau.is_empty() {
1604            my_size += ::protobuf::rt::bytes_size(6, &self.proof_of_share_tau);
1605        }
1606        if !self.proof_of_share_mu.is_empty() {
1607            my_size += ::protobuf::rt::bytes_size(7, &self.proof_of_share_mu);
1608        }
1609        for value in &self.aggregated_vector_polynomial_l {
1610            my_size += ::protobuf::rt::bytes_size(8, &value);
1611        };
1612        for value in &self.aggregated_vector_polynomial_r {
1613            my_size += ::protobuf::rt::bytes_size(9, &value);
1614        };
1615        if !self.a_prime_0.is_empty() {
1616            my_size += ::protobuf::rt::bytes_size(10, &self.a_prime_0);
1617        }
1618        if !self.b_prime_0.is_empty() {
1619            my_size += ::protobuf::rt::bytes_size(11, &self.b_prime_0);
1620        }
1621        if !self.t.is_empty() {
1622            my_size += ::protobuf::rt::bytes_size(12, &self.t);
1623        }
1624        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1625        self.cached_size.set(my_size);
1626        my_size
1627    }
1628
1629    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1630        for v in &self.value_commitment {
1631            os.write_bytes(1, &v)?;
1632        };
1633        if !self.bit_commitment.is_empty() {
1634            os.write_bytes(2, &self.bit_commitment)?;
1635        }
1636        if !self.per_bit_blinding_factor_commitment.is_empty() {
1637            os.write_bytes(3, &self.per_bit_blinding_factor_commitment)?;
1638        }
1639        if !self.poly_commitment_t1.is_empty() {
1640            os.write_bytes(4, &self.poly_commitment_t1)?;
1641        }
1642        if !self.poly_commitment_t2.is_empty() {
1643            os.write_bytes(5, &self.poly_commitment_t2)?;
1644        }
1645        if !self.proof_of_share_tau.is_empty() {
1646            os.write_bytes(6, &self.proof_of_share_tau)?;
1647        }
1648        if !self.proof_of_share_mu.is_empty() {
1649            os.write_bytes(7, &self.proof_of_share_mu)?;
1650        }
1651        for v in &self.aggregated_vector_polynomial_l {
1652            os.write_bytes(8, &v)?;
1653        };
1654        for v in &self.aggregated_vector_polynomial_r {
1655            os.write_bytes(9, &v)?;
1656        };
1657        if !self.a_prime_0.is_empty() {
1658            os.write_bytes(10, &self.a_prime_0)?;
1659        }
1660        if !self.b_prime_0.is_empty() {
1661            os.write_bytes(11, &self.b_prime_0)?;
1662        }
1663        if !self.t.is_empty() {
1664            os.write_bytes(12, &self.t)?;
1665        }
1666        os.write_unknown_fields(self.get_unknown_fields())?;
1667        ::std::result::Result::Ok(())
1668    }
1669
1670    fn get_cached_size(&self) -> u32 {
1671        self.cached_size.get()
1672    }
1673
1674    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1675        &self.unknown_fields
1676    }
1677
1678    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1679        &mut self.unknown_fields
1680    }
1681
1682    fn as_any(&self) -> &dyn (::std::any::Any) {
1683        self as &dyn (::std::any::Any)
1684    }
1685    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1686        self as &mut dyn (::std::any::Any)
1687    }
1688    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1689        self
1690    }
1691
1692    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1693        Self::descriptor_static()
1694    }
1695
1696    fn new() -> RangeProof {
1697        RangeProof::new()
1698    }
1699
1700    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1701        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
1702            lock: ::protobuf::lazy::ONCE_INIT,
1703            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
1704        };
1705        unsafe {
1706            descriptor.get(|| {
1707                let mut fields = ::std::vec::Vec::new();
1708                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1709                    "value_commitment",
1710                    |m: &RangeProof| { &m.value_commitment },
1711                    |m: &mut RangeProof| { &mut m.value_commitment },
1712                ));
1713                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1714                    "bit_commitment",
1715                    |m: &RangeProof| { &m.bit_commitment },
1716                    |m: &mut RangeProof| { &mut m.bit_commitment },
1717                ));
1718                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1719                    "per_bit_blinding_factor_commitment",
1720                    |m: &RangeProof| { &m.per_bit_blinding_factor_commitment },
1721                    |m: &mut RangeProof| { &mut m.per_bit_blinding_factor_commitment },
1722                ));
1723                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1724                    "poly_commitment_t1",
1725                    |m: &RangeProof| { &m.poly_commitment_t1 },
1726                    |m: &mut RangeProof| { &mut m.poly_commitment_t1 },
1727                ));
1728                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1729                    "poly_commitment_t2",
1730                    |m: &RangeProof| { &m.poly_commitment_t2 },
1731                    |m: &mut RangeProof| { &mut m.poly_commitment_t2 },
1732                ));
1733                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1734                    "proof_of_share_tau",
1735                    |m: &RangeProof| { &m.proof_of_share_tau },
1736                    |m: &mut RangeProof| { &mut m.proof_of_share_tau },
1737                ));
1738                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1739                    "proof_of_share_mu",
1740                    |m: &RangeProof| { &m.proof_of_share_mu },
1741                    |m: &mut RangeProof| { &mut m.proof_of_share_mu },
1742                ));
1743                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1744                    "aggregated_vector_polynomial_l",
1745                    |m: &RangeProof| { &m.aggregated_vector_polynomial_l },
1746                    |m: &mut RangeProof| { &mut m.aggregated_vector_polynomial_l },
1747                ));
1748                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1749                    "aggregated_vector_polynomial_r",
1750                    |m: &RangeProof| { &m.aggregated_vector_polynomial_r },
1751                    |m: &mut RangeProof| { &mut m.aggregated_vector_polynomial_r },
1752                ));
1753                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1754                    "a_prime_0",
1755                    |m: &RangeProof| { &m.a_prime_0 },
1756                    |m: &mut RangeProof| { &mut m.a_prime_0 },
1757                ));
1758                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1759                    "b_prime_0",
1760                    |m: &RangeProof| { &m.b_prime_0 },
1761                    |m: &mut RangeProof| { &mut m.b_prime_0 },
1762                ));
1763                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
1764                    "t",
1765                    |m: &RangeProof| { &m.t },
1766                    |m: &mut RangeProof| { &mut m.t },
1767                ));
1768                ::protobuf::reflect::MessageDescriptor::new::<RangeProof>(
1769                    "RangeProof",
1770                    fields,
1771                    file_descriptor_proto()
1772                )
1773            })
1774        }
1775    }
1776
1777    fn default_instance() -> &'static RangeProof {
1778        static mut instance: ::protobuf::lazy::Lazy<RangeProof> = ::protobuf::lazy::Lazy {
1779            lock: ::protobuf::lazy::ONCE_INIT,
1780            ptr: 0 as *const RangeProof,
1781        };
1782        unsafe {
1783            instance.get(RangeProof::new)
1784        }
1785    }
1786}
1787
1788impl ::protobuf::Clear for RangeProof {
1789    fn clear(&mut self) {
1790        self.value_commitment.clear();
1791        self.bit_commitment.clear();
1792        self.per_bit_blinding_factor_commitment.clear();
1793        self.poly_commitment_t1.clear();
1794        self.poly_commitment_t2.clear();
1795        self.proof_of_share_tau.clear();
1796        self.proof_of_share_mu.clear();
1797        self.aggregated_vector_polynomial_l.clear();
1798        self.aggregated_vector_polynomial_r.clear();
1799        self.a_prime_0.clear();
1800        self.b_prime_0.clear();
1801        self.t.clear();
1802        self.unknown_fields.clear();
1803    }
1804}
1805
1806impl ::std::fmt::Debug for RangeProof {
1807    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1808        ::protobuf::text_format::fmt(self, f)
1809    }
1810}
1811
1812impl ::protobuf::reflect::ProtobufValue for RangeProof {
1813    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
1814        ::protobuf::reflect::ProtobufValueRef::Message(self)
1815    }
1816}
1817
1818#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1819pub enum TransactionType {
1820    TRANSACTION_TYPE_UNKNOWN = 0,
1821    PUBLIC = 1,
1822    CONFIDENTIAL = 2,
1823}
1824
1825impl ::protobuf::ProtobufEnum for TransactionType {
1826    fn value(&self) -> i32 {
1827        *self as i32
1828    }
1829
1830    fn from_i32(value: i32) -> ::std::option::Option<TransactionType> {
1831        match value {
1832            0 => ::std::option::Option::Some(TransactionType::TRANSACTION_TYPE_UNKNOWN),
1833            1 => ::std::option::Option::Some(TransactionType::PUBLIC),
1834            2 => ::std::option::Option::Some(TransactionType::CONFIDENTIAL),
1835            _ => ::std::option::Option::None
1836        }
1837    }
1838
1839    fn values() -> &'static [Self] {
1840        static values: &'static [TransactionType] = &[
1841            TransactionType::TRANSACTION_TYPE_UNKNOWN,
1842            TransactionType::PUBLIC,
1843            TransactionType::CONFIDENTIAL,
1844        ];
1845        values
1846    }
1847
1848    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1849        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
1850            lock: ::protobuf::lazy::ONCE_INIT,
1851            ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
1852        };
1853        unsafe {
1854            descriptor.get(|| {
1855                ::protobuf::reflect::EnumDescriptor::new("TransactionType", file_descriptor_proto())
1856            })
1857        }
1858    }
1859}
1860
1861impl ::std::marker::Copy for TransactionType {
1862}
1863
1864impl ::std::default::Default for TransactionType {
1865    fn default() -> Self {
1866        TransactionType::TRANSACTION_TYPE_UNKNOWN
1867    }
1868}
1869
1870impl ::protobuf::reflect::ProtobufValue for TransactionType {
1871    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
1872        ::protobuf::reflect::ProtobufValueRef::Enum(self.descriptor())
1873    }
1874}
1875
1876static file_descriptor_proto_data: &'static [u8] = b"\
1877    \n\x11Transaction.proto\x12\x1dCatalyst.Protocol.Transaction\x1a\x12Cryp\
1878    tography.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x89\x03\n\x0bPub\
1879    licEntry\x12)\n\x10receiver_address\x18\x01\x20\x01(\x0cR\x0freceiverAdd\
1880    ress\x12%\n\x0esender_address\x18\x02\x20\x01(\x0cR\rsenderAddress\x12\
1881    \x16\n\x06amount\x18\x03\x20\x01(\x0cR\x06amount\x12\x12\n\x04data\x18\
1882    \x04\x20\x01(\x0cR\x04data\x128\n\ttimestamp\x18\x05\x20\x01(\x0b2\x1a.g\
1883    oogle.protobuf.TimestampR\ttimestamp\x12\x1b\n\tgas_price\x18\x06\x20\
1884    \x01(\x0cR\x08gasPrice\x12\x1b\n\tgas_limit\x18\x07\x20\x01(\x04R\x08gas\
1885    Limit\x12)\n\x10transaction_fees\x18\x08\x20\x01(\x0cR\x0ftransactionFee\
1886    s\x12\x14\n\x05nonce\x18\t\x20\x01(\x04R\x05nonce\x12G\n\tsignature\x18\
1887    \n\x20\x01(\x0b2).Catalyst.Protocol.Cryptography.SignatureR\tsignature\"\
1888    \xad\x02\n\x11ConfidentialEntry\x12.\n\x13receiver_public_key\x18\x01\
1889    \x20\x01(\x0cR\x11receiverPublicKey\x12*\n\x11sender_public_key\x18\x02\
1890    \x20\x01(\x0cR\x0fsenderPublicKey\x12/\n\x13pedersen_commitment\x18\x03\
1891    \x20\x01(\x0cR\x12pedersenCommitment\x12J\n\x0brange_proof\x18\x04\x20\
1892    \x01(\x0b2).Catalyst.Protocol.Transaction.RangeProofR\nrangeProof\x12)\n\
1893    \x10transaction_fees\x18\x05\x20\x01(\x0cR\x0ftransactionFees\x12\x14\n\
1894    \x05nonce\x18\x06\x20\x01(\x04R\x05nonce\"W\n\rCoinbaseEntry\x12.\n\x13r\
1895    eceiver_public_key\x18\x01\x20\x01(\x0cR\x11receiverPublicKey\x12\x16\n\
1896    \x06amount\x18\x02\x20\x01(\x0cR\x06amount\"\xae\x04\n\nRangeProof\x12)\
1897    \n\x10value_commitment\x18\x01\x20\x03(\x0cR\x0fvalueCommitment\x12%\n\
1898    \x0ebit_commitment\x18\x02\x20\x01(\x0cR\rbitCommitment\x12J\n\"per_bit_\
1899    blinding_factor_commitment\x18\x03\x20\x01(\x0cR\x1eperBitBlindingFactor\
1900    Commitment\x12,\n\x12poly_commitment_t1\x18\x04\x20\x01(\x0cR\x10polyCom\
1901    mitmentT1\x12,\n\x12poly_commitment_t2\x18\x05\x20\x01(\x0cR\x10polyComm\
1902    itmentT2\x12+\n\x12proof_of_share_tau\x18\x06\x20\x01(\x0cR\x0fproofOfSh\
1903    areTau\x12)\n\x11proof_of_share_mu\x18\x07\x20\x01(\x0cR\x0eproofOfShare\
1904    Mu\x12C\n\x1eaggregated_vector_polynomial_l\x18\x08\x20\x03(\x0cR\x1bagg\
1905    regatedVectorPolynomialL\x12C\n\x1eaggregated_vector_polynomial_r\x18\t\
1906    \x20\x03(\x0cR\x1baggregatedVectorPolynomialR\x12\x1a\n\ta_prime_0\x18\n\
1907    \x20\x01(\x0cR\x07aPrime0\x12\x1a\n\tb_prime_0\x18\x0b\x20\x01(\x0cR\x07\
1908    bPrime0\x12\x0c\n\x01t\x18\x0c\x20\x01(\x0cR\x01t*M\n\x0fTransactionType\
1909    \x12\x1c\n\x18TRANSACTION_TYPE_UNKNOWN\x10\0\x12\n\n\x06PUBLIC\x10\x01\
1910    \x12\x10\n\x0cCONFIDENTIAL\x10\x02B\x02P\x01J\xa8$\n\x06\x12\x04\x13\0N\
1911    \x01\n\xdf\x06\n\x01\x0c\x12\x03\x13\0\x122\xd4\x06*\n\x20Copyright\x20(\
1912    c)\x202019\x20Catalyst\x20Network\n\n\x20This\x20file\x20is\x20part\x20o\
1913    f\x20Catalyst.Network.Protocol.Protobuffs\x20<https://github.com/catalys\
1914    t-network/protocol-protobuffs>\n\n\x20Catalyst.Network.Protocol.Protobuf\
1915    fs\x20is\x20free\x20software:\x20you\x20can\x20redistribute\x20it\x20and\
1916    /or\x20modify\n\x20it\x20under\x20the\x20terms\x20of\x20the\x20GNU\x20Ge\
1917    neral\x20Public\x20License\x20as\x20published\x20by\n\x20the\x20Free\x20\
1918    Software\x20Foundation,\x20either\x20version\x202\x20of\x20the\x20Licens\
1919    e,\x20or\n\x20(at\x20your\x20option)\x20any\x20later\x20version.\n\x20\n\
1920    \x20Catalyst.Network.Protocol.Protobuffs\x20is\x20distributed\x20in\x20t\
1921    he\x20hope\x20that\x20it\x20will\x20be\x20useful,\n\x20but\x20WITHOUT\
1922    \x20ANY\x20WARRANTY;\x20without\x20even\x20the\x20implied\x20warranty\
1923    \x20of\n\x20MERCHANTABILITY\x20or\x20FITNESS\x20FOR\x20A\x20PARTICULAR\
1924    \x20PURPOSE.\x20See\x20the\n\x20GNU\x20General\x20Public\x20License\x20f\
1925    or\x20more\x20details.\n\x20\n\x20You\x20should\x20have\x20received\x20a\
1926    \x20copy\x20of\x20the\x20GNU\x20General\x20Public\x20License\n\x20along\
1927    \x20with\x20Catalyst.Network.Protocol.Protobuffs\x20If\x20not,\x20see\
1928    \x20<https://www.gnu.org/licenses/>.\n\n\x08\n\x01\x08\x12\x03\x15\0\"\n\
1929    \x0b\n\x04\x08\xe7\x07\0\x12\x03\x15\0\"\n\x0c\n\x05\x08\xe7\x07\0\x02\
1930    \x12\x03\x15\x07\x1a\n\r\n\x06\x08\xe7\x07\0\x02\0\x12\x03\x15\x07\x1a\n\
1931    \x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x15\x07\x1a\n\x0c\n\x05\x08\
1932    \xe7\x07\0\x03\x12\x03\x15\x1d!\n\t\n\x02\x03\0\x12\x03\x17\x07\x1b\n\t\
1933    \n\x02\x03\x01\x12\x03\x18\x07(\n\x08\n\x01\x02\x12\x03\x1a\x08%\n\n\n\
1934    \x02\x05\0\x12\x04\x1c\0\x20\x01\n\n\n\x03\x05\0\x01\x12\x03\x1c\x05\x14\
1935    \n'\n\x04\x05\0\x02\0\x12\x03\x1d\x08%\"\x1aUnknown\x20transaction\x20ty\
1936    pe.\n\n\x0c\n\x05\x05\0\x02\0\x01\x12\x03\x1d\x08\x20\n\x0c\n\x05\x05\0\
1937    \x02\0\x02\x12\x03\x1d#$\n'\n\x04\x05\0\x02\x01\x12\x03\x1e\x08\x13\"\
1938    \x1a\x20Public\x20transaction\x20type.\n\n\x0c\n\x05\x05\0\x02\x01\x01\
1939    \x12\x03\x1e\x08\x0e\n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03\x1e\x11\x12\n\
1940    (\n\x04\x05\0\x02\x02\x12\x03\x1f\x08\x19\"\x1b\x20Private\x20transactio\
1941    n\x20type.\n\n\x0c\n\x05\x05\0\x02\x02\x01\x12\x03\x1f\x08\x14\n\x0c\n\
1942    \x05\x05\0\x02\x02\x02\x12\x03\x1f\x17\x18\n\n\n\x02\x04\0\x12\x04\"\0-\
1943    \x01\n\n\n\x03\x04\0\x01\x12\x03\"\x08\x13\n#\n\x04\x04\0\x02\0\x12\x03#\
1944    \x08#\"\x16\x20Address\x20of\x20receiver.\n\n\r\n\x05\x04\0\x02\0\x04\
1945    \x12\x04#\x08\"\x15\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03#\x08\r\n\x0c\n\
1946    \x05\x04\0\x02\0\x01\x12\x03#\x0e\x1e\n\x0c\n\x05\x04\0\x02\0\x03\x12\
1947    \x03#!\"\n!\n\x04\x04\0\x02\x01\x12\x03$\x08!\"\x14\x20Address\x20of\x20\
1948    sender.\n\n\r\n\x05\x04\0\x02\x01\x04\x12\x04$\x08##\n\x0c\n\x05\x04\0\
1949    \x02\x01\x05\x12\x03$\x08\r\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03$\x0e\
1950    \x1c\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03$\x1f\x20\n\x1d\n\x04\x04\0\
1951    \x02\x02\x12\x03%\x02\x13\"\x10\x20uint256\x20amount\n\n\r\n\x05\x04\0\
1952    \x02\x02\x04\x12\x04%\x02$!\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03%\x02\
1953    \x07\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03%\x08\x0e\n\x0c\n\x05\x04\0\
1954    \x02\x02\x03\x12\x03%\x11\x12\n#\n\x04\x04\0\x02\x03\x12\x03&\x02\x11\"\
1955    \x16\x20Smart\x20contract\x20data.\n\n\r\n\x05\x04\0\x02\x03\x04\x12\x04\
1956    &\x02%\x13\n\x0c\n\x05\x04\0\x02\x03\x05\x12\x03&\x02\x07\n\x0c\n\x05\
1957    \x04\0\x02\x03\x01\x12\x03&\x08\x0c\n\x0c\n\x05\x04\0\x02\x03\x03\x12\
1958    \x03&\x0f\x10\n\x0b\n\x04\x04\0\x02\x04\x12\x03'\x080\n\r\n\x05\x04\0\
1959    \x02\x04\x04\x12\x04'\x08&\x11\n\x0c\n\x05\x04\0\x02\x04\x06\x12\x03'\
1960    \x08!\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x03'\"+\n\x0c\n\x05\x04\0\x02\
1961    \x04\x03\x12\x03'./\n\x0b\n\x04\x04\0\x02\x05\x12\x03(\x08\x1c\n\r\n\x05\
1962    \x04\0\x02\x05\x04\x12\x04(\x08'0\n\x0c\n\x05\x04\0\x02\x05\x05\x12\x03(\
1963    \x08\r\n\x0c\n\x05\x04\0\x02\x05\x01\x12\x03(\x0e\x17\n\x0c\n\x05\x04\0\
1964    \x02\x05\x03\x12\x03(\x1a\x1b\n\x0b\n\x04\x04\0\x02\x06\x12\x03)\x08\x1d\
1965    \n\r\n\x05\x04\0\x02\x06\x04\x12\x04)\x08(\x1c\n\x0c\n\x05\x04\0\x02\x06\
1966    \x05\x12\x03)\x08\x0e\n\x0c\n\x05\x04\0\x02\x06\x01\x12\x03)\x0f\x18\n\
1967    \x0c\n\x05\x04\0\x02\x06\x03\x12\x03)\x1b\x1c\n0\n\x04\x04\0\x02\x07\x12\
1968    \x03*\x08#\"#\x208\x20bytes,\x20clear\x20text,\x20fees\x20*\x2010^12\n\n\
1969    \r\n\x05\x04\0\x02\x07\x04\x12\x04*\x08)\x1d\n\x0c\n\x05\x04\0\x02\x07\
1970    \x05\x12\x03*\x08\r\n\x0c\n\x05\x04\0\x02\x07\x01\x12\x03*\x0e\x1e\n\x0c\
1971    \n\x05\x04\0\x02\x07\x03\x12\x03*!\"\ns\n\x04\x04\0\x02\x08\x12\x03+\x08\
1972    \x19\"f\x20A\x20nonce,\x20similar\x20to\x20Ethereum,\x20incremented\x20o\
1973    n\x20each\x20transaction\x20on\x20the\x20account\x20issuing\x20the\x20tr\
1974    ansaction\n\n\r\n\x05\x04\0\x02\x08\x04\x12\x04+\x08*#\n\x0c\n\x05\x04\0\
1975    \x02\x08\x05\x12\x03+\x08\x0e\n\x0c\n\x05\x04\0\x02\x08\x01\x12\x03+\x0f\
1976    \x14\n\x0c\n\x05\x04\0\x02\x08\x03\x12\x03+\x17\x18\n1\n\x04\x04\0\x02\t\
1977    \x12\x03,\x08.\"$\x20is\x20the\x20ed25519ph\x20context\x20signature\n\n\
1978    \r\n\x05\x04\0\x02\t\x04\x12\x04,\x08+\x19\n\x0c\n\x05\x04\0\x02\t\x06\
1979    \x12\x03,\x08\x1e\n\x0c\n\x05\x04\0\x02\t\x01\x12\x03,\x1f(\n\x0c\n\x05\
1980    \x04\0\x02\t\x03\x12\x03,+-\n\n\n\x02\x04\x01\x12\x04/\06\x01\n\n\n\x03\
1981    \x04\x01\x01\x12\x03/\x08\x19\n%\n\x04\x04\x01\x02\0\x12\x030\x08&\"\x18\
1982    \x20PublicKey\x20of\x20receiver.\n\n\r\n\x05\x04\x01\x02\0\x04\x12\x040\
1983    \x08/\x1b\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x030\x08\r\n\x0c\n\x05\x04\
1984    \x01\x02\0\x01\x12\x030\x0e!\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x030$%\n#\
1985    \n\x04\x04\x01\x02\x01\x12\x031\x08$\"\x16\x20PublicKey\x20of\x20sender.\
1986    \n\n\r\n\x05\x04\x01\x02\x01\x04\x12\x041\x080&\n\x0c\n\x05\x04\x01\x02\
1987    \x01\x05\x12\x031\x08\r\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x031\x0e\x1f\
1988    \n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x031\"#\n\x17\n\x04\x04\x01\x02\x02\
1989    \x12\x032\x02\x20\"\n\x2032\x20bytes\n\n\r\n\x05\x04\x01\x02\x02\x04\x12\
1990    \x042\x021$\n\x0c\n\x05\x04\x01\x02\x02\x05\x12\x032\x02\x07\n\x0c\n\x05\
1991    \x04\x01\x02\x02\x01\x12\x032\x08\x1b\n\x0c\n\x05\x04\x01\x02\x02\x03\
1992    \x12\x032\x1e\x1f\n\x0b\n\x04\x04\x01\x02\x03\x12\x033\x02\x1d\n\r\n\x05\
1993    \x04\x01\x02\x03\x04\x12\x043\x022\x20\n\x0c\n\x05\x04\x01\x02\x03\x06\
1994    \x12\x033\x02\x0c\n\x0c\n\x05\x04\x01\x02\x03\x01\x12\x033\r\x18\n\x0c\n\
1995    \x05\x04\x01\x02\x03\x03\x12\x033\x1b\x1c\n0\n\x04\x04\x01\x02\x04\x12\
1996    \x034\x08#\"#\x208\x20bytes,\x20clear\x20text,\x20fees\x20*\x2010^12\n\n\
1997    \r\n\x05\x04\x01\x02\x04\x04\x12\x044\x083\x1d\n\x0c\n\x05\x04\x01\x02\
1998    \x04\x05\x12\x034\x08\r\n\x0c\n\x05\x04\x01\x02\x04\x01\x12\x034\x0e\x1e\
1999    \n\x0c\n\x05\x04\x01\x02\x04\x03\x12\x034!\"\ns\n\x04\x04\x01\x02\x05\
2000    \x12\x035\x08\x19\"f\x20A\x20nonce,\x20similar\x20to\x20Ethereum,\x20inc\
2001    remented\x20on\x20each\x20transaction\x20on\x20the\x20account\x20issuing\
2002    \x20the\x20transaction\n\n\r\n\x05\x04\x01\x02\x05\x04\x12\x045\x084#\n\
2003    \x0c\n\x05\x04\x01\x02\x05\x05\x12\x035\x08\x0e\n\x0c\n\x05\x04\x01\x02\
2004    \x05\x01\x12\x035\x0f\x14\n\x0c\n\x05\x04\x01\x02\x05\x03\x12\x035\x17\
2005    \x18\n\n\n\x02\x04\x02\x12\x048\0;\x01\n\n\n\x03\x04\x02\x01\x12\x038\
2006    \x08\x15\nP\n\x04\x04\x02\x02\0\x12\x039\x04\"\"C\x20public\x20key\x20be\
2007    hind\x20the\x20address\x20where\x20the\x20Coinbase\x20will\x20be\x20cred\
2008    ited\n\n\r\n\x05\x04\x02\x02\0\x04\x12\x049\x048\x17\n\x0c\n\x05\x04\x02\
2009    \x02\0\x05\x12\x039\x04\t\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x039\n\x1d\n\
2010    \x0c\n\x05\x04\x02\x02\0\x03\x12\x039\x20!\n\x1d\n\x04\x04\x02\x02\x01\
2011    \x12\x03:\x04\x15\"\x10\x20uint256\x20amount\n\n\r\n\x05\x04\x02\x02\x01\
2012    \x04\x12\x04:\x049\"\n\x0c\n\x05\x04\x02\x02\x01\x05\x12\x03:\x04\t\n\
2013    \x0c\n\x05\x04\x02\x02\x01\x01\x12\x03:\n\x10\n\x0c\n\x05\x04\x02\x02\
2014    \x01\x03\x12\x03:\x13\x14\n\xf7\x01\n\x02\x04\x03\x12\x04A\0N\x01\x1a\
2015    \xea\x01*\n\x20BulletProof-based\x20range\x20proof.\x20See\x20https://ep\
2016    rint.iacr.org/2017/1066.pdf\x20for\x20references\x20to\x20equations\x20b\
2017    elow.\n\x20Total\x20byte\x20size\x20is\x20(9+2k)*32,\x20where\x20k\x20=\
2018    \x20log_2(n*m),\x20m\x20is\x20number\x20of\x20aggregates\x20in\x20proof,\
2019    \x20(2^n)-1\x20is\x20upper\x20range\x20of\x20values.\n\n\n\n\x03\x04\x03\
2020    \x01\x12\x03A\x08\x12\n7\n\x04\x04\x03\x02\0\x12\x03B\x08,\"*\x20m\x20*\
2021    \x2032\x20bytes,\x20value\x20commitment\x20(eq.\x2036)\x20\n\n\x0c\n\x05\
2022    \x04\x03\x02\0\x04\x12\x03B\x08\x10\n\x0c\n\x05\x04\x03\x02\0\x05\x12\
2023    \x03B\x11\x16\n\x0c\n\x05\x04\x03\x02\0\x01\x12\x03B\x17'\n\x0c\n\x05\
2024    \x04\x03\x02\0\x03\x12\x03B*+\n0\n\x04\x04\x03\x02\x01\x12\x03C\x08!\"#\
2025    \x2032\x20bytes,\x20bit\x20commitment\x20(eq.\x2048)\n\n\r\n\x05\x04\x03\
2026    \x02\x01\x04\x12\x04C\x08B,\n\x0c\n\x05\x04\x03\x02\x01\x05\x12\x03C\x08\
2027    \r\n\x0c\n\x05\x04\x03\x02\x01\x01\x12\x03C\x0e\x1c\n\x0c\n\x05\x04\x03\
2028    \x02\x01\x03\x12\x03C\x1f\x20\nD\n\x04\x04\x03\x02\x02\x12\x03D\x085\"7\
2029    \x2032\x20bytes,\x20per\x20bit\x20blinding\x20factor\x20commitment\x20(e\
2030    q.\x2048)\n\n\r\n\x05\x04\x03\x02\x02\x04\x12\x04D\x08C!\n\x0c\n\x05\x04\
2031    \x03\x02\x02\x05\x12\x03D\x08\r\n\x0c\n\x05\x04\x03\x02\x02\x01\x12\x03D\
2032    \x0e0\n\x0c\n\x05\x04\x03\x02\x02\x03\x12\x03D34\n1\n\x04\x04\x03\x02\
2033    \x03\x12\x03E\x08%\"$\x2032\x20bytes,\x20poly\x20commitment\x20(eq.\x205\
2034    4)\n\n\r\n\x05\x04\x03\x02\x03\x04\x12\x04E\x08D5\n\x0c\n\x05\x04\x03\
2035    \x02\x03\x05\x12\x03E\x08\r\n\x0c\n\x05\x04\x03\x02\x03\x01\x12\x03E\x0e\
2036    \x20\n\x0c\n\x05\x04\x03\x02\x03\x03\x12\x03E#$\n1\n\x04\x04\x03\x02\x04\
2037    \x12\x03F\x08%\"$\x2032\x20bytes,\x20poly\x20commitment\x20(eq.\x2054)\n\
2038    \n\r\n\x05\x04\x03\x02\x04\x04\x12\x04F\x08E%\n\x0c\n\x05\x04\x03\x02\
2039    \x04\x05\x12\x03F\x08\r\n\x0c\n\x05\x04\x03\x02\x04\x01\x12\x03F\x0e\x20\
2040    \n\x0c\n\x05\x04\x03\x02\x04\x03\x12\x03F#$\n0\n\x04\x04\x03\x02\x05\x12\
2041    \x03G\x08%\"#\x2032\x20bytes,\x20proof\x20of\x20share\x20(eq.\x2063)\n\n\
2042    \r\n\x05\x04\x03\x02\x05\x04\x12\x04G\x08F%\n\x0c\n\x05\x04\x03\x02\x05\
2043    \x05\x12\x03G\x08\r\n\x0c\n\x05\x04\x03\x02\x05\x01\x12\x03G\x0e\x20\n\
2044    \x0c\n\x05\x04\x03\x02\x05\x03\x12\x03G#$\n0\n\x04\x04\x03\x02\x06\x12\
2045    \x03H\x08$\"#\x2032\x20bytes,\x20proof\x20of\x20share\x20(eq.\x2063)\n\n\
2046    \r\n\x05\x04\x03\x02\x06\x04\x12\x04H\x08G%\n\x0c\n\x05\x04\x03\x02\x06\
2047    \x05\x12\x03H\x08\r\n\x0c\n\x05\x04\x03\x02\x06\x01\x12\x03H\x0e\x1f\n\
2048    \x0c\n\x05\x04\x03\x02\x06\x03\x12\x03H\"#\nB\n\x04\x04\x03\x02\x07\x12\
2049    \x03I\x08:\"5\x20k\x20*\x2032\x20bytes,\x20aggregated\x20vector\x20polyn\
2050    omial\x20(eq.\x2063)\n\n\x0c\n\x05\x04\x03\x02\x07\x04\x12\x03I\x08\x10\
2051    \n\x0c\n\x05\x04\x03\x02\x07\x05\x12\x03I\x11\x16\n\x0c\n\x05\x04\x03\
2052    \x02\x07\x01\x12\x03I\x175\n\x0c\n\x05\x04\x03\x02\x07\x03\x12\x03I89\nB\
2053    \n\x04\x04\x03\x02\x08\x12\x03J\x08:\"5\x20k\x20*\x2032\x20bytes,\x20agg\
2054    regated\x20vector\x20polynomial\x20(eq.\x2063)\n\n\x0c\n\x05\x04\x03\x02\
2055    \x08\x04\x12\x03J\x08\x10\n\x0c\n\x05\x04\x03\x02\x08\x05\x12\x03J\x11\
2056    \x16\n\x0c\n\x05\x04\x03\x02\x08\x01\x12\x03J\x175\n\x0c\n\x05\x04\x03\
2057    \x02\x08\x03\x12\x03J89\n\x20\n\x04\x04\x03\x02\t\x12\x03K\x08\x1d\"\x13\
2058    \x2032\x20bytes\x20(eq.\x2063)\n\n\r\n\x05\x04\x03\x02\t\x04\x12\x04K\
2059    \x08J:\n\x0c\n\x05\x04\x03\x02\t\x05\x12\x03K\x08\r\n\x0c\n\x05\x04\x03\
2060    \x02\t\x01\x12\x03K\x0e\x17\n\x0c\n\x05\x04\x03\x02\t\x03\x12\x03K\x1a\
2061    \x1c\n\x20\n\x04\x04\x03\x02\n\x12\x03L\x08\x1d\"\x13\x2032\x20bytes\x20\
2062    (eq.\x2063)\n\n\r\n\x05\x04\x03\x02\n\x04\x12\x04L\x08K\x1d\n\x0c\n\x05\
2063    \x04\x03\x02\n\x05\x12\x03L\x08\r\n\x0c\n\x05\x04\x03\x02\n\x01\x12\x03L\
2064    \x0e\x17\n\x0c\n\x05\x04\x03\x02\n\x03\x12\x03L\x1a\x1c\n\x0b\n\x04\x04\
2065    \x03\x02\x0b\x12\x03M\x08\x15\n\r\n\x05\x04\x03\x02\x0b\x04\x12\x04M\x08\
2066    L\x1d\n\x0c\n\x05\x04\x03\x02\x0b\x05\x12\x03M\x08\r\n\x0c\n\x05\x04\x03\
2067    \x02\x0b\x01\x12\x03M\x0e\x0f\n\x0c\n\x05\x04\x03\x02\x0b\x03\x12\x03M\
2068    \x12\x14b\x06proto3\
2069";
2070
2071static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
2072    lock: ::protobuf::lazy::ONCE_INIT,
2073    ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
2074};
2075
2076fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
2077    ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
2078}
2079
2080pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
2081    unsafe {
2082        file_descriptor_proto_lazy.get(|| {
2083            parse_descriptor_proto()
2084        })
2085    }
2086}