1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicKey {
#[prost(oneof="public_key::Sum", tags="1, 2, 3, 4, 5, 15")]
pub sum: ::std::option::Option<public_key::Sum>,
}
pub mod public_key {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Sum {
#[prost(bytes, tag="1")]
Secp256k1(std::vec::Vec<u8>),
#[prost(bytes, tag="2")]
Ed25519(std::vec::Vec<u8>),
#[prost(bytes, tag="3")]
Sr25519(std::vec::Vec<u8>),
#[prost(message, tag="4")]
Multisig(super::PubKeyMultisigThreshold),
#[prost(bytes, tag="5")]
Secp256r1(std::vec::Vec<u8>),
#[prost(message, tag="15")]
AnyPubkey(::prost_types::Any),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PubKeyMultisigThreshold {
#[prost(uint32, tag="1")]
pub threshold: u32,
#[prost(message, repeated, tag="2")]
pub public_keys: ::std::vec::Vec<PublicKey>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MultiSignature {
#[prost(bytes, repeated, tag="1")]
pub signatures: ::std::vec::Vec<std::vec::Vec<u8>>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CompactBitArray {
#[prost(uint32, tag="1")]
pub extra_bits_stored: u32,
#[prost(bytes, tag="2")]
pub elems: std::vec::Vec<u8>,
}