#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DlcOracle {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(string, tag = "2")]
pub desc: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "3")]
pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(uint32, tag = "4")]
pub threshold: u32,
#[prost(string, tag = "5")]
pub pubkey: ::prost::alloc::string::String,
#[prost(uint64, tag = "6")]
pub nonce_index: u64,
#[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 Agency {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(string, tag = "2")]
pub desc: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "3")]
pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(uint32, tag = "4")]
pub threshold: u32,
#[prost(string, tag = "5")]
pub pubkey: ::prost::alloc::string::String,
#[prost(enumeration = "AgencyStatus", tag = "6")]
pub status: i32,
}
impl ::prost::Name for Agency {
const NAME: &'static str = "Agency";
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 DlcPriceEvent {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(string, tag = "2")]
pub trigger_price: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub price_decimal: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub nonce: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub pubkey: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub description: ::prost::alloc::string::String,
#[prost(bool, tag = "7")]
pub has_triggered: bool,
#[prost(message, optional, tag = "8")]
pub publish_at: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
}
impl ::prost::Name for DlcPriceEvent {
const NAME: &'static str = "DLCPriceEvent";
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(message, optional, tag = "3")]
pub time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
#[prost(string, tag = "4")]
pub pubkey: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub outcome: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub signature: ::prost::alloc::string::String,
}
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)
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DlcOracleStatus {
OracleStatusPending = 0,
OracleStatusEnable = 1,
OracleStatusDisable = 2,
}
impl DlcOracleStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
DlcOracleStatus::OracleStatusPending => "Oracle_Status_Pending",
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_Pending" => Some(Self::OracleStatusPending),
"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 AgencyStatus {
Pending = 0,
Enable = 1,
Disable = 2,
}
impl AgencyStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
AgencyStatus::Pending => "Agency_Status_Pending",
AgencyStatus::Enable => "Agency_status_Enable",
AgencyStatus::Disable => "Agency_status_Disable",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"Agency_Status_Pending" => Some(Self::Pending),
"Agency_status_Enable" => Some(Self::Enable),
"Agency_status_Disable" => Some(Self::Disable),
_ => None,
}
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PriceInterval {
#[prost(string, tag = "1")]
pub price_pair: ::prost::alloc::string::String,
#[prost(int32, tag = "2")]
pub interval: i32,
}
impl ::prost::Name for PriceInterval {
const NAME: &'static str = "PriceInterval";
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 Params {
#[prost(uint32, tag = "1")]
pub nonce_queue_size: u32,
#[prost(message, repeated, tag = "2")]
pub price_intervals: ::prost::alloc::vec::Vec<PriceInterval>,
}
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<DlcPriceEvent>,
#[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 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 QueryAgenciesRequest {
#[prost(enumeration = "AgencyStatus", 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 QueryAgenciesRequest {
const NAME: &'static str = "QueryAgenciesRequest";
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 QueryAgenciesResponse {
#[prost(message, repeated, tag = "1")]
pub agencies: ::prost::alloc::vec::Vec<Agency>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryAgenciesResponse {
const NAME: &'static str = "QueryAgenciesResponse";
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<DlcPriceEvent>,
}
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<DlcPriceEvent>,
#[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 QueryPriceRequest {
#[prost(string, tag = "1")]
pub symbol: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryPriceRequest {
const NAME: &'static str = "QueryPriceRequest";
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 QueryPriceResponse {
#[prost(uint64, tag = "1")]
pub price: u64,
}
impl ::prost::Name for QueryPriceResponse {
const NAME: &'static str = "QueryPriceResponse";
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 MsgSubmitAgencyPubKey {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub id: u64,
#[prost(string, tag = "3")]
pub pub_key: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgSubmitAgencyPubKey {
const NAME: &'static str = "MsgSubmitAgencyPubKey";
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 MsgSubmitAgencyPubKeyResponse {}
impl ::prost::Name for MsgSubmitAgencyPubKeyResponse {
const NAME: &'static str = "MsgSubmitAgencyPubKeyResponse";
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 MsgSubmitOraclePubKey {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub oracle_id: u64,
#[prost(string, tag = "3")]
pub pub_key: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgSubmitOraclePubKey {
const NAME: &'static str = "MsgSubmitOraclePubKey";
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 MsgSubmitOraclePubKeyResponse {}
impl ::prost::Name for MsgSubmitOraclePubKeyResponse {
const NAME: &'static str = "MsgSubmitOraclePubKeyResponse";
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 MsgSubmitNonce {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub nonce: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgSubmitNonce {
const NAME: &'static str = "MsgSubmitNonce";
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 MsgSubmitNonceResponse {}
impl ::prost::Name for MsgSubmitNonceResponse {
const NAME: &'static str = "MsgSubmitNonceResponse";
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 MsgSubmitAttestation {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub event_id: u64,
#[prost(string, tag = "3")]
pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgSubmitAttestation {
const NAME: &'static str = "MsgSubmitAttestation";
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 MsgSubmitAttestationResponse {}
impl ::prost::Name for MsgSubmitAttestationResponse {
const NAME: &'static str = "MsgSubmitAttestationResponse";
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 MsgCreateOracle {
#[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 MsgCreateOracle {
const NAME: &'static str = "MsgCreateOracle";
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 MsgCreateOracleResponse {}
impl ::prost::Name for MsgCreateOracleResponse {
const NAME: &'static str = "MsgCreateOracleResponse";
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 MsgCreateAgency {
#[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 MsgCreateAgency {
const NAME: &'static str = "MsgCreateAgency";
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 MsgCreateAgencyResponse {}
impl ::prost::Name for MsgCreateAgencyResponse {
const NAME: &'static str = "MsgCreateAgencyResponse";
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");