ibc-proto 0.52.0

ibc-proto provides Cosmos SDK & IBC Protocol Buffers definitions
Documentation
// This file is @generated by prost-build.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Header {
    #[prost(message, optional, tag = "1")]
    pub height: ::core::option::Option<super::core::client::v1::Height>,
    #[prost(uint64, tag = "2")]
    pub timestamp: u64,
}
impl ::prost::Name for Header {
    const NAME: &'static str = "Header";
    const PACKAGE: &'static str = "ibc.mock";
    fn full_name() -> ::prost::alloc::string::String {
        "ibc.mock.Header".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/ibc.mock.Header".into()
    }
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ClientState {
    #[prost(message, optional, tag = "1")]
    pub header: ::core::option::Option<Header>,
    #[prost(uint64, tag = "2")]
    pub trusting_period: u64,
    #[prost(bool, tag = "3")]
    pub frozen: bool,
}
impl ::prost::Name for ClientState {
    const NAME: &'static str = "ClientState";
    const PACKAGE: &'static str = "ibc.mock";
    fn full_name() -> ::prost::alloc::string::String {
        "ibc.mock.ClientState".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/ibc.mock.ClientState".into()
    }
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ConsensusState {
    #[prost(message, optional, tag = "1")]
    pub header: ::core::option::Option<Header>,
}
impl ::prost::Name for ConsensusState {
    const NAME: &'static str = "ConsensusState";
    const PACKAGE: &'static str = "ibc.mock";
    fn full_name() -> ::prost::alloc::string::String {
        "ibc.mock.ConsensusState".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/ibc.mock.ConsensusState".into()
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Misbehaviour {
    #[prost(string, tag = "1")]
    pub client_id: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub header1: ::core::option::Option<Header>,
    #[prost(message, optional, tag = "3")]
    pub header2: ::core::option::Option<Header>,
}
impl ::prost::Name for Misbehaviour {
    const NAME: &'static str = "Misbehaviour";
    const PACKAGE: &'static str = "ibc.mock";
    fn full_name() -> ::prost::alloc::string::String {
        "ibc.mock.Misbehaviour".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/ibc.mock.Misbehaviour".into()
    }
}