qorechain-sdk 0.5.0

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.
/// LightNodeView is a flat representation of a registered light node.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LightNodeView {
    #[prost(string, tag="1")]
    pub address: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub node_type: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub version: ::prost::alloc::string::String,
    #[prost(string, repeated, tag="4")]
    pub capabilities: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, tag="5")]
    pub status: ::prost::alloc::string::String,
    #[prost(int64, tag="6")]
    pub registered_at: i64,
    #[prost(int64, tag="7")]
    pub last_heartbeat: i64,
    #[prost(uint64, tag="8")]
    pub total_heartbeats: u64,
    #[prost(uint64, tag="9")]
    pub expected_heartbeats: u64,
    #[prost(string, tag="10")]
    pub delegated_stake: ::prost::alloc::string::String,
    #[prost(string, tag="11")]
    pub accumulated_rewards: ::prost::alloc::string::String,
    #[prost(int64, tag="12")]
    pub initial_heartbeat_interval: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryLightNodeRequest {
    #[prost(string, tag="1")]
    pub address: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryLightNodeResponse {
    #[prost(message, optional, tag="1")]
    pub node: ::core::option::Option<LightNodeView>,
    #[prost(bool, tag="2")]
    pub found: bool,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryLightNodesRequest {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryLightNodesResponse {
    #[prost(message, repeated, tag="1")]
    pub nodes: ::prost::alloc::vec::Vec<LightNodeView>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
    #[prost(string, tag="1")]
    pub registration_fee: ::prost::alloc::string::String,
    #[prost(int64, tag="2")]
    pub heartbeat_interval: i64,
    #[prost(string, tag="3")]
    pub min_delegated_stake: ::prost::alloc::string::String,
    #[prost(string, tag="4")]
    pub reward_share: ::prost::alloc::string::String,
    #[prost(string, tag="5")]
    pub min_uptime_for_rewards: ::prost::alloc::string::String,
    #[prost(uint64, tag="6")]
    pub max_light_nodes: u64,
    #[prost(int64, tag="7")]
    pub heartbeat_grace_period: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRewardsRequest {
    #[prost(string, tag="1")]
    pub address: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRewardsResponse {
    #[prost(string, tag="1")]
    pub accumulated_rewards: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryStatsRequest {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryStatsResponse {
    #[prost(uint64, tag="1")]
    pub total_registered: u64,
    #[prost(uint64, tag="2")]
    pub total_active: u64,
    #[prost(string, tag="3")]
    pub total_rewards: ::prost::alloc::string::String,
    #[prost(int64, tag="4")]
    pub last_reward_height: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgRegisterLightNode {
    #[prost(string, tag="1")]
    pub operator: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub node_type: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub version: ::prost::alloc::string::String,
    #[prost(string, repeated, tag="4")]
    pub capabilities: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgRegisterLightNodeResponse {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgHeartbeat {
    #[prost(string, tag="1")]
    pub operator: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgHeartbeatResponse {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgDeregisterLightNode {
    #[prost(string, tag="1")]
    pub operator: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgDeregisterLightNodeResponse {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgClaimLightNodeRewards {
    #[prost(string, tag="1")]
    pub operator: ::prost::alloc::string::String,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgClaimLightNodeRewardsResponse {
}
// @@protoc_insertion_point(module)