qorechain-sdk 0.8.1

QoreChain SDK for Rust: networks, denom/address utils, HD accounts (native/EVM/SVM), ML-DSA-87 PQC signing, typed messages for all custom modules, tx lifecycle (auto-gas, tracking, search), typed queries, WS subscriptions, and REST/JSON-RPC read clients.
Documentation
// @generated
// This file is @generated by prost-build.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CrossVmMessageView {
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub source_vm: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub target_vm: ::prost::alloc::string::String,
    #[prost(string, tag="4")]
    pub sender: ::prost::alloc::string::String,
    #[prost(string, tag="5")]
    pub source_contract: ::prost::alloc::string::String,
    #[prost(string, tag="6")]
    pub target_contract: ::prost::alloc::string::String,
    #[prost(string, tag="7")]
    pub payload_hex: ::prost::alloc::string::String,
    #[prost(string, tag="8")]
    pub status: ::prost::alloc::string::String,
    #[prost(int64, tag="9")]
    pub created_height: i64,
    #[prost(int64, tag="10")]
    pub executed_height: i64,
    #[prost(string, tag="11")]
    pub error: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
    #[prost(uint64, tag="1")]
    pub max_message_size: u64,
    #[prost(uint32, tag="2")]
    pub max_queue_size: u32,
    #[prost(int64, tag="3")]
    pub queue_timeout_blocks: i64,
    #[prost(bool, tag="4")]
    pub enabled: bool,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryPendingMessagesRequest {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryPendingMessagesResponse {
    #[prost(message, repeated, tag="1")]
    pub messages: ::prost::alloc::vec::Vec<CrossVmMessageView>,
    #[prost(uint32, tag="2")]
    pub count: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryMessageRequest {
    #[prost(string, tag="1")]
    pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryMessageResponse {
    #[prost(message, optional, tag="1")]
    pub message: ::core::option::Option<CrossVmMessageView>,
    #[prost(bool, tag="2")]
    pub found: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCrossVmCall {
    #[prost(string, tag="1")]
    pub sender: ::prost::alloc::string::String,
    /// source_vm is IGNORED on input. The chain derives the origin lane from the
    /// execution context, because a caller describing itself cannot be evidence of
    /// what it is. Retained so the field number stays taken and older clients that
    /// still set it are accepted rather than rejected.
    #[prost(string, tag="2")]
    pub source_vm: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub target_vm: ::prost::alloc::string::String,
    #[prost(string, tag="4")]
    pub target_contract: ::prost::alloc::string::String,
    #[prost(bytes="vec", tag="5")]
    pub payload: ::prost::alloc::vec::Vec<u8>,
    #[prost(message, repeated, tag="6")]
    pub funds: ::prost::alloc::vec::Vec<::cosmrs::proto::cosmos::base::v1beta1::Coin>,
    /// async queues the call instead of executing it, to be dispatched later by
    /// ProcessQueue. The default is to execute now and return the answer, which is
    /// what a caller that needs the result requires.
    #[prost(bool, tag="7")]
    pub r#async: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCrossVmCallResponse {
    #[prost(string, tag="1")]
    pub message_id: ::prost::alloc::string::String,
    /// executed is false for a queued call, whose result is not known yet.
    #[prost(bool, tag="2")]
    pub executed: bool,
    /// data is the callee's return value, carried back to the caller. A CosmWasm
    /// contract reads it from the submessage reply.
    #[prost(bytes="vec", tag="3")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    #[prost(uint64, tag="4")]
    pub gas_used: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgProcessQueue {
    #[prost(string, tag="1")]
    pub authority: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgProcessQueueResponse {
}
// @@protoc_insertion_point(module)