Skip to content

Commit f667328

Browse files
committed
update proto
1 parent 208682d commit f667328

File tree

6 files changed

+2603
-1008
lines changed

6 files changed

+2603
-1008
lines changed

side-proto/src/prost/side/side.auction.rs

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ pub struct Auction {
4141
pub liquidated_price: i64,
4242
#[prost(message, optional, tag = "7")]
4343
pub liquidated_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
44-
#[prost(int64, tag = "8")]
45-
pub expected_value: i64,
46-
#[prost(int64, tag = "9")]
47-
pub bidded_value: i64,
44+
#[prost(message, optional, tag = "8")]
45+
pub expected_value: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
46+
#[prost(message, optional, tag = "9")]
47+
pub bidded_value: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
4848
#[prost(int64, tag = "10")]
4949
pub bidded_amount: i64,
5050
#[prost(string, tag = "11")]
@@ -340,6 +340,34 @@ impl ::prost::Name for QueryBidsResponse {
340340
::prost::alloc::format!("side.auction.{}", Self::NAME)
341341
}
342342
}
343+
/// QueryAuctionPriceRequest is request type for the Query/AuctionPrice RPC method.
344+
#[allow(clippy::derive_partial_eq_without_eq)]
345+
#[derive(Clone, PartialEq, ::prost::Message)]
346+
pub struct QueryAuctionPriceRequest {
347+
#[prost(uint64, tag = "1")]
348+
pub auction_id: u64,
349+
}
350+
impl ::prost::Name for QueryAuctionPriceRequest {
351+
const NAME: &'static str = "QueryAuctionPriceRequest";
352+
const PACKAGE: &'static str = "side.auction";
353+
fn full_name() -> ::prost::alloc::string::String {
354+
::prost::alloc::format!("side.auction.{}", Self::NAME)
355+
}
356+
}
357+
/// QueryAuctionPriceResponse is response type for the Query/AuctionPrice RPC method.
358+
#[allow(clippy::derive_partial_eq_without_eq)]
359+
#[derive(Clone, PartialEq, ::prost::Message)]
360+
pub struct QueryAuctionPriceResponse {
361+
#[prost(string, tag = "1")]
362+
pub price: ::prost::alloc::string::String,
363+
}
364+
impl ::prost::Name for QueryAuctionPriceResponse {
365+
const NAME: &'static str = "QueryAuctionPriceResponse";
366+
const PACKAGE: &'static str = "side.auction";
367+
fn full_name() -> ::prost::alloc::string::String {
368+
::prost::alloc::format!("side.auction.{}", Self::NAME)
369+
}
370+
}
343371
/// MsgBid defines the Msg/Bid request type.
344372
#[allow(clippy::derive_partial_eq_without_eq)]
345373
#[derive(Clone, PartialEq, ::prost::Message)]
@@ -398,30 +426,30 @@ impl ::prost::Name for MsgCancelBidResponse {
398426
::prost::alloc::format!("side.auction.{}", Self::NAME)
399427
}
400428
}
401-
/// MsgSubmitPaymentTransactionSignatures defines the Msg/SubmitPaymentTransactionSignatures request type.
429+
/// MsgSubmitPaymentSignatures defines the Msg/SubmitPaymentSignatures request type.
402430
#[allow(clippy::derive_partial_eq_without_eq)]
403431
#[derive(Clone, PartialEq, ::prost::Message)]
404-
pub struct MsgSubmitPaymentTransactionSignatures {
432+
pub struct MsgSubmitPaymentSignatures {
405433
#[prost(string, tag = "1")]
406-
pub relayer: ::prost::alloc::string::String,
434+
pub sender: ::prost::alloc::string::String,
407435
#[prost(uint64, tag = "2")]
408436
pub auction_id: u64,
409437
#[prost(string, repeated, tag = "3")]
410438
pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
411439
}
412-
impl ::prost::Name for MsgSubmitPaymentTransactionSignatures {
413-
const NAME: &'static str = "MsgSubmitPaymentTransactionSignatures";
440+
impl ::prost::Name for MsgSubmitPaymentSignatures {
441+
const NAME: &'static str = "MsgSubmitPaymentSignatures";
414442
const PACKAGE: &'static str = "side.auction";
415443
fn full_name() -> ::prost::alloc::string::String {
416444
::prost::alloc::format!("side.auction.{}", Self::NAME)
417445
}
418446
}
419-
/// MsgSubmitPaymentTransactionSignaturesResponse defines the Msg/SubmitPaymentTransactionSignatures response type.
447+
/// MsgSubmitPaymentSignaturesResponse defines the Msg/SubmitPaymentSignatures response type.
420448
#[allow(clippy::derive_partial_eq_without_eq)]
421449
#[derive(Clone, PartialEq, ::prost::Message)]
422-
pub struct MsgSubmitPaymentTransactionSignaturesResponse {}
423-
impl ::prost::Name for MsgSubmitPaymentTransactionSignaturesResponse {
424-
const NAME: &'static str = "MsgSubmitPaymentTransactionSignaturesResponse";
450+
pub struct MsgSubmitPaymentSignaturesResponse {}
451+
impl ::prost::Name for MsgSubmitPaymentSignaturesResponse {
452+
const NAME: &'static str = "MsgSubmitPaymentSignaturesResponse";
425453
const PACKAGE: &'static str = "side.auction";
426454
fn full_name() -> ::prost::alloc::string::String {
427455
::prost::alloc::format!("side.auction.{}", Self::NAME)

0 commit comments

Comments
 (0)