Kagome
Polkadot Runtime Engine in C++17
parachain_host_types_serde.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CORE_RUNTIME_IMPL_PARACHAIN_HOST_SERDE_HPP
7 #define KAGOME_CORE_RUNTIME_IMPL_PARACHAIN_HOST_SERDE_HPP
8 
10 #include "scale/scale.hpp"
11 
12 namespace kagome::runtime {
13 
14  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
15  const ScheduledCore &val);
16  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
17  ScheduledCore &val);
18  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
19  const CandidateDescriptor &val);
20  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
21  CandidateDescriptor &val);
22  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
23  const OccupiedCore &val);
24  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
25  OccupiedCore &val);
26  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
27  const PersistedValidationData &val);
28  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
29  PersistedValidationData &val);
30  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
31  const OutboundHrmpMessage &val);
32  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
33  OutboundHrmpMessage &val);
34  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
35  const CandidateCommitments &val);
36  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
37  CandidateCommitments &val);
38  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
39  const CommittedCandidateReceipt &val);
40  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
41  CommittedCandidateReceipt &val);
42  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
43  const CandidateReceipt &val);
44  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
45  CandidateReceipt &val);
46  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
47  const Candidate &val);
48  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
49  Candidate &val);
50  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
51  const CandidateBacked &val);
52  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
53  CandidateBacked &val);
54  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
55  const CandidateIncluded &val);
56  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
57  CandidateIncluded &val);
58  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
59  const SessionInfo &val);
60  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
61  SessionInfo &val);
62  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
63  const InboundDownwardMessage &val);
64  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
65  InboundDownwardMessage &val);
66  ::scale::ScaleEncoderStream &operator<<(::scale::ScaleEncoderStream &s,
67  const InboundHrmpMessage &val);
68  ::scale::ScaleDecoderStream &operator>>(::scale::ScaleDecoderStream &s,
69  InboundHrmpMessage &val);
70 } // namespace kagome::runtime
71 
72 #endif // KAGOME_CORE_RUNTIME_IMPL_PARACHAIN_HOST_SERDE_HPP
::scale::ScaleDecoderStream & operator>>(::scale::ScaleDecoderStream &s, ScheduledCore &val)
::scale::ScaleEncoderStream & operator<<(::scale::ScaleEncoderStream &s, const ScheduledCore &val)