#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DlcOracle {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(uint64, tag = "2")]
pub dkg_id: u64,
#[prost(string, tag = "3")]
pub desc: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub pubkey: ::prost::alloc::string::String,
#[prost(uint64, tag = "5")]
pub nonce_index: u64,
#[prost(message, optional, tag = "6")]
pub time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
#[prost(enumeration = "DlcOracleStatus", tag = "7")]
pub status: i32,
}
impl ::prost::Name for DlcOracle {
const NAME: &'static str = "DLCOracle";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Dcm {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(uint64, tag = "2")]
pub dkg_id: u64,
#[prost(string, tag = "3")]
pub desc: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub pubkey: ::prost::alloc::string::String,
#[prost(message, optional, tag = "5")]
pub time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
#[prost(enumeration = "DcmStatus", tag = "6")]
pub status: i32,
}
impl ::prost::Name for Dcm {
const NAME: &'static str = "DCM";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DlcNonce {
#[prost(uint64, tag = "1")]
pub index: u64,
#[prost(string, tag = "2")]
pub nonce: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub oracle_pubkey: ::prost::alloc::string::String,
#[prost(message, optional, tag = "4")]
pub time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
}
impl ::prost::Name for DlcNonce {
const NAME: &'static str = "DLCNonce";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DlcEvent {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(enumeration = "DlcEventType", tag = "2")]
pub r#type: i32,
#[prost(string, tag = "3")]
pub nonce: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub pubkey: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub description: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "6")]
pub outcomes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(bool, tag = "7")]
pub has_triggered: bool,
#[prost(int32, tag = "8")]
pub outcome_index: i32,
#[prost(message, optional, tag = "9")]
pub publish_at: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
#[prost(message, optional, tag = "10")]
pub trigger_at: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
}
impl ::prost::Name for DlcEvent {
const NAME: &'static str = "DLCEvent";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DlcAttestation {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(uint64, tag = "2")]
pub event_id: u64,
#[prost(string, tag = "3")]
pub outcome: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub pubkey: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub signature: ::prost::alloc::string::String,
#[prost(message, optional, tag = "6")]
pub time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
}
impl ::prost::Name for DlcAttestation {
const NAME: &'static str = "DLCAttestation";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OracleParticipantLiveness {
#[prost(string, tag = "1")]
pub consensus_pubkey: ::prost::alloc::string::String,
#[prost(bool, tag = "2")]
pub is_alive: bool,
#[prost(uint64, tag = "3")]
pub last_dkg_id: u64,
#[prost(int64, tag = "4")]
pub last_block_height: i64,
}
impl ::prost::Name for OracleParticipantLiveness {
const NAME: &'static str = "OracleParticipantLiveness";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DlcOracleStatus {
OracleStatusEnable = 0,
OracleStatusDisable = 1,
}
impl DlcOracleStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
DlcOracleStatus::OracleStatusEnable => "Oracle_status_Enable",
DlcOracleStatus::OracleStatusDisable => "Oracle_status_Disable",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"Oracle_status_Enable" => Some(Self::OracleStatusEnable),
"Oracle_status_Disable" => Some(Self::OracleStatusDisable),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DcmStatus {
Enable = 0,
Disable = 1,
}
impl DcmStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
DcmStatus::Enable => "DCM_status_Enable",
DcmStatus::Disable => "DCM_status_Disable",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"DCM_status_Enable" => Some(Self::Enable),
"DCM_status_Disable" => Some(Self::Disable),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DlcEventType {
Unspecified = 0,
Price = 1,
Date = 2,
Lending = 3,
}
impl DlcEventType {
pub fn as_str_name(&self) -> &'static str {
match self {
DlcEventType::Unspecified => "UNSPECIFIED",
DlcEventType::Price => "PRICE",
DlcEventType::Date => "DATE",
DlcEventType::Lending => "LENDING",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNSPECIFIED" => Some(Self::Unspecified),
"PRICE" => Some(Self::Price),
"DATE" => Some(Self::Date),
"LENDING" => Some(Self::Lending),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SigningIntent {
Default = 0,
}
impl SigningIntent {
pub fn as_str_name(&self) -> &'static str {
match self {
SigningIntent::Default => "SIGNING_INTENT_DEFAULT",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SIGNING_INTENT_DEFAULT" => Some(Self::Default),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DkgIntent {
Default = 0,
PriceEventNonce = 10000,
DateEventNonce = 20000,
LendingEventNonce = 30000,
}
impl DkgIntent {
pub fn as_str_name(&self) -> &'static str {
match self {
DkgIntent::Default => "DKG_INTENT_DEFAULT",
DkgIntent::PriceEventNonce => "DKG_INTENT_PRICE_EVENT_NONCE",
DkgIntent::DateEventNonce => "DKG_INTENT_DATE_EVENT_NONCE",
DkgIntent::LendingEventNonce => "DKG_INTENT_LENDING_EVENT_NONCE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"DKG_INTENT_DEFAULT" => Some(Self::Default),
"DKG_INTENT_PRICE_EVENT_NONCE" => Some(Self::PriceEventNonce),
"DKG_INTENT_DATE_EVENT_NONCE" => Some(Self::DateEventNonce),
"DKG_INTENT_LENDING_EVENT_NONCE" => Some(Self::LendingEventNonce),
_ => None,
}
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
#[prost(uint32, tag = "1")]
pub nonce_queue_size: u32,
#[prost(uint32, tag = "2")]
pub nonce_generation_batch_size: u32,
#[prost(int64, tag = "3")]
pub nonce_generation_interval: i64,
#[prost(string, repeated, tag = "4")]
pub allowed_oracle_participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(uint32, tag = "5")]
pub oracle_participant_num: u32,
#[prost(uint32, tag = "6")]
pub oracle_participant_threshold: u32,
}
impl ::prost::Name for Params {
const NAME: &'static str = "Params";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", 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>,
#[prost(message, repeated, tag = "2")]
pub events: ::prost::alloc::vec::Vec<DlcEvent>,
#[prost(message, repeated, tag = "3")]
pub attestations: ::prost::alloc::vec::Vec<DlcAttestation>,
}
impl ::prost::Name for GenesisState {
const NAME: &'static str = "GenesisState";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAttestationRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
}
impl ::prost::Name for QueryAttestationRequest {
const NAME: &'static str = "QueryAttestationRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAttestationResponse {
#[prost(message, optional, tag = "1")]
pub attestation: ::core::option::Option<DlcAttestation>,
}
impl ::prost::Name for QueryAttestationResponse {
const NAME: &'static str = "QueryAttestationResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAttestationByEventRequest {
#[prost(uint64, tag = "1")]
pub event_id: u64,
}
impl ::prost::Name for QueryAttestationByEventRequest {
const NAME: &'static str = "QueryAttestationByEventRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAttestationByEventResponse {
#[prost(message, optional, tag = "1")]
pub attestation: ::core::option::Option<DlcAttestation>,
}
impl ::prost::Name for QueryAttestationByEventResponse {
const NAME: &'static str = "QueryAttestationByEventResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAttestationsRequest {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryAttestationsRequest {
const NAME: &'static str = "QueryAttestationsRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAttestationsResponse {
#[prost(message, repeated, tag = "1")]
pub attestations: ::prost::alloc::vec::Vec<DlcAttestation>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryAttestationsResponse {
const NAME: &'static str = "QueryAttestationsResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDcmRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(string, tag = "2")]
pub pub_key: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryDcmRequest {
const NAME: &'static str = "QueryDCMRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDcmResponse {
#[prost(message, optional, tag = "1")]
pub dcm: ::core::option::Option<Dcm>,
#[prost(string, repeated, tag = "2")]
pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for QueryDcmResponse {
const NAME: &'static str = "QueryDCMResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDcMsRequest {
#[prost(enumeration = "DcmStatus", tag = "1")]
pub status: i32,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryDcMsRequest {
const NAME: &'static str = "QueryDCMsRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDcMsResponse {
#[prost(message, repeated, tag = "1")]
pub dcms: ::prost::alloc::vec::Vec<Dcm>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryDcMsResponse {
const NAME: &'static str = "QueryDCMsResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryOracleRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(string, tag = "2")]
pub pub_key: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryOracleRequest {
const NAME: &'static str = "QueryOracleRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryOracleResponse {
#[prost(message, optional, tag = "1")]
pub oracle: ::core::option::Option<DlcOracle>,
#[prost(string, repeated, tag = "2")]
pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for QueryOracleResponse {
const NAME: &'static str = "QueryOracleResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryOraclesRequest {
#[prost(enumeration = "DlcOracleStatus", tag = "1")]
pub status: i32,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryOraclesRequest {
const NAME: &'static str = "QueryOraclesRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryOraclesResponse {
#[prost(message, repeated, tag = "1")]
pub oracles: ::prost::alloc::vec::Vec<DlcOracle>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryOraclesResponse {
const NAME: &'static str = "QueryOraclesResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryCountNoncesRequest {}
impl ::prost::Name for QueryCountNoncesRequest {
const NAME: &'static str = "QueryCountNoncesRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryCountNoncesResponse {
#[prost(uint32, repeated, tag = "1")]
pub counts: ::prost::alloc::vec::Vec<u32>,
}
impl ::prost::Name for QueryCountNoncesResponse {
const NAME: &'static str = "QueryCountNoncesResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryNonceRequest {
#[prost(uint64, tag = "1")]
pub oracle_id: u64,
#[prost(uint64, tag = "2")]
pub index: u64,
}
impl ::prost::Name for QueryNonceRequest {
const NAME: &'static str = "QueryNonceRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryNonceResponse {
#[prost(message, optional, tag = "1")]
pub nonce: ::core::option::Option<DlcNonce>,
}
impl ::prost::Name for QueryNonceResponse {
const NAME: &'static str = "QueryNonceResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryNoncesRequest {
#[prost(uint64, tag = "1")]
pub oracle_id: u64,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryNoncesRequest {
const NAME: &'static str = "QueryNoncesRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryNoncesResponse {
#[prost(message, repeated, tag = "1")]
pub nonces: ::prost::alloc::vec::Vec<DlcNonce>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryNoncesResponse {
const NAME: &'static str = "QueryNoncesResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryEventRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
}
impl ::prost::Name for QueryEventRequest {
const NAME: &'static str = "QueryEventRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryEventResponse {
#[prost(message, optional, tag = "1")]
pub event: ::core::option::Option<DlcEvent>,
}
impl ::prost::Name for QueryEventResponse {
const NAME: &'static str = "QueryEventResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryEventsRequest {
#[prost(bool, tag = "1")]
pub triggered: bool,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryEventsRequest {
const NAME: &'static str = "QueryEventsRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryEventsResponse {
#[prost(message, repeated, tag = "1")]
pub events: ::prost::alloc::vec::Vec<DlcEvent>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryEventsResponse {
const NAME: &'static str = "QueryEventsResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryOracleParticipantLivenessRequest {
#[prost(string, tag = "1")]
pub consensus_pubkey: ::prost::alloc::string::String,
#[prost(bool, tag = "2")]
pub alive: bool,
}
impl ::prost::Name for QueryOracleParticipantLivenessRequest {
const NAME: &'static str = "QueryOracleParticipantLivenessRequest";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryOracleParticipantLivenessResponse {
#[prost(message, repeated, tag = "1")]
pub participant_livenesses: ::prost::alloc::vec::Vec<OracleParticipantLiveness>,
}
impl ::prost::Name for QueryOracleParticipantLivenessResponse {
const NAME: &'static str = "QueryOracleParticipantLivenessResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", 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.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", 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.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCreateDcm {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "2")]
pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(uint32, tag = "3")]
pub threshold: u32,
}
impl ::prost::Name for MsgCreateDcm {
const NAME: &'static str = "MsgCreateDCM";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCreateDcmResponse {}
impl ::prost::Name for MsgCreateDcmResponse {
const NAME: &'static str = "MsgCreateDCMResponse";
const PACKAGE: &'static str = "side.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", 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.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", 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.dlc";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.dlc.{}", Self::NAME)
}
}
include!("side.dlc.serde.rs");
include!("side.dlc.tonic.rs");