@@ -242,6 +242,34 @@ impl ::prost::Name for SigningRequest {
242242 :: prost:: alloc:: format!( "side.btcbridge.{}" , Self :: NAME )
243243 }
244244}
245+ /// Compact Signing Request
246+ #[ allow( clippy:: derive_partial_eq_without_eq) ]
247+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
248+ pub struct CompactSigningRequest {
249+ #[ prost( string, tag = "1" ) ]
250+ pub address : :: prost:: alloc:: string:: String ,
251+ #[ prost( uint64, tag = "2" ) ]
252+ pub sequence : u64 ,
253+ #[ prost( enumeration = "AssetType" , tag = "3" ) ]
254+ pub r#type : i32 ,
255+ #[ prost( string, tag = "4" ) ]
256+ pub txid : :: prost:: alloc:: string:: String ,
257+ #[ prost( string, repeated, tag = "5" ) ]
258+ pub signers : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: string:: String > ,
259+ #[ prost( string, repeated, tag = "6" ) ]
260+ pub sig_hashes : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: string:: String > ,
261+ #[ prost( message, optional, tag = "7" ) ]
262+ pub creation_time : :: core:: option:: Option < :: tendermint_proto:: google:: protobuf:: Timestamp > ,
263+ #[ prost( enumeration = "SigningStatus" , tag = "8" ) ]
264+ pub status : i32 ,
265+ }
266+ impl :: prost:: Name for CompactSigningRequest {
267+ const NAME : & ' static str = "CompactSigningRequest" ;
268+ const PACKAGE : & ' static str = "side.btcbridge" ;
269+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
270+ :: prost:: alloc:: format!( "side.btcbridge.{}" , Self :: NAME )
271+ }
272+ }
245273/// Withdrawal Request
246274#[ allow( clippy:: derive_partial_eq_without_eq) ]
247275#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -781,6 +809,37 @@ impl ::prost::Name for QuerySigningRequestByTxHashResponse {
781809 :: prost:: alloc:: format!( "side.btcbridge.{}" , Self :: NAME )
782810 }
783811}
812+ /// QueryPendingSigningRequestsRequest is request type for the Query/PendingSigningRequests RPC method.
813+ #[ allow( clippy:: derive_partial_eq_without_eq) ]
814+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
815+ pub struct QueryPendingSigningRequestsRequest {
816+ #[ prost( message, optional, tag = "1" ) ]
817+ pub pagination : :: core:: option:: Option < super :: super :: cosmos:: base:: query:: v1beta1:: PageRequest > ,
818+ }
819+ impl :: prost:: Name for QueryPendingSigningRequestsRequest {
820+ const NAME : & ' static str = "QueryPendingSigningRequestsRequest" ;
821+ const PACKAGE : & ' static str = "side.btcbridge" ;
822+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
823+ :: prost:: alloc:: format!( "side.btcbridge.{}" , Self :: NAME )
824+ }
825+ }
826+ /// QueryPendingSigningRequestsResponse is response type for the Query/PendingSigningRequests RPC method.
827+ #[ allow( clippy:: derive_partial_eq_without_eq) ]
828+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
829+ pub struct QueryPendingSigningRequestsResponse {
830+ #[ prost( message, repeated, tag = "1" ) ]
831+ pub requests : :: prost:: alloc:: vec:: Vec < CompactSigningRequest > ,
832+ #[ prost( message, optional, tag = "2" ) ]
833+ pub pagination :
834+ :: core:: option:: Option < super :: super :: cosmos:: base:: query:: v1beta1:: PageResponse > ,
835+ }
836+ impl :: prost:: Name for QueryPendingSigningRequestsResponse {
837+ const NAME : & ' static str = "QueryPendingSigningRequestsResponse" ;
838+ const PACKAGE : & ' static str = "side.btcbridge" ;
839+ fn full_name ( ) -> :: prost:: alloc:: string:: String {
840+ :: prost:: alloc:: format!( "side.btcbridge.{}" , Self :: NAME )
841+ }
842+ }
784843/// QueryFeeRateRequest is request type for the Query/FeeRate RPC method.
785844#[ allow( clippy:: derive_partial_eq_without_eq) ]
786845#[ derive( Clone , PartialEq , :: prost:: Message ) ]
0 commit comments