#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
#[prost(bool, tag = "1")]
pub enabled: bool,
#[prost(message, optional, tag = "2")]
pub reward_per_deposit: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
#[prost(message, optional, tag = "3")]
pub reward_per_withdraw: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
}
impl ::prost::Name for Params {
const NAME: &'static str = "Params";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
impl ::prost::Name for GenesisState {
const NAME: &'static str = "GenesisState";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Rewards {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub deposit_count: u64,
#[prost(uint64, tag = "3")]
pub withdraw_count: u64,
#[prost(message, optional, tag = "4")]
pub deposit_reward: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
#[prost(message, optional, tag = "5")]
pub withdraw_reward: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
#[prost(message, optional, tag = "6")]
pub total_amount: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
}
impl ::prost::Name for Rewards {
const NAME: &'static str = "Rewards";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RewardStats {
#[prost(uint64, tag = "1")]
pub address_count: u64,
#[prost(uint64, tag = "2")]
pub tx_count: u64,
#[prost(message, optional, tag = "3")]
pub total_reward_amount: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
}
impl ::prost::Name for RewardStats {
const NAME: &'static str = "RewardStats";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRewardsRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryRewardsRequest {
const NAME: &'static str = "QueryRewardsRequest";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRewardsResponse {
#[prost(message, optional, tag = "1")]
pub rewards: ::core::option::Option<Rewards>,
}
impl ::prost::Name for QueryRewardsResponse {
const NAME: &'static str = "QueryRewardsResponse";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRewardStatsRequest {}
impl ::prost::Name for QueryRewardStatsRequest {
const NAME: &'static str = "QueryRewardStatsRequest";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRewardStatsResponse {
#[prost(message, optional, tag = "1")]
pub reward_stats: ::core::option::Option<RewardStats>,
}
impl ::prost::Name for QueryRewardStatsResponse {
const NAME: &'static str = "QueryRewardStatsResponse";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {}
impl ::prost::Name for QueryParamsRequest {
const NAME: &'static str = "QueryParamsRequest";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
impl ::prost::Name for QueryParamsResponse {
const NAME: &'static str = "QueryParamsResponse";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParams {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<Params>,
}
impl ::prost::Name for MsgUpdateParams {
const NAME: &'static str = "MsgUpdateParams";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParamsResponse {}
impl ::prost::Name for MsgUpdateParamsResponse {
const NAME: &'static str = "MsgUpdateParamsResponse";
const PACKAGE: &'static str = "side.incentive";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.incentive.{}", Self::NAME)
}
}
include!("side.incentive.serde.rs");
include!("side.incentive.tonic.rs");