diff --git a/cosmos-sdk-proto/src/lib.rs b/cosmos-sdk-proto/src/lib.rs index 3b2fc75b..2299ca23 100644 --- a/cosmos-sdk-proto/src/lib.rs +++ b/cosmos-sdk-proto/src/lib.rs @@ -15,7 +15,6 @@ extern crate alloc; pub mod traits; -mod type_names; pub use prost; pub use tendermint_proto as tendermint; diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.runtime.v1alpha1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.runtime.v1alpha1.rs index ebfd6e70..39921396 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.runtime.v1alpha1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.runtime.v1alpha1.rs @@ -46,6 +46,13 @@ pub struct Module { #[prost(string, repeated, tag = "9")] pub prepare_check_staters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.app.runtime.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.runtime.v1alpha1.{}", Self::NAME) + } +} /// StoreKeyConfig may be supplied to override the default module store key, which /// is the module name. #[allow(clippy::derive_partial_eq_without_eq)] @@ -58,5 +65,12 @@ pub struct StoreKeyConfig { #[prost(string, tag = "2")] pub kv_store_key: ::prost::alloc::string::String, } +impl ::prost::Name for StoreKeyConfig { + const NAME: &'static str = "StoreKeyConfig"; + const PACKAGE: &'static str = "cosmos.app.runtime.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.runtime.v1alpha1.{}", Self::NAME) + } +} include!("cosmos.app.runtime.v1alpha1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.v1alpha1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.v1alpha1.rs index aa511c59..4f5ab4e2 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.v1alpha1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.v1alpha1.rs @@ -24,6 +24,13 @@ pub struct ModuleDescriptor { #[prost(message, repeated, tag = "3")] pub can_migrate_from: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ModuleDescriptor { + const NAME: &'static str = "ModuleDescriptor"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} /// PackageReference is a reference to a protobuf package used by a module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -69,6 +76,13 @@ pub struct PackageReference { #[prost(uint32, tag = "2")] pub revision: u32, } +impl ::prost::Name for PackageReference { + const NAME: &'static str = "PackageReference"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} /// MigrateFromInfo is information on a module version that a newer module /// can migrate from. #[allow(clippy::derive_partial_eq_without_eq)] @@ -79,6 +93,13 @@ pub struct MigrateFromInfo { #[prost(string, tag = "1")] pub module: ::prost::alloc::string::String, } +impl ::prost::Name for MigrateFromInfo { + const NAME: &'static str = "MigrateFromInfo"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} /// Config represents the configuration for a Cosmos SDK ABCI app. /// It is intended that all state machine logic including the version of /// baseapp and tx handlers (and possibly even Tendermint) that an app needs @@ -98,6 +119,13 @@ pub struct Config { #[prost(message, repeated, tag = "2")] pub golang_bindings: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Config { + const NAME: &'static str = "Config"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} /// ModuleConfig is a module configuration for an app. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -124,6 +152,13 @@ pub struct ModuleConfig { #[prost(message, repeated, tag = "3")] pub golang_bindings: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ModuleConfig { + const NAME: &'static str = "ModuleConfig"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} /// GolangBinding is an explicit interface type to implementing type binding for dependency injection. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -135,10 +170,24 @@ pub struct GolangBinding { #[prost(string, tag = "2")] pub implementation: ::prost::alloc::string::String, } +impl ::prost::Name for GolangBinding { + const NAME: &'static str = "GolangBinding"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} /// QueryConfigRequest is the Query/Config request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryConfigRequest {} +impl ::prost::Name for QueryConfigRequest { + const NAME: &'static str = "QueryConfigRequest"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} /// QueryConfigRequest is the Query/Config response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -147,6 +196,13 @@ pub struct QueryConfigResponse { #[prost(message, optional, tag = "1")] pub config: ::core::option::Option, } +impl ::prost::Name for QueryConfigResponse { + const NAME: &'static str = "QueryConfigResponse"; + const PACKAGE: &'static str = "cosmos.app.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + } +} include!("cosmos.app.v1alpha1.serde.rs"); include!("cosmos.app.v1alpha1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.module.v1.rs index 60980108..ab932046 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.module.v1.rs @@ -13,6 +13,13 @@ pub struct Module { #[prost(string, tag = "3")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.auth.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.module.v1.{}", Self::NAME) + } +} /// ModuleAccountPermission represents permissions for a module account. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -25,5 +32,12 @@ pub struct ModuleAccountPermission { #[prost(string, repeated, tag = "2")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for ModuleAccountPermission { + const NAME: &'static str = "ModuleAccountPermission"; + const PACKAGE: &'static str = "cosmos.auth.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.module.v1.{}", Self::NAME) + } +} include!("cosmos.auth.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.v1beta1.rs index 1a3a848e..ca727b05 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.v1beta1.rs @@ -14,6 +14,13 @@ pub struct BaseAccount { #[prost(uint64, tag = "4")] pub sequence: u64, } +impl ::prost::Name for BaseAccount { + const NAME: &'static str = "BaseAccount"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// ModuleAccount defines an account for modules that holds coins on a pool. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -25,6 +32,13 @@ pub struct ModuleAccount { #[prost(string, repeated, tag = "3")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for ModuleAccount { + const NAME: &'static str = "ModuleAccount"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// ModuleCredential represents a unclaimable pubkey for base accounts controlled by modules. /// /// Since: cosmos-sdk 0.47 @@ -39,6 +53,13 @@ pub struct ModuleCredential { #[prost(bytes = "vec", repeated, tag = "2")] pub derivation_keys: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for ModuleCredential { + const NAME: &'static str = "ModuleCredential"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// Params defines the parameters for the auth module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -54,6 +75,13 @@ pub struct Params { #[prost(uint64, tag = "5")] pub sig_verify_cost_secp256k1: u64, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the auth module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -65,6 +93,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "2")] pub accounts: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountsRequest is the request type for the Query/Accounts RPC method. /// /// Since: cosmos-sdk 0.43 @@ -75,6 +110,13 @@ pub struct QueryAccountsRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAccountsRequest { + const NAME: &'static str = "QueryAccountsRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountsResponse is the response type for the Query/Accounts RPC method. /// /// Since: cosmos-sdk 0.43 @@ -88,6 +130,13 @@ pub struct QueryAccountsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAccountsResponse { + const NAME: &'static str = "QueryAccountsResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountRequest is the request type for the Query/Account RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -96,6 +145,13 @@ pub struct QueryAccountRequest { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryAccountRequest { + const NAME: &'static str = "QueryAccountRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountResponse is the response type for the Query/Account RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -104,10 +160,24 @@ pub struct QueryAccountResponse { #[prost(message, optional, tag = "1")] pub account: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for QueryAccountResponse { + const NAME: &'static str = "QueryAccountResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest is the request type for the Query/Params RPC method. #[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 = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -116,12 +186,26 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryModuleAccountsRequest {} +impl ::prost::Name for QueryModuleAccountsRequest { + const NAME: &'static str = "QueryModuleAccountsRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. /// /// Since: cosmos-sdk 0.46 @@ -131,6 +215,13 @@ pub struct QueryModuleAccountsResponse { #[prost(message, repeated, tag = "1")] pub accounts: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for QueryModuleAccountsResponse { + const NAME: &'static str = "QueryModuleAccountsResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -138,6 +229,13 @@ pub struct QueryModuleAccountByNameRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } +impl ::prost::Name for QueryModuleAccountByNameRequest { + const NAME: &'static str = "QueryModuleAccountByNameRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -145,12 +243,26 @@ pub struct QueryModuleAccountByNameResponse { #[prost(message, optional, tag = "1")] pub account: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for QueryModuleAccountByNameResponse { + const NAME: &'static str = "QueryModuleAccountByNameResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// Bech32PrefixRequest is the request type for Bech32Prefix rpc method. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Bech32PrefixRequest {} +impl ::prost::Name for Bech32PrefixRequest { + const NAME: &'static str = "Bech32PrefixRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// Bech32PrefixResponse is the response type for Bech32Prefix rpc method. /// /// Since: cosmos-sdk 0.46 @@ -160,6 +272,13 @@ pub struct Bech32PrefixResponse { #[prost(string, tag = "1")] pub bech32_prefix: ::prost::alloc::string::String, } +impl ::prost::Name for Bech32PrefixResponse { + const NAME: &'static str = "Bech32PrefixResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// AddressBytesToStringRequest is the request type for AddressString rpc method. /// /// Since: cosmos-sdk 0.46 @@ -169,6 +288,13 @@ pub struct AddressBytesToStringRequest { #[prost(bytes = "vec", tag = "1")] pub address_bytes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for AddressBytesToStringRequest { + const NAME: &'static str = "AddressBytesToStringRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// AddressBytesToStringResponse is the response type for AddressString rpc method. /// /// Since: cosmos-sdk 0.46 @@ -178,6 +304,13 @@ pub struct AddressBytesToStringResponse { #[prost(string, tag = "1")] pub address_string: ::prost::alloc::string::String, } +impl ::prost::Name for AddressBytesToStringResponse { + const NAME: &'static str = "AddressBytesToStringResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// AddressStringToBytesRequest is the request type for AccountBytes rpc method. /// /// Since: cosmos-sdk 0.46 @@ -187,6 +320,13 @@ pub struct AddressStringToBytesRequest { #[prost(string, tag = "1")] pub address_string: ::prost::alloc::string::String, } +impl ::prost::Name for AddressStringToBytesRequest { + const NAME: &'static str = "AddressStringToBytesRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// AddressStringToBytesResponse is the response type for AddressBytes rpc method. /// /// Since: cosmos-sdk 0.46 @@ -196,6 +336,13 @@ pub struct AddressStringToBytesResponse { #[prost(bytes = "vec", tag = "1")] pub address_bytes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for AddressStringToBytesResponse { + const NAME: &'static str = "AddressStringToBytesResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method /// /// Since: cosmos-sdk 0.46.2 @@ -216,6 +363,13 @@ pub struct QueryAccountAddressByIdRequest { #[prost(uint64, tag = "2")] pub account_id: u64, } +impl ::prost::Name for QueryAccountAddressByIdRequest { + const NAME: &'static str = "QueryAccountAddressByIDRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method /// /// Since: cosmos-sdk 0.46.2 @@ -225,6 +379,13 @@ pub struct QueryAccountAddressByIdResponse { #[prost(string, tag = "1")] pub account_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryAccountAddressByIdResponse { + const NAME: &'static str = "QueryAccountAddressByIDResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountInfoRequest is the Query/AccountInfo request type. /// /// Since: cosmos-sdk 0.47 @@ -235,6 +396,13 @@ pub struct QueryAccountInfoRequest { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryAccountInfoRequest { + const NAME: &'static str = "QueryAccountInfoRequest"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// QueryAccountInfoResponse is the Query/AccountInfo response type. /// /// Since: cosmos-sdk 0.47 @@ -245,6 +413,13 @@ pub struct QueryAccountInfoResponse { #[prost(message, optional, tag = "1")] pub info: ::core::option::Option, } +impl ::prost::Name for QueryAccountInfoResponse { + const NAME: &'static str = "QueryAccountInfoResponse"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -260,6 +435,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -267,6 +449,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.auth.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + } +} include!("cosmos.auth.v1beta1.serde.rs"); include!("cosmos.auth.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.module.v1.rs index 0562eb3f..95458372 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.module.v1.rs @@ -3,5 +3,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.authz.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.module.v1.{}", Self::NAME) + } +} include!("cosmos.authz.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.v1beta1.rs index 6cad93a0..2c45f0e5 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.v1beta1.rs @@ -8,6 +8,13 @@ pub struct GenericAuthorization { #[prost(string, tag = "1")] pub msg: ::prost::alloc::string::String, } +impl ::prost::Name for GenericAuthorization { + const NAME: &'static str = "GenericAuthorization"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// Grant gives permissions to execute /// the provide method with expiration time. #[allow(clippy::derive_partial_eq_without_eq)] @@ -21,6 +28,13 @@ pub struct Grant { #[prost(message, optional, tag = "2")] pub expiration: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for Grant { + const NAME: &'static str = "Grant"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// GrantAuthorization extends a grant with both the addresses of the grantee and granter. /// It is used in genesis.proto and query.proto #[allow(clippy::derive_partial_eq_without_eq)] @@ -35,6 +49,13 @@ pub struct GrantAuthorization { #[prost(message, optional, tag = "4")] pub expiration: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for GrantAuthorization { + const NAME: &'static str = "GrantAuthorization"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// GrantQueueItem contains the list of TypeURL of a sdk.Msg. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -43,6 +64,13 @@ pub struct GrantQueueItem { #[prost(string, repeated, tag = "1")] pub msg_type_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for GrantQueueItem { + const NAME: &'static str = "GrantQueueItem"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// EventGrant is emitted on Msg/Grant #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -57,6 +85,13 @@ pub struct EventGrant { #[prost(string, tag = "4")] pub grantee: ::prost::alloc::string::String, } +impl ::prost::Name for EventGrant { + const NAME: &'static str = "EventGrant"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// EventRevoke is emitted on Msg/Revoke #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -71,6 +106,13 @@ pub struct EventRevoke { #[prost(string, tag = "4")] pub grantee: ::prost::alloc::string::String, } +impl ::prost::Name for EventRevoke { + const NAME: &'static str = "EventRevoke"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the authz module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -78,6 +120,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "1")] pub authorization: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// QueryGrantsRequest is the request type for the Query/Grants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -93,6 +142,13 @@ pub struct QueryGrantsRequest { #[prost(message, optional, tag = "4")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGrantsRequest { + const NAME: &'static str = "QueryGrantsRequest"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// QueryGrantsResponse is the response type for the Query/Authorizations RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -104,6 +160,13 @@ pub struct QueryGrantsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGrantsResponse { + const NAME: &'static str = "QueryGrantsResponse"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -114,6 +177,13 @@ pub struct QueryGranterGrantsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGranterGrantsRequest { + const NAME: &'static str = "QueryGranterGrantsRequest"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -125,6 +195,13 @@ pub struct QueryGranterGrantsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGranterGrantsResponse { + const NAME: &'static str = "QueryGranterGrantsResponse"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -135,6 +212,13 @@ pub struct QueryGranteeGrantsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGranteeGrantsRequest { + const NAME: &'static str = "QueryGranteeGrantsRequest"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -146,6 +230,13 @@ pub struct QueryGranteeGrantsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGranteeGrantsResponse { + const NAME: &'static str = "QueryGranteeGrantsResponse"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// MsgGrant is a request type for Grant method. It declares authorization to the grantee /// on behalf of the granter with the provided expiration time. #[allow(clippy::derive_partial_eq_without_eq)] @@ -158,10 +249,24 @@ pub struct MsgGrant { #[prost(message, optional, tag = "3")] pub grant: ::core::option::Option, } +impl ::prost::Name for MsgGrant { + const NAME: &'static str = "MsgGrant"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// MsgGrantResponse defines the Msg/MsgGrant response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgGrantResponse {} +impl ::prost::Name for MsgGrantResponse { + const NAME: &'static str = "MsgGrantResponse"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// MsgExec attempts to execute the provided messages using /// authorizations granted to the grantee. Each message should have only /// one signer corresponding to the granter of the authorization. @@ -176,6 +281,13 @@ pub struct MsgExec { #[prost(message, repeated, tag = "2")] pub msgs: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for MsgExec { + const NAME: &'static str = "MsgExec"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// MsgExecResponse defines the Msg/MsgExecResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -183,6 +295,13 @@ pub struct MsgExecResponse { #[prost(bytes = "vec", repeated, tag = "1")] pub results: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for MsgExecResponse { + const NAME: &'static str = "MsgExecResponse"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// MsgRevoke revokes any authorization with the provided sdk.Msg type on the /// granter's account with that has been granted to the grantee. #[allow(clippy::derive_partial_eq_without_eq)] @@ -195,10 +314,24 @@ pub struct MsgRevoke { #[prost(string, tag = "3")] pub msg_type_url: ::prost::alloc::string::String, } +impl ::prost::Name for MsgRevoke { + const NAME: &'static str = "MsgRevoke"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} /// MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgRevokeResponse {} +impl ::prost::Name for MsgRevokeResponse { + const NAME: &'static str = "MsgRevokeResponse"; + const PACKAGE: &'static str = "cosmos.authz.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.authz.v1beta1.{}", Self::NAME) + } +} include!("cosmos.authz.v1beta1.serde.rs"); include!("cosmos.authz.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.autocli.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.autocli.v1.rs index 4a9fb871..75a1fa3b 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.autocli.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.autocli.v1.rs @@ -10,6 +10,13 @@ pub struct ModuleOptions { #[prost(message, optional, tag = "2")] pub query: ::core::option::Option, } +impl ::prost::Name for ModuleOptions { + const NAME: &'static str = "ModuleOptions"; + const PACKAGE: &'static str = "cosmos.autocli.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.autocli.v1.{}", Self::NAME) + } +} /// ServiceCommandDescriptor describes a CLI command based on a protobuf service. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -31,6 +38,13 @@ pub struct ServiceCommandDescriptor { pub sub_commands: ::std::collections::HashMap<::prost::alloc::string::String, ServiceCommandDescriptor>, } +impl ::prost::Name for ServiceCommandDescriptor { + const NAME: &'static str = "ServiceCommandDescriptor"; + const PACKAGE: &'static str = "cosmos.autocli.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.autocli.v1.{}", Self::NAME) + } +} /// RpcCommandOptions specifies options for commands generated from protobuf /// rpc methods. #[allow(clippy::derive_partial_eq_without_eq)] @@ -84,6 +98,13 @@ pub struct RpcCommandOptions { #[prost(bool, tag = "12")] pub skip: bool, } +impl ::prost::Name for RpcCommandOptions { + const NAME: &'static str = "RpcCommandOptions"; + const PACKAGE: &'static str = "cosmos.autocli.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.autocli.v1.{}", Self::NAME) + } +} /// FlagOptions are options for flags generated from rpc request fields. /// By default, all request fields are configured as flags based on the /// kebab-case name of the field. Fields can be turned into positional arguments @@ -113,6 +134,13 @@ pub struct FlagOptions { #[prost(bool, tag = "8")] pub hidden: bool, } +impl ::prost::Name for FlagOptions { + const NAME: &'static str = "FlagOptions"; + const PACKAGE: &'static str = "cosmos.autocli.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.autocli.v1.{}", Self::NAME) + } +} /// PositionalArgDescriptor describes a positional argument. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -127,10 +155,24 @@ pub struct PositionalArgDescriptor { #[prost(bool, tag = "2")] pub varargs: bool, } +impl ::prost::Name for PositionalArgDescriptor { + const NAME: &'static str = "PositionalArgDescriptor"; + const PACKAGE: &'static str = "cosmos.autocli.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.autocli.v1.{}", Self::NAME) + } +} /// AppOptionsRequest is the RemoteInfoService/AppOptions request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppOptionsRequest {} +impl ::prost::Name for AppOptionsRequest { + const NAME: &'static str = "AppOptionsRequest"; + const PACKAGE: &'static str = "cosmos.autocli.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.autocli.v1.{}", Self::NAME) + } +} /// AppOptionsResponse is the RemoteInfoService/AppOptions response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -139,6 +181,13 @@ pub struct AppOptionsResponse { #[prost(map = "string, message", tag = "1")] pub module_options: ::std::collections::HashMap<::prost::alloc::string::String, ModuleOptions>, } +impl ::prost::Name for AppOptionsResponse { + const NAME: &'static str = "AppOptionsResponse"; + const PACKAGE: &'static str = "cosmos.autocli.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.autocli.v1.{}", Self::NAME) + } +} include!("cosmos.autocli.v1.serde.rs"); include!("cosmos.autocli.v1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.module.v1.rs index aad0294f..189c74dd 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.module.v1.rs @@ -18,5 +18,12 @@ pub struct Module { #[prost(string, repeated, tag = "3")] pub restrictions_order: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.bank.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.module.v1.{}", Self::NAME) + } +} include!("cosmos.bank.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.v1beta1.rs index fb158cfb..2ca1f4e1 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.v1beta1.rs @@ -15,6 +15,13 @@ pub struct SendAuthorization { #[prost(string, repeated, tag = "2")] pub allow_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for SendAuthorization { + const NAME: &'static str = "SendAuthorization"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// Params defines the parameters for the bank module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -30,6 +37,13 @@ pub struct Params { #[prost(bool, tag = "2")] pub default_send_enabled: bool, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// SendEnabled maps coin denom to a send_enabled status (whether a denom is /// sendable). #[allow(clippy::derive_partial_eq_without_eq)] @@ -40,6 +54,13 @@ pub struct SendEnabled { #[prost(bool, tag = "2")] pub enabled: bool, } +impl ::prost::Name for SendEnabled { + const NAME: &'static str = "SendEnabled"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// Input models transaction input. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -49,6 +70,13 @@ pub struct Input { #[prost(message, repeated, tag = "2")] pub coins: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Input { + const NAME: &'static str = "Input"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// Output models transaction outputs. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -58,6 +86,13 @@ pub struct Output { #[prost(message, repeated, tag = "2")] pub coins: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Output { + const NAME: &'static str = "Output"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// Supply represents a struct that passively keeps track of the total supply /// amounts in the network. /// This message is deprecated now that supply is indexed by denom. @@ -67,6 +102,13 @@ pub struct Supply { #[prost(message, repeated, tag = "1")] pub total: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Supply { + const NAME: &'static str = "Supply"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// DenomUnit represents a struct that describes a given /// denomination unit of the basic token. #[allow(clippy::derive_partial_eq_without_eq)] @@ -86,6 +128,13 @@ pub struct DenomUnit { #[prost(string, repeated, tag = "3")] pub aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for DenomUnit { + const NAME: &'static str = "DenomUnit"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// Metadata represents a struct that describes /// a basic token. #[allow(clippy::derive_partial_eq_without_eq)] @@ -126,6 +175,13 @@ pub struct Metadata { #[prost(string, tag = "8")] pub uri_hash: ::prost::alloc::string::String, } +impl ::prost::Name for Metadata { + const NAME: &'static str = "Metadata"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the bank module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -149,6 +205,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "5")] pub send_enabled: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// Balance defines an account address and balance pair used in the bank module's /// genesis state. #[allow(clippy::derive_partial_eq_without_eq)] @@ -161,6 +224,13 @@ pub struct Balance { #[prost(message, repeated, tag = "2")] pub coins: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Balance { + const NAME: &'static str = "Balance"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryBalanceRequest is the request type for the Query/Balance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -172,6 +242,13 @@ pub struct QueryBalanceRequest { #[prost(string, tag = "2")] pub denom: ::prost::alloc::string::String, } +impl ::prost::Name for QueryBalanceRequest { + const NAME: &'static str = "QueryBalanceRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryBalanceResponse is the response type for the Query/Balance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -180,6 +257,13 @@ pub struct QueryBalanceResponse { #[prost(message, optional, tag = "1")] pub balance: ::core::option::Option, } +impl ::prost::Name for QueryBalanceResponse { + const NAME: &'static str = "QueryBalanceResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryBalanceRequest is the request type for the Query/AllBalances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -196,6 +280,13 @@ pub struct QueryAllBalancesRequest { #[prost(bool, tag = "3")] pub resolve_denom: bool, } +impl ::prost::Name for QueryAllBalancesRequest { + const NAME: &'static str = "QueryAllBalancesRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -208,6 +299,13 @@ pub struct QueryAllBalancesResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllBalancesResponse { + const NAME: &'static str = "QueryAllBalancesResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySpendableBalancesRequest defines the gRPC request structure for querying /// an account's spendable balances. /// @@ -222,6 +320,13 @@ pub struct QuerySpendableBalancesRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QuerySpendableBalancesRequest { + const NAME: &'static str = "QuerySpendableBalancesRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySpendableBalancesResponse defines the gRPC response structure for querying /// an account's spendable balances. /// @@ -236,6 +341,13 @@ pub struct QuerySpendableBalancesResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QuerySpendableBalancesResponse { + const NAME: &'static str = "QuerySpendableBalancesResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySpendableBalanceByDenomRequest defines the gRPC request structure for /// querying an account's spendable balance for a specific denom. /// @@ -250,6 +362,13 @@ pub struct QuerySpendableBalanceByDenomRequest { #[prost(string, tag = "2")] pub denom: ::prost::alloc::string::String, } +impl ::prost::Name for QuerySpendableBalanceByDenomRequest { + const NAME: &'static str = "QuerySpendableBalanceByDenomRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySpendableBalanceByDenomResponse defines the gRPC response structure for /// querying an account's spendable balance for a specific denom. /// @@ -261,6 +380,13 @@ pub struct QuerySpendableBalanceByDenomResponse { #[prost(message, optional, tag = "1")] pub balance: ::core::option::Option, } +impl ::prost::Name for QuerySpendableBalanceByDenomResponse { + const NAME: &'static str = "QuerySpendableBalanceByDenomResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -272,6 +398,13 @@ pub struct QueryTotalSupplyRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryTotalSupplyRequest { + const NAME: &'static str = "QueryTotalSupplyRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] @@ -286,6 +419,13 @@ pub struct QueryTotalSupplyResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryTotalSupplyResponse { + const NAME: &'static str = "QueryTotalSupplyResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -294,6 +434,13 @@ pub struct QuerySupplyOfRequest { #[prost(string, tag = "1")] pub denom: ::prost::alloc::string::String, } +impl ::prost::Name for QuerySupplyOfRequest { + const NAME: &'static str = "QuerySupplyOfRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -302,10 +449,24 @@ pub struct QuerySupplyOfResponse { #[prost(message, optional, tag = "1")] pub amount: ::core::option::Option, } +impl ::prost::Name for QuerySupplyOfResponse { + const NAME: &'static str = "QuerySupplyOfResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest defines the request type for querying x/bank parameters. #[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 = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse defines the response type for querying x/bank parameters. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -314,6 +475,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -322,6 +490,13 @@ pub struct QueryDenomsMetadataRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDenomsMetadataRequest { + const NAME: &'static str = "QueryDenomsMetadataRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -334,6 +509,13 @@ pub struct QueryDenomsMetadataResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDenomsMetadataResponse { + const NAME: &'static str = "QueryDenomsMetadataResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -342,6 +524,13 @@ pub struct QueryDenomMetadataRequest { #[prost(string, tag = "1")] pub denom: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDenomMetadataRequest { + const NAME: &'static str = "QueryDenomMetadataRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -351,6 +540,13 @@ pub struct QueryDenomMetadataResponse { #[prost(message, optional, tag = "1")] pub metadata: ::core::option::Option, } +impl ::prost::Name for QueryDenomMetadataResponse { + const NAME: &'static str = "QueryDenomMetadataResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomMetadataByQueryStringRequest is the request type for the Query/DenomMetadata RPC method. /// Identical with QueryDenomMetadataRequest but receives denom as query string. #[allow(clippy::derive_partial_eq_without_eq)] @@ -360,6 +556,13 @@ pub struct QueryDenomMetadataByQueryStringRequest { #[prost(string, tag = "1")] pub denom: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDenomMetadataByQueryStringRequest { + const NAME: &'static str = "QueryDenomMetadataByQueryStringRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC /// method. Identical with QueryDenomMetadataResponse but receives denom as query string in request. #[allow(clippy::derive_partial_eq_without_eq)] @@ -369,6 +572,13 @@ pub struct QueryDenomMetadataByQueryStringResponse { #[prost(message, optional, tag = "1")] pub metadata: ::core::option::Option, } +impl ::prost::Name for QueryDenomMetadataByQueryStringResponse { + const NAME: &'static str = "QueryDenomMetadataByQueryStringResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, /// which queries for a paginated set of all account holders of a particular /// denomination. @@ -382,6 +592,13 @@ pub struct QueryDenomOwnersRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDenomOwnersRequest { + const NAME: &'static str = "QueryDenomOwnersRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// DenomOwner defines structure representing an account that owns or holds a /// particular denominated token. It contains the account address and account /// balance of the denominated token. @@ -397,6 +614,13 @@ pub struct DenomOwner { #[prost(message, optional, tag = "2")] pub balance: ::core::option::Option, } +impl ::prost::Name for DenomOwner { + const NAME: &'static str = "DenomOwner"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. /// /// Since: cosmos-sdk 0.46 @@ -409,6 +633,13 @@ pub struct QueryDenomOwnersResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDenomOwnersResponse { + const NAME: &'static str = "QueryDenomOwnersResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomOwnersByQueryRequest defines the request type for the DenomOwnersByQuery RPC query, /// which queries for a paginated set of all account holders of a particular /// denomination. @@ -424,6 +655,13 @@ pub struct QueryDenomOwnersByQueryRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDenomOwnersByQueryRequest { + const NAME: &'static str = "QueryDenomOwnersByQueryRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query. /// /// Since: cosmos-sdk 0.50.3 @@ -436,6 +674,13 @@ pub struct QueryDenomOwnersByQueryResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDenomOwnersByQueryResponse { + const NAME: &'static str = "QueryDenomOwnersByQueryResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries. /// /// Since: cosmos-sdk 0.47 @@ -450,6 +695,13 @@ pub struct QuerySendEnabledRequest { #[prost(message, optional, tag = "99")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QuerySendEnabledRequest { + const NAME: &'static str = "QuerySendEnabledRequest"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// QuerySendEnabledResponse defines the RPC response of a SendEnable query. /// /// Since: cosmos-sdk 0.47 @@ -463,6 +715,13 @@ pub struct QuerySendEnabledResponse { #[prost(message, optional, tag = "99")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QuerySendEnabledResponse { + const NAME: &'static str = "QuerySendEnabledResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgSend represents a message to send coins from one account to another. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -474,10 +733,24 @@ pub struct MsgSend { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgSend { + const NAME: &'static str = "MsgSend"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgSendResponse defines the Msg/Send response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgSendResponse {} +impl ::prost::Name for MsgSendResponse { + const NAME: &'static str = "MsgSendResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgMultiSend represents an arbitrary multi-in, multi-out send message. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -489,10 +762,24 @@ pub struct MsgMultiSend { #[prost(message, repeated, tag = "2")] pub outputs: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgMultiSend { + const NAME: &'static str = "MsgMultiSend"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgMultiSendResponse defines the Msg/MultiSend response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgMultiSendResponse {} +impl ::prost::Name for MsgMultiSendResponse { + const NAME: &'static str = "MsgMultiSendResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -508,6 +795,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -515,6 +809,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgSetSendEnabled is the Msg/SetSendEnabled request type. /// /// Only entries to add/update/delete need to be included. @@ -538,12 +839,26 @@ pub struct MsgSetSendEnabled { #[prost(string, repeated, tag = "3")] pub use_default_for: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for MsgSetSendEnabled { + const NAME: &'static str = "MsgSetSendEnabled"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} /// MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgSetSendEnabledResponse {} +impl ::prost::Name for MsgSetSendEnabledResponse { + const NAME: &'static str = "MsgSetSendEnabledResponse"; + const PACKAGE: &'static str = "cosmos.bank.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + } +} include!("cosmos.bank.v1beta1.serde.rs"); include!("cosmos.bank.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.abci.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.abci.v1beta1.rs index f00aa3e7..141c0e2c 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.abci.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.abci.v1beta1.rs @@ -52,6 +52,13 @@ pub struct TxResponse { #[prost(message, repeated, tag = "13")] pub events: ::prost::alloc::vec::Vec<::tendermint_proto::v0_34::abci::Event>, } +impl ::prost::Name for TxResponse { + const NAME: &'static str = "TxResponse"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// ABCIMessageLog defines a structure containing an indexed tx ABCI message log. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -65,6 +72,13 @@ pub struct AbciMessageLog { #[prost(message, repeated, tag = "3")] pub events: ::prost::alloc::vec::Vec, } +impl ::prost::Name for AbciMessageLog { + const NAME: &'static str = "ABCIMessageLog"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// StringEvent defines en Event object wrapper where all the attributes /// contain key/value pairs that are strings instead of raw bytes. #[allow(clippy::derive_partial_eq_without_eq)] @@ -75,6 +89,13 @@ pub struct StringEvent { #[prost(message, repeated, tag = "2")] pub attributes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for StringEvent { + const NAME: &'static str = "StringEvent"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// Attribute defines an attribute wrapper where the key and value are /// strings instead of raw bytes. #[allow(clippy::derive_partial_eq_without_eq)] @@ -85,6 +106,13 @@ pub struct Attribute { #[prost(string, tag = "2")] pub value: ::prost::alloc::string::String, } +impl ::prost::Name for Attribute { + const NAME: &'static str = "Attribute"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// GasInfo defines tx execution gas context. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -96,6 +124,13 @@ pub struct GasInfo { #[prost(uint64, tag = "2")] pub gas_used: u64, } +impl ::prost::Name for GasInfo { + const NAME: &'static str = "GasInfo"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// Result is the union of ResponseFormat and ResponseCheckTx. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -120,6 +155,13 @@ pub struct Result { #[prost(message, repeated, tag = "4")] pub msg_responses: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for Result { + const NAME: &'static str = "Result"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// SimulationResponse defines the response generated when a transaction is /// successfully simulated. #[allow(clippy::derive_partial_eq_without_eq)] @@ -130,6 +172,13 @@ pub struct SimulationResponse { #[prost(message, optional, tag = "2")] pub result: ::core::option::Option, } +impl ::prost::Name for SimulationResponse { + const NAME: &'static str = "SimulationResponse"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// MsgData defines the data returned in a Result object during message /// execution. #[allow(clippy::derive_partial_eq_without_eq)] @@ -140,6 +189,13 @@ pub struct MsgData { #[prost(bytes = "vec", tag = "2")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgData { + const NAME: &'static str = "MsgData"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// TxMsgData defines a list of MsgData. A transaction will have a MsgData object /// for each message. #[allow(clippy::derive_partial_eq_without_eq)] @@ -155,6 +211,13 @@ pub struct TxMsgData { #[prost(message, repeated, tag = "2")] pub msg_responses: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for TxMsgData { + const NAME: &'static str = "TxMsgData"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// SearchTxsResult defines a structure for querying txs pageable #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -178,6 +241,13 @@ pub struct SearchTxsResult { #[prost(message, repeated, tag = "6")] pub txs: ::prost::alloc::vec::Vec, } +impl ::prost::Name for SearchTxsResult { + const NAME: &'static str = "SearchTxsResult"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} /// SearchBlocksResult defines a structure for querying blocks pageable #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -201,5 +271,12 @@ pub struct SearchBlocksResult { #[prost(message, repeated, tag = "6")] pub blocks: ::prost::alloc::vec::Vec<::tendermint_proto::v0_34::types::Block>, } +impl ::prost::Name for SearchBlocksResult { + const NAME: &'static str = "SearchBlocksResult"; + const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.abci.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.node.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.node.v1beta1.rs index 31577657..a5a34934 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.node.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.node.v1beta1.rs @@ -3,6 +3,13 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigRequest {} +impl ::prost::Name for ConfigRequest { + const NAME: &'static str = "ConfigRequest"; + const PACKAGE: &'static str = "cosmos.base.node.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.node.v1beta1.{}", Self::NAME) + } +} /// ConfigResponse defines the response structure for the Config gRPC query. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -16,10 +23,24 @@ pub struct ConfigResponse { #[prost(uint64, tag = "4")] pub halt_height: u64, } +impl ::prost::Name for ConfigResponse { + const NAME: &'static str = "ConfigResponse"; + const PACKAGE: &'static str = "cosmos.base.node.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.node.v1beta1.{}", Self::NAME) + } +} /// StateRequest defines the request structure for the status of a node. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct StatusRequest {} +impl ::prost::Name for StatusRequest { + const NAME: &'static str = "StatusRequest"; + const PACKAGE: &'static str = "cosmos.base.node.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.node.v1beta1.{}", Self::NAME) + } +} /// StateResponse defines the response structure for the status of a node. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -40,6 +61,13 @@ pub struct StatusResponse { #[prost(bytes = "vec", tag = "5")] pub validator_hash: ::prost::alloc::vec::Vec, } +impl ::prost::Name for StatusResponse { + const NAME: &'static str = "StatusResponse"; + const PACKAGE: &'static str = "cosmos.base.node.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.node.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.node.v1beta1.serde.rs"); include!("cosmos.base.node.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.query.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.query.v1beta1.rs index 9e79d078..004e7218 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.query.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.query.v1beta1.rs @@ -35,6 +35,13 @@ pub struct PageRequest { #[prost(bool, tag = "5")] pub reverse: bool, } +impl ::prost::Name for PageRequest { + const NAME: &'static str = "PageRequest"; + const PACKAGE: &'static str = "cosmos.base.query.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.query.v1beta1.{}", Self::NAME) + } +} /// PageResponse is to be embedded in gRPC response messages where the /// corresponding request message has used PageRequest. /// @@ -55,5 +62,12 @@ pub struct PageResponse { #[prost(uint64, tag = "2")] pub total: u64, } +impl ::prost::Name for PageResponse { + const NAME: &'static str = "PageResponse"; + const PACKAGE: &'static str = "cosmos.base.query.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.query.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.query.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v1beta1.rs index 0f244d14..f2978e05 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v1beta1.rs @@ -3,6 +3,13 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAllInterfacesRequest {} +impl ::prost::Name for ListAllInterfacesRequest { + const NAME: &'static str = "ListAllInterfacesRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + } +} /// ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -11,6 +18,13 @@ pub struct ListAllInterfacesResponse { #[prost(string, repeated, tag = "1")] pub interface_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for ListAllInterfacesResponse { + const NAME: &'static str = "ListAllInterfacesResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + } +} /// ListImplementationsRequest is the request type of the ListImplementations /// RPC. #[allow(clippy::derive_partial_eq_without_eq)] @@ -20,6 +34,13 @@ pub struct ListImplementationsRequest { #[prost(string, tag = "1")] pub interface_name: ::prost::alloc::string::String, } +impl ::prost::Name for ListImplementationsRequest { + const NAME: &'static str = "ListImplementationsRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + } +} /// ListImplementationsResponse is the response type of the ListImplementations /// RPC. #[allow(clippy::derive_partial_eq_without_eq)] @@ -28,6 +49,13 @@ pub struct ListImplementationsResponse { #[prost(string, repeated, tag = "1")] pub implementation_message_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for ListImplementationsResponse { + const NAME: &'static str = "ListImplementationsResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.reflection.v1beta1.serde.rs"); include!("cosmos.base.reflection.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v2alpha1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v2alpha1.rs index 14c79bd6..80c51a09 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v2alpha1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v2alpha1.rs @@ -23,6 +23,13 @@ pub struct AppDescriptor { #[prost(message, optional, tag = "6")] pub tx: ::core::option::Option, } +impl ::prost::Name for AppDescriptor { + const NAME: &'static str = "AppDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// TxDescriptor describes the accepted transaction type #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -36,6 +43,13 @@ pub struct TxDescriptor { #[prost(message, repeated, tag = "2")] pub msgs: ::prost::alloc::vec::Vec, } +impl ::prost::Name for TxDescriptor { + const NAME: &'static str = "TxDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// AuthnDescriptor provides information on how to sign transactions without relying /// on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures #[allow(clippy::derive_partial_eq_without_eq)] @@ -45,6 +59,13 @@ pub struct AuthnDescriptor { #[prost(message, repeated, tag = "1")] pub sign_modes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for AuthnDescriptor { + const NAME: &'static str = "AuthnDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// SigningModeDescriptor provides information on a signing flow of the application /// NOTE(fdymylja): here we could go as far as providing an entire flow on how /// to sign a message given a SigningModeDescriptor, but it's better to think about @@ -63,6 +84,13 @@ pub struct SigningModeDescriptor { #[prost(string, tag = "3")] pub authn_info_provider_method_fullname: ::prost::alloc::string::String, } +impl ::prost::Name for SigningModeDescriptor { + const NAME: &'static str = "SigningModeDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// ChainDescriptor describes chain information of the application #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -71,6 +99,13 @@ pub struct ChainDescriptor { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, } +impl ::prost::Name for ChainDescriptor { + const NAME: &'static str = "ChainDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// CodecDescriptor describes the registered interfaces and provides metadata information on the types #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -79,6 +114,13 @@ pub struct CodecDescriptor { #[prost(message, repeated, tag = "1")] pub interfaces: ::prost::alloc::vec::Vec, } +impl ::prost::Name for CodecDescriptor { + const NAME: &'static str = "CodecDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// InterfaceDescriptor describes the implementation of an interface #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -94,6 +136,13 @@ pub struct InterfaceDescriptor { #[prost(message, repeated, tag = "3")] pub interface_implementers: ::prost::alloc::vec::Vec, } +impl ::prost::Name for InterfaceDescriptor { + const NAME: &'static str = "InterfaceDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// InterfaceImplementerDescriptor describes an interface implementer #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -108,6 +157,13 @@ pub struct InterfaceImplementerDescriptor { #[prost(string, tag = "2")] pub type_url: ::prost::alloc::string::String, } +impl ::prost::Name for InterfaceImplementerDescriptor { + const NAME: &'static str = "InterfaceImplementerDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// InterfaceAcceptingMessageDescriptor describes a protobuf message which contains /// an interface represented as a google.protobuf.Any #[allow(clippy::derive_partial_eq_without_eq)] @@ -122,6 +178,13 @@ pub struct InterfaceAcceptingMessageDescriptor { #[prost(string, repeated, tag = "2")] pub field_descriptor_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for InterfaceAcceptingMessageDescriptor { + const NAME: &'static str = "InterfaceAcceptingMessageDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// ConfigurationDescriptor contains metadata information on the sdk.Config #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -130,6 +193,13 @@ pub struct ConfigurationDescriptor { #[prost(string, tag = "1")] pub bech32_account_address_prefix: ::prost::alloc::string::String, } +impl ::prost::Name for ConfigurationDescriptor { + const NAME: &'static str = "ConfigurationDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -138,10 +208,24 @@ pub struct MsgDescriptor { #[prost(string, tag = "1")] pub msg_type_url: ::prost::alloc::string::String, } +impl ::prost::Name for MsgDescriptor { + const NAME: &'static str = "MsgDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAuthnDescriptorRequest {} +impl ::prost::Name for GetAuthnDescriptorRequest { + const NAME: &'static str = "GetAuthnDescriptorRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -150,10 +234,24 @@ pub struct GetAuthnDescriptorResponse { #[prost(message, optional, tag = "1")] pub authn: ::core::option::Option, } +impl ::prost::Name for GetAuthnDescriptorResponse { + const NAME: &'static str = "GetAuthnDescriptorResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetChainDescriptorRequest {} +impl ::prost::Name for GetChainDescriptorRequest { + const NAME: &'static str = "GetChainDescriptorRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -162,10 +260,24 @@ pub struct GetChainDescriptorResponse { #[prost(message, optional, tag = "1")] pub chain: ::core::option::Option, } +impl ::prost::Name for GetChainDescriptorResponse { + const NAME: &'static str = "GetChainDescriptorResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCodecDescriptorRequest {} +impl ::prost::Name for GetCodecDescriptorRequest { + const NAME: &'static str = "GetCodecDescriptorRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -174,10 +286,24 @@ pub struct GetCodecDescriptorResponse { #[prost(message, optional, tag = "1")] pub codec: ::core::option::Option, } +impl ::prost::Name for GetCodecDescriptorResponse { + const NAME: &'static str = "GetCodecDescriptorResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConfigurationDescriptorRequest {} +impl ::prost::Name for GetConfigurationDescriptorRequest { + const NAME: &'static str = "GetConfigurationDescriptorRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -186,10 +312,24 @@ pub struct GetConfigurationDescriptorResponse { #[prost(message, optional, tag = "1")] pub config: ::core::option::Option, } +impl ::prost::Name for GetConfigurationDescriptorResponse { + const NAME: &'static str = "GetConfigurationDescriptorResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetQueryServicesDescriptorRequest {} +impl ::prost::Name for GetQueryServicesDescriptorRequest { + const NAME: &'static str = "GetQueryServicesDescriptorRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -198,10 +338,24 @@ pub struct GetQueryServicesDescriptorResponse { #[prost(message, optional, tag = "1")] pub queries: ::core::option::Option, } +impl ::prost::Name for GetQueryServicesDescriptorResponse { + const NAME: &'static str = "GetQueryServicesDescriptorResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTxDescriptorRequest {} +impl ::prost::Name for GetTxDescriptorRequest { + const NAME: &'static str = "GetTxDescriptorRequest"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -211,6 +365,13 @@ pub struct GetTxDescriptorResponse { #[prost(message, optional, tag = "1")] pub tx: ::core::option::Option, } +impl ::prost::Name for GetTxDescriptorResponse { + const NAME: &'static str = "GetTxDescriptorResponse"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// QueryServicesDescriptor contains the list of cosmos-sdk queriable services #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -219,6 +380,13 @@ pub struct QueryServicesDescriptor { #[prost(message, repeated, tag = "1")] pub query_services: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryServicesDescriptor { + const NAME: &'static str = "QueryServicesDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// QueryServiceDescriptor describes a cosmos-sdk queryable service #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -233,6 +401,13 @@ pub struct QueryServiceDescriptor { #[prost(message, repeated, tag = "3")] pub methods: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryServiceDescriptor { + const NAME: &'static str = "QueryServiceDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} /// QueryMethodDescriptor describes a queryable method of a query service /// no other info is provided beside method name and tendermint queryable path /// because it would be redundant with the grpc reflection service @@ -247,6 +422,13 @@ pub struct QueryMethodDescriptor { #[prost(string, tag = "2")] pub full_query_path: ::prost::alloc::string::String, } +impl ::prost::Name for QueryMethodDescriptor { + const NAME: &'static str = "QueryMethodDescriptor"; + const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + } +} include!("cosmos.base.reflection.v2alpha1.serde.rs"); include!("cosmos.base.reflection.v2alpha1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.tendermint.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.tendermint.v1beta1.rs index ea2a1b53..2ab3b87d 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.tendermint.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.tendermint.v1beta1.rs @@ -13,6 +13,13 @@ pub struct Block { #[prost(message, optional, tag = "4")] pub last_commit: ::core::option::Option<::tendermint_proto::v0_34::types::Commit>, } +impl ::prost::Name for Block { + const NAME: &'static str = "Block"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// Header defines the structure of a Tendermint block header. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -67,6 +74,13 @@ pub struct Header { #[prost(string, tag = "14")] pub proposer_address: ::prost::alloc::string::String, } +impl ::prost::Name for Header { + const NAME: &'static str = "Header"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -77,6 +91,13 @@ pub struct GetValidatorSetByHeightRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for GetValidatorSetByHeightRequest { + const NAME: &'static str = "GetValidatorSetByHeightRequest"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -89,6 +110,13 @@ pub struct GetValidatorSetByHeightResponse { #[prost(message, optional, tag = "3")] pub pagination: ::core::option::Option, } +impl ::prost::Name for GetValidatorSetByHeightResponse { + const NAME: &'static str = "GetValidatorSetByHeightResponse"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -97,6 +125,13 @@ pub struct GetLatestValidatorSetRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for GetLatestValidatorSetRequest { + const NAME: &'static str = "GetLatestValidatorSetRequest"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -109,6 +144,13 @@ pub struct GetLatestValidatorSetResponse { #[prost(message, optional, tag = "3")] pub pagination: ::core::option::Option, } +impl ::prost::Name for GetLatestValidatorSetResponse { + const NAME: &'static str = "GetLatestValidatorSetResponse"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// Validator is the type for the validator-set. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -122,6 +164,13 @@ pub struct Validator { #[prost(int64, tag = "4")] pub proposer_priority: i64, } +impl ::prost::Name for Validator { + const NAME: &'static str = "Validator"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -129,6 +178,13 @@ pub struct GetBlockByHeightRequest { #[prost(int64, tag = "1")] pub height: i64, } +impl ::prost::Name for GetBlockByHeightRequest { + const NAME: &'static str = "GetBlockByHeightRequest"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -142,10 +198,24 @@ pub struct GetBlockByHeightResponse { #[prost(message, optional, tag = "3")] pub sdk_block: ::core::option::Option, } +impl ::prost::Name for GetBlockByHeightResponse { + const NAME: &'static str = "GetBlockByHeightResponse"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLatestBlockRequest {} +impl ::prost::Name for GetLatestBlockRequest { + const NAME: &'static str = "GetLatestBlockRequest"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -159,10 +229,24 @@ pub struct GetLatestBlockResponse { #[prost(message, optional, tag = "3")] pub sdk_block: ::core::option::Option, } +impl ::prost::Name for GetLatestBlockResponse { + const NAME: &'static str = "GetLatestBlockResponse"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetSyncingRequest is the request type for the Query/GetSyncing RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSyncingRequest {} +impl ::prost::Name for GetSyncingRequest { + const NAME: &'static str = "GetSyncingRequest"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetSyncingResponse is the response type for the Query/GetSyncing RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -170,10 +254,24 @@ pub struct GetSyncingResponse { #[prost(bool, tag = "1")] pub syncing: bool, } +impl ::prost::Name for GetSyncingResponse { + const NAME: &'static str = "GetSyncingResponse"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNodeInfoRequest {} +impl ::prost::Name for GetNodeInfoRequest { + const NAME: &'static str = "GetNodeInfoRequest"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -183,6 +281,13 @@ pub struct GetNodeInfoResponse { #[prost(message, optional, tag = "2")] pub application_version: ::core::option::Option, } +impl ::prost::Name for GetNodeInfoResponse { + const NAME: &'static str = "GetNodeInfoResponse"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// VersionInfo is the type for the GetNodeInfoResponse message. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -205,6 +310,13 @@ pub struct VersionInfo { #[prost(string, tag = "8")] pub cosmos_sdk_version: ::prost::alloc::string::String, } +impl ::prost::Name for VersionInfo { + const NAME: &'static str = "VersionInfo"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// Module is the type for VersionInfo #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -219,6 +331,13 @@ pub struct Module { #[prost(string, tag = "3")] pub sum: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -232,6 +351,13 @@ pub struct AbciQueryRequest { #[prost(bool, tag = "4")] pub prove: bool, } +impl ::prost::Name for AbciQueryRequest { + const NAME: &'static str = "ABCIQueryRequest"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. /// /// Note: This type is a duplicate of the ResponseQuery proto type defined in @@ -260,6 +386,13 @@ pub struct AbciQueryResponse { #[prost(string, tag = "10")] pub codespace: ::prost::alloc::string::String, } +impl ::prost::Name for AbciQueryResponse { + const NAME: &'static str = "ABCIQueryResponse"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// ProofOp defines an operation used for calculating Merkle root. The data could /// be arbitrary format, providing necessary data for example neighbouring node /// hash. @@ -275,6 +408,13 @@ pub struct ProofOp { #[prost(bytes = "vec", tag = "3")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ProofOp { + const NAME: &'static str = "ProofOp"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} /// ProofOps is Merkle proof defined by the list of ProofOps. /// /// Note: This type is a duplicate of the ProofOps proto type defined in Tendermint. @@ -284,6 +424,13 @@ pub struct ProofOps { #[prost(message, repeated, tag = "1")] pub ops: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ProofOps { + const NAME: &'static str = "ProofOps"; + const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.tendermint.v1beta1.serde.rs"); include!("cosmos.base.tendermint.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.v1beta1.rs index 3e853ec9..a9d621ff 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.v1beta1.rs @@ -11,6 +11,13 @@ pub struct Coin { #[prost(string, tag = "2")] pub amount: ::prost::alloc::string::String, } +impl ::prost::Name for Coin { + const NAME: &'static str = "Coin"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} /// DecCoin defines a token with a denomination and a decimal amount. /// /// NOTE: The amount field is an Dec which implements the custom method @@ -23,6 +30,13 @@ pub struct DecCoin { #[prost(string, tag = "2")] pub amount: ::prost::alloc::string::String, } +impl ::prost::Name for DecCoin { + const NAME: &'static str = "DecCoin"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} /// IntProto defines a Protobuf wrapper around an Int object. /// Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal. #[allow(clippy::derive_partial_eq_without_eq)] @@ -31,6 +45,13 @@ pub struct IntProto { #[prost(string, tag = "1")] pub int: ::prost::alloc::string::String, } +impl ::prost::Name for IntProto { + const NAME: &'static str = "IntProto"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} /// DecProto defines a Protobuf wrapper around a Dec object. /// Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal. #[allow(clippy::derive_partial_eq_without_eq)] @@ -39,5 +60,12 @@ pub struct DecProto { #[prost(string, tag = "1")] pub dec: ::prost::alloc::string::String, } +impl ::prost::Name for DecProto { + const NAME: &'static str = "DecProto"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.module.v1.rs index 9ab8a182..4029d8e5 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.module.v1.rs @@ -7,5 +7,12 @@ pub struct Module { #[prost(string, tag = "1")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.circuit.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.module.v1.{}", Self::NAME) + } +} include!("cosmos.circuit.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.v1.rs index 81147990..c66f5f38 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.v1.rs @@ -59,6 +59,13 @@ pub mod permissions { } } } +impl ::prost::Name for Permissions { + const NAME: &'static str = "Permissions"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// GenesisAccountPermissions is the account permissions for the circuit breaker in genesis #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -68,6 +75,13 @@ pub struct GenesisAccountPermissions { #[prost(message, optional, tag = "2")] pub permissions: ::core::option::Option, } +impl ::prost::Name for GenesisAccountPermissions { + const NAME: &'static str = "GenesisAccountPermissions"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// GenesisState is the state that must be provided at genesis. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -77,6 +91,13 @@ pub struct GenesisState { #[prost(string, repeated, tag = "2")] pub disabled_type_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// QueryAccountRequest is the request type for the Query/Account RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -84,6 +105,13 @@ pub struct QueryAccountRequest { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryAccountRequest { + const NAME: &'static str = "QueryAccountRequest"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// AccountResponse is the response type for the Query/Account RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -91,6 +119,13 @@ pub struct AccountResponse { #[prost(message, optional, tag = "1")] pub permission: ::core::option::Option, } +impl ::prost::Name for AccountResponse { + const NAME: &'static str = "AccountResponse"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// QueryAccountsRequest is the request type for the Query/Accounts RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -99,6 +134,13 @@ pub struct QueryAccountsRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAccountsRequest { + const NAME: &'static str = "QueryAccountsRequest"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// AccountsResponse is the response type for the Query/Accounts RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -109,10 +151,24 @@ pub struct AccountsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for AccountsResponse { + const NAME: &'static str = "AccountsResponse"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// QueryDisableListRequest is the request type for the Query/DisabledList RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDisabledListRequest {} +impl ::prost::Name for QueryDisabledListRequest { + const NAME: &'static str = "QueryDisabledListRequest"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// DisabledListResponse is the response type for the Query/DisabledList RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -120,6 +176,13 @@ pub struct DisabledListResponse { #[prost(string, repeated, tag = "1")] pub disabled_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for DisabledListResponse { + const NAME: &'static str = "DisabledListResponse"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -137,6 +200,13 @@ pub struct MsgAuthorizeCircuitBreaker { #[prost(message, optional, tag = "3")] pub permissions: ::core::option::Option, } +impl ::prost::Name for MsgAuthorizeCircuitBreaker { + const NAME: &'static str = "MsgAuthorizeCircuitBreaker"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -144,6 +214,13 @@ pub struct MsgAuthorizeCircuitBreakerResponse { #[prost(bool, tag = "1")] pub success: bool, } +impl ::prost::Name for MsgAuthorizeCircuitBreakerResponse { + const NAME: &'static str = "MsgAuthorizeCircuitBreakerResponse"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -159,6 +236,13 @@ pub struct MsgTripCircuitBreaker { #[prost(string, repeated, tag = "2")] pub msg_type_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for MsgTripCircuitBreaker { + const NAME: &'static str = "MsgTripCircuitBreaker"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -166,6 +250,13 @@ pub struct MsgTripCircuitBreakerResponse { #[prost(bool, tag = "1")] pub success: bool, } +impl ::prost::Name for MsgTripCircuitBreakerResponse { + const NAME: &'static str = "MsgTripCircuitBreakerResponse"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -179,6 +270,13 @@ pub struct MsgResetCircuitBreaker { #[prost(string, repeated, tag = "3")] pub msg_type_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for MsgResetCircuitBreaker { + const NAME: &'static str = "MsgResetCircuitBreaker"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} /// MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -186,6 +284,13 @@ pub struct MsgResetCircuitBreakerResponse { #[prost(bool, tag = "1")] pub success: bool, } +impl ::prost::Name for MsgResetCircuitBreakerResponse { + const NAME: &'static str = "MsgResetCircuitBreakerResponse"; + const PACKAGE: &'static str = "cosmos.circuit.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.circuit.v1.{}", Self::NAME) + } +} include!("cosmos.circuit.v1.serde.rs"); include!("cosmos.circuit.v1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.module.v1.rs index ea7af176..1ad29f86 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.module.v1.rs @@ -7,5 +7,12 @@ pub struct Module { #[prost(string, tag = "1")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.consensus.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.consensus.module.v1.{}", Self::NAME) + } +} include!("cosmos.consensus.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.v1.rs index 111f95c9..e1c63adb 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.v1.rs @@ -3,6 +3,13 @@ #[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 = "cosmos.consensus.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.consensus.v1.{}", Self::NAME) + } +} /// QueryParamsResponse defines the response type for querying x/consensus parameters. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -13,6 +20,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option<::tendermint_proto::v0_34::types::ConsensusParams>, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.consensus.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.consensus.v1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -35,11 +49,25 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "5")] pub abci: ::core::option::Option<::tendermint_proto::v0_34::types::AbciParams>, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.consensus.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.consensus.v1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. #[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 = "cosmos.consensus.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.consensus.v1.{}", Self::NAME) + } +} include!("cosmos.consensus.v1.serde.rs"); include!("cosmos.consensus.v1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.module.v1.rs index 96d560ce..28ab4e6c 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.module.v1.rs @@ -10,5 +10,12 @@ pub struct Module { #[prost(string, tag = "2")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.crisis.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crisis.module.v1.{}", Self::NAME) + } +} include!("cosmos.crisis.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.v1beta1.rs index 4bedf12b..9940468b 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.v1beta1.rs @@ -8,6 +8,13 @@ pub struct GenesisState { #[prost(message, optional, tag = "3")] pub constant_fee: ::core::option::Option, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.crisis.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crisis.v1beta1.{}", Self::NAME) + } +} /// MsgVerifyInvariant represents a message to verify a particular invariance. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -22,10 +29,24 @@ pub struct MsgVerifyInvariant { #[prost(string, tag = "3")] pub invariant_route: ::prost::alloc::string::String, } +impl ::prost::Name for MsgVerifyInvariant { + const NAME: &'static str = "MsgVerifyInvariant"; + const PACKAGE: &'static str = "cosmos.crisis.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crisis.v1beta1.{}", Self::NAME) + } +} /// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgVerifyInvariantResponse {} +impl ::prost::Name for MsgVerifyInvariantResponse { + const NAME: &'static str = "MsgVerifyInvariantResponse"; + const PACKAGE: &'static str = "cosmos.crisis.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crisis.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -39,6 +60,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub constant_fee: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.crisis.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crisis.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -46,6 +74,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.crisis.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crisis.v1beta1.{}", Self::NAME) + } +} include!("cosmos.crisis.v1beta1.serde.rs"); include!("cosmos.crisis.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.ed25519.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.ed25519.rs index e30c1450..4b1edfc1 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.ed25519.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.ed25519.rs @@ -10,6 +10,13 @@ pub struct PubKey { #[prost(bytes = "vec", tag = "1")] pub key: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PubKey { + const NAME: &'static str = "PubKey"; + const PACKAGE: &'static str = "cosmos.crypto.ed25519"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.ed25519.{}", Self::NAME) + } +} /// PrivKey defines a ed25519 private key. /// NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. #[allow(clippy::derive_partial_eq_without_eq)] @@ -18,5 +25,12 @@ pub struct PrivKey { #[prost(bytes = "vec", tag = "1")] pub key: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PrivKey { + const NAME: &'static str = "PrivKey"; + const PACKAGE: &'static str = "cosmos.crypto.ed25519"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.ed25519.{}", Self::NAME) + } +} include!("cosmos.crypto.ed25519.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.hd.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.hd.v1.rs index 818e4abc..cec1269e 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.hd.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.hd.v1.rs @@ -20,5 +20,12 @@ pub struct Bip44Params { #[prost(uint32, tag = "5")] pub address_index: u32, } +impl ::prost::Name for Bip44Params { + const NAME: &'static str = "BIP44Params"; + const PACKAGE: &'static str = "cosmos.crypto.hd.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.hd.v1.{}", Self::NAME) + } +} include!("cosmos.crypto.hd.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.keyring.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.keyring.v1.rs index b267bbdb..9fbd71b8 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.keyring.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.keyring.v1.rs @@ -23,6 +23,13 @@ pub mod record { #[prost(message, optional, tag = "1")] pub priv_key: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } + impl ::prost::Name for Local { + const NAME: &'static str = "Local"; + const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + } + } /// Ledger item #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -30,14 +37,35 @@ pub mod record { #[prost(message, optional, tag = "1")] pub path: ::core::option::Option, } + impl ::prost::Name for Ledger { + const NAME: &'static str = "Ledger"; + const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + } + } /// Multi item #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Multi {} + impl ::prost::Name for Multi { + const NAME: &'static str = "Multi"; + const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + } + } /// Offline item #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Offline {} + impl ::prost::Name for Offline { + const NAME: &'static str = "Offline"; + const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + } + } /// Record contains one of the following items #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Oneof)] @@ -56,5 +84,12 @@ pub mod record { Offline(Offline), } } +impl ::prost::Name for Record { + const NAME: &'static str = "Record"; + const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.keyring.v1.{}", Self::NAME) + } +} include!("cosmos.crypto.keyring.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.rs index 4956c183..10cc01dd 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.rs @@ -10,5 +10,12 @@ pub struct LegacyAminoPubKey { #[prost(message, repeated, tag = "2")] pub public_keys: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for LegacyAminoPubKey { + const NAME: &'static str = "LegacyAminoPubKey"; + const PACKAGE: &'static str = "cosmos.crypto.multisig"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.multisig.{}", Self::NAME) + } +} include!("cosmos.crypto.multisig.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.v1beta1.rs index 38dcaeb7..511efa57 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.multisig.v1beta1.rs @@ -8,6 +8,13 @@ pub struct MultiSignature { #[prost(bytes = "vec", repeated, tag = "1")] pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for MultiSignature { + const NAME: &'static str = "MultiSignature"; + const PACKAGE: &'static str = "cosmos.crypto.multisig.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.multisig.v1beta1.{}", Self::NAME) + } +} /// CompactBitArray is an implementation of a space efficient bit array. /// This is used to ensure that the encoded data takes up a minimal amount of /// space after proto encoding. @@ -20,5 +27,12 @@ pub struct CompactBitArray { #[prost(bytes = "vec", tag = "2")] pub elems: ::prost::alloc::vec::Vec, } +impl ::prost::Name for CompactBitArray { + const NAME: &'static str = "CompactBitArray"; + const PACKAGE: &'static str = "cosmos.crypto.multisig.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.multisig.v1beta1.{}", Self::NAME) + } +} include!("cosmos.crypto.multisig.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256k1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256k1.rs index bc3e9ac2..3042bb44 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256k1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256k1.rs @@ -10,6 +10,13 @@ pub struct PubKey { #[prost(bytes = "vec", tag = "1")] pub key: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PubKey { + const NAME: &'static str = "PubKey"; + const PACKAGE: &'static str = "cosmos.crypto.secp256k1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.secp256k1.{}", Self::NAME) + } +} /// PrivKey defines a secp256k1 private key. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -17,5 +24,12 @@ pub struct PrivKey { #[prost(bytes = "vec", tag = "1")] pub key: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PrivKey { + const NAME: &'static str = "PrivKey"; + const PACKAGE: &'static str = "cosmos.crypto.secp256k1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.secp256k1.{}", Self::NAME) + } +} include!("cosmos.crypto.secp256k1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256r1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256r1.rs index 23cc50dc..5c58bd6f 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256r1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crypto.secp256r1.rs @@ -8,6 +8,13 @@ pub struct PubKey { #[prost(bytes = "vec", tag = "1")] pub key: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PubKey { + const NAME: &'static str = "PubKey"; + const PACKAGE: &'static str = "cosmos.crypto.secp256r1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.secp256r1.{}", Self::NAME) + } +} /// PrivKey defines a secp256r1 ECDSA private key. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -16,5 +23,12 @@ pub struct PrivKey { #[prost(bytes = "vec", tag = "1")] pub secret: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PrivKey { + const NAME: &'static str = "PrivKey"; + const PACKAGE: &'static str = "cosmos.crypto.secp256r1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.crypto.secp256r1.{}", Self::NAME) + } +} include!("cosmos.crypto.secp256r1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.module.v1.rs index fc496c20..02d96a41 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.module.v1.rs @@ -9,5 +9,12 @@ pub struct Module { #[prost(string, tag = "2")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.distribution.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.module.v1.{}", Self::NAME) + } +} include!("cosmos.distribution.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.v1beta1.rs index 838e0095..ad36ee5e 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.v1beta1.rs @@ -18,6 +18,13 @@ pub struct Params { #[prost(bool, tag = "4")] pub withdraw_addr_enabled: bool, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorHistoricalRewards represents historical rewards for a validator. /// Height is implicit within the store key. /// Cumulative reward ratio is the sum from the zeroeth period @@ -38,6 +45,13 @@ pub struct ValidatorHistoricalRewards { #[prost(uint32, tag = "2")] pub reference_count: u32, } +impl ::prost::Name for ValidatorHistoricalRewards { + const NAME: &'static str = "ValidatorHistoricalRewards"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorCurrentRewards represents current rewards and current /// period for a validator kept as a running counter and incremented /// each block as long as the validator's tokens remain constant. @@ -49,6 +63,13 @@ pub struct ValidatorCurrentRewards { #[prost(uint64, tag = "2")] pub period: u64, } +impl ::prost::Name for ValidatorCurrentRewards { + const NAME: &'static str = "ValidatorCurrentRewards"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorAccumulatedCommission represents accumulated commission /// for a validator kept as a running counter, can be withdrawn at any time. #[allow(clippy::derive_partial_eq_without_eq)] @@ -57,6 +78,13 @@ pub struct ValidatorAccumulatedCommission { #[prost(message, repeated, tag = "1")] pub commission: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ValidatorAccumulatedCommission { + const NAME: &'static str = "ValidatorAccumulatedCommission"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards /// for a validator inexpensive to track, allows simple sanity checks. #[allow(clippy::derive_partial_eq_without_eq)] @@ -65,6 +93,13 @@ pub struct ValidatorOutstandingRewards { #[prost(message, repeated, tag = "1")] pub rewards: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ValidatorOutstandingRewards { + const NAME: &'static str = "ValidatorOutstandingRewards"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorSlashEvent represents a validator slash event. /// Height is implicit within the store key. /// This is needed to calculate appropriate amount of staking tokens @@ -77,6 +112,13 @@ pub struct ValidatorSlashEvent { #[prost(string, tag = "2")] pub fraction: ::prost::alloc::string::String, } +impl ::prost::Name for ValidatorSlashEvent { + const NAME: &'static str = "ValidatorSlashEvent"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -84,6 +126,13 @@ pub struct ValidatorSlashEvents { #[prost(message, repeated, tag = "1")] pub validator_slash_events: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ValidatorSlashEvents { + const NAME: &'static str = "ValidatorSlashEvents"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// FeePool is the global fee pool for distribution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -91,6 +140,13 @@ pub struct FeePool { #[prost(message, repeated, tag = "1")] pub community_pool: ::prost::alloc::vec::Vec, } +impl ::prost::Name for FeePool { + const NAME: &'static str = "FeePool"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// CommunityPoolSpendProposal details a proposal for use of community funds, /// together with how many coins are proposed to be spent, and to which /// recipient account. @@ -111,6 +167,13 @@ pub struct CommunityPoolSpendProposal { #[prost(message, repeated, tag = "4")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for CommunityPoolSpendProposal { + const NAME: &'static str = "CommunityPoolSpendProposal"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// DelegatorStartingInfo represents the starting info for a delegator reward /// period. It tracks the previous validator period, the delegation's amount of /// staking token, and the creation height (to check later on if any slashes have @@ -127,6 +190,13 @@ pub struct DelegatorStartingInfo { #[prost(uint64, tag = "3")] pub height: u64, } +impl ::prost::Name for DelegatorStartingInfo { + const NAME: &'static str = "DelegatorStartingInfo"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// DelegationDelegatorReward represents the properties /// of a delegator's delegation reward. #[allow(clippy::derive_partial_eq_without_eq)] @@ -137,6 +207,13 @@ pub struct DelegationDelegatorReward { #[prost(message, repeated, tag = "2")] pub reward: ::prost::alloc::vec::Vec, } +impl ::prost::Name for DelegationDelegatorReward { + const NAME: &'static str = "DelegationDelegatorReward"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal /// with a deposit #[allow(clippy::derive_partial_eq_without_eq)] @@ -153,6 +230,13 @@ pub struct CommunityPoolSpendProposalWithDeposit { #[prost(string, tag = "5")] pub deposit: ::prost::alloc::string::String, } +impl ::prost::Name for CommunityPoolSpendProposalWithDeposit { + const NAME: &'static str = "CommunityPoolSpendProposalWithDeposit"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// DelegatorWithdrawInfo is the address for where distributions rewards are /// withdrawn to by default this struct is only used at genesis to feed in /// default withdraw addresses. @@ -166,6 +250,13 @@ pub struct DelegatorWithdrawInfo { #[prost(string, tag = "2")] pub withdraw_address: ::prost::alloc::string::String, } +impl ::prost::Name for DelegatorWithdrawInfo { + const NAME: &'static str = "DelegatorWithdrawInfo"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorOutstandingRewardsRecord is used for import/export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -177,6 +268,13 @@ pub struct ValidatorOutstandingRewardsRecord { #[prost(message, repeated, tag = "2")] pub outstanding_rewards: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ValidatorOutstandingRewardsRecord { + const NAME: &'static str = "ValidatorOutstandingRewardsRecord"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorAccumulatedCommissionRecord is used for import / export via genesis /// json. #[allow(clippy::derive_partial_eq_without_eq)] @@ -189,6 +287,13 @@ pub struct ValidatorAccumulatedCommissionRecord { #[prost(message, optional, tag = "2")] pub accumulated: ::core::option::Option, } +impl ::prost::Name for ValidatorAccumulatedCommissionRecord { + const NAME: &'static str = "ValidatorAccumulatedCommissionRecord"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorHistoricalRewardsRecord is used for import / export via genesis /// json. #[allow(clippy::derive_partial_eq_without_eq)] @@ -204,6 +309,13 @@ pub struct ValidatorHistoricalRewardsRecord { #[prost(message, optional, tag = "3")] pub rewards: ::core::option::Option, } +impl ::prost::Name for ValidatorHistoricalRewardsRecord { + const NAME: &'static str = "ValidatorHistoricalRewardsRecord"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorCurrentRewardsRecord is used for import / export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -215,6 +327,13 @@ pub struct ValidatorCurrentRewardsRecord { #[prost(message, optional, tag = "2")] pub rewards: ::core::option::Option, } +impl ::prost::Name for ValidatorCurrentRewardsRecord { + const NAME: &'static str = "ValidatorCurrentRewardsRecord"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// DelegatorStartingInfoRecord used for import / export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -229,6 +348,13 @@ pub struct DelegatorStartingInfoRecord { #[prost(message, optional, tag = "3")] pub starting_info: ::core::option::Option, } +impl ::prost::Name for DelegatorStartingInfoRecord { + const NAME: &'static str = "DelegatorStartingInfoRecord"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// ValidatorSlashEventRecord is used for import / export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -246,6 +372,13 @@ pub struct ValidatorSlashEventRecord { #[prost(message, optional, tag = "4")] pub validator_slash_event: ::core::option::Option, } +impl ::prost::Name for ValidatorSlashEventRecord { + const NAME: &'static str = "ValidatorSlashEventRecord"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the distribution module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -282,10 +415,24 @@ pub struct GenesisState { #[prost(message, repeated, tag = "10")] pub validator_slash_events: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest is the request type for the Query/Params RPC method. #[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 = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -294,6 +441,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorDistributionInfoRequest is the request type for the Query/ValidatorDistributionInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -302,6 +456,13 @@ pub struct QueryValidatorDistributionInfoRequest { #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryValidatorDistributionInfoRequest { + const NAME: &'static str = "QueryValidatorDistributionInfoRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -316,6 +477,13 @@ pub struct QueryValidatorDistributionInfoResponse { #[prost(message, repeated, tag = "3")] pub commission: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryValidatorDistributionInfoResponse { + const NAME: &'static str = "QueryValidatorDistributionInfoResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorOutstandingRewardsRequest is the request type for the /// Query/ValidatorOutstandingRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -325,6 +493,13 @@ pub struct QueryValidatorOutstandingRewardsRequest { #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryValidatorOutstandingRewardsRequest { + const NAME: &'static str = "QueryValidatorOutstandingRewardsRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorOutstandingRewardsResponse is the response type for the /// Query/ValidatorOutstandingRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -333,6 +508,13 @@ pub struct QueryValidatorOutstandingRewardsResponse { #[prost(message, optional, tag = "1")] pub rewards: ::core::option::Option, } +impl ::prost::Name for QueryValidatorOutstandingRewardsResponse { + const NAME: &'static str = "QueryValidatorOutstandingRewardsResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorCommissionRequest is the request type for the /// Query/ValidatorCommission RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -342,6 +524,13 @@ pub struct QueryValidatorCommissionRequest { #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryValidatorCommissionRequest { + const NAME: &'static str = "QueryValidatorCommissionRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorCommissionResponse is the response type for the /// Query/ValidatorCommission RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -351,6 +540,13 @@ pub struct QueryValidatorCommissionResponse { #[prost(message, optional, tag = "1")] pub commission: ::core::option::Option, } +impl ::prost::Name for QueryValidatorCommissionResponse { + const NAME: &'static str = "QueryValidatorCommissionResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorSlashesRequest is the request type for the /// Query/ValidatorSlashes RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -369,6 +565,13 @@ pub struct QueryValidatorSlashesRequest { #[prost(message, optional, tag = "4")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorSlashesRequest { + const NAME: &'static str = "QueryValidatorSlashesRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorSlashesResponse is the response type for the /// Query/ValidatorSlashes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -381,6 +584,13 @@ pub struct QueryValidatorSlashesResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorSlashesResponse { + const NAME: &'static str = "QueryValidatorSlashesResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegationRewardsRequest is the request type for the /// Query/DelegationRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -393,6 +603,13 @@ pub struct QueryDelegationRewardsRequest { #[prost(string, tag = "2")] pub validator_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDelegationRewardsRequest { + const NAME: &'static str = "QueryDelegationRewardsRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegationRewardsResponse is the response type for the /// Query/DelegationRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -402,6 +619,13 @@ pub struct QueryDelegationRewardsResponse { #[prost(message, repeated, tag = "1")] pub rewards: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryDelegationRewardsResponse { + const NAME: &'static str = "QueryDelegationRewardsResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegationTotalRewardsRequest is the request type for the /// Query/DelegationTotalRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -411,6 +635,13 @@ pub struct QueryDelegationTotalRewardsRequest { #[prost(string, tag = "1")] pub delegator_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDelegationTotalRewardsRequest { + const NAME: &'static str = "QueryDelegationTotalRewardsRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegationTotalRewardsResponse is the response type for the /// Query/DelegationTotalRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -423,6 +654,13 @@ pub struct QueryDelegationTotalRewardsResponse { #[prost(message, repeated, tag = "2")] pub total: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryDelegationTotalRewardsResponse { + const NAME: &'static str = "QueryDelegationTotalRewardsResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorValidatorsRequest is the request type for the /// Query/DelegatorValidators RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -432,6 +670,13 @@ pub struct QueryDelegatorValidatorsRequest { #[prost(string, tag = "1")] pub delegator_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDelegatorValidatorsRequest { + const NAME: &'static str = "QueryDelegatorValidatorsRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorValidatorsResponse is the response type for the /// Query/DelegatorValidators RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -441,6 +686,13 @@ pub struct QueryDelegatorValidatorsResponse { #[prost(string, repeated, tag = "1")] pub validators: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for QueryDelegatorValidatorsResponse { + const NAME: &'static str = "QueryDelegatorValidatorsResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorWithdrawAddressRequest is the request type for the /// Query/DelegatorWithdrawAddress RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -450,6 +702,13 @@ pub struct QueryDelegatorWithdrawAddressRequest { #[prost(string, tag = "1")] pub delegator_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDelegatorWithdrawAddressRequest { + const NAME: &'static str = "QueryDelegatorWithdrawAddressRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorWithdrawAddressResponse is the response type for the /// Query/DelegatorWithdrawAddress RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -459,11 +718,25 @@ pub struct QueryDelegatorWithdrawAddressResponse { #[prost(string, tag = "1")] pub withdraw_address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDelegatorWithdrawAddressResponse { + const NAME: &'static str = "QueryDelegatorWithdrawAddressResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryCommunityPoolRequest {} +impl ::prost::Name for QueryCommunityPoolRequest { + const NAME: &'static str = "QueryCommunityPoolRequest"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// QueryCommunityPoolResponse is the response type for the Query/CommunityPool /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -473,6 +746,13 @@ pub struct QueryCommunityPoolResponse { #[prost(message, repeated, tag = "1")] pub pool: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryCommunityPoolResponse { + const NAME: &'static str = "QueryCommunityPoolResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgSetWithdrawAddress sets the withdraw address for /// a delegator (or validator self-delegation). #[allow(clippy::derive_partial_eq_without_eq)] @@ -483,11 +763,25 @@ pub struct MsgSetWithdrawAddress { #[prost(string, tag = "2")] pub withdraw_address: ::prost::alloc::string::String, } +impl ::prost::Name for MsgSetWithdrawAddress { + const NAME: &'static str = "MsgSetWithdrawAddress"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response /// type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgSetWithdrawAddressResponse {} +impl ::prost::Name for MsgSetWithdrawAddressResponse { + const NAME: &'static str = "MsgSetWithdrawAddressResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator /// from a single validator. #[allow(clippy::derive_partial_eq_without_eq)] @@ -498,6 +792,13 @@ pub struct MsgWithdrawDelegatorReward { #[prost(string, tag = "2")] pub validator_address: ::prost::alloc::string::String, } +impl ::prost::Name for MsgWithdrawDelegatorReward { + const NAME: &'static str = "MsgWithdrawDelegatorReward"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward /// response type. #[allow(clippy::derive_partial_eq_without_eq)] @@ -507,6 +808,13 @@ pub struct MsgWithdrawDelegatorRewardResponse { #[prost(message, repeated, tag = "1")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgWithdrawDelegatorRewardResponse { + const NAME: &'static str = "MsgWithdrawDelegatorRewardResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgWithdrawValidatorCommission withdraws the full commission to the validator /// address. #[allow(clippy::derive_partial_eq_without_eq)] @@ -515,6 +823,13 @@ pub struct MsgWithdrawValidatorCommission { #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, } +impl ::prost::Name for MsgWithdrawValidatorCommission { + const NAME: &'static str = "MsgWithdrawValidatorCommission"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgWithdrawValidatorCommissionResponse defines the /// Msg/WithdrawValidatorCommission response type. #[allow(clippy::derive_partial_eq_without_eq)] @@ -524,6 +839,13 @@ pub struct MsgWithdrawValidatorCommissionResponse { #[prost(message, repeated, tag = "1")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgWithdrawValidatorCommissionResponse { + const NAME: &'static str = "MsgWithdrawValidatorCommissionResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgFundCommunityPool allows an account to directly /// fund the community pool. #[allow(clippy::derive_partial_eq_without_eq)] @@ -534,10 +856,24 @@ pub struct MsgFundCommunityPool { #[prost(string, tag = "2")] pub depositor: ::prost::alloc::string::String, } +impl ::prost::Name for MsgFundCommunityPool { + const NAME: &'static str = "MsgFundCommunityPool"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgFundCommunityPoolResponse {} +impl ::prost::Name for MsgFundCommunityPoolResponse { + const NAME: &'static str = "MsgFundCommunityPoolResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -553,6 +889,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -560,6 +903,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgCommunityPoolSpend defines a message for sending tokens from the community /// pool to another account. This message is typically executed via a governance /// proposal with the governance module being the executing authority. @@ -576,6 +926,13 @@ pub struct MsgCommunityPoolSpend { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgCommunityPoolSpend { + const NAME: &'static str = "MsgCommunityPoolSpend"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgCommunityPoolSpendResponse defines the response to executing a /// MsgCommunityPoolSpend message. /// @@ -583,6 +940,13 @@ pub struct MsgCommunityPoolSpend { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgCommunityPoolSpendResponse {} +impl ::prost::Name for MsgCommunityPoolSpendResponse { + const NAME: &'static str = "MsgCommunityPoolSpendResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// DepositValidatorRewardsPool defines the request structure to provide /// additional rewards to delegators from a specific validator. /// @@ -597,6 +961,13 @@ pub struct MsgDepositValidatorRewardsPool { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgDepositValidatorRewardsPool { + const NAME: &'static str = "MsgDepositValidatorRewardsPool"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} /// MsgDepositValidatorRewardsPoolResponse defines the response to executing a /// MsgDepositValidatorRewardsPool message. /// @@ -604,6 +975,13 @@ pub struct MsgDepositValidatorRewardsPool { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgDepositValidatorRewardsPoolResponse {} +impl ::prost::Name for MsgDepositValidatorRewardsPoolResponse { + const NAME: &'static str = "MsgDepositValidatorRewardsPoolResponse"; + const PACKAGE: &'static str = "cosmos.distribution.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.distribution.v1beta1.{}", Self::NAME) + } +} include!("cosmos.distribution.v1beta1.serde.rs"); include!("cosmos.distribution.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.module.v1.rs index 0b89db56..89a875c6 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.module.v1.rs @@ -3,5 +3,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.evidence.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.module.v1.{}", Self::NAME) + } +} include!("cosmos.evidence.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.v1beta1.rs index fd9d4abe..fbda7a5f 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.v1beta1.rs @@ -17,6 +17,13 @@ pub struct Equivocation { #[prost(string, tag = "4")] pub consensus_address: ::prost::alloc::string::String, } +impl ::prost::Name for Equivocation { + const NAME: &'static str = "Equivocation"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the evidence module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -25,6 +32,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "1")] pub evidence: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} /// QueryEvidenceRequest is the request type for the Query/Evidence RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -40,6 +54,13 @@ pub struct QueryEvidenceRequest { #[prost(string, tag = "2")] pub hash: ::prost::alloc::string::String, } +impl ::prost::Name for QueryEvidenceRequest { + const NAME: &'static str = "QueryEvidenceRequest"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} /// QueryEvidenceResponse is the response type for the Query/Evidence RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -48,6 +69,13 @@ pub struct QueryEvidenceResponse { #[prost(message, optional, tag = "1")] pub evidence: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for QueryEvidenceResponse { + const NAME: &'static str = "QueryEvidenceResponse"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} /// QueryEvidenceRequest is the request type for the Query/AllEvidence RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -57,6 +85,13 @@ pub struct QueryAllEvidenceRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllEvidenceRequest { + const NAME: &'static str = "QueryAllEvidenceRequest"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} /// QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -69,6 +104,13 @@ pub struct QueryAllEvidenceResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllEvidenceResponse { + const NAME: &'static str = "QueryAllEvidenceResponse"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} /// MsgSubmitEvidence represents a message that supports submitting arbitrary /// Evidence of misbehavior such as equivocation or counterfactual signing. #[allow(clippy::derive_partial_eq_without_eq)] @@ -81,6 +123,13 @@ pub struct MsgSubmitEvidence { #[prost(message, optional, tag = "2")] pub evidence: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for MsgSubmitEvidence { + const NAME: &'static str = "MsgSubmitEvidence"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} /// MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -89,6 +138,13 @@ pub struct MsgSubmitEvidenceResponse { #[prost(bytes = "vec", tag = "4")] pub hash: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgSubmitEvidenceResponse { + const NAME: &'static str = "MsgSubmitEvidenceResponse"; + const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.evidence.v1beta1.{}", Self::NAME) + } +} include!("cosmos.evidence.v1beta1.serde.rs"); include!("cosmos.evidence.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.module.v1.rs index 5c93a4f3..46b3d9f0 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.module.v1.rs @@ -3,5 +3,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.feegrant.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.module.v1.{}", Self::NAME) + } +} include!("cosmos.feegrant.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.v1beta1.rs index bd2ebda3..45a57024 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.v1beta1.rs @@ -13,6 +13,13 @@ pub struct BasicAllowance { #[prost(message, optional, tag = "2")] pub expiration: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for BasicAllowance { + const NAME: &'static str = "BasicAllowance"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// PeriodicAllowance extends Allowance to allow for both a maximum cap, /// as well as a limit per time period. #[allow(clippy::derive_partial_eq_without_eq)] @@ -38,6 +45,13 @@ pub struct PeriodicAllowance { #[prost(message, optional, tag = "5")] pub period_reset: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for PeriodicAllowance { + const NAME: &'static str = "PeriodicAllowance"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// AllowedMsgAllowance creates allowance only for specified message types. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -49,6 +63,13 @@ pub struct AllowedMsgAllowance { #[prost(string, repeated, tag = "2")] pub allowed_messages: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for AllowedMsgAllowance { + const NAME: &'static str = "AllowedMsgAllowance"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// Grant is stored in the KVStore to record a grant with full context #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -63,6 +84,13 @@ pub struct Grant { #[prost(message, optional, tag = "3")] pub allowance: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for Grant { + const NAME: &'static str = "Grant"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// GenesisState contains a set of fee allowances, persisted from the store #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -70,6 +98,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "1")] pub allowances: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// QueryAllowanceRequest is the request type for the Query/Allowance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -81,6 +116,13 @@ pub struct QueryAllowanceRequest { #[prost(string, tag = "2")] pub grantee: ::prost::alloc::string::String, } +impl ::prost::Name for QueryAllowanceRequest { + const NAME: &'static str = "QueryAllowanceRequest"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// QueryAllowanceResponse is the response type for the Query/Allowance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -89,6 +131,13 @@ pub struct QueryAllowanceResponse { #[prost(message, optional, tag = "1")] pub allowance: ::core::option::Option, } +impl ::prost::Name for QueryAllowanceResponse { + const NAME: &'static str = "QueryAllowanceResponse"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// QueryAllowancesRequest is the request type for the Query/Allowances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -99,6 +148,13 @@ pub struct QueryAllowancesRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllowancesRequest { + const NAME: &'static str = "QueryAllowancesRequest"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// QueryAllowancesResponse is the response type for the Query/Allowances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -110,6 +166,13 @@ pub struct QueryAllowancesResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllowancesResponse { + const NAME: &'static str = "QueryAllowancesResponse"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. /// /// Since: cosmos-sdk 0.46 @@ -122,6 +185,13 @@ pub struct QueryAllowancesByGranterRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllowancesByGranterRequest { + const NAME: &'static str = "QueryAllowancesByGranterRequest"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. /// /// Since: cosmos-sdk 0.46 @@ -135,6 +205,13 @@ pub struct QueryAllowancesByGranterResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllowancesByGranterResponse { + const NAME: &'static str = "QueryAllowancesByGranterResponse"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// MsgGrantAllowance adds permission for Grantee to spend up to Allowance /// of fees from the account of Granter. #[allow(clippy::derive_partial_eq_without_eq)] @@ -150,10 +227,24 @@ pub struct MsgGrantAllowance { #[prost(message, optional, tag = "3")] pub allowance: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for MsgGrantAllowance { + const NAME: &'static str = "MsgGrantAllowance"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgGrantAllowanceResponse {} +impl ::prost::Name for MsgGrantAllowanceResponse { + const NAME: &'static str = "MsgGrantAllowanceResponse"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -165,10 +256,24 @@ pub struct MsgRevokeAllowance { #[prost(string, tag = "2")] pub grantee: ::prost::alloc::string::String, } +impl ::prost::Name for MsgRevokeAllowance { + const NAME: &'static str = "MsgRevokeAllowance"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgRevokeAllowanceResponse {} +impl ::prost::Name for MsgRevokeAllowanceResponse { + const NAME: &'static str = "MsgRevokeAllowanceResponse"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// MsgPruneAllowances prunes expired fee allowances. /// /// Since cosmos-sdk 0.50 @@ -179,12 +284,26 @@ pub struct MsgPruneAllowances { #[prost(string, tag = "1")] pub pruner: ::prost::alloc::string::String, } +impl ::prost::Name for MsgPruneAllowances { + const NAME: &'static str = "MsgPruneAllowances"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} /// MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type. /// /// Since cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgPruneAllowancesResponse {} +impl ::prost::Name for MsgPruneAllowancesResponse { + const NAME: &'static str = "MsgPruneAllowancesResponse"; + const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.feegrant.v1beta1.{}", Self::NAME) + } +} include!("cosmos.feegrant.v1beta1.serde.rs"); include!("cosmos.feegrant.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.module.v1.rs index 07fac889..eed3b985 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.module.v1.rs @@ -3,5 +3,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.genutil.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.genutil.module.v1.{}", Self::NAME) + } +} include!("cosmos.genutil.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.v1beta1.rs index 5be93326..8a2180be 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.genutil.v1beta1.rs @@ -7,5 +7,12 @@ pub struct GenesisState { #[prost(bytes = "vec", repeated, tag = "1")] pub gen_txs: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.genutil.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.genutil.v1beta1.{}", Self::NAME) + } +} include!("cosmos.genutil.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.module.v1.rs index 12c53f56..76573ed7 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.module.v1.rs @@ -11,5 +11,12 @@ pub struct Module { #[prost(string, tag = "2")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.gov.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.module.v1.{}", Self::NAME) + } +} include!("cosmos.gov.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1.rs index b531b3b0..84d094f4 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1.rs @@ -10,6 +10,13 @@ pub struct WeightedVoteOption { #[prost(string, tag = "2")] pub weight: ::prost::alloc::string::String, } +impl ::prost::Name for WeightedVoteOption { + const NAME: &'static str = "WeightedVoteOption"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// Deposit defines an amount deposited by an account address to an active /// proposal. #[allow(clippy::derive_partial_eq_without_eq)] @@ -25,6 +32,13 @@ pub struct Deposit { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Deposit { + const NAME: &'static str = "Deposit"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// Proposal defines the core field members of a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -89,6 +103,13 @@ pub struct Proposal { #[prost(string, tag = "15")] pub failed_reason: ::prost::alloc::string::String, } +impl ::prost::Name for Proposal { + const NAME: &'static str = "Proposal"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// TallyResult defines a standard tally for a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -106,6 +127,13 @@ pub struct TallyResult { #[prost(string, tag = "4")] pub no_with_veto_count: ::prost::alloc::string::String, } +impl ::prost::Name for TallyResult { + const NAME: &'static str = "TallyResult"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// Vote defines a vote on a governance proposal. /// A Vote consists of a proposal ID, the voter, and the vote option. #[allow(clippy::derive_partial_eq_without_eq)] @@ -125,6 +153,13 @@ pub struct Vote { #[prost(string, tag = "5")] pub metadata: ::prost::alloc::string::String, } +impl ::prost::Name for Vote { + const NAME: &'static str = "Vote"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// DepositParams defines the params for deposits on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -137,6 +172,13 @@ pub struct DepositParams { #[prost(message, optional, tag = "2")] pub max_deposit_period: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>, } +impl ::prost::Name for DepositParams { + const NAME: &'static str = "DepositParams"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// VotingParams defines the params for voting on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -145,6 +187,13 @@ pub struct VotingParams { #[prost(message, optional, tag = "1")] pub voting_period: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>, } +impl ::prost::Name for VotingParams { + const NAME: &'static str = "VotingParams"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// TallyParams defines the params for tallying votes on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -161,6 +210,13 @@ pub struct TallyParams { #[prost(string, tag = "3")] pub veto_threshold: ::prost::alloc::string::String, } +impl ::prost::Name for TallyParams { + const NAME: &'static str = "TallyParams"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// Params defines the parameters for the x/gov module. /// /// Since: cosmos-sdk 0.47 @@ -233,6 +289,13 @@ pub struct Params { #[prost(string, tag = "16")] pub min_deposit_ratio: ::prost::alloc::string::String, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// VoteOption enumerates the valid vote options for a given governance proposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -369,10 +432,24 @@ pub struct GenesisState { #[prost(string, tag = "9")] pub constitution: ::prost::alloc::string::String, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryConstitutionRequest is the request type for the Query/Constitution RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryConstitutionRequest {} +impl ::prost::Name for QueryConstitutionRequest { + const NAME: &'static str = "QueryConstitutionRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryConstitutionResponse is the response type for the Query/Constitution RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -380,6 +457,13 @@ pub struct QueryConstitutionResponse { #[prost(string, tag = "1")] pub constitution: ::prost::alloc::string::String, } +impl ::prost::Name for QueryConstitutionResponse { + const NAME: &'static str = "QueryConstitutionResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryProposalRequest is the request type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -388,6 +472,13 @@ pub struct QueryProposalRequest { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for QueryProposalRequest { + const NAME: &'static str = "QueryProposalRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryProposalResponse is the response type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -396,6 +487,13 @@ pub struct QueryProposalResponse { #[prost(message, optional, tag = "1")] pub proposal: ::core::option::Option, } +impl ::prost::Name for QueryProposalResponse { + const NAME: &'static str = "QueryProposalResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryProposalsRequest is the request type for the Query/Proposals RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -413,6 +511,13 @@ pub struct QueryProposalsRequest { #[prost(message, optional, tag = "4")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryProposalsRequest { + const NAME: &'static str = "QueryProposalsRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryProposalsResponse is the response type for the Query/Proposals RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -425,6 +530,13 @@ pub struct QueryProposalsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryProposalsResponse { + const NAME: &'static str = "QueryProposalsResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryVoteRequest is the request type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -436,6 +548,13 @@ pub struct QueryVoteRequest { #[prost(string, tag = "2")] pub voter: ::prost::alloc::string::String, } +impl ::prost::Name for QueryVoteRequest { + const NAME: &'static str = "QueryVoteRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryVoteResponse is the response type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -444,6 +563,13 @@ pub struct QueryVoteResponse { #[prost(message, optional, tag = "1")] pub vote: ::core::option::Option, } +impl ::prost::Name for QueryVoteResponse { + const NAME: &'static str = "QueryVoteResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryVotesRequest is the request type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -455,6 +581,13 @@ pub struct QueryVotesRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesRequest { + const NAME: &'static str = "QueryVotesRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryVotesResponse is the response type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -466,6 +599,13 @@ pub struct QueryVotesResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesResponse { + const NAME: &'static str = "QueryVotesResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -475,6 +615,13 @@ pub struct QueryParamsRequest { #[prost(string, tag = "1")] pub params_type: ::prost::alloc::string::String, } +impl ::prost::Name for QueryParamsRequest { + const NAME: &'static str = "QueryParamsRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -500,6 +647,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "4")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryDepositRequest is the request type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -511,6 +665,13 @@ pub struct QueryDepositRequest { #[prost(string, tag = "2")] pub depositor: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDepositRequest { + const NAME: &'static str = "QueryDepositRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryDepositResponse is the response type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -519,6 +680,13 @@ pub struct QueryDepositResponse { #[prost(message, optional, tag = "1")] pub deposit: ::core::option::Option, } +impl ::prost::Name for QueryDepositResponse { + const NAME: &'static str = "QueryDepositResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryDepositsRequest is the request type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -530,6 +698,13 @@ pub struct QueryDepositsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDepositsRequest { + const NAME: &'static str = "QueryDepositsRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryDepositsResponse is the response type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -541,6 +716,13 @@ pub struct QueryDepositsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDepositsResponse { + const NAME: &'static str = "QueryDepositsResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -549,6 +731,13 @@ pub struct QueryTallyResultRequest { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for QueryTallyResultRequest { + const NAME: &'static str = "QueryTallyResultRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// QueryTallyResultResponse is the response type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -557,6 +746,13 @@ pub struct QueryTallyResultResponse { #[prost(message, optional, tag = "1")] pub tally: ::core::option::Option, } +impl ::prost::Name for QueryTallyResultResponse { + const NAME: &'static str = "QueryTallyResultResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary /// proposal Content. #[allow(clippy::derive_partial_eq_without_eq)] @@ -590,6 +786,13 @@ pub struct MsgSubmitProposal { #[prost(bool, tag = "7")] pub expedited: bool, } +impl ::prost::Name for MsgSubmitProposal { + const NAME: &'static str = "MsgSubmitProposal"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -598,6 +801,13 @@ pub struct MsgSubmitProposalResponse { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for MsgSubmitProposalResponse { + const NAME: &'static str = "MsgSubmitProposalResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgExecLegacyContent is used to wrap the legacy content field into a message. /// This ensures backwards compatibility with v1beta1.MsgSubmitProposal. #[allow(clippy::derive_partial_eq_without_eq)] @@ -610,10 +820,24 @@ pub struct MsgExecLegacyContent { #[prost(string, tag = "2")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for MsgExecLegacyContent { + const NAME: &'static str = "MsgExecLegacyContent"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgExecLegacyContentResponse {} +impl ::prost::Name for MsgExecLegacyContentResponse { + const NAME: &'static str = "MsgExecLegacyContentResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgVote defines a message to cast a vote. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -631,10 +855,24 @@ pub struct MsgVote { #[prost(string, tag = "4")] pub metadata: ::prost::alloc::string::String, } +impl ::prost::Name for MsgVote { + const NAME: &'static str = "MsgVote"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgVoteResponse defines the Msg/Vote response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgVoteResponse {} +impl ::prost::Name for MsgVoteResponse { + const NAME: &'static str = "MsgVoteResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgVoteWeighted defines a message to cast a vote. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -652,10 +890,24 @@ pub struct MsgVoteWeighted { #[prost(string, tag = "4")] pub metadata: ::prost::alloc::string::String, } +impl ::prost::Name for MsgVoteWeighted { + const NAME: &'static str = "MsgVoteWeighted"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgVoteWeightedResponse {} +impl ::prost::Name for MsgVoteWeightedResponse { + const NAME: &'static str = "MsgVoteWeightedResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgDeposit defines a message to submit a deposit to an existing proposal. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -670,10 +922,24 @@ pub struct MsgDeposit { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgDeposit { + const NAME: &'static str = "MsgDeposit"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgDepositResponse {} +impl ::prost::Name for MsgDepositResponse { + const NAME: &'static str = "MsgDepositResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -689,6 +955,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -696,6 +969,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgCancelProposal is the Msg/CancelProposal request type. /// /// Since: cosmos-sdk 0.50 @@ -709,6 +989,13 @@ pub struct MsgCancelProposal { #[prost(string, tag = "2")] pub proposer: ::prost::alloc::string::String, } +impl ::prost::Name for MsgCancelProposal { + const NAME: &'static str = "MsgCancelProposal"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} /// MsgCancelProposalResponse defines the response structure for executing a /// MsgCancelProposal message. /// @@ -726,6 +1013,13 @@ pub struct MsgCancelProposalResponse { #[prost(uint64, tag = "3")] pub canceled_height: u64, } +impl ::prost::Name for MsgCancelProposalResponse { + const NAME: &'static str = "MsgCancelProposalResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + } +} include!("cosmos.gov.v1.serde.rs"); include!("cosmos.gov.v1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1beta1.rs index 1de289be..eb8e59ec 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1beta1.rs @@ -12,6 +12,13 @@ pub struct WeightedVoteOption { #[prost(string, tag = "2")] pub weight: ::prost::alloc::string::String, } +impl ::prost::Name for WeightedVoteOption { + const NAME: &'static str = "WeightedVoteOption"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// TextProposal defines a standard text proposal whose changes need to be /// manually updated in case of approval. #[allow(clippy::derive_partial_eq_without_eq)] @@ -24,6 +31,13 @@ pub struct TextProposal { #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, } +impl ::prost::Name for TextProposal { + const NAME: &'static str = "TextProposal"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// Deposit defines an amount deposited by an account address to an active /// proposal. #[allow(clippy::derive_partial_eq_without_eq)] @@ -39,6 +53,13 @@ pub struct Deposit { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Deposit { + const NAME: &'static str = "Deposit"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// Proposal defines the core field members of a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -73,6 +94,13 @@ pub struct Proposal { #[prost(message, optional, tag = "9")] pub voting_end_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for Proposal { + const NAME: &'static str = "Proposal"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// TallyResult defines a standard tally for a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -90,6 +118,13 @@ pub struct TallyResult { #[prost(string, tag = "4")] pub no_with_veto: ::prost::alloc::string::String, } +impl ::prost::Name for TallyResult { + const NAME: &'static str = "TallyResult"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// Vote defines a vote on a governance proposal. /// A Vote consists of a proposal ID, the voter, and the vote option. #[allow(clippy::derive_partial_eq_without_eq)] @@ -113,6 +148,13 @@ pub struct Vote { #[prost(message, repeated, tag = "4")] pub options: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Vote { + const NAME: &'static str = "Vote"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// DepositParams defines the params for deposits on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -125,6 +167,13 @@ pub struct DepositParams { #[prost(message, optional, tag = "2")] pub max_deposit_period: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>, } +impl ::prost::Name for DepositParams { + const NAME: &'static str = "DepositParams"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// VotingParams defines the params for voting on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -133,6 +182,13 @@ pub struct VotingParams { #[prost(message, optional, tag = "1")] pub voting_period: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>, } +impl ::prost::Name for VotingParams { + const NAME: &'static str = "VotingParams"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// TallyParams defines the params for tallying votes on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -149,6 +205,13 @@ pub struct TallyParams { #[prost(bytes = "vec", tag = "3")] pub veto_threshold: ::prost::alloc::vec::Vec, } +impl ::prost::Name for TallyParams { + const NAME: &'static str = "TallyParams"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// VoteOption enumerates the valid vote options for a given governance proposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -266,6 +329,13 @@ pub struct GenesisState { #[prost(message, optional, tag = "7")] pub tally_params: ::core::option::Option, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryProposalRequest is the request type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -274,6 +344,13 @@ pub struct QueryProposalRequest { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for QueryProposalRequest { + const NAME: &'static str = "QueryProposalRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryProposalResponse is the response type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -281,6 +358,13 @@ pub struct QueryProposalResponse { #[prost(message, optional, tag = "1")] pub proposal: ::core::option::Option, } +impl ::prost::Name for QueryProposalResponse { + const NAME: &'static str = "QueryProposalResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryProposalsRequest is the request type for the Query/Proposals RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -298,6 +382,13 @@ pub struct QueryProposalsRequest { #[prost(message, optional, tag = "4")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryProposalsRequest { + const NAME: &'static str = "QueryProposalsRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryProposalsResponse is the response type for the Query/Proposals RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -310,6 +401,13 @@ pub struct QueryProposalsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryProposalsResponse { + const NAME: &'static str = "QueryProposalsResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryVoteRequest is the request type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -321,6 +419,13 @@ pub struct QueryVoteRequest { #[prost(string, tag = "2")] pub voter: ::prost::alloc::string::String, } +impl ::prost::Name for QueryVoteRequest { + const NAME: &'static str = "QueryVoteRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryVoteResponse is the response type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -329,6 +434,13 @@ pub struct QueryVoteResponse { #[prost(message, optional, tag = "1")] pub vote: ::core::option::Option, } +impl ::prost::Name for QueryVoteResponse { + const NAME: &'static str = "QueryVoteResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryVotesRequest is the request type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -340,6 +452,13 @@ pub struct QueryVotesRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesRequest { + const NAME: &'static str = "QueryVotesRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryVotesResponse is the response type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -351,6 +470,13 @@ pub struct QueryVotesResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesResponse { + const NAME: &'static str = "QueryVotesResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -360,6 +486,13 @@ pub struct QueryParamsRequest { #[prost(string, tag = "1")] pub params_type: ::prost::alloc::string::String, } +impl ::prost::Name for QueryParamsRequest { + const NAME: &'static str = "QueryParamsRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -374,6 +507,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "3")] pub tally_params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryDepositRequest is the request type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -385,6 +525,13 @@ pub struct QueryDepositRequest { #[prost(string, tag = "2")] pub depositor: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDepositRequest { + const NAME: &'static str = "QueryDepositRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryDepositResponse is the response type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -393,6 +540,13 @@ pub struct QueryDepositResponse { #[prost(message, optional, tag = "1")] pub deposit: ::core::option::Option, } +impl ::prost::Name for QueryDepositResponse { + const NAME: &'static str = "QueryDepositResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryDepositsRequest is the request type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -404,6 +558,13 @@ pub struct QueryDepositsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDepositsRequest { + const NAME: &'static str = "QueryDepositsRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryDepositsResponse is the response type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -415,6 +576,13 @@ pub struct QueryDepositsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDepositsResponse { + const NAME: &'static str = "QueryDepositsResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -423,6 +591,13 @@ pub struct QueryTallyResultRequest { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for QueryTallyResultRequest { + const NAME: &'static str = "QueryTallyResultRequest"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// QueryTallyResultResponse is the response type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -431,6 +606,13 @@ pub struct QueryTallyResultResponse { #[prost(message, optional, tag = "1")] pub tally: ::core::option::Option, } +impl ::prost::Name for QueryTallyResultResponse { + const NAME: &'static str = "QueryTallyResultResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary /// proposal Content. #[allow(clippy::derive_partial_eq_without_eq)] @@ -446,6 +628,13 @@ pub struct MsgSubmitProposal { #[prost(string, tag = "3")] pub proposer: ::prost::alloc::string::String, } +impl ::prost::Name for MsgSubmitProposal { + const NAME: &'static str = "MsgSubmitProposal"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -454,6 +643,13 @@ pub struct MsgSubmitProposalResponse { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for MsgSubmitProposalResponse { + const NAME: &'static str = "MsgSubmitProposalResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgVote defines a message to cast a vote. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -468,10 +664,24 @@ pub struct MsgVote { #[prost(enumeration = "VoteOption", tag = "3")] pub option: i32, } +impl ::prost::Name for MsgVote { + const NAME: &'static str = "MsgVote"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgVoteResponse defines the Msg/Vote response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgVoteResponse {} +impl ::prost::Name for MsgVoteResponse { + const NAME: &'static str = "MsgVoteResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgVoteWeighted defines a message to cast a vote. /// /// Since: cosmos-sdk 0.43 @@ -488,12 +698,26 @@ pub struct MsgVoteWeighted { #[prost(message, repeated, tag = "3")] pub options: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgVoteWeighted { + const NAME: &'static str = "MsgVoteWeighted"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgVoteWeightedResponse {} +impl ::prost::Name for MsgVoteWeightedResponse { + const NAME: &'static str = "MsgVoteWeightedResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgDeposit defines a message to submit a deposit to an existing proposal. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -508,10 +732,24 @@ pub struct MsgDeposit { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgDeposit { + const NAME: &'static str = "MsgDeposit"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgDepositResponse {} +impl ::prost::Name for MsgDepositResponse { + const NAME: &'static str = "MsgDepositResponse"; + const PACKAGE: &'static str = "cosmos.gov.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + } +} include!("cosmos.gov.v1beta1.serde.rs"); include!("cosmos.gov.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.module.v1.rs index b209fcc5..23187bfd 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.module.v1.rs @@ -13,5 +13,12 @@ pub struct Module { #[prost(uint64, tag = "2")] pub max_metadata_len: u64, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.group.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.module.v1.{}", Self::NAME) + } +} include!("cosmos.group.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.v1.rs index d938b9a5..763eae93 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.v1.rs @@ -17,6 +17,13 @@ pub struct Member { #[prost(message, optional, tag = "4")] pub added_at: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for Member { + const NAME: &'static str = "Member"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MemberRequest represents a group member to be used in Msg server requests. /// Contrary to `Member`, it doesn't have any `added_at` field /// since this field cannot be set as part of requests. @@ -33,6 +40,13 @@ pub struct MemberRequest { #[prost(string, tag = "3")] pub metadata: ::prost::alloc::string::String, } +impl ::prost::Name for MemberRequest { + const NAME: &'static str = "MemberRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// ThresholdDecisionPolicy is a decision policy where a proposal passes when it /// satisfies the two following conditions: /// 1. The sum of all `YES` voter's weights is greater or equal than the defined @@ -50,6 +64,13 @@ pub struct ThresholdDecisionPolicy { #[prost(message, optional, tag = "2")] pub windows: ::core::option::Option, } +impl ::prost::Name for ThresholdDecisionPolicy { + const NAME: &'static str = "ThresholdDecisionPolicy"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// PercentageDecisionPolicy is a decision policy where a proposal passes when /// it satisfies the two following conditions: /// 1. The percentage of all `YES` voters' weights out of the total group weight @@ -67,6 +88,13 @@ pub struct PercentageDecisionPolicy { #[prost(message, optional, tag = "2")] pub windows: ::core::option::Option, } +impl ::prost::Name for PercentageDecisionPolicy { + const NAME: &'static str = "PercentageDecisionPolicy"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// DecisionPolicyWindows defines the different windows for voting and execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -90,6 +118,13 @@ pub struct DecisionPolicyWindows { pub min_execution_period: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>, } +impl ::prost::Name for DecisionPolicyWindows { + const NAME: &'static str = "DecisionPolicyWindows"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} // // State // @@ -121,6 +156,13 @@ pub struct GroupInfo { #[prost(message, optional, tag = "6")] pub created_at: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for GroupInfo { + const NAME: &'static str = "GroupInfo"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// GroupMember represents the relationship between a group and a member. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -132,6 +174,13 @@ pub struct GroupMember { #[prost(message, optional, tag = "2")] pub member: ::core::option::Option, } +impl ::prost::Name for GroupMember { + const NAME: &'static str = "GroupMember"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// GroupPolicyInfo represents the high-level on-chain information for a group policy. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -161,6 +210,13 @@ pub struct GroupPolicyInfo { #[prost(message, optional, tag = "7")] pub created_at: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for GroupPolicyInfo { + const NAME: &'static str = "GroupPolicyInfo"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// Proposal defines a group proposal. Any member of a group can submit a proposal /// for a group policy to decide upon. /// A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal @@ -228,6 +284,13 @@ pub struct Proposal { #[prost(string, tag = "14")] pub summary: ::prost::alloc::string::String, } +impl ::prost::Name for Proposal { + const NAME: &'static str = "Proposal"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// TallyResult represents the sum of weighted votes for each vote option. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -245,6 +308,13 @@ pub struct TallyResult { #[prost(string, tag = "4")] pub no_with_veto_count: ::prost::alloc::string::String, } +impl ::prost::Name for TallyResult { + const NAME: &'static str = "TallyResult"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// Vote represents a vote for a proposal.string metadata #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -266,6 +336,13 @@ pub struct Vote { #[prost(message, optional, tag = "5")] pub submit_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for Vote { + const NAME: &'static str = "Vote"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// VoteOption enumerates the valid vote options for a given proposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -402,6 +479,13 @@ pub struct EventCreateGroup { #[prost(uint64, tag = "1")] pub group_id: u64, } +impl ::prost::Name for EventCreateGroup { + const NAME: &'static str = "EventCreateGroup"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventUpdateGroup is an event emitted when a group is updated. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -410,6 +494,13 @@ pub struct EventUpdateGroup { #[prost(uint64, tag = "1")] pub group_id: u64, } +impl ::prost::Name for EventUpdateGroup { + const NAME: &'static str = "EventUpdateGroup"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventCreateGroupPolicy is an event emitted when a group policy is created. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -418,6 +509,13 @@ pub struct EventCreateGroupPolicy { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for EventCreateGroupPolicy { + const NAME: &'static str = "EventCreateGroupPolicy"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventUpdateGroupPolicy is an event emitted when a group policy is updated. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -426,6 +524,13 @@ pub struct EventUpdateGroupPolicy { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for EventUpdateGroupPolicy { + const NAME: &'static str = "EventUpdateGroupPolicy"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventSubmitProposal is an event emitted when a proposal is created. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -434,6 +539,13 @@ pub struct EventSubmitProposal { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for EventSubmitProposal { + const NAME: &'static str = "EventSubmitProposal"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventWithdrawProposal is an event emitted when a proposal is withdrawn. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -442,6 +554,13 @@ pub struct EventWithdrawProposal { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for EventWithdrawProposal { + const NAME: &'static str = "EventWithdrawProposal"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventVote is an event emitted when a voter votes on a proposal. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -450,6 +569,13 @@ pub struct EventVote { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for EventVote { + const NAME: &'static str = "EventVote"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventExec is an event emitted when a proposal is executed. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -464,6 +590,13 @@ pub struct EventExec { #[prost(string, tag = "3")] pub logs: ::prost::alloc::string::String, } +impl ::prost::Name for EventExec { + const NAME: &'static str = "EventExec"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventLeaveGroup is an event emitted when group member leaves the group. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -475,6 +608,13 @@ pub struct EventLeaveGroup { #[prost(string, tag = "2")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for EventLeaveGroup { + const NAME: &'static str = "EventLeaveGroup"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// EventProposalPruned is an event emitted when a proposal is pruned. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -489,6 +629,13 @@ pub struct EventProposalPruned { #[prost(message, optional, tag = "3")] pub tally_result: ::core::option::Option, } +impl ::prost::Name for EventProposalPruned { + const NAME: &'static str = "EventProposalPruned"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// GenesisState defines the group module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -521,6 +668,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "8")] pub votes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupInfoRequest is the Query/GroupInfo request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -529,6 +683,13 @@ pub struct QueryGroupInfoRequest { #[prost(uint64, tag = "1")] pub group_id: u64, } +impl ::prost::Name for QueryGroupInfoRequest { + const NAME: &'static str = "QueryGroupInfoRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupInfoResponse is the Query/GroupInfo response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -537,6 +698,13 @@ pub struct QueryGroupInfoResponse { #[prost(message, optional, tag = "1")] pub info: ::core::option::Option, } +impl ::prost::Name for QueryGroupInfoResponse { + const NAME: &'static str = "QueryGroupInfoResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -545,6 +713,13 @@ pub struct QueryGroupPolicyInfoRequest { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryGroupPolicyInfoRequest { + const NAME: &'static str = "QueryGroupPolicyInfoRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -553,6 +728,13 @@ pub struct QueryGroupPolicyInfoResponse { #[prost(message, optional, tag = "1")] pub info: ::core::option::Option, } +impl ::prost::Name for QueryGroupPolicyInfoResponse { + const NAME: &'static str = "QueryGroupPolicyInfoResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupMembersRequest is the Query/GroupMembers request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -564,6 +746,13 @@ pub struct QueryGroupMembersRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupMembersRequest { + const NAME: &'static str = "QueryGroupMembersRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupMembersResponse is the Query/GroupMembersResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -575,6 +764,13 @@ pub struct QueryGroupMembersResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupMembersResponse { + const NAME: &'static str = "QueryGroupMembersResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -586,6 +782,13 @@ pub struct QueryGroupsByAdminRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupsByAdminRequest { + const NAME: &'static str = "QueryGroupsByAdminRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -597,6 +800,13 @@ pub struct QueryGroupsByAdminResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupsByAdminResponse { + const NAME: &'static str = "QueryGroupsByAdminResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -608,6 +818,13 @@ pub struct QueryGroupPoliciesByGroupRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupPoliciesByGroupRequest { + const NAME: &'static str = "QueryGroupPoliciesByGroupRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -619,6 +836,13 @@ pub struct QueryGroupPoliciesByGroupResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupPoliciesByGroupResponse { + const NAME: &'static str = "QueryGroupPoliciesByGroupResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -630,6 +854,13 @@ pub struct QueryGroupPoliciesByAdminRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupPoliciesByAdminRequest { + const NAME: &'static str = "QueryGroupPoliciesByAdminRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -641,6 +872,13 @@ pub struct QueryGroupPoliciesByAdminResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupPoliciesByAdminResponse { + const NAME: &'static str = "QueryGroupPoliciesByAdminResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryProposalRequest is the Query/Proposal request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -649,6 +887,13 @@ pub struct QueryProposalRequest { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for QueryProposalRequest { + const NAME: &'static str = "QueryProposalRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryProposalResponse is the Query/Proposal response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -657,6 +902,13 @@ pub struct QueryProposalResponse { #[prost(message, optional, tag = "1")] pub proposal: ::core::option::Option, } +impl ::prost::Name for QueryProposalResponse { + const NAME: &'static str = "QueryProposalResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -668,6 +920,13 @@ pub struct QueryProposalsByGroupPolicyRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryProposalsByGroupPolicyRequest { + const NAME: &'static str = "QueryProposalsByGroupPolicyRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -679,6 +938,13 @@ pub struct QueryProposalsByGroupPolicyResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryProposalsByGroupPolicyResponse { + const NAME: &'static str = "QueryProposalsByGroupPolicyResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -690,6 +956,13 @@ pub struct QueryVoteByProposalVoterRequest { #[prost(string, tag = "2")] pub voter: ::prost::alloc::string::String, } +impl ::prost::Name for QueryVoteByProposalVoterRequest { + const NAME: &'static str = "QueryVoteByProposalVoterRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -698,6 +971,13 @@ pub struct QueryVoteByProposalVoterResponse { #[prost(message, optional, tag = "1")] pub vote: ::core::option::Option, } +impl ::prost::Name for QueryVoteByProposalVoterResponse { + const NAME: &'static str = "QueryVoteByProposalVoterResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryVotesByProposalRequest is the Query/VotesByProposal request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -709,6 +989,13 @@ pub struct QueryVotesByProposalRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesByProposalRequest { + const NAME: &'static str = "QueryVotesByProposalRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryVotesByProposalResponse is the Query/VotesByProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -720,6 +1007,13 @@ pub struct QueryVotesByProposalResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesByProposalResponse { + const NAME: &'static str = "QueryVotesByProposalResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryVotesByVoterRequest is the Query/VotesByVoter request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -731,6 +1025,13 @@ pub struct QueryVotesByVoterRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesByVoterRequest { + const NAME: &'static str = "QueryVotesByVoterRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryVotesByVoterResponse is the Query/VotesByVoter response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -742,6 +1043,13 @@ pub struct QueryVotesByVoterResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryVotesByVoterResponse { + const NAME: &'static str = "QueryVotesByVoterResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupsByMemberRequest is the Query/GroupsByMember request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -753,6 +1061,13 @@ pub struct QueryGroupsByMemberRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupsByMemberRequest { + const NAME: &'static str = "QueryGroupsByMemberRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupsByMemberResponse is the Query/GroupsByMember response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -764,6 +1079,13 @@ pub struct QueryGroupsByMemberResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupsByMemberResponse { + const NAME: &'static str = "QueryGroupsByMemberResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryTallyResultRequest is the Query/TallyResult request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -772,6 +1094,13 @@ pub struct QueryTallyResultRequest { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for QueryTallyResultRequest { + const NAME: &'static str = "QueryTallyResultRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryTallyResultResponse is the Query/TallyResult response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -780,6 +1109,13 @@ pub struct QueryTallyResultResponse { #[prost(message, optional, tag = "1")] pub tally: ::core::option::Option, } +impl ::prost::Name for QueryTallyResultResponse { + const NAME: &'static str = "QueryTallyResultResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupsRequest is the Query/Groups request type. /// /// Since: cosmos-sdk 0.47.1 @@ -790,6 +1126,13 @@ pub struct QueryGroupsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupsRequest { + const NAME: &'static str = "QueryGroupsRequest"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// QueryGroupsResponse is the Query/Groups response type. /// /// Since: cosmos-sdk 0.47.1 @@ -803,6 +1146,13 @@ pub struct QueryGroupsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryGroupsResponse { + const NAME: &'static str = "QueryGroupsResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} // // Groups // @@ -821,6 +1171,13 @@ pub struct MsgCreateGroup { #[prost(string, tag = "3")] pub metadata: ::prost::alloc::string::String, } +impl ::prost::Name for MsgCreateGroup { + const NAME: &'static str = "MsgCreateGroup"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgCreateGroupResponse is the Msg/CreateGroup response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -829,6 +1186,13 @@ pub struct MsgCreateGroupResponse { #[prost(uint64, tag = "1")] pub group_id: u64, } +impl ::prost::Name for MsgCreateGroupResponse { + const NAME: &'static str = "MsgCreateGroupResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -844,10 +1208,24 @@ pub struct MsgUpdateGroupMembers { #[prost(message, repeated, tag = "3")] pub member_updates: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgUpdateGroupMembers { + const NAME: &'static str = "MsgUpdateGroupMembers"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateGroupMembersResponse {} +impl ::prost::Name for MsgUpdateGroupMembersResponse { + const NAME: &'static str = "MsgUpdateGroupMembersResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -862,10 +1240,24 @@ pub struct MsgUpdateGroupAdmin { #[prost(string, tag = "3")] pub new_admin: ::prost::alloc::string::String, } +impl ::prost::Name for MsgUpdateGroupAdmin { + const NAME: &'static str = "MsgUpdateGroupAdmin"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateGroupAdminResponse {} +impl ::prost::Name for MsgUpdateGroupAdminResponse { + const NAME: &'static str = "MsgUpdateGroupAdminResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -880,10 +1272,24 @@ pub struct MsgUpdateGroupMetadata { #[prost(string, tag = "3")] pub metadata: ::prost::alloc::string::String, } +impl ::prost::Name for MsgUpdateGroupMetadata { + const NAME: &'static str = "MsgUpdateGroupMetadata"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateGroupMetadataResponse {} +impl ::prost::Name for MsgUpdateGroupMetadataResponse { + const NAME: &'static str = "MsgUpdateGroupMetadataResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} // // Group Policies // @@ -905,6 +1311,13 @@ pub struct MsgCreateGroupPolicy { #[prost(message, optional, tag = "4")] pub decision_policy: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for MsgCreateGroupPolicy { + const NAME: &'static str = "MsgCreateGroupPolicy"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -913,6 +1326,13 @@ pub struct MsgCreateGroupPolicyResponse { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for MsgCreateGroupPolicyResponse { + const NAME: &'static str = "MsgCreateGroupPolicyResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -927,10 +1347,24 @@ pub struct MsgUpdateGroupPolicyAdmin { #[prost(string, tag = "3")] pub new_admin: ::prost::alloc::string::String, } +impl ::prost::Name for MsgUpdateGroupPolicyAdmin { + const NAME: &'static str = "MsgUpdateGroupPolicyAdmin"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateGroupPolicyAdminResponse {} +impl ::prost::Name for MsgUpdateGroupPolicyAdminResponse { + const NAME: &'static str = "MsgUpdateGroupPolicyAdminResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -955,6 +1389,13 @@ pub struct MsgCreateGroupWithPolicy { #[prost(message, optional, tag = "6")] pub decision_policy: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for MsgCreateGroupWithPolicy { + const NAME: &'static str = "MsgCreateGroupWithPolicy"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -966,6 +1407,13 @@ pub struct MsgCreateGroupWithPolicyResponse { #[prost(string, tag = "2")] pub group_policy_address: ::prost::alloc::string::String, } +impl ::prost::Name for MsgCreateGroupWithPolicyResponse { + const NAME: &'static str = "MsgCreateGroupWithPolicyResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -980,10 +1428,24 @@ pub struct MsgUpdateGroupPolicyDecisionPolicy { #[prost(message, optional, tag = "3")] pub decision_policy: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for MsgUpdateGroupPolicyDecisionPolicy { + const NAME: &'static str = "MsgUpdateGroupPolicyDecisionPolicy"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateGroupPolicyDecisionPolicyResponse {} +impl ::prost::Name for MsgUpdateGroupPolicyDecisionPolicyResponse { + const NAME: &'static str = "MsgUpdateGroupPolicyDecisionPolicyResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -998,10 +1460,24 @@ pub struct MsgUpdateGroupPolicyMetadata { #[prost(string, tag = "3")] pub metadata: ::prost::alloc::string::String, } +impl ::prost::Name for MsgUpdateGroupPolicyMetadata { + const NAME: &'static str = "MsgUpdateGroupPolicyMetadata"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateGroupPolicyMetadataResponse {} +impl ::prost::Name for MsgUpdateGroupPolicyMetadataResponse { + const NAME: &'static str = "MsgUpdateGroupPolicyMetadataResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgSubmitProposal is the Msg/SubmitProposal request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1035,6 +1511,13 @@ pub struct MsgSubmitProposal { #[prost(string, tag = "7")] pub summary: ::prost::alloc::string::String, } +impl ::prost::Name for MsgSubmitProposal { + const NAME: &'static str = "MsgSubmitProposal"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgSubmitProposalResponse is the Msg/SubmitProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1043,6 +1526,13 @@ pub struct MsgSubmitProposalResponse { #[prost(uint64, tag = "1")] pub proposal_id: u64, } +impl ::prost::Name for MsgSubmitProposalResponse { + const NAME: &'static str = "MsgSubmitProposalResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgWithdrawProposal is the Msg/WithdrawProposal request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1054,10 +1544,24 @@ pub struct MsgWithdrawProposal { #[prost(string, tag = "2")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for MsgWithdrawProposal { + const NAME: &'static str = "MsgWithdrawProposal"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgWithdrawProposalResponse {} +impl ::prost::Name for MsgWithdrawProposalResponse { + const NAME: &'static str = "MsgWithdrawProposalResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgVote is the Msg/Vote request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1079,10 +1583,24 @@ pub struct MsgVote { #[prost(enumeration = "Exec", tag = "5")] pub exec: i32, } +impl ::prost::Name for MsgVote { + const NAME: &'static str = "MsgVote"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgVoteResponse is the Msg/Vote response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgVoteResponse {} +impl ::prost::Name for MsgVoteResponse { + const NAME: &'static str = "MsgVoteResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgExec is the Msg/Exec request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1094,6 +1612,13 @@ pub struct MsgExec { #[prost(string, tag = "2")] pub executor: ::prost::alloc::string::String, } +impl ::prost::Name for MsgExec { + const NAME: &'static str = "MsgExec"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgExecResponse is the Msg/Exec request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1102,6 +1627,13 @@ pub struct MsgExecResponse { #[prost(enumeration = "ProposalExecutorResult", tag = "2")] pub result: i32, } +impl ::prost::Name for MsgExecResponse { + const NAME: &'static str = "MsgExecResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgLeaveGroup is the Msg/LeaveGroup request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1113,10 +1645,24 @@ pub struct MsgLeaveGroup { #[prost(uint64, tag = "2")] pub group_id: u64, } +impl ::prost::Name for MsgLeaveGroup { + const NAME: &'static str = "MsgLeaveGroup"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} /// MsgLeaveGroupResponse is the Msg/LeaveGroup response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgLeaveGroupResponse {} +impl ::prost::Name for MsgLeaveGroupResponse { + const NAME: &'static str = "MsgLeaveGroupResponse"; + const PACKAGE: &'static str = "cosmos.group.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.group.v1.{}", Self::NAME) + } +} // // Proposals and Voting // diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.module.v1.rs index 19158b0c..f11c28c3 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.module.v1.rs @@ -9,5 +9,12 @@ pub struct Module { #[prost(string, tag = "2")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.mint.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.module.v1.{}", Self::NAME) + } +} include!("cosmos.mint.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.v1beta1.rs index c3a35725..b4f1a017 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.v1beta1.rs @@ -10,6 +10,13 @@ pub struct Minter { #[prost(string, tag = "2")] pub annual_provisions: ::prost::alloc::string::String, } +impl ::prost::Name for Minter { + const NAME: &'static str = "Minter"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// Params defines the parameters for the x/mint module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -33,6 +40,13 @@ pub struct Params { #[prost(uint64, tag = "6")] pub blocks_per_year: u64, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the mint module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -44,10 +58,24 @@ pub struct GenesisState { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest is the request type for the Query/Params RPC method. #[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 = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -56,10 +84,24 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// QueryInflationRequest is the request type for the Query/Inflation RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryInflationRequest {} +impl ::prost::Name for QueryInflationRequest { + const NAME: &'static str = "QueryInflationRequest"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// QueryInflationResponse is the response type for the Query/Inflation RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -69,11 +111,25 @@ pub struct QueryInflationResponse { #[prost(bytes = "vec", tag = "1")] pub inflation: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryInflationResponse { + const NAME: &'static str = "QueryInflationResponse"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// QueryAnnualProvisionsRequest is the request type for the /// Query/AnnualProvisions RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryAnnualProvisionsRequest {} +impl ::prost::Name for QueryAnnualProvisionsRequest { + const NAME: &'static str = "QueryAnnualProvisionsRequest"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// QueryAnnualProvisionsResponse is the response type for the /// Query/AnnualProvisions RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -83,6 +139,13 @@ pub struct QueryAnnualProvisionsResponse { #[prost(bytes = "vec", tag = "1")] pub annual_provisions: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryAnnualProvisionsResponse { + const NAME: &'static str = "QueryAnnualProvisionsResponse"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -98,6 +161,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -105,6 +175,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.mint.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.mint.v1beta1.{}", Self::NAME) + } +} include!("cosmos.mint.v1beta1.serde.rs"); include!("cosmos.mint.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.module.v1.rs index 31575e04..96e9ca52 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.module.v1.rs @@ -3,5 +3,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.nft.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.module.v1.{}", Self::NAME) + } +} include!("cosmos.nft.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.v1beta1.rs index f847228d..dcbe9d47 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.v1beta1.rs @@ -16,6 +16,13 @@ pub struct EventSend { #[prost(string, tag = "4")] pub receiver: ::prost::alloc::string::String, } +impl ::prost::Name for EventSend { + const NAME: &'static str = "EventSend"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// EventMint is emitted on Mint #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -30,6 +37,13 @@ pub struct EventMint { #[prost(string, tag = "3")] pub owner: ::prost::alloc::string::String, } +impl ::prost::Name for EventMint { + const NAME: &'static str = "EventMint"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// EventBurn is emitted on Burn #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -44,6 +58,13 @@ pub struct EventBurn { #[prost(string, tag = "3")] pub owner: ::prost::alloc::string::String, } +impl ::prost::Name for EventBurn { + const NAME: &'static str = "EventBurn"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// Class defines the class of the nft type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -70,6 +91,13 @@ pub struct Class { #[prost(message, optional, tag = "7")] pub data: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for Class { + const NAME: &'static str = "Class"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// NFT defines the NFT. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -90,6 +118,13 @@ pub struct Nft { #[prost(message, optional, tag = "10")] pub data: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for Nft { + const NAME: &'static str = "NFT"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the nft module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -101,6 +136,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "2")] pub entries: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// Entry Defines all nft owned by a person #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -112,6 +154,13 @@ pub struct Entry { #[prost(message, repeated, tag = "2")] pub nfts: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Entry { + const NAME: &'static str = "Entry"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryBalanceRequest is the request type for the Query/Balance RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -123,6 +172,13 @@ pub struct QueryBalanceRequest { #[prost(string, tag = "2")] pub owner: ::prost::alloc::string::String, } +impl ::prost::Name for QueryBalanceRequest { + const NAME: &'static str = "QueryBalanceRequest"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryBalanceResponse is the response type for the Query/Balance RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -131,6 +187,13 @@ pub struct QueryBalanceResponse { #[prost(uint64, tag = "1")] pub amount: u64, } +impl ::prost::Name for QueryBalanceResponse { + const NAME: &'static str = "QueryBalanceResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryOwnerRequest is the request type for the Query/Owner RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -142,6 +205,13 @@ pub struct QueryOwnerRequest { #[prost(string, tag = "2")] pub id: ::prost::alloc::string::String, } +impl ::prost::Name for QueryOwnerRequest { + const NAME: &'static str = "QueryOwnerRequest"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryOwnerResponse is the response type for the Query/Owner RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -150,6 +220,13 @@ pub struct QueryOwnerResponse { #[prost(string, tag = "1")] pub owner: ::prost::alloc::string::String, } +impl ::prost::Name for QueryOwnerResponse { + const NAME: &'static str = "QueryOwnerResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QuerySupplyRequest is the request type for the Query/Supply RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -158,6 +235,13 @@ pub struct QuerySupplyRequest { #[prost(string, tag = "1")] pub class_id: ::prost::alloc::string::String, } +impl ::prost::Name for QuerySupplyRequest { + const NAME: &'static str = "QuerySupplyRequest"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QuerySupplyResponse is the response type for the Query/Supply RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -166,6 +250,13 @@ pub struct QuerySupplyResponse { #[prost(uint64, tag = "1")] pub amount: u64, } +impl ::prost::Name for QuerySupplyResponse { + const NAME: &'static str = "QuerySupplyResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryNFTstRequest is the request type for the Query/NFTs RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -180,6 +271,13 @@ pub struct QueryNfTsRequest { #[prost(message, optional, tag = "3")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryNfTsRequest { + const NAME: &'static str = "QueryNFTsRequest"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryNFTsResponse is the response type for the Query/NFTs RPC methods #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -191,6 +289,13 @@ pub struct QueryNfTsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryNfTsResponse { + const NAME: &'static str = "QueryNFTsResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryNFTRequest is the request type for the Query/NFT RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -202,6 +307,13 @@ pub struct QueryNftRequest { #[prost(string, tag = "2")] pub id: ::prost::alloc::string::String, } +impl ::prost::Name for QueryNftRequest { + const NAME: &'static str = "QueryNFTRequest"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryNFTResponse is the response type for the Query/NFT RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -210,6 +322,13 @@ pub struct QueryNftResponse { #[prost(message, optional, tag = "1")] pub nft: ::core::option::Option, } +impl ::prost::Name for QueryNftResponse { + const NAME: &'static str = "QueryNFTResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryClassRequest is the request type for the Query/Class RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -218,6 +337,13 @@ pub struct QueryClassRequest { #[prost(string, tag = "1")] pub class_id: ::prost::alloc::string::String, } +impl ::prost::Name for QueryClassRequest { + const NAME: &'static str = "QueryClassRequest"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryClassResponse is the response type for the Query/Class RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -226,6 +352,13 @@ pub struct QueryClassResponse { #[prost(message, optional, tag = "1")] pub class: ::core::option::Option, } +impl ::prost::Name for QueryClassResponse { + const NAME: &'static str = "QueryClassResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryClassesRequest is the request type for the Query/Classes RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -234,6 +367,13 @@ pub struct QueryClassesRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryClassesRequest { + const NAME: &'static str = "QueryClassesRequest"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// QueryClassesResponse is the response type for the Query/Classes RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -245,6 +385,13 @@ pub struct QueryClassesResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryClassesResponse { + const NAME: &'static str = "QueryClassesResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// MsgSend represents a message to send a nft from one account to another account. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -262,10 +409,24 @@ pub struct MsgSend { #[prost(string, tag = "4")] pub receiver: ::prost::alloc::string::String, } +impl ::prost::Name for MsgSend { + const NAME: &'static str = "MsgSend"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} /// MsgSendResponse defines the Msg/Send response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgSendResponse {} +impl ::prost::Name for MsgSendResponse { + const NAME: &'static str = "MsgSendResponse"; + const PACKAGE: &'static str = "cosmos.nft.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.nft.v1beta1.{}", Self::NAME) + } +} include!("cosmos.nft.v1beta1.serde.rs"); include!("cosmos.nft.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.module.v1alpha1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.module.v1alpha1.rs index 10b3c53c..eb94ec55 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.module.v1alpha1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.module.v1alpha1.rs @@ -5,5 +5,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.orm.module.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.module.v1alpha1.{}", Self::NAME) + } +} include!("cosmos.orm.module.v1alpha1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.query.v1alpha1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.query.v1alpha1.rs index 63bc7cc3..8e76a8df 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.query.v1alpha1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.query.v1alpha1.rs @@ -17,6 +17,13 @@ pub struct GetRequest { #[prost(message, repeated, tag = "3")] pub values: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GetRequest { + const NAME: &'static str = "GetRequest"; + const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.query.v1alpha1.{}", Self::NAME) + } +} /// GetResponse is the Query/Get response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -26,6 +33,13 @@ pub struct GetResponse { #[prost(message, optional, tag = "1")] pub result: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for GetResponse { + const NAME: &'static str = "GetResponse"; + const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.query.v1alpha1.{}", Self::NAME) + } +} /// ListRequest is the Query/List request type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -58,6 +72,13 @@ pub mod list_request { #[prost(message, repeated, tag = "1")] pub values: ::prost::alloc::vec::Vec, } + impl ::prost::Name for Prefix { + const NAME: &'static str = "Prefix"; + const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.query.v1alpha1.ListRequest.{}", Self::NAME) + } + } /// Range specifies the arguments to a range query. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -73,6 +94,13 @@ pub mod list_request { #[prost(message, repeated, tag = "2")] pub end: ::prost::alloc::vec::Vec, } + impl ::prost::Name for Range { + const NAME: &'static str = "Range"; + const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.query.v1alpha1.ListRequest.{}", Self::NAME) + } + } /// query is the query expression corresponding to the provided index. If /// neither prefix nor range is specified, the query will list all the fields /// in the index. @@ -87,6 +115,13 @@ pub mod list_request { Range(Range), } } +impl ::prost::Name for ListRequest { + const NAME: &'static str = "ListRequest"; + const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.query.v1alpha1.{}", Self::NAME) + } +} /// ListResponse is the Query/List response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -98,6 +133,13 @@ pub struct ListResponse { #[prost(message, optional, tag = "5")] pub pagination: ::core::option::Option, } +impl ::prost::Name for ListResponse { + const NAME: &'static str = "ListResponse"; + const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.query.v1alpha1.{}", Self::NAME) + } +} /// IndexValue represents the value of a field in an ORM index expression. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -140,6 +182,13 @@ pub mod index_value { Duration(::tendermint_proto::google::protobuf::Duration), } } +impl ::prost::Name for IndexValue { + const NAME: &'static str = "IndexValue"; + const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.query.v1alpha1.{}", Self::NAME) + } +} include!("cosmos.orm.query.v1alpha1.serde.rs"); include!("cosmos.orm.query.v1alpha1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1.rs index 761bace3..7c2fa479 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1.rs @@ -15,6 +15,13 @@ pub struct TableDescriptor { #[prost(uint32, tag = "3")] pub id: u32, } +impl ::prost::Name for TableDescriptor { + const NAME: &'static str = "TableDescriptor"; + const PACKAGE: &'static str = "cosmos.orm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.v1.{}", Self::NAME) + } +} /// PrimaryKeyDescriptor describes a table primary key. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -60,6 +67,13 @@ pub struct PrimaryKeyDescriptor { #[prost(bool, tag = "2")] pub auto_increment: bool, } +impl ::prost::Name for PrimaryKeyDescriptor { + const NAME: &'static str = "PrimaryKeyDescriptor"; + const PACKAGE: &'static str = "cosmos.orm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.v1.{}", Self::NAME) + } +} /// PrimaryKeyDescriptor describes a table secondary index. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -84,6 +98,13 @@ pub struct SecondaryIndexDescriptor { #[prost(bool, tag = "3")] pub unique: bool, } +impl ::prost::Name for SecondaryIndexDescriptor { + const NAME: &'static str = "SecondaryIndexDescriptor"; + const PACKAGE: &'static str = "cosmos.orm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.v1.{}", Self::NAME) + } +} /// TableDescriptor describes an ORM singleton table which has at most one instance. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -94,5 +115,12 @@ pub struct SingletonDescriptor { #[prost(uint32, tag = "1")] pub id: u32, } +impl ::prost::Name for SingletonDescriptor { + const NAME: &'static str = "SingletonDescriptor"; + const PACKAGE: &'static str = "cosmos.orm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.v1.{}", Self::NAME) + } +} include!("cosmos.orm.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1alpha1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1alpha1.rs index 996f70d4..b6730a8f 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1alpha1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.v1alpha1.rs @@ -31,6 +31,20 @@ pub mod module_schema_descriptor { #[prost(enumeration = "super::StorageType", tag = "3")] pub storage_type: i32, } + impl ::prost::Name for FileEntry { + const NAME: &'static str = "FileEntry"; + const PACKAGE: &'static str = "cosmos.orm.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.v1alpha1.ModuleSchemaDescriptor.{}", Self::NAME) + } + } +} +impl ::prost::Name for ModuleSchemaDescriptor { + const NAME: &'static str = "ModuleSchemaDescriptor"; + const PACKAGE: &'static str = "cosmos.orm.v1alpha1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.orm.v1alpha1.{}", Self::NAME) + } } /// StorageType #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.module.v1.rs index 933d4e21..ab59c352 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.module.v1.rs @@ -3,5 +3,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.params.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.module.v1.{}", Self::NAME) + } +} include!("cosmos.params.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.v1beta1.rs index de96b78e..748e0e4d 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.v1beta1.rs @@ -10,6 +10,13 @@ pub struct ParameterChangeProposal { #[prost(message, repeated, tag = "3")] pub changes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ParameterChangeProposal { + const NAME: &'static str = "ParameterChangeProposal"; + const PACKAGE: &'static str = "cosmos.params.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.v1beta1.{}", Self::NAME) + } +} /// ParamChange defines an individual parameter change, for use in /// ParameterChangeProposal. #[allow(clippy::derive_partial_eq_without_eq)] @@ -22,6 +29,13 @@ pub struct ParamChange { #[prost(string, tag = "3")] pub value: ::prost::alloc::string::String, } +impl ::prost::Name for ParamChange { + const NAME: &'static str = "ParamChange"; + const PACKAGE: &'static str = "cosmos.params.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest is request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -33,6 +47,13 @@ pub struct QueryParamsRequest { #[prost(string, tag = "2")] pub key: ::prost::alloc::string::String, } +impl ::prost::Name for QueryParamsRequest { + const NAME: &'static str = "QueryParamsRequest"; + const PACKAGE: &'static str = "cosmos.params.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse is response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -41,6 +62,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub param: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.params.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.v1beta1.{}", Self::NAME) + } +} /// QuerySubspacesRequest defines a request type for querying for all registered /// subspaces and all keys for a subspace. /// @@ -48,6 +76,13 @@ pub struct QueryParamsResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuerySubspacesRequest {} +impl ::prost::Name for QuerySubspacesRequest { + const NAME: &'static str = "QuerySubspacesRequest"; + const PACKAGE: &'static str = "cosmos.params.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.v1beta1.{}", Self::NAME) + } +} /// QuerySubspacesResponse defines the response types for querying for all /// registered subspaces and all keys for a subspace. /// @@ -58,6 +93,13 @@ pub struct QuerySubspacesResponse { #[prost(message, repeated, tag = "1")] pub subspaces: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QuerySubspacesResponse { + const NAME: &'static str = "QuerySubspacesResponse"; + const PACKAGE: &'static str = "cosmos.params.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.v1beta1.{}", Self::NAME) + } +} /// Subspace defines a parameter subspace name and all the keys that exist for /// the subspace. /// @@ -70,6 +112,13 @@ pub struct Subspace { #[prost(string, repeated, tag = "2")] pub keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for Subspace { + const NAME: &'static str = "Subspace"; + const PACKAGE: &'static str = "cosmos.params.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.params.v1beta1.{}", Self::NAME) + } +} include!("cosmos.params.v1beta1.serde.rs"); include!("cosmos.params.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.reflection.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.reflection.v1.rs index e9728e36..65b6fdc2 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.reflection.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.reflection.v1.rs @@ -3,6 +3,13 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct FileDescriptorsRequest {} +impl ::prost::Name for FileDescriptorsRequest { + const NAME: &'static str = "FileDescriptorsRequest"; + const PACKAGE: &'static str = "cosmos.reflection.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.reflection.v1.{}", Self::NAME) + } +} /// FileDescriptorsResponse is the Query/FileDescriptors response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -11,6 +18,13 @@ pub struct FileDescriptorsResponse { #[prost(message, repeated, tag = "1")] pub files: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::FileDescriptorProto>, } +impl ::prost::Name for FileDescriptorsResponse { + const NAME: &'static str = "FileDescriptorsResponse"; + const PACKAGE: &'static str = "cosmos.reflection.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.reflection.v1.{}", Self::NAME) + } +} include!("cosmos.reflection.v1.serde.rs"); include!("cosmos.reflection.v1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.module.v1.rs index b81a09c3..6c60e032 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.module.v1.rs @@ -7,5 +7,12 @@ pub struct Module { #[prost(string, tag = "1")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.slashing.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.module.v1.{}", Self::NAME) + } +} include!("cosmos.slashing.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.v1beta1.rs index f7e32b2e..8cb3cadc 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.v1beta1.rs @@ -27,6 +27,13 @@ pub struct ValidatorSigningInfo { #[prost(int64, tag = "6")] pub missed_blocks_counter: i64, } +impl ::prost::Name for ValidatorSigningInfo { + const NAME: &'static str = "ValidatorSigningInfo"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// Params represents the parameters used for by the slashing module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -43,6 +50,13 @@ pub struct Params { #[prost(bytes = "vec", tag = "5")] pub slash_fraction_downtime: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// GenesisState defines the slashing module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -59,6 +73,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "3")] pub missed_blocks: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// SigningInfo stores validator signing info of corresponding address. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -70,6 +91,13 @@ pub struct SigningInfo { #[prost(message, optional, tag = "2")] pub validator_signing_info: ::core::option::Option, } +impl ::prost::Name for SigningInfo { + const NAME: &'static str = "SigningInfo"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// ValidatorMissedBlocks contains array of missed blocks of corresponding /// address. #[allow(clippy::derive_partial_eq_without_eq)] @@ -82,6 +110,13 @@ pub struct ValidatorMissedBlocks { #[prost(message, repeated, tag = "2")] pub missed_blocks: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ValidatorMissedBlocks { + const NAME: &'static str = "ValidatorMissedBlocks"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// MissedBlock contains height and missed status as boolean. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -93,10 +128,24 @@ pub struct MissedBlock { #[prost(bool, tag = "2")] pub missed: bool, } +impl ::prost::Name for MissedBlock { + const NAME: &'static str = "MissedBlock"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest is the request type for the Query/Params RPC method #[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 = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse is the response type for the Query/Params RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -104,6 +153,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] @@ -113,6 +169,13 @@ pub struct QuerySigningInfoRequest { #[prost(string, tag = "1")] pub cons_address: ::prost::alloc::string::String, } +impl ::prost::Name for QuerySigningInfoRequest { + const NAME: &'static str = "QuerySigningInfoRequest"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] @@ -122,6 +185,13 @@ pub struct QuerySigningInfoResponse { #[prost(message, optional, tag = "1")] pub val_signing_info: ::core::option::Option, } +impl ::prost::Name for QuerySigningInfoResponse { + const NAME: &'static str = "QuerySigningInfoResponse"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] @@ -130,6 +200,13 @@ pub struct QuerySigningInfosRequest { #[prost(message, optional, tag = "1")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QuerySigningInfosRequest { + const NAME: &'static str = "QuerySigningInfosRequest"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] @@ -141,6 +218,13 @@ pub struct QuerySigningInfosResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QuerySigningInfosResponse { + const NAME: &'static str = "QuerySigningInfosResponse"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// MsgUnjail defines the Msg/Unjail request type #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -148,10 +232,24 @@ pub struct MsgUnjail { #[prost(string, tag = "1")] pub validator_addr: ::prost::alloc::string::String, } +impl ::prost::Name for MsgUnjail { + const NAME: &'static str = "MsgUnjail"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// MsgUnjailResponse defines the Msg/Unjail response type #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUnjailResponse {} +impl ::prost::Name for MsgUnjailResponse { + const NAME: &'static str = "MsgUnjailResponse"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -167,6 +265,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -174,6 +279,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.slashing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.slashing.v1beta1.{}", Self::NAME) + } +} include!("cosmos.slashing.v1beta1.serde.rs"); include!("cosmos.slashing.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.module.v1.rs index 434a06d2..4ad5b5b6 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.module.v1.rs @@ -18,5 +18,12 @@ pub struct Module { #[prost(string, tag = "4")] pub bech32_prefix_consensus: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.staking.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.module.v1.{}", Self::NAME) + } +} include!("cosmos.staking.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.v1beta1.rs index 5f208e01..d4c7bede 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.v1beta1.rs @@ -25,6 +25,13 @@ pub mod stake_authorization { #[prost(string, repeated, tag = "1")] pub address: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } + impl ::prost::Name for Validators { + const NAME: &'static str = "Validators"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.StakeAuthorization.{}", Self::NAME) + } + } /// validators is the oneof that represents either allow_list or deny_list #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Oneof)] @@ -38,6 +45,13 @@ pub mod stake_authorization { DenyList(Validators), } } +impl ::prost::Name for StakeAuthorization { + const NAME: &'static str = "StakeAuthorization"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// AuthorizationType defines the type of staking module authorization type /// /// Since: cosmos-sdk 0.43 @@ -97,6 +111,13 @@ pub struct HistoricalInfo { #[prost(message, repeated, tag = "2")] pub valset: ::prost::alloc::vec::Vec, } +impl ::prost::Name for HistoricalInfo { + const NAME: &'static str = "HistoricalInfo"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// CommissionRates defines the initial commission rates to be used for creating /// a validator. #[allow(clippy::derive_partial_eq_without_eq)] @@ -112,6 +133,13 @@ pub struct CommissionRates { #[prost(string, tag = "3")] pub max_change_rate: ::prost::alloc::string::String, } +impl ::prost::Name for CommissionRates { + const NAME: &'static str = "CommissionRates"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// Commission defines commission parameters for a given validator. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -123,6 +151,13 @@ pub struct Commission { #[prost(message, optional, tag = "2")] pub update_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for Commission { + const NAME: &'static str = "Commission"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// Description defines a validator description. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -143,6 +178,13 @@ pub struct Description { #[prost(string, tag = "5")] pub details: ::prost::alloc::string::String, } +impl ::prost::Name for Description { + const NAME: &'static str = "Description"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// Validator defines a validator, together with the total amount of the /// Validator's bond shares and their exchange rate to coins. Slashing results in /// a decrease in the exchange rate, allowing correct calculation of future @@ -196,6 +238,13 @@ pub struct Validator { #[prost(uint64, repeated, tag = "13")] pub unbonding_ids: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Validator { + const NAME: &'static str = "Validator"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// ValAddresses defines a repeated set of validator addresses. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -203,6 +252,13 @@ pub struct ValAddresses { #[prost(string, repeated, tag = "1")] pub addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for ValAddresses { + const NAME: &'static str = "ValAddresses"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// DVPair is struct that just has a delegator-validator pair with no other data. /// It is intended to be used as a marshalable pointer. For example, a DVPair can /// be used to construct the key to getting an UnbondingDelegation from state. @@ -214,6 +270,13 @@ pub struct DvPair { #[prost(string, tag = "2")] pub validator_address: ::prost::alloc::string::String, } +impl ::prost::Name for DvPair { + const NAME: &'static str = "DVPair"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// DVPairs defines an array of DVPair objects. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -221,6 +284,13 @@ pub struct DvPairs { #[prost(message, repeated, tag = "1")] pub pairs: ::prost::alloc::vec::Vec, } +impl ::prost::Name for DvPairs { + const NAME: &'static str = "DVPairs"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// DVVTriplet is struct that just has a delegator-validator-validator triplet /// with no other data. It is intended to be used as a marshalable pointer. For /// example, a DVVTriplet can be used to construct the key to getting a @@ -235,6 +305,13 @@ pub struct DvvTriplet { #[prost(string, tag = "3")] pub validator_dst_address: ::prost::alloc::string::String, } +impl ::prost::Name for DvvTriplet { + const NAME: &'static str = "DVVTriplet"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// DVVTriplets defines an array of DVVTriplet objects. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -242,6 +319,13 @@ pub struct DvvTriplets { #[prost(message, repeated, tag = "1")] pub triplets: ::prost::alloc::vec::Vec, } +impl ::prost::Name for DvvTriplets { + const NAME: &'static str = "DVVTriplets"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// Delegation represents the bond with tokens held by an account. It is /// owned by one delegator, and is associated with the voting power of one /// validator. @@ -258,6 +342,13 @@ pub struct Delegation { #[prost(string, tag = "3")] pub shares: ::prost::alloc::string::String, } +impl ::prost::Name for Delegation { + const NAME: &'static str = "Delegation"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// UnbondingDelegation stores all of a single delegator's unbonding bonds /// for a single validator in an time-ordered list. #[allow(clippy::derive_partial_eq_without_eq)] @@ -275,6 +366,13 @@ pub struct UnbondingDelegation { #[prost(message, repeated, tag = "3")] pub entries: ::prost::alloc::vec::Vec, } +impl ::prost::Name for UnbondingDelegation { + const NAME: &'static str = "UnbondingDelegation"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// UnbondingDelegationEntry defines an unbonding object with relevant metadata. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -298,6 +396,13 @@ pub struct UnbondingDelegationEntry { #[prost(int64, tag = "6")] pub unbonding_on_hold_ref_count: i64, } +impl ::prost::Name for UnbondingDelegationEntry { + const NAME: &'static str = "UnbondingDelegationEntry"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// RedelegationEntry defines a redelegation object with relevant metadata. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -321,6 +426,13 @@ pub struct RedelegationEntry { #[prost(int64, tag = "6")] pub unbonding_on_hold_ref_count: i64, } +impl ::prost::Name for RedelegationEntry { + const NAME: &'static str = "RedelegationEntry"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// Redelegation contains the list of a particular delegator's redelegating bonds /// from a particular source validator to a particular destination validator. #[allow(clippy::derive_partial_eq_without_eq)] @@ -341,6 +453,13 @@ pub struct Redelegation { #[prost(message, repeated, tag = "4")] pub entries: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Redelegation { + const NAME: &'static str = "Redelegation"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// Params defines the parameters for the x/staking module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -364,6 +483,13 @@ pub struct Params { #[prost(string, tag = "6")] pub min_commission_rate: ::prost::alloc::string::String, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// DelegationResponse is equivalent to Delegation except that it contains a /// balance in addition to shares which is more suitable for client responses. #[allow(clippy::derive_partial_eq_without_eq)] @@ -374,6 +500,13 @@ pub struct DelegationResponse { #[prost(message, optional, tag = "2")] pub balance: ::core::option::Option, } +impl ::prost::Name for DelegationResponse { + const NAME: &'static str = "DelegationResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// RedelegationEntryResponse is equivalent to a RedelegationEntry except that it /// contains a balance in addition to shares which is more suitable for client /// responses. @@ -385,6 +518,13 @@ pub struct RedelegationEntryResponse { #[prost(string, tag = "4")] pub balance: ::prost::alloc::string::String, } +impl ::prost::Name for RedelegationEntryResponse { + const NAME: &'static str = "RedelegationEntryResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// RedelegationResponse is equivalent to a Redelegation except that its entries /// contain a balance in addition to shares which is more suitable for client /// responses. @@ -396,6 +536,13 @@ pub struct RedelegationResponse { #[prost(message, repeated, tag = "2")] pub entries: ::prost::alloc::vec::Vec, } +impl ::prost::Name for RedelegationResponse { + const NAME: &'static str = "RedelegationResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// Pool is used for tracking bonded and not-bonded token supply of the bond /// denomination. #[allow(clippy::derive_partial_eq_without_eq)] @@ -406,6 +553,13 @@ pub struct Pool { #[prost(string, tag = "2")] pub bonded_tokens: ::prost::alloc::string::String, } +impl ::prost::Name for Pool { + const NAME: &'static str = "Pool"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// ValidatorUpdates defines an array of abci.ValidatorUpdate objects. /// TODO: explore moving this to proto/cosmos/base to separate modules from tendermint dependence #[allow(clippy::derive_partial_eq_without_eq)] @@ -414,6 +568,13 @@ pub struct ValidatorUpdates { #[prost(message, repeated, tag = "1")] pub updates: ::prost::alloc::vec::Vec<::tendermint_proto::v0_34::abci::ValidatorUpdate>, } +impl ::prost::Name for ValidatorUpdates { + const NAME: &'static str = "ValidatorUpdates"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// BondStatus is the status of a validator. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -515,6 +676,13 @@ pub struct GenesisState { #[prost(bool, tag = "8")] pub exported: bool, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// LastValidatorPower required for validator set update logic. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -526,6 +694,13 @@ pub struct LastValidatorPower { #[prost(int64, tag = "2")] pub power: i64, } +impl ::prost::Name for LastValidatorPower { + const NAME: &'static str = "LastValidatorPower"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorsRequest is request type for Query/Validators RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -537,6 +712,13 @@ pub struct QueryValidatorsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorsRequest { + const NAME: &'static str = "QueryValidatorsRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorsResponse is response type for the Query/Validators RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -548,6 +730,13 @@ pub struct QueryValidatorsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorsResponse { + const NAME: &'static str = "QueryValidatorsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorRequest is response type for the Query/Validator RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -556,6 +745,13 @@ pub struct QueryValidatorRequest { #[prost(string, tag = "1")] pub validator_addr: ::prost::alloc::string::String, } +impl ::prost::Name for QueryValidatorRequest { + const NAME: &'static str = "QueryValidatorRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorResponse is response type for the Query/Validator RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -564,6 +760,13 @@ pub struct QueryValidatorResponse { #[prost(message, optional, tag = "1")] pub validator: ::core::option::Option, } +impl ::prost::Name for QueryValidatorResponse { + const NAME: &'static str = "QueryValidatorResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorDelegationsRequest is request type for the /// Query/ValidatorDelegations RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -576,6 +779,13 @@ pub struct QueryValidatorDelegationsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorDelegationsRequest { + const NAME: &'static str = "QueryValidatorDelegationsRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorDelegationsResponse is response type for the /// Query/ValidatorDelegations RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -587,6 +797,13 @@ pub struct QueryValidatorDelegationsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorDelegationsResponse { + const NAME: &'static str = "QueryValidatorDelegationsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorUnbondingDelegationsRequest is required type for the /// Query/ValidatorUnbondingDelegations RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -599,6 +816,13 @@ pub struct QueryValidatorUnbondingDelegationsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorUnbondingDelegationsRequest { + const NAME: &'static str = "QueryValidatorUnbondingDelegationsRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryValidatorUnbondingDelegationsResponse is response type for the /// Query/ValidatorUnbondingDelegations RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -610,6 +834,13 @@ pub struct QueryValidatorUnbondingDelegationsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryValidatorUnbondingDelegationsResponse { + const NAME: &'static str = "QueryValidatorUnbondingDelegationsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegationRequest is request type for the Query/Delegation RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -621,6 +852,13 @@ pub struct QueryDelegationRequest { #[prost(string, tag = "2")] pub validator_addr: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDelegationRequest { + const NAME: &'static str = "QueryDelegationRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegationResponse is response type for the Query/Delegation RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -629,6 +867,13 @@ pub struct QueryDelegationResponse { #[prost(message, optional, tag = "1")] pub delegation_response: ::core::option::Option, } +impl ::prost::Name for QueryDelegationResponse { + const NAME: &'static str = "QueryDelegationResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryUnbondingDelegationRequest is request type for the /// Query/UnbondingDelegation RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -641,6 +886,13 @@ pub struct QueryUnbondingDelegationRequest { #[prost(string, tag = "2")] pub validator_addr: ::prost::alloc::string::String, } +impl ::prost::Name for QueryUnbondingDelegationRequest { + const NAME: &'static str = "QueryUnbondingDelegationRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegationResponse is response type for the Query/UnbondingDelegation /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -650,6 +902,13 @@ pub struct QueryUnbondingDelegationResponse { #[prost(message, optional, tag = "1")] pub unbond: ::core::option::Option, } +impl ::prost::Name for QueryUnbondingDelegationResponse { + const NAME: &'static str = "QueryUnbondingDelegationResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorDelegationsRequest is request type for the /// Query/DelegatorDelegations RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -662,6 +921,13 @@ pub struct QueryDelegatorDelegationsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDelegatorDelegationsRequest { + const NAME: &'static str = "QueryDelegatorDelegationsRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorDelegationsResponse is response type for the /// Query/DelegatorDelegations RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -674,6 +940,13 @@ pub struct QueryDelegatorDelegationsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDelegatorDelegationsResponse { + const NAME: &'static str = "QueryDelegatorDelegationsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorUnbondingDelegationsRequest is request type for the /// Query/DelegatorUnbondingDelegations RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -686,6 +959,13 @@ pub struct QueryDelegatorUnbondingDelegationsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDelegatorUnbondingDelegationsRequest { + const NAME: &'static str = "QueryDelegatorUnbondingDelegationsRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryUnbondingDelegatorDelegationsResponse is response type for the /// Query/UnbondingDelegatorDelegations RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -697,6 +977,13 @@ pub struct QueryDelegatorUnbondingDelegationsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDelegatorUnbondingDelegationsResponse { + const NAME: &'static str = "QueryDelegatorUnbondingDelegationsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryRedelegationsRequest is request type for the Query/Redelegations RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -715,6 +1002,13 @@ pub struct QueryRedelegationsRequest { #[prost(message, optional, tag = "4")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryRedelegationsRequest { + const NAME: &'static str = "QueryRedelegationsRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryRedelegationsResponse is response type for the Query/Redelegations RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -726,6 +1020,13 @@ pub struct QueryRedelegationsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryRedelegationsResponse { + const NAME: &'static str = "QueryRedelegationsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorValidatorsRequest is request type for the /// Query/DelegatorValidators RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -738,6 +1039,13 @@ pub struct QueryDelegatorValidatorsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDelegatorValidatorsRequest { + const NAME: &'static str = "QueryDelegatorValidatorsRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorValidatorsResponse is response type for the /// Query/DelegatorValidators RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -750,6 +1058,13 @@ pub struct QueryDelegatorValidatorsResponse { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryDelegatorValidatorsResponse { + const NAME: &'static str = "QueryDelegatorValidatorsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorValidatorRequest is request type for the /// Query/DelegatorValidator RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -762,6 +1077,13 @@ pub struct QueryDelegatorValidatorRequest { #[prost(string, tag = "2")] pub validator_addr: ::prost::alloc::string::String, } +impl ::prost::Name for QueryDelegatorValidatorRequest { + const NAME: &'static str = "QueryDelegatorValidatorRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryDelegatorValidatorResponse response type for the /// Query/DelegatorValidator RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -771,6 +1093,13 @@ pub struct QueryDelegatorValidatorResponse { #[prost(message, optional, tag = "1")] pub validator: ::core::option::Option, } +impl ::prost::Name for QueryDelegatorValidatorResponse { + const NAME: &'static str = "QueryDelegatorValidatorResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -780,6 +1109,13 @@ pub struct QueryHistoricalInfoRequest { #[prost(int64, tag = "1")] pub height: i64, } +impl ::prost::Name for QueryHistoricalInfoRequest { + const NAME: &'static str = "QueryHistoricalInfoRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -789,10 +1125,24 @@ pub struct QueryHistoricalInfoResponse { #[prost(message, optional, tag = "1")] pub hist: ::core::option::Option, } +impl ::prost::Name for QueryHistoricalInfoResponse { + const NAME: &'static str = "QueryHistoricalInfoResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryPoolRequest is request type for the Query/Pool RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryPoolRequest {} +impl ::prost::Name for QueryPoolRequest { + const NAME: &'static str = "QueryPoolRequest"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryPoolResponse is response type for the Query/Pool RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -801,10 +1151,24 @@ pub struct QueryPoolResponse { #[prost(message, optional, tag = "1")] pub pool: ::core::option::Option, } +impl ::prost::Name for QueryPoolResponse { + const NAME: &'static str = "QueryPoolResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryParamsRequest is request type for the Query/Params RPC method. #[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 = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// QueryParamsResponse is response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -813,6 +1177,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgCreateValidator defines a SDK message for creating a new validator. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -836,10 +1207,24 @@ pub struct MsgCreateValidator { #[prost(message, optional, tag = "7")] pub value: ::core::option::Option, } +impl ::prost::Name for MsgCreateValidator { + const NAME: &'static str = "MsgCreateValidator"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgCreateValidatorResponse {} +impl ::prost::Name for MsgCreateValidatorResponse { + const NAME: &'static str = "MsgCreateValidatorResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgEditValidator defines a SDK message for editing an existing validator. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -857,10 +1242,24 @@ pub struct MsgEditValidator { #[prost(string, tag = "4")] pub min_self_delegation: ::prost::alloc::string::String, } +impl ::prost::Name for MsgEditValidator { + const NAME: &'static str = "MsgEditValidator"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgEditValidatorResponse defines the Msg/EditValidator response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgEditValidatorResponse {} +impl ::prost::Name for MsgEditValidatorResponse { + const NAME: &'static str = "MsgEditValidatorResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgDelegate defines a SDK message for performing a delegation of coins /// from a delegator to a validator. #[allow(clippy::derive_partial_eq_without_eq)] @@ -873,10 +1272,24 @@ pub struct MsgDelegate { #[prost(message, optional, tag = "3")] pub amount: ::core::option::Option, } +impl ::prost::Name for MsgDelegate { + const NAME: &'static str = "MsgDelegate"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgDelegateResponse defines the Msg/Delegate response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgDelegateResponse {} +impl ::prost::Name for MsgDelegateResponse { + const NAME: &'static str = "MsgDelegateResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgBeginRedelegate defines a SDK message for performing a redelegation /// of coins from a delegator and source validator to a destination validator. #[allow(clippy::derive_partial_eq_without_eq)] @@ -891,6 +1304,13 @@ pub struct MsgBeginRedelegate { #[prost(message, optional, tag = "4")] pub amount: ::core::option::Option, } +impl ::prost::Name for MsgBeginRedelegate { + const NAME: &'static str = "MsgBeginRedelegate"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -898,6 +1318,13 @@ pub struct MsgBeginRedelegateResponse { #[prost(message, optional, tag = "1")] pub completion_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for MsgBeginRedelegateResponse { + const NAME: &'static str = "MsgBeginRedelegateResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgUndelegate defines a SDK message for performing an undelegation from a /// delegate and a validator. #[allow(clippy::derive_partial_eq_without_eq)] @@ -910,6 +1337,13 @@ pub struct MsgUndelegate { #[prost(message, optional, tag = "3")] pub amount: ::core::option::Option, } +impl ::prost::Name for MsgUndelegate { + const NAME: &'static str = "MsgUndelegate"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgUndelegateResponse defines the Msg/Undelegate response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -922,6 +1356,13 @@ pub struct MsgUndelegateResponse { #[prost(message, optional, tag = "2")] pub amount: ::core::option::Option, } +impl ::prost::Name for MsgUndelegateResponse { + const NAME: &'static str = "MsgUndelegateResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator /// /// Since: cosmos-sdk 0.46 @@ -939,12 +1380,26 @@ pub struct MsgCancelUnbondingDelegation { #[prost(int64, tag = "4")] pub creation_height: i64, } +impl ::prost::Name for MsgCancelUnbondingDelegation { + const NAME: &'static str = "MsgCancelUnbondingDelegation"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgCancelUnbondingDelegationResponse /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgCancelUnbondingDelegationResponse {} +impl ::prost::Name for MsgCancelUnbondingDelegationResponse { + const NAME: &'static str = "MsgCancelUnbondingDelegationResponse"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 @@ -960,6 +1415,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -967,6 +1429,13 @@ pub struct MsgUpdateParams { #[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 = "cosmos.staking.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + } +} include!("cosmos.staking.v1beta1.serde.rs"); include!("cosmos.staking.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.internal.kv.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.internal.kv.v1beta1.rs index 2075e8e1..a7a2eadb 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.internal.kv.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.internal.kv.v1beta1.rs @@ -8,6 +8,13 @@ pub struct Pairs { #[prost(message, repeated, tag = "1")] pub pairs: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Pairs { + const NAME: &'static str = "Pairs"; + const PACKAGE: &'static str = "cosmos.store.internal.kv.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.internal.kv.v1beta1.{}", Self::NAME) + } +} /// Pair defines a key/value bytes tuple. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -17,5 +24,12 @@ pub struct Pair { #[prost(bytes = "vec", tag = "2")] pub value: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Pair { + const NAME: &'static str = "Pair"; + const PACKAGE: &'static str = "cosmos.store.internal.kv.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.internal.kv.v1beta1.{}", Self::NAME) + } +} include!("cosmos.store.internal.kv.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.snapshots.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.snapshots.v1.rs index f30c9599..5ba535cd 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.snapshots.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.snapshots.v1.rs @@ -14,6 +14,13 @@ pub struct Snapshot { #[prost(message, optional, tag = "5")] pub metadata: ::core::option::Option, } +impl ::prost::Name for Snapshot { + const NAME: &'static str = "Snapshot"; + const PACKAGE: &'static str = "cosmos.store.snapshots.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.snapshots.v1.{}", Self::NAME) + } +} /// Metadata contains SDK-specific snapshot metadata. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -22,6 +29,13 @@ pub struct Metadata { #[prost(bytes = "vec", repeated, tag = "1")] pub chunk_hashes: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for Metadata { + const NAME: &'static str = "Metadata"; + const PACKAGE: &'static str = "cosmos.store.snapshots.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.snapshots.v1.{}", Self::NAME) + } +} /// SnapshotItem is an item contained in a rootmulti.Store snapshot. /// /// Since: cosmos-sdk 0.46 @@ -48,6 +62,13 @@ pub mod snapshot_item { ExtensionPayload(super::SnapshotExtensionPayload), } } +impl ::prost::Name for SnapshotItem { + const NAME: &'static str = "SnapshotItem"; + const PACKAGE: &'static str = "cosmos.store.snapshots.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.snapshots.v1.{}", Self::NAME) + } +} /// SnapshotStoreItem contains metadata about a snapshotted store. /// /// Since: cosmos-sdk 0.46 @@ -57,6 +78,13 @@ pub struct SnapshotStoreItem { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } +impl ::prost::Name for SnapshotStoreItem { + const NAME: &'static str = "SnapshotStoreItem"; + const PACKAGE: &'static str = "cosmos.store.snapshots.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.snapshots.v1.{}", Self::NAME) + } +} /// SnapshotIAVLItem is an exported IAVL node. /// /// Since: cosmos-sdk 0.46 @@ -74,6 +102,13 @@ pub struct SnapshotIavlItem { #[prost(int32, tag = "4")] pub height: i32, } +impl ::prost::Name for SnapshotIavlItem { + const NAME: &'static str = "SnapshotIAVLItem"; + const PACKAGE: &'static str = "cosmos.store.snapshots.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.snapshots.v1.{}", Self::NAME) + } +} /// SnapshotExtensionMeta contains metadata about an external snapshotter. /// /// Since: cosmos-sdk 0.46 @@ -85,6 +120,13 @@ pub struct SnapshotExtensionMeta { #[prost(uint32, tag = "2")] pub format: u32, } +impl ::prost::Name for SnapshotExtensionMeta { + const NAME: &'static str = "SnapshotExtensionMeta"; + const PACKAGE: &'static str = "cosmos.store.snapshots.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.snapshots.v1.{}", Self::NAME) + } +} /// SnapshotExtensionPayload contains payloads of an external snapshotter. /// /// Since: cosmos-sdk 0.46 @@ -94,5 +136,12 @@ pub struct SnapshotExtensionPayload { #[prost(bytes = "vec", tag = "1")] pub payload: ::prost::alloc::vec::Vec, } +impl ::prost::Name for SnapshotExtensionPayload { + const NAME: &'static str = "SnapshotExtensionPayload"; + const PACKAGE: &'static str = "cosmos.store.snapshots.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.snapshots.v1.{}", Self::NAME) + } +} include!("cosmos.store.snapshots.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.streaming.abci.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.streaming.abci.rs index 328d7337..085b8efc 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.streaming.abci.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.streaming.abci.rs @@ -8,10 +8,24 @@ pub struct ListenFinalizeBlockRequest { #[prost(message, optional, tag = "2")] pub res: ::core::option::Option<::tendermint_proto::v0_34::abci::ResponseFinalizeBlock>, } +impl ::prost::Name for ListenFinalizeBlockRequest { + const NAME: &'static str = "ListenFinalizeBlockRequest"; + const PACKAGE: &'static str = "cosmos.store.streaming.abci"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.streaming.abci.{}", Self::NAME) + } +} /// ListenEndBlockResponse is the response type for the ListenEndBlock RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListenFinalizeBlockResponse {} +impl ::prost::Name for ListenFinalizeBlockResponse { + const NAME: &'static str = "ListenFinalizeBlockResponse"; + const PACKAGE: &'static str = "cosmos.store.streaming.abci"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.streaming.abci.{}", Self::NAME) + } +} /// ListenCommitRequest is the request type for the ListenCommit RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -24,10 +38,24 @@ pub struct ListenCommitRequest { #[prost(message, repeated, tag = "3")] pub change_set: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ListenCommitRequest { + const NAME: &'static str = "ListenCommitRequest"; + const PACKAGE: &'static str = "cosmos.store.streaming.abci"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.streaming.abci.{}", Self::NAME) + } +} /// ListenCommitResponse is the response type for the ListenCommit RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListenCommitResponse {} +impl ::prost::Name for ListenCommitResponse { + const NAME: &'static str = "ListenCommitResponse"; + const PACKAGE: &'static str = "cosmos.store.streaming.abci"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.streaming.abci.{}", Self::NAME) + } +} include!("cosmos.store.streaming.abci.serde.rs"); include!("cosmos.store.streaming.abci.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.v1beta1.rs index fca3246c..2aa6d56b 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.v1beta1.rs @@ -18,6 +18,13 @@ pub struct StoreKvPair { #[prost(bytes = "vec", tag = "4")] pub value: ::prost::alloc::vec::Vec, } +impl ::prost::Name for StoreKvPair { + const NAME: &'static str = "StoreKVPair"; + const PACKAGE: &'static str = "cosmos.store.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.v1beta1.{}", Self::NAME) + } +} /// BlockMetadata contains all the abci event data of a block /// the file streamer dump them into files together with the state changes. #[allow(clippy::derive_partial_eq_without_eq)] @@ -33,6 +40,13 @@ pub struct BlockMetadata { pub response_finalize_block: ::core::option::Option<::tendermint_proto::v0_34::abci::ResponseFinalizeBlock>, } +impl ::prost::Name for BlockMetadata { + const NAME: &'static str = "BlockMetadata"; + const PACKAGE: &'static str = "cosmos.store.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.v1beta1.{}", Self::NAME) + } +} /// CommitInfo defines commit information used by the multi-store when committing /// a version/height. #[allow(clippy::derive_partial_eq_without_eq)] @@ -45,6 +59,13 @@ pub struct CommitInfo { #[prost(message, optional, tag = "3")] pub timestamp: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>, } +impl ::prost::Name for CommitInfo { + const NAME: &'static str = "CommitInfo"; + const PACKAGE: &'static str = "cosmos.store.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.v1beta1.{}", Self::NAME) + } +} /// StoreInfo defines store-specific commit information. It contains a reference /// between a store name and the commit ID. #[allow(clippy::derive_partial_eq_without_eq)] @@ -55,6 +76,13 @@ pub struct StoreInfo { #[prost(message, optional, tag = "2")] pub commit_id: ::core::option::Option, } +impl ::prost::Name for StoreInfo { + const NAME: &'static str = "StoreInfo"; + const PACKAGE: &'static str = "cosmos.store.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.v1beta1.{}", Self::NAME) + } +} /// CommitID defines the commitment information when a specific store is /// committed. #[allow(clippy::derive_partial_eq_without_eq)] @@ -65,5 +93,12 @@ pub struct CommitId { #[prost(bytes = "vec", tag = "2")] pub hash: ::prost::alloc::vec::Vec, } +impl ::prost::Name for CommitId { + const NAME: &'static str = "CommitID"; + const PACKAGE: &'static str = "cosmos.store.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.store.v1beta1.{}", Self::NAME) + } +} include!("cosmos.store.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.config.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.config.v1.rs index 7cc24372..b2d8baf6 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.config.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.config.v1.rs @@ -12,5 +12,12 @@ pub struct Config { #[prost(bool, tag = "2")] pub skip_post_handler: bool, } +impl ::prost::Name for Config { + const NAME: &'static str = "Config"; + const PACKAGE: &'static str = "cosmos.tx.config.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.config.v1.{}", Self::NAME) + } +} include!("cosmos.tx.config.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.signing.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.signing.v1beta1.rs index 7d511a78..1ab7659e 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.signing.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.signing.v1beta1.rs @@ -7,6 +7,13 @@ pub struct SignatureDescriptors { #[prost(message, repeated, tag = "1")] pub signatures: ::prost::alloc::vec::Vec, } +impl ::prost::Name for SignatureDescriptors { + const NAME: &'static str = "SignatureDescriptors"; + const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.signing.v1beta1.{}", Self::NAME) + } +} /// SignatureDescriptor is a convenience type which represents the full data for /// a signature including the public key of the signer, signing modes and the /// signature itself. It is primarily used for coordinating signatures between @@ -48,6 +55,16 @@ pub mod signature_descriptor { #[prost(bytes = "vec", tag = "2")] pub signature: ::prost::alloc::vec::Vec, } + impl ::prost::Name for Single { + const NAME: &'static str = "Single"; + const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!( + "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.{}", + Self::NAME + ) + } + } /// Multi is the signature data for a multisig public key #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -61,6 +78,16 @@ pub mod signature_descriptor { #[prost(message, repeated, tag = "2")] pub signatures: ::prost::alloc::vec::Vec, } + impl ::prost::Name for Multi { + const NAME: &'static str = "Multi"; + const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!( + "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.{}", + Self::NAME + ) + } + } /// sum is the oneof that specifies whether this represents single or multi-signature data #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Oneof)] @@ -73,6 +100,23 @@ pub mod signature_descriptor { Multi(Multi), } } + impl ::prost::Name for Data { + const NAME: &'static str = "Data"; + const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!( + "cosmos.tx.signing.v1beta1.SignatureDescriptor.{}", + Self::NAME + ) + } + } +} +impl ::prost::Name for SignatureDescriptor { + const NAME: &'static str = "SignatureDescriptor"; + const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.signing.v1beta1.{}", Self::NAME) + } } /// SignMode represents a signing mode with its own security guarantees. /// diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.v1beta1.rs index 39e4d910..06adafdd 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.v1beta1.rs @@ -16,6 +16,13 @@ pub struct Tx { #[prost(bytes = "vec", repeated, tag = "3")] pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for Tx { + const NAME: &'static str = "Tx"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxRaw is a variant of Tx that pins the signer's exact binary representation /// of body and auth_info. This is used for signing, broadcasting and /// verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and @@ -38,6 +45,13 @@ pub struct TxRaw { #[prost(bytes = "vec", repeated, tag = "3")] pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for TxRaw { + const NAME: &'static str = "TxRaw"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -59,6 +73,13 @@ pub struct SignDoc { #[prost(uint64, tag = "4")] pub account_number: u64, } +impl ::prost::Name for SignDoc { + const NAME: &'static str = "SignDoc"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// SignDocDirectAux is the type used for generating sign bytes for /// SIGN_MODE_DIRECT_AUX. /// @@ -89,6 +110,13 @@ pub struct SignDocDirectAux { #[prost(message, optional, tag = "6")] pub tip: ::core::option::Option, } +impl ::prost::Name for SignDocDirectAux { + const NAME: &'static str = "SignDocDirectAux"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxBody is the body of a transaction that all signers sign over. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -123,6 +151,13 @@ pub struct TxBody { pub non_critical_extension_options: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for TxBody { + const NAME: &'static str = "TxBody"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// AuthInfo describes the fee and signer modes that are used to sign a /// transaction. #[allow(clippy::derive_partial_eq_without_eq)] @@ -150,6 +185,13 @@ pub struct AuthInfo { #[prost(message, optional, tag = "3")] pub tip: ::core::option::Option, } +impl ::prost::Name for AuthInfo { + const NAME: &'static str = "AuthInfo"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// SignerInfo describes the public key and signing mode of a single top-level /// signer. #[allow(clippy::derive_partial_eq_without_eq)] @@ -170,6 +212,13 @@ pub struct SignerInfo { #[prost(uint64, tag = "3")] pub sequence: u64, } +impl ::prost::Name for SignerInfo { + const NAME: &'static str = "SignerInfo"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// ModeInfo describes the signing mode of a single or nested multisig signer. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -191,6 +240,13 @@ pub mod mode_info { #[prost(enumeration = "super::super::signing::v1beta1::SignMode", tag = "1")] pub mode: i32, } + impl ::prost::Name for Single { + const NAME: &'static str = "Single"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.ModeInfo.{}", Self::NAME) + } + } /// Multi is the mode info for a multisig public key #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -204,6 +260,13 @@ pub mod mode_info { #[prost(message, repeated, tag = "2")] pub mode_infos: ::prost::alloc::vec::Vec, } + impl ::prost::Name for Multi { + const NAME: &'static str = "Multi"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.ModeInfo.{}", Self::NAME) + } + } /// sum is the oneof that specifies whether this represents a single or nested /// multisig signer #[allow(clippy::derive_partial_eq_without_eq)] @@ -217,6 +280,13 @@ pub mod mode_info { Multi(Multi), } } +impl ::prost::Name for ModeInfo { + const NAME: &'static str = "ModeInfo"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// Fee includes the amount of coins paid in fees and the maximum /// gas to be used by the transaction. The ratio yields an effective "gasprice", /// which must be above some miminum to be accepted into the mempool. @@ -241,6 +311,13 @@ pub struct Fee { #[prost(string, tag = "4")] pub granter: ::prost::alloc::string::String, } +impl ::prost::Name for Fee { + const NAME: &'static str = "Fee"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// Tip is the tip used for meta-transactions. /// /// Since: cosmos-sdk 0.46 @@ -254,6 +331,13 @@ pub struct Tip { #[prost(string, tag = "2")] pub tipper: ::prost::alloc::string::String, } +impl ::prost::Name for Tip { + const NAME: &'static str = "Tip"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// AuxSignerData is the intermediary format that an auxiliary signer (e.g. a /// tipper) builds and sends to the fee payer (who will build and broadcast the /// actual tx). AuxSignerData is not a valid tx in itself, and will be rejected @@ -280,6 +364,13 @@ pub struct AuxSignerData { #[prost(bytes = "vec", tag = "4")] pub sig: ::prost::alloc::vec::Vec, } +impl ::prost::Name for AuxSignerData { + const NAME: &'static str = "AuxSignerData"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// GetTxsEventRequest is the request type for the Service.TxsByEvents /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -313,6 +404,13 @@ pub struct GetTxsEventRequest { #[prost(string, tag = "6")] pub query: ::prost::alloc::string::String, } +impl ::prost::Name for GetTxsEventRequest { + const NAME: &'static str = "GetTxsEventRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// GetTxsEventResponse is the response type for the Service.TxsByEvents /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -333,6 +431,13 @@ pub struct GetTxsEventResponse { #[prost(uint64, tag = "4")] pub total: u64, } +impl ::prost::Name for GetTxsEventResponse { + const NAME: &'static str = "GetTxsEventResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// BroadcastTxRequest is the request type for the Service.BroadcastTxRequest /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -344,6 +449,13 @@ pub struct BroadcastTxRequest { #[prost(enumeration = "BroadcastMode", tag = "2")] pub mode: i32, } +impl ::prost::Name for BroadcastTxRequest { + const NAME: &'static str = "BroadcastTxRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// BroadcastTxResponse is the response type for the /// Service.BroadcastTx method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -353,6 +465,13 @@ pub struct BroadcastTxResponse { #[prost(message, optional, tag = "1")] pub tx_response: ::core::option::Option, } +impl ::prost::Name for BroadcastTxResponse { + const NAME: &'static str = "BroadcastTxResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// SimulateRequest is the request type for the Service.Simulate /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -369,6 +488,13 @@ pub struct SimulateRequest { #[prost(bytes = "vec", tag = "2")] pub tx_bytes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for SimulateRequest { + const NAME: &'static str = "SimulateRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// SimulateResponse is the response type for the /// Service.SimulateRPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -381,6 +507,13 @@ pub struct SimulateResponse { #[prost(message, optional, tag = "2")] pub result: ::core::option::Option, } +impl ::prost::Name for SimulateResponse { + const NAME: &'static str = "SimulateResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// GetTxRequest is the request type for the Service.GetTx /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -390,6 +523,13 @@ pub struct GetTxRequest { #[prost(string, tag = "1")] pub hash: ::prost::alloc::string::String, } +impl ::prost::Name for GetTxRequest { + const NAME: &'static str = "GetTxRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// GetTxResponse is the response type for the Service.GetTx method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -401,6 +541,13 @@ pub struct GetTxResponse { #[prost(message, optional, tag = "2")] pub tx_response: ::core::option::Option, } +impl ::prost::Name for GetTxResponse { + const NAME: &'static str = "GetTxResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs /// RPC method. /// @@ -415,6 +562,13 @@ pub struct GetBlockWithTxsRequest { #[prost(message, optional, tag = "2")] pub pagination: ::core::option::Option, } +impl ::prost::Name for GetBlockWithTxsRequest { + const NAME: &'static str = "GetBlockWithTxsRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs /// method. /// @@ -433,6 +587,13 @@ pub struct GetBlockWithTxsResponse { #[prost(message, optional, tag = "4")] pub pagination: ::core::option::Option, } +impl ::prost::Name for GetBlockWithTxsResponse { + const NAME: &'static str = "GetBlockWithTxsResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxDecodeRequest is the request type for the Service.TxDecode /// RPC method. /// @@ -444,6 +605,13 @@ pub struct TxDecodeRequest { #[prost(bytes = "vec", tag = "1")] pub tx_bytes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for TxDecodeRequest { + const NAME: &'static str = "TxDecodeRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxDecodeResponse is the response type for the /// Service.TxDecode method. /// @@ -455,6 +623,13 @@ pub struct TxDecodeResponse { #[prost(message, optional, tag = "1")] pub tx: ::core::option::Option, } +impl ::prost::Name for TxDecodeResponse { + const NAME: &'static str = "TxDecodeResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxEncodeRequest is the request type for the Service.TxEncode /// RPC method. /// @@ -466,6 +641,13 @@ pub struct TxEncodeRequest { #[prost(message, optional, tag = "1")] pub tx: ::core::option::Option, } +impl ::prost::Name for TxEncodeRequest { + const NAME: &'static str = "TxEncodeRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxEncodeResponse is the response type for the /// Service.TxEncode method. /// @@ -477,6 +659,13 @@ pub struct TxEncodeResponse { #[prost(bytes = "vec", tag = "1")] pub tx_bytes: ::prost::alloc::vec::Vec, } +impl ::prost::Name for TxEncodeResponse { + const NAME: &'static str = "TxEncodeResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino /// RPC method. /// @@ -487,6 +676,13 @@ pub struct TxEncodeAminoRequest { #[prost(string, tag = "1")] pub amino_json: ::prost::alloc::string::String, } +impl ::prost::Name for TxEncodeAminoRequest { + const NAME: &'static str = "TxEncodeAminoRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino /// RPC method. /// @@ -497,6 +693,13 @@ pub struct TxEncodeAminoResponse { #[prost(bytes = "vec", tag = "1")] pub amino_binary: ::prost::alloc::vec::Vec, } +impl ::prost::Name for TxEncodeAminoResponse { + const NAME: &'static str = "TxEncodeAminoResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino /// RPC method. /// @@ -507,6 +710,13 @@ pub struct TxDecodeAminoRequest { #[prost(bytes = "vec", tag = "1")] pub amino_binary: ::prost::alloc::vec::Vec, } +impl ::prost::Name for TxDecodeAminoRequest { + const NAME: &'static str = "TxDecodeAminoRequest"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino /// RPC method. /// @@ -517,6 +727,13 @@ pub struct TxDecodeAminoResponse { #[prost(string, tag = "1")] pub amino_json: ::prost::alloc::string::String, } +impl ::prost::Name for TxDecodeAminoResponse { + const NAME: &'static str = "TxDecodeAminoResponse"; + const PACKAGE: &'static str = "cosmos.tx.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + } +} /// OrderBy defines the sorting order #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.module.v1.rs index b73ff961..e3e07de8 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.module.v1.rs @@ -7,5 +7,12 @@ pub struct Module { #[prost(string, tag = "1")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.upgrade.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.module.v1.{}", Self::NAME) + } +} include!("cosmos.upgrade.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.v1beta1.rs index b94c44ff..f45d62e1 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.v1beta1.rs @@ -32,6 +32,13 @@ pub struct Plan { #[prost(message, optional, tag = "5")] pub upgraded_client_state: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for Plan { + const NAME: &'static str = "Plan"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// SoftwareUpgradeProposal is a gov Content type for initiating a software /// upgrade. /// Deprecated: This legacy proposal is deprecated in favor of Msg-based gov @@ -49,6 +56,13 @@ pub struct SoftwareUpgradeProposal { #[prost(message, optional, tag = "3")] pub plan: ::core::option::Option, } +impl ::prost::Name for SoftwareUpgradeProposal { + const NAME: &'static str = "SoftwareUpgradeProposal"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software /// upgrade. /// Deprecated: This legacy proposal is deprecated in favor of Msg-based gov @@ -63,6 +77,13 @@ pub struct CancelSoftwareUpgradeProposal { #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, } +impl ::prost::Name for CancelSoftwareUpgradeProposal { + const NAME: &'static str = "CancelSoftwareUpgradeProposal"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// ModuleVersion specifies a module and its consensus version. /// /// Since: cosmos-sdk 0.43 @@ -76,11 +97,25 @@ pub struct ModuleVersion { #[prost(uint64, tag = "2")] pub version: u64, } +impl ::prost::Name for ModuleVersion { + const NAME: &'static str = "ModuleVersion"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryCurrentPlanRequest {} +impl ::prost::Name for QueryCurrentPlanRequest { + const NAME: &'static str = "QueryCurrentPlanRequest"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -90,6 +125,13 @@ pub struct QueryCurrentPlanResponse { #[prost(message, optional, tag = "1")] pub plan: ::core::option::Option, } +impl ::prost::Name for QueryCurrentPlanResponse { + const NAME: &'static str = "QueryCurrentPlanResponse"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -99,6 +141,13 @@ pub struct QueryAppliedPlanRequest { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, } +impl ::prost::Name for QueryAppliedPlanRequest { + const NAME: &'static str = "QueryAppliedPlanRequest"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -108,6 +157,13 @@ pub struct QueryAppliedPlanResponse { #[prost(int64, tag = "1")] pub height: i64, } +impl ::prost::Name for QueryAppliedPlanResponse { + const NAME: &'static str = "QueryAppliedPlanResponse"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -118,6 +174,13 @@ pub struct QueryUpgradedConsensusStateRequest { #[prost(int64, tag = "1")] pub last_height: i64, } +impl ::prost::Name for QueryUpgradedConsensusStateRequest { + const NAME: &'static str = "QueryUpgradedConsensusStateRequest"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -127,6 +190,13 @@ pub struct QueryUpgradedConsensusStateResponse { #[prost(bytes = "vec", tag = "2")] pub upgraded_consensus_state: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryUpgradedConsensusStateResponse { + const NAME: &'static str = "QueryUpgradedConsensusStateResponse"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryModuleVersionsRequest is the request type for the Query/ModuleVersions /// RPC method. /// @@ -140,6 +210,13 @@ pub struct QueryModuleVersionsRequest { #[prost(string, tag = "1")] pub module_name: ::prost::alloc::string::String, } +impl ::prost::Name for QueryModuleVersionsRequest { + const NAME: &'static str = "QueryModuleVersionsRequest"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryModuleVersionsResponse is the response type for the Query/ModuleVersions /// RPC method. /// @@ -151,12 +228,26 @@ pub struct QueryModuleVersionsResponse { #[prost(message, repeated, tag = "1")] pub module_versions: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryModuleVersionsResponse { + const NAME: &'static str = "QueryModuleVersionsResponse"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryAuthorityRequest is the request type for Query/Authority /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryAuthorityRequest {} +impl ::prost::Name for QueryAuthorityRequest { + const NAME: &'static str = "QueryAuthorityRequest"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// QueryAuthorityResponse is the response type for Query/Authority /// /// Since: cosmos-sdk 0.46 @@ -166,6 +257,13 @@ pub struct QueryAuthorityResponse { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryAuthorityResponse { + const NAME: &'static str = "QueryAuthorityResponse"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. /// /// Since: cosmos-sdk 0.46 @@ -179,12 +277,26 @@ pub struct MsgSoftwareUpgrade { #[prost(message, optional, tag = "2")] pub plan: ::core::option::Option, } +impl ::prost::Name for MsgSoftwareUpgrade { + const NAME: &'static str = "MsgSoftwareUpgrade"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgSoftwareUpgradeResponse {} +impl ::prost::Name for MsgSoftwareUpgradeResponse { + const NAME: &'static str = "MsgSoftwareUpgradeResponse"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// MsgCancelUpgrade is the Msg/CancelUpgrade request type. /// /// Since: cosmos-sdk 0.46 @@ -195,12 +307,26 @@ pub struct MsgCancelUpgrade { #[prost(string, tag = "1")] pub authority: ::prost::alloc::string::String, } +impl ::prost::Name for MsgCancelUpgrade { + const NAME: &'static str = "MsgCancelUpgrade"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} /// MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgCancelUpgradeResponse {} +impl ::prost::Name for MsgCancelUpgradeResponse { + const NAME: &'static str = "MsgCancelUpgradeResponse"; + const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + } +} include!("cosmos.upgrade.v1beta1.serde.rs"); include!("cosmos.upgrade.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.module.v1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.module.v1.rs index 5cf62bf5..cac2e35d 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.module.v1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.module.v1.rs @@ -3,5 +3,12 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Module {} +impl ::prost::Name for Module { + const NAME: &'static str = "Module"; + const PACKAGE: &'static str = "cosmos.vesting.module.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.module.v1.{}", Self::NAME) + } +} include!("cosmos.vesting.module.v1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.v1beta1.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.v1beta1.rs index 41bba608..e3bd6458 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.v1beta1.rs @@ -16,6 +16,13 @@ pub struct BaseVestingAccount { #[prost(int64, tag = "5")] pub end_time: i64, } +impl ::prost::Name for BaseVestingAccount { + const NAME: &'static str = "BaseVestingAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// ContinuousVestingAccount implements the VestingAccount interface. It /// continuously vests by unlocking coins linearly with respect to time. #[allow(clippy::derive_partial_eq_without_eq)] @@ -27,6 +34,13 @@ pub struct ContinuousVestingAccount { #[prost(int64, tag = "2")] pub start_time: i64, } +impl ::prost::Name for ContinuousVestingAccount { + const NAME: &'static str = "ContinuousVestingAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// DelayedVestingAccount implements the VestingAccount interface. It vests all /// coins after a specific time, but non prior. In other words, it keeps them /// locked until a specified time. @@ -36,6 +50,13 @@ pub struct DelayedVestingAccount { #[prost(message, optional, tag = "1")] pub base_vesting_account: ::core::option::Option, } +impl ::prost::Name for DelayedVestingAccount { + const NAME: &'static str = "DelayedVestingAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// Period defines a length of time and amount of coins that will vest. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -46,6 +67,13 @@ pub struct Period { #[prost(message, repeated, tag = "2")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Period { + const NAME: &'static str = "Period"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// PeriodicVestingAccount implements the VestingAccount interface. It /// periodically vests by unlocking coins during each specified period. #[allow(clippy::derive_partial_eq_without_eq)] @@ -58,6 +86,13 @@ pub struct PeriodicVestingAccount { #[prost(message, repeated, tag = "3")] pub vesting_periods: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PeriodicVestingAccount { + const NAME: &'static str = "PeriodicVestingAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// PermanentLockedAccount implements the VestingAccount interface. It does /// not ever release coins, locking them indefinitely. Coins in this account can /// still be used for delegating and for governance votes even while locked. @@ -69,6 +104,13 @@ pub struct PermanentLockedAccount { #[prost(message, optional, tag = "1")] pub base_vesting_account: ::core::option::Option, } +impl ::prost::Name for PermanentLockedAccount { + const NAME: &'static str = "PermanentLockedAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// MsgCreateVestingAccount defines a message that enables creating a vesting /// account. #[allow(clippy::derive_partial_eq_without_eq)] @@ -86,10 +128,24 @@ pub struct MsgCreateVestingAccount { #[prost(bool, tag = "5")] pub delayed: bool, } +impl ::prost::Name for MsgCreateVestingAccount { + const NAME: &'static str = "MsgCreateVestingAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgCreateVestingAccountResponse {} +impl ::prost::Name for MsgCreateVestingAccountResponse { + const NAME: &'static str = "MsgCreateVestingAccountResponse"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// MsgCreatePermanentLockedAccount defines a message that enables creating a permanent /// locked account. /// @@ -104,12 +160,26 @@ pub struct MsgCreatePermanentLockedAccount { #[prost(message, repeated, tag = "3")] pub amount: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgCreatePermanentLockedAccount { + const NAME: &'static str = "MsgCreatePermanentLockedAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgCreatePermanentLockedAccountResponse {} +impl ::prost::Name for MsgCreatePermanentLockedAccountResponse { + const NAME: &'static str = "MsgCreatePermanentLockedAccountResponse"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// MsgCreateVestingAccount defines a message that enables creating a vesting /// account. /// @@ -127,6 +197,13 @@ pub struct MsgCreatePeriodicVestingAccount { #[prost(message, repeated, tag = "4")] pub vesting_periods: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgCreatePeriodicVestingAccount { + const NAME: &'static str = "MsgCreatePeriodicVestingAccount"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} /// MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount /// response type. /// @@ -134,6 +211,13 @@ pub struct MsgCreatePeriodicVestingAccount { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgCreatePeriodicVestingAccountResponse {} +impl ::prost::Name for MsgCreatePeriodicVestingAccountResponse { + const NAME: &'static str = "MsgCreatePeriodicVestingAccountResponse"; + const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.vesting.v1beta1.{}", Self::NAME) + } +} include!("cosmos.vesting.v1beta1.serde.rs"); include!("cosmos.vesting.v1beta1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos_proto.rs b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos_proto.rs index 2353a154..30d2d5de 100644 --- a/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos_proto.rs +++ b/cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos_proto.rs @@ -15,6 +15,13 @@ pub struct InterfaceDescriptor { #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, } +impl ::prost::Name for InterfaceDescriptor { + const NAME: &'static str = "InterfaceDescriptor"; + const PACKAGE: &'static str = "cosmos_proto"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos_proto.{}", Self::NAME) + } +} /// ScalarDescriptor describes an scalar type to be used with /// the scalar field option and declared by declare_scalar. /// Scalars extend simple protobuf built-in types with additional @@ -43,6 +50,13 @@ pub struct ScalarDescriptor { #[prost(enumeration = "ScalarType", repeated, tag = "3")] pub field_type: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ScalarDescriptor { + const NAME: &'static str = "ScalarDescriptor"; + const PACKAGE: &'static str = "cosmos_proto"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos_proto.{}", Self::NAME) + } +} #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ScalarType { diff --git a/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.query.v1beta1.rs b/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.query.v1beta1.rs index 9e79d078..004e7218 100644 --- a/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.query.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.query.v1beta1.rs @@ -35,6 +35,13 @@ pub struct PageRequest { #[prost(bool, tag = "5")] pub reverse: bool, } +impl ::prost::Name for PageRequest { + const NAME: &'static str = "PageRequest"; + const PACKAGE: &'static str = "cosmos.base.query.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.query.v1beta1.{}", Self::NAME) + } +} /// PageResponse is to be embedded in gRPC response messages where the /// corresponding request message has used PageRequest. /// @@ -55,5 +62,12 @@ pub struct PageResponse { #[prost(uint64, tag = "2")] pub total: u64, } +impl ::prost::Name for PageResponse { + const NAME: &'static str = "PageResponse"; + const PACKAGE: &'static str = "cosmos.base.query.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.query.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.query.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.v1beta1.rs b/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.v1beta1.rs index 8a02bbd7..21ffb8a0 100644 --- a/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.v1beta1.rs +++ b/cosmos-sdk-proto/src/prost/wasmd/cosmos.base.v1beta1.rs @@ -11,6 +11,13 @@ pub struct Coin { #[prost(string, tag = "2")] pub amount: ::prost::alloc::string::String, } +impl ::prost::Name for Coin { + const NAME: &'static str = "Coin"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} /// DecCoin defines a token with a denomination and a decimal amount. /// /// NOTE: The amount field is an Dec which implements the custom method @@ -23,6 +30,13 @@ pub struct DecCoin { #[prost(string, tag = "2")] pub amount: ::prost::alloc::string::String, } +impl ::prost::Name for DecCoin { + const NAME: &'static str = "DecCoin"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} /// IntProto defines a Protobuf wrapper around an Int object. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -30,6 +44,13 @@ pub struct IntProto { #[prost(string, tag = "1")] pub int: ::prost::alloc::string::String, } +impl ::prost::Name for IntProto { + const NAME: &'static str = "IntProto"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} /// DecProto defines a Protobuf wrapper around a Dec object. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -37,5 +58,12 @@ pub struct DecProto { #[prost(string, tag = "1")] pub dec: ::prost::alloc::string::String, } +impl ::prost::Name for DecProto { + const NAME: &'static str = "DecProto"; + const PACKAGE: &'static str = "cosmos.base.v1beta1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + } +} include!("cosmos.base.v1beta1.serde.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/prost/wasmd/cosmos_proto.rs b/cosmos-sdk-proto/src/prost/wasmd/cosmos_proto.rs index 2353a154..30d2d5de 100644 --- a/cosmos-sdk-proto/src/prost/wasmd/cosmos_proto.rs +++ b/cosmos-sdk-proto/src/prost/wasmd/cosmos_proto.rs @@ -15,6 +15,13 @@ pub struct InterfaceDescriptor { #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, } +impl ::prost::Name for InterfaceDescriptor { + const NAME: &'static str = "InterfaceDescriptor"; + const PACKAGE: &'static str = "cosmos_proto"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos_proto.{}", Self::NAME) + } +} /// ScalarDescriptor describes an scalar type to be used with /// the scalar field option and declared by declare_scalar. /// Scalars extend simple protobuf built-in types with additional @@ -43,6 +50,13 @@ pub struct ScalarDescriptor { #[prost(enumeration = "ScalarType", repeated, tag = "3")] pub field_type: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ScalarDescriptor { + const NAME: &'static str = "ScalarDescriptor"; + const PACKAGE: &'static str = "cosmos_proto"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmos_proto.{}", Self::NAME) + } +} #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ScalarType { diff --git a/cosmos-sdk-proto/src/prost/wasmd/cosmwasm.wasm.v1.rs b/cosmos-sdk-proto/src/prost/wasmd/cosmwasm.wasm.v1.rs index 19421d43..38acd892 100644 --- a/cosmos-sdk-proto/src/prost/wasmd/cosmwasm.wasm.v1.rs +++ b/cosmos-sdk-proto/src/prost/wasmd/cosmwasm.wasm.v1.rs @@ -6,6 +6,13 @@ pub struct AccessTypeParam { #[prost(enumeration = "AccessType", tag = "1")] pub value: i32, } +impl ::prost::Name for AccessTypeParam { + const NAME: &'static str = "AccessTypeParam"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// AccessConfig access control type. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -15,6 +22,13 @@ pub struct AccessConfig { #[prost(string, repeated, tag = "3")] pub addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for AccessConfig { + const NAME: &'static str = "AccessConfig"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Params defines the set of wasm parameters. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -24,6 +38,13 @@ pub struct Params { #[prost(enumeration = "AccessType", tag = "2")] pub instantiate_default_permission: i32, } +impl ::prost::Name for Params { + const NAME: &'static str = "Params"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// CodeInfo is data for the uploaded contract WASM code #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -38,6 +59,13 @@ pub struct CodeInfo { #[prost(message, optional, tag = "5")] pub instantiate_config: ::core::option::Option, } +impl ::prost::Name for CodeInfo { + const NAME: &'static str = "CodeInfo"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// ContractInfo stores a WASM contract instance #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -64,6 +92,13 @@ pub struct ContractInfo { #[prost(message, optional, tag = "7")] pub extension: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for ContractInfo { + const NAME: &'static str = "ContractInfo"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// ContractCodeHistoryEntry metadata to a contract. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -79,6 +114,13 @@ pub struct ContractCodeHistoryEntry { #[prost(bytes = "vec", tag = "4")] pub msg: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ContractCodeHistoryEntry { + const NAME: &'static str = "ContractCodeHistoryEntry"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// AbsoluteTxPosition is a unique transaction position that allows for global /// ordering of transactions. #[allow(clippy::derive_partial_eq_without_eq)] @@ -92,6 +134,13 @@ pub struct AbsoluteTxPosition { #[prost(uint64, tag = "2")] pub tx_index: u64, } +impl ::prost::Name for AbsoluteTxPosition { + const NAME: &'static str = "AbsoluteTxPosition"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Model is a struct that holds a KV pair #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -103,6 +152,13 @@ pub struct Model { #[prost(bytes = "vec", tag = "2")] pub value: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Model { + const NAME: &'static str = "Model"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// AccessType permission types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -192,6 +248,13 @@ pub struct StoreCodeAuthorization { #[prost(message, repeated, tag = "1")] pub grants: ::prost::alloc::vec::Vec, } +impl ::prost::Name for StoreCodeAuthorization { + const NAME: &'static str = "StoreCodeAuthorization"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// ContractExecutionAuthorization defines authorization for wasm execute. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] @@ -201,6 +264,13 @@ pub struct ContractExecutionAuthorization { #[prost(message, repeated, tag = "1")] pub grants: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ContractExecutionAuthorization { + const NAME: &'static str = "ContractExecutionAuthorization"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// ContractMigrationAuthorization defines authorization for wasm contract /// migration. Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] @@ -210,6 +280,13 @@ pub struct ContractMigrationAuthorization { #[prost(message, repeated, tag = "1")] pub grants: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ContractMigrationAuthorization { + const NAME: &'static str = "ContractMigrationAuthorization"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// CodeGrant a granted permission for a single code #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -224,6 +301,13 @@ pub struct CodeGrant { #[prost(message, optional, tag = "2")] pub instantiate_permission: ::core::option::Option, } +impl ::prost::Name for CodeGrant { + const NAME: &'static str = "CodeGrant"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// ContractGrant a granted permission for a single contract /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] @@ -242,6 +326,13 @@ pub struct ContractGrant { #[prost(message, optional, tag = "3")] pub filter: ::core::option::Option<::tendermint_proto::google::protobuf::Any>, } +impl ::prost::Name for ContractGrant { + const NAME: &'static str = "ContractGrant"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MaxCallsLimit limited number of calls to the contract. No funds transferable. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] @@ -251,6 +342,13 @@ pub struct MaxCallsLimit { #[prost(uint64, tag = "1")] pub remaining: u64, } +impl ::prost::Name for MaxCallsLimit { + const NAME: &'static str = "MaxCallsLimit"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MaxFundsLimit defines the maximal amounts that can be sent to the contract. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] @@ -260,6 +358,13 @@ pub struct MaxFundsLimit { #[prost(message, repeated, tag = "1")] pub amounts: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MaxFundsLimit { + const NAME: &'static str = "MaxFundsLimit"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// CombinedLimit defines the maximal amounts that can be sent to a contract and /// the maximal number of calls executable. Both need to remain >0 to be valid. /// Since: wasmd 0.30 @@ -273,12 +378,26 @@ pub struct CombinedLimit { #[prost(message, repeated, tag = "2")] pub amounts: ::prost::alloc::vec::Vec, } +impl ::prost::Name for CombinedLimit { + const NAME: &'static str = "CombinedLimit"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// AllowAllMessagesFilter is a wildcard to allow any type of contract payload /// message. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllowAllMessagesFilter {} +impl ::prost::Name for AllowAllMessagesFilter { + const NAME: &'static str = "AllowAllMessagesFilter"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// AcceptedMessageKeysFilter accept only the specific contract message keys in /// the json object to be executed. /// Since: wasmd 0.30 @@ -289,6 +408,13 @@ pub struct AcceptedMessageKeysFilter { #[prost(string, repeated, tag = "1")] pub keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for AcceptedMessageKeysFilter { + const NAME: &'static str = "AcceptedMessageKeysFilter"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// AcceptedMessagesFilter accept only the specific raw contract messages to be /// executed. /// Since: wasmd 0.30 @@ -299,6 +425,13 @@ pub struct AcceptedMessagesFilter { #[prost(bytes = "vec", repeated, tag = "1")] pub messages: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } +impl ::prost::Name for AcceptedMessagesFilter { + const NAME: &'static str = "AcceptedMessagesFilter"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// GenesisState - genesis state of x/wasm #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -312,6 +445,13 @@ pub struct GenesisState { #[prost(message, repeated, tag = "4")] pub sequences: ::prost::alloc::vec::Vec, } +impl ::prost::Name for GenesisState { + const NAME: &'static str = "GenesisState"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Code struct encompasses CodeInfo and CodeBytes #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -326,6 +466,13 @@ pub struct Code { #[prost(bool, tag = "4")] pub pinned: bool, } +impl ::prost::Name for Code { + const NAME: &'static str = "Code"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Contract struct encompasses ContractAddress, ContractInfo, and ContractState #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -339,6 +486,13 @@ pub struct Contract { #[prost(message, repeated, tag = "4")] pub contract_code_history: ::prost::alloc::vec::Vec, } +impl ::prost::Name for Contract { + const NAME: &'static str = "Contract"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Sequence key and value of an id generation counter #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -348,6 +502,13 @@ pub struct Sequence { #[prost(uint64, tag = "2")] pub value: u64, } +impl ::prost::Name for Sequence { + const NAME: &'static str = "Sequence"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgIBCSend #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -368,6 +529,13 @@ pub struct MsgIbcSend { #[prost(bytes = "vec", tag = "6")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgIbcSend { + const NAME: &'static str = "MsgIBCSend"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgIBCSendResponse #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -376,10 +544,24 @@ pub struct MsgIbcSendResponse { #[prost(uint64, tag = "1")] pub sequence: u64, } +impl ::prost::Name for MsgIbcSendResponse { + const NAME: &'static str = "MsgIBCSendResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgIBCWriteAcknowledgementResponse #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgIbcWriteAcknowledgementResponse {} +impl ::prost::Name for MsgIbcWriteAcknowledgementResponse { + const NAME: &'static str = "MsgIBCWriteAcknowledgementResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgIBCCloseChannel port and channel need to be owned by the contract #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -387,6 +569,13 @@ pub struct MsgIbcCloseChannel { #[prost(string, tag = "2")] pub channel: ::prost::alloc::string::String, } +impl ::prost::Name for MsgIbcCloseChannel { + const NAME: &'static str = "MsgIBCCloseChannel"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit StoreCodeProposal. To submit WASM code to the system, /// a simple MsgStoreCode can be invoked from the x/gov module via @@ -424,6 +613,13 @@ pub struct StoreCodeProposal { #[prost(bytes = "vec", tag = "11")] pub code_hash: ::prost::alloc::vec::Vec, } +impl ::prost::Name for StoreCodeProposal { + const NAME: &'static str = "StoreCodeProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit InstantiateContractProposal. To instantiate a contract, /// a simple MsgInstantiateContract can be invoked from the x/gov module via @@ -456,6 +652,13 @@ pub struct InstantiateContractProposal { #[prost(message, repeated, tag = "8")] pub funds: ::prost::alloc::vec::Vec, } +impl ::prost::Name for InstantiateContractProposal { + const NAME: &'static str = "InstantiateContractProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit InstantiateContract2Proposal. To instantiate contract 2, /// a simple MsgInstantiateContract2 can be invoked from the x/gov module via @@ -495,6 +698,13 @@ pub struct InstantiateContract2Proposal { #[prost(bool, tag = "10")] pub fix_msg: bool, } +impl ::prost::Name for InstantiateContract2Proposal { + const NAME: &'static str = "InstantiateContract2Proposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit MigrateContractProposal. To migrate a contract, /// a simple MsgMigrateContract can be invoked from the x/gov module via @@ -520,6 +730,13 @@ pub struct MigrateContractProposal { #[prost(bytes = "vec", tag = "6")] pub msg: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MigrateContractProposal { + const NAME: &'static str = "MigrateContractProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit SudoContractProposal. To call sudo on a contract, /// a simple MsgSudoContract can be invoked from the x/gov module via @@ -540,6 +757,13 @@ pub struct SudoContractProposal { #[prost(bytes = "vec", tag = "4")] pub msg: ::prost::alloc::vec::Vec, } +impl ::prost::Name for SudoContractProposal { + const NAME: &'static str = "SudoContractProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit ExecuteContractProposal. To call execute on a contract, /// a simple MsgExecuteContract can be invoked from the x/gov module via @@ -566,6 +790,13 @@ pub struct ExecuteContractProposal { #[prost(message, repeated, tag = "6")] pub funds: ::prost::alloc::vec::Vec, } +impl ::prost::Name for ExecuteContractProposal { + const NAME: &'static str = "ExecuteContractProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit UpdateAdminProposal. To set an admin for a contract, /// a simple MsgUpdateAdmin can be invoked from the x/gov module via @@ -586,6 +817,13 @@ pub struct UpdateAdminProposal { #[prost(string, tag = "4")] pub contract: ::prost::alloc::string::String, } +impl ::prost::Name for UpdateAdminProposal { + const NAME: &'static str = "UpdateAdminProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit ClearAdminProposal. To clear the admin of a contract, /// a simple MsgClearAdmin can be invoked from the x/gov module via @@ -603,6 +841,13 @@ pub struct ClearAdminProposal { #[prost(string, tag = "3")] pub contract: ::prost::alloc::string::String, } +impl ::prost::Name for ClearAdminProposal { + const NAME: &'static str = "ClearAdminProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit PinCodesProposal. To pin a set of code ids in the wasmvm /// cache, a simple MsgPinCodes can be invoked from the x/gov module via @@ -620,6 +865,13 @@ pub struct PinCodesProposal { #[prost(uint64, repeated, packed = "false", tag = "3")] pub code_ids: ::prost::alloc::vec::Vec, } +impl ::prost::Name for PinCodesProposal { + const NAME: &'static str = "PinCodesProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit UnpinCodesProposal. To unpin a set of code ids in the wasmvm /// cache, a simple MsgUnpinCodes can be invoked from the x/gov module via @@ -637,6 +889,13 @@ pub struct UnpinCodesProposal { #[prost(uint64, repeated, packed = "false", tag = "3")] pub code_ids: ::prost::alloc::vec::Vec, } +impl ::prost::Name for UnpinCodesProposal { + const NAME: &'static str = "UnpinCodesProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// AccessConfigUpdate contains the code id and the access config to be /// applied. #[allow(clippy::derive_partial_eq_without_eq)] @@ -649,6 +908,13 @@ pub struct AccessConfigUpdate { #[prost(message, optional, tag = "2")] pub instantiate_permission: ::core::option::Option, } +impl ::prost::Name for AccessConfigUpdate { + const NAME: &'static str = "AccessConfigUpdate"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit UpdateInstantiateConfigProposal. To update instantiate config /// to a set of code ids, a simple MsgUpdateInstantiateConfig can be invoked from @@ -667,6 +933,13 @@ pub struct UpdateInstantiateConfigProposal { #[prost(message, repeated, tag = "3")] pub access_config_updates: ::prost::alloc::vec::Vec, } +impl ::prost::Name for UpdateInstantiateConfigProposal { + const NAME: &'static str = "UpdateInstantiateConfigProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for /// an explicit StoreAndInstantiateContractProposal. To store and instantiate /// the contract, a simple MsgStoreAndInstantiateContract can be invoked from @@ -716,6 +989,13 @@ pub struct StoreAndInstantiateContractProposal { #[prost(bytes = "vec", tag = "13")] pub code_hash: ::prost::alloc::vec::Vec, } +impl ::prost::Name for StoreAndInstantiateContractProposal { + const NAME: &'static str = "StoreAndInstantiateContractProposal"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractInfoRequest is the request type for the Query/ContractInfo RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] @@ -725,6 +1005,13 @@ pub struct QueryContractInfoRequest { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryContractInfoRequest { + const NAME: &'static str = "QueryContractInfoRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractInfoResponse is the response type for the Query/ContractInfo RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] @@ -736,6 +1023,13 @@ pub struct QueryContractInfoResponse { #[prost(message, optional, tag = "2")] pub contract_info: ::core::option::Option, } +impl ::prost::Name for QueryContractInfoResponse { + const NAME: &'static str = "QueryContractInfoResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractHistoryRequest is the request type for the Query/ContractHistory /// RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -749,6 +1043,13 @@ pub struct QueryContractHistoryRequest { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryContractHistoryRequest { + const NAME: &'static str = "QueryContractHistoryRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractHistoryResponse is the response type for the /// Query/ContractHistory RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -761,6 +1062,13 @@ pub struct QueryContractHistoryResponse { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryContractHistoryResponse { + const NAME: &'static str = "QueryContractHistoryResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractsByCodeRequest is the request type for the Query/ContractsByCode /// RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -774,6 +1082,13 @@ pub struct QueryContractsByCodeRequest { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryContractsByCodeRequest { + const NAME: &'static str = "QueryContractsByCodeRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractsByCodeResponse is the response type for the /// Query/ContractsByCode RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -787,6 +1102,13 @@ pub struct QueryContractsByCodeResponse { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryContractsByCodeResponse { + const NAME: &'static str = "QueryContractsByCodeResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryAllContractStateRequest is the request type for the /// Query/AllContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -800,6 +1122,13 @@ pub struct QueryAllContractStateRequest { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllContractStateRequest { + const NAME: &'static str = "QueryAllContractStateRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryAllContractStateResponse is the response type for the /// Query/AllContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -812,6 +1141,13 @@ pub struct QueryAllContractStateResponse { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryAllContractStateResponse { + const NAME: &'static str = "QueryAllContractStateResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryRawContractStateRequest is the request type for the /// Query/RawContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -823,6 +1159,13 @@ pub struct QueryRawContractStateRequest { #[prost(bytes = "vec", tag = "2")] pub query_data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryRawContractStateRequest { + const NAME: &'static str = "QueryRawContractStateRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryRawContractStateResponse is the response type for the /// Query/RawContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -832,6 +1175,13 @@ pub struct QueryRawContractStateResponse { #[prost(bytes = "vec", tag = "1")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryRawContractStateResponse { + const NAME: &'static str = "QueryRawContractStateResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QuerySmartContractStateRequest is the request type for the /// Query/SmartContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -844,6 +1194,13 @@ pub struct QuerySmartContractStateRequest { #[prost(bytes = "vec", tag = "2")] pub query_data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QuerySmartContractStateRequest { + const NAME: &'static str = "QuerySmartContractStateRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QuerySmartContractStateResponse is the response type for the /// Query/SmartContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -853,6 +1210,13 @@ pub struct QuerySmartContractStateResponse { #[prost(bytes = "vec", tag = "1")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QuerySmartContractStateResponse { + const NAME: &'static str = "QuerySmartContractStateResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryCodeRequest is the request type for the Query/Code RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -861,6 +1225,13 @@ pub struct QueryCodeRequest { #[prost(uint64, tag = "1")] pub code_id: u64, } +impl ::prost::Name for QueryCodeRequest { + const NAME: &'static str = "QueryCodeRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// CodeInfoResponse contains code meta data from CodeInfo #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -875,6 +1246,13 @@ pub struct CodeInfoResponse { #[prost(message, optional, tag = "6")] pub instantiate_permission: ::core::option::Option, } +impl ::prost::Name for CodeInfoResponse { + const NAME: &'static str = "CodeInfoResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryCodeResponse is the response type for the Query/Code RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -884,6 +1262,13 @@ pub struct QueryCodeResponse { #[prost(bytes = "vec", tag = "2")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryCodeResponse { + const NAME: &'static str = "QueryCodeResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryCodesRequest is the request type for the Query/Codes RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -893,6 +1278,13 @@ pub struct QueryCodesRequest { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryCodesRequest { + const NAME: &'static str = "QueryCodesRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryCodesResponse is the response type for the Query/Codes RPC method #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -904,6 +1296,13 @@ pub struct QueryCodesResponse { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryCodesResponse { + const NAME: &'static str = "QueryCodesResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryPinnedCodesRequest is the request type for the Query/PinnedCodes /// RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -914,6 +1313,13 @@ pub struct QueryPinnedCodesRequest { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryPinnedCodesRequest { + const NAME: &'static str = "QueryPinnedCodesRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryPinnedCodesResponse is the response type for the /// Query/PinnedCodes RPC method #[allow(clippy::derive_partial_eq_without_eq)] @@ -926,10 +1332,24 @@ pub struct QueryPinnedCodesResponse { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryPinnedCodesResponse { + const NAME: &'static str = "QueryPinnedCodesResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryParamsRequest is the request type for the Query/Params RPC method. #[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 = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -938,6 +1358,13 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } +impl ::prost::Name for QueryParamsResponse { + const NAME: &'static str = "QueryParamsResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractsByCreatorRequest is the request type for the /// Query/ContractsByCreator RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -951,6 +1378,13 @@ pub struct QueryContractsByCreatorRequest { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryContractsByCreatorRequest { + const NAME: &'static str = "QueryContractsByCreatorRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryContractsByCreatorResponse is the response type for the /// Query/ContractsByCreator RPC method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -964,6 +1398,13 @@ pub struct QueryContractsByCreatorResponse { pub pagination: ::core::option::Option, } +impl ::prost::Name for QueryContractsByCreatorResponse { + const NAME: &'static str = "QueryContractsByCreatorResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryBuildAddressRequest is the request type for the Query/BuildAddress RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -983,6 +1424,13 @@ pub struct QueryBuildAddressRequest { #[prost(bytes = "vec", tag = "4")] pub init_args: ::prost::alloc::vec::Vec, } +impl ::prost::Name for QueryBuildAddressRequest { + const NAME: &'static str = "QueryBuildAddressRequest"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// QueryBuildAddressResponse is the response type for the Query/BuildAddress RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] @@ -992,6 +1440,13 @@ pub struct QueryBuildAddressResponse { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, } +impl ::prost::Name for QueryBuildAddressResponse { + const NAME: &'static str = "QueryBuildAddressResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgStoreCode submit Wasm code to the system #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1007,6 +1462,13 @@ pub struct MsgStoreCode { #[prost(message, optional, tag = "5")] pub instantiate_permission: ::core::option::Option, } +impl ::prost::Name for MsgStoreCode { + const NAME: &'static str = "MsgStoreCode"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgStoreCodeResponse returns store result data. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1018,6 +1480,13 @@ pub struct MsgStoreCodeResponse { #[prost(bytes = "vec", tag = "2")] pub checksum: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgStoreCodeResponse { + const NAME: &'static str = "MsgStoreCodeResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgInstantiateContract create a new smart contract instance for the given /// code id. #[allow(clippy::derive_partial_eq_without_eq)] @@ -1042,6 +1511,13 @@ pub struct MsgInstantiateContract { #[prost(message, repeated, tag = "6")] pub funds: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgInstantiateContract { + const NAME: &'static str = "MsgInstantiateContract"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgInstantiateContractResponse return instantiation result data #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1053,6 +1529,13 @@ pub struct MsgInstantiateContractResponse { #[prost(bytes = "vec", tag = "2")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgInstantiateContractResponse { + const NAME: &'static str = "MsgInstantiateContractResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgInstantiateContract2 create a new smart contract instance for the given /// code id with a predicable address. #[allow(clippy::derive_partial_eq_without_eq)] @@ -1084,6 +1567,13 @@ pub struct MsgInstantiateContract2 { #[prost(bool, tag = "8")] pub fix_msg: bool, } +impl ::prost::Name for MsgInstantiateContract2 { + const NAME: &'static str = "MsgInstantiateContract2"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgInstantiateContract2Response return instantiation result data #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1095,6 +1585,13 @@ pub struct MsgInstantiateContract2Response { #[prost(bytes = "vec", tag = "2")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgInstantiateContract2Response { + const NAME: &'static str = "MsgInstantiateContract2Response"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgExecuteContract submits the given message data to a smart contract #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1112,6 +1609,13 @@ pub struct MsgExecuteContract { #[prost(message, repeated, tag = "5")] pub funds: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgExecuteContract { + const NAME: &'static str = "MsgExecuteContract"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgExecuteContractResponse returns execution result data. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1120,6 +1624,13 @@ pub struct MsgExecuteContractResponse { #[prost(bytes = "vec", tag = "1")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgExecuteContractResponse { + const NAME: &'static str = "MsgExecuteContractResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgMigrateContract runs a code upgrade/ downgrade for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1137,6 +1648,13 @@ pub struct MsgMigrateContract { #[prost(bytes = "vec", tag = "4")] pub msg: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgMigrateContract { + const NAME: &'static str = "MsgMigrateContract"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgMigrateContractResponse returns contract migration result data. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1146,6 +1664,13 @@ pub struct MsgMigrateContractResponse { #[prost(bytes = "vec", tag = "1")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgMigrateContractResponse { + const NAME: &'static str = "MsgMigrateContractResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateAdmin sets a new admin for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1160,10 +1685,24 @@ pub struct MsgUpdateAdmin { #[prost(string, tag = "3")] pub contract: ::prost::alloc::string::String, } +impl ::prost::Name for MsgUpdateAdmin { + const NAME: &'static str = "MsgUpdateAdmin"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateAdminResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateAdminResponse {} +impl ::prost::Name for MsgUpdateAdminResponse { + const NAME: &'static str = "MsgUpdateAdminResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgClearAdmin removes any admin stored for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1175,10 +1714,24 @@ pub struct MsgClearAdmin { #[prost(string, tag = "3")] pub contract: ::prost::alloc::string::String, } +impl ::prost::Name for MsgClearAdmin { + const NAME: &'static str = "MsgClearAdmin"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgClearAdminResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgClearAdminResponse {} +impl ::prost::Name for MsgClearAdminResponse { + const NAME: &'static str = "MsgClearAdminResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateInstantiateConfig updates instantiate config for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1193,10 +1746,24 @@ pub struct MsgUpdateInstantiateConfig { #[prost(message, optional, tag = "3")] pub new_instantiate_permission: ::core::option::Option, } +impl ::prost::Name for MsgUpdateInstantiateConfig { + const NAME: &'static str = "MsgUpdateInstantiateConfig"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateInstantiateConfigResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateInstantiateConfigResponse {} +impl ::prost::Name for MsgUpdateInstantiateConfigResponse { + const NAME: &'static str = "MsgUpdateInstantiateConfigResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateParams is the MsgUpdateParams request type. /// /// Since: 0.40 @@ -1212,6 +1779,13 @@ pub struct MsgUpdateParams { #[prost(message, optional, tag = "2")] pub params: ::core::option::Option, } +impl ::prost::Name for MsgUpdateParams { + const NAME: &'static str = "MsgUpdateParams"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateParamsResponse defines the response structure for executing a /// MsgUpdateParams message. /// @@ -1219,6 +1793,13 @@ pub struct MsgUpdateParams { #[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 = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgSudoContract is the MsgSudoContract request type. /// /// Since: 0.40 @@ -1235,6 +1816,13 @@ pub struct MsgSudoContract { #[prost(bytes = "vec", tag = "3")] pub msg: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgSudoContract { + const NAME: &'static str = "MsgSudoContract"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgSudoContractResponse defines the response structure for executing a /// MsgSudoContract message. /// @@ -1246,6 +1834,13 @@ pub struct MsgSudoContractResponse { #[prost(bytes = "vec", tag = "1")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgSudoContractResponse { + const NAME: &'static str = "MsgSudoContractResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgPinCodes is the MsgPinCodes request type. /// /// Since: 0.40 @@ -1259,6 +1854,13 @@ pub struct MsgPinCodes { #[prost(uint64, repeated, packed = "false", tag = "2")] pub code_ids: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgPinCodes { + const NAME: &'static str = "MsgPinCodes"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgPinCodesResponse defines the response structure for executing a /// MsgPinCodes message. /// @@ -1266,6 +1868,13 @@ pub struct MsgPinCodes { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgPinCodesResponse {} +impl ::prost::Name for MsgPinCodesResponse { + const NAME: &'static str = "MsgPinCodesResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUnpinCodes is the MsgUnpinCodes request type. /// /// Since: 0.40 @@ -1279,6 +1888,13 @@ pub struct MsgUnpinCodes { #[prost(uint64, repeated, packed = "false", tag = "2")] pub code_ids: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgUnpinCodes { + const NAME: &'static str = "MsgUnpinCodes"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUnpinCodesResponse defines the response structure for executing a /// MsgUnpinCodes message. /// @@ -1286,6 +1902,13 @@ pub struct MsgUnpinCodes { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUnpinCodesResponse {} +impl ::prost::Name for MsgUnpinCodesResponse { + const NAME: &'static str = "MsgUnpinCodesResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract /// request type. /// @@ -1331,6 +1954,13 @@ pub struct MsgStoreAndInstantiateContract { #[prost(bytes = "vec", tag = "12")] pub code_hash: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgStoreAndInstantiateContract { + const NAME: &'static str = "MsgStoreAndInstantiateContract"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgStoreAndInstantiateContractResponse defines the response structure /// for executing a MsgStoreAndInstantiateContract message. /// @@ -1345,6 +1975,13 @@ pub struct MsgStoreAndInstantiateContractResponse { #[prost(bytes = "vec", tag = "2")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgStoreAndInstantiateContractResponse { + const NAME: &'static str = "MsgStoreAndInstantiateContractResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgAddCodeUploadParamsAddresses is the /// MsgAddCodeUploadParamsAddresses request type. #[allow(clippy::derive_partial_eq_without_eq)] @@ -1356,11 +1993,25 @@ pub struct MsgAddCodeUploadParamsAddresses { #[prost(string, repeated, tag = "2")] pub addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for MsgAddCodeUploadParamsAddresses { + const NAME: &'static str = "MsgAddCodeUploadParamsAddresses"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgAddCodeUploadParamsAddressesResponse defines the response /// structure for executing a MsgAddCodeUploadParamsAddresses message. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgAddCodeUploadParamsAddressesResponse {} +impl ::prost::Name for MsgAddCodeUploadParamsAddressesResponse { + const NAME: &'static str = "MsgAddCodeUploadParamsAddressesResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgRemoveCodeUploadParamsAddresses is the /// MsgRemoveCodeUploadParamsAddresses request type. #[allow(clippy::derive_partial_eq_without_eq)] @@ -1372,11 +2023,25 @@ pub struct MsgRemoveCodeUploadParamsAddresses { #[prost(string, repeated, tag = "2")] pub addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } +impl ::prost::Name for MsgRemoveCodeUploadParamsAddresses { + const NAME: &'static str = "MsgRemoveCodeUploadParamsAddresses"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgRemoveCodeUploadParamsAddressesResponse defines the response /// structure for executing a MsgRemoveCodeUploadParamsAddresses message. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgRemoveCodeUploadParamsAddressesResponse {} +impl ::prost::Name for MsgRemoveCodeUploadParamsAddressesResponse { + const NAME: &'static str = "MsgRemoveCodeUploadParamsAddressesResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract /// request type. /// @@ -1400,6 +2065,13 @@ pub struct MsgStoreAndMigrateContract { #[prost(bytes = "vec", tag = "5")] pub msg: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgStoreAndMigrateContract { + const NAME: &'static str = "MsgStoreAndMigrateContract"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgStoreAndMigrateContractResponse defines the response structure /// for executing a MsgStoreAndMigrateContract message. /// @@ -1417,6 +2089,13 @@ pub struct MsgStoreAndMigrateContractResponse { #[prost(bytes = "vec", tag = "3")] pub data: ::prost::alloc::vec::Vec, } +impl ::prost::Name for MsgStoreAndMigrateContractResponse { + const NAME: &'static str = "MsgStoreAndMigrateContractResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateContractLabel sets a new label for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1431,10 +2110,24 @@ pub struct MsgUpdateContractLabel { #[prost(string, tag = "3")] pub contract: ::prost::alloc::string::String, } +impl ::prost::Name for MsgUpdateContractLabel { + const NAME: &'static str = "MsgUpdateContractLabel"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} /// MsgUpdateContractLabelResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgUpdateContractLabelResponse {} +impl ::prost::Name for MsgUpdateContractLabelResponse { + const NAME: &'static str = "MsgUpdateContractLabelResponse"; + const PACKAGE: &'static str = "cosmwasm.wasm.v1"; + fn full_name() -> ::prost::alloc::string::String { + ::prost::alloc::format!("cosmwasm.wasm.v1.{}", Self::NAME) + } +} include!("cosmwasm.wasm.v1.serde.rs"); include!("cosmwasm.wasm.v1.tonic.rs"); // @@protoc_insertion_point(module) diff --git a/cosmos-sdk-proto/src/type_names.rs b/cosmos-sdk-proto/src/type_names.rs deleted file mode 100644 index 7871dced..00000000 --- a/cosmos-sdk-proto/src/type_names.rs +++ /dev/null @@ -1,507 +0,0 @@ -//! Type name registry: used to compute type URLs. - -// TODO(tarcieri): generate these automatically using `prost-build` -// See: https://github.com/tokio-rs/prost/issues/926 - -use crate::{cosmos, traits::Name}; - -macro_rules! impl_name { - ($type:ty, $package:expr, $name:expr) => { - impl Name for $type { - const NAME: &'static str = $name; - const PACKAGE: &'static str = $package; - } - }; -} - -impl_name!( - cosmos::upgrade::v1beta1::SoftwareUpgradeProposal, - "cosmos.upgrade.v1beta1", - "SoftwareUpgradeProposal" -); - -impl_name!( - cosmos::params::v1beta1::ParameterChangeProposal, - "cosmos.params.v1beta1", - "ParameterChangeProposal" -); - -impl_name!( - cosmos::gov::v1::MsgSubmitProposal, - "cosmos.gov.v1", - "MsgSubmitProposal" -); -impl_name!(cosmos::gov::v1::MsgDeposit, "cosmos.gov.v1", "MsgDeposit"); -impl_name!( - cosmos::gov::v1::MsgVoteWeighted, - "cosmos.gov.v1", - "MsgVoteWeighted" -); -impl_name!( - cosmos::gov::v1beta1::TextProposal, - "cosmos.gov.v1beta1", - "TextProposal" -); -impl_name!( - cosmos::gov::v1beta1::MsgSubmitProposal, - "cosmos.gov.v1beta1", - "MsgSubmitProposal" -); -impl_name!( - cosmos::gov::v1beta1::MsgDeposit, - "cosmos.gov.v1beta1", - "MsgDeposit" -); -impl_name!(cosmos::gov::v1::MsgVote, "cosmos.gov.v1", "MsgVote"); -impl_name!( - cosmos::gov::v1beta1::MsgVote, - "cosmos.gov.v1beta1", - "MsgVote" -); - -impl_name!( - cosmos::crypto::secp256k1::PubKey, - "cosmos.crypto.secp256k1", - "PubKey" -); - -impl_name!( - cosmos::distribution::v1beta1::MsgWithdrawDelegatorReward, - "cosmos.distribution.v1beta1", - "MsgWithdrawDelegatorReward" -); -impl_name!( - cosmos::distribution::v1beta1::MsgWithdrawValidatorCommission, - "cosmos.distribution.v1beta1", - "MsgWithdrawValidatorCommission" -); -impl_name!( - cosmos::distribution::v1beta1::MsgFundCommunityPool, - "cosmos.distribution.v1beta1", - "MsgFundCommunityPool" -); -impl_name!( - cosmos::distribution::v1beta1::CommunityPoolSpendProposal, - "cosmos.distribution.v1beta1", - "CommunityPoolSpendProposal" -); -impl_name!( - cosmos::distribution::v1beta1::MsgSetWithdrawAddress, - "cosmos.distribution.v1beta1", - "MsgSetWithdrawAddress" -); - -impl_name!( - cosmos::vesting::v1beta1::PeriodicVestingAccount, - "cosmos.vesting.v1beta1", - "PeriodicVestingAccount" -); - -impl_name!( - cosmos::bank::v1beta1::MsgSend, - "cosmos.bank.v1beta1", - "MsgSend" -); -impl_name!( - cosmos::bank::v1beta1::MsgMultiSend, - "cosmos.bank.v1beta1", - "MsgMultiSend" -); - -impl_name!( - cosmos::feegrant::v1beta1::MsgGrantAllowance, - "cosmos.feegrant.v1beta1", - "MsgGrantAllowance" -); -impl_name!( - cosmos::feegrant::v1beta1::MsgRevokeAllowance, - "cosmos.feegrant.v1beta1", - "MsgRevokeAllowance" -); -impl_name!( - cosmos::feegrant::v1beta1::BasicAllowance, - "cosmos.feegrant.v1beta1", - "BasicAllowance" -); -impl_name!( - cosmos::feegrant::v1beta1::PeriodicAllowance, - "cosmos.feegrant.v1beta1", - "PeriodicAllowance" -); -impl_name!( - cosmos::feegrant::v1beta1::AllowedMsgAllowance, - "cosmos.feegrant.v1beta1", - "AllowedMsgAllowance" -); - -impl_name!( - cosmos::slashing::v1beta1::GenesisState, - "cosmos.slashing.v1beta1", - "MissedBlocks" -); -impl_name!( - cosmos::slashing::v1beta1::MissedBlock, - "cosmos.slashing.v1beta1", - "MissedBlock" -); -impl_name!( - cosmos::slashing::v1beta1::MsgUnjail, - "cosmos.slashing.v1beta1", - "MsgUnjail" -); -impl_name!( - cosmos::slashing::v1beta1::MsgUnjailResponse, - "cosmos.slashing.v1beta1", - "MsgUnjailResponse" -); -impl_name!( - cosmos::slashing::v1beta1::Params, - "cosmos.slashing.v1beta1", - "Params" -); -impl_name!( - cosmos::slashing::v1beta1::QueryParamsRequest, - "cosmos.slashing.v1beta1", - "QueryParamsRequest" -); -impl_name!( - cosmos::slashing::v1beta1::QueryParamsResponse, - "cosmos.slashing.v1beta1", - "QueryParamsResponse" -); -impl_name!( - cosmos::slashing::v1beta1::QuerySigningInfoRequest, - "cosmos.slashing.v1beta1", - "QuerySigningInfoRequest" -); -impl_name!( - cosmos::slashing::v1beta1::QuerySigningInfoResponse, - "cosmos.slashing.v1beta1", - "QuerySigningInfoResponse" -); -impl_name!( - cosmos::slashing::v1beta1::QuerySigningInfosRequest, - "cosmos.slashing.v1beta1", - "QuerySigningInfosRequest" -); -impl_name!( - cosmos::slashing::v1beta1::QuerySigningInfosResponse, - "cosmos.slashing.v1beta1", - "QuerySigningInfosResponse" -); -impl_name!( - cosmos::slashing::v1beta1::SigningInfo, - "cosmos.slashing.v1beta1", - "SigningInfo" -); -impl_name!( - cosmos::slashing::v1beta1::ValidatorMissedBlocks, - "cosmos.slashing.v1beta1", - "ValidatorMissedBlocks" -); -impl_name!( - cosmos::slashing::v1beta1::ValidatorSigningInfo, - "cosmos.slashing.v1beta1", - "ValidatorSigningInfo" -); - -impl_name!( - cosmos::staking::v1beta1::MsgEditValidatorResponse, - "cosmos.staking.v1beta1", - "MsgEditValidatorResponse" -); -impl_name!( - cosmos::staking::v1beta1::MsgCreateValidator, - "cosmos.staking.v1beta1", - "MsgCreateValidator" -); -impl_name!( - cosmos::staking::v1beta1::MsgEditValidator, - "cosmos.staking.v1beta1", - "MsgEditValidator" -); -impl_name!( - cosmos::staking::v1beta1::MsgDelegate, - "cosmos.staking.v1beta1", - "MsgDelegate" -); -impl_name!( - cosmos::staking::v1beta1::MsgUndelegate, - "cosmos.staking.v1beta1", - "MsgUndelegate" -); -impl_name!( - cosmos::staking::v1beta1::MsgBeginRedelegate, - "cosmos.staking.v1beta1", - "MsgBeginRedelegate" -); -impl_name!( - cosmos::staking::v1beta1::MsgCreateValidatorResponse, - "cosmos.staking.v1beta1", - "MsgCreateValidatorResponse" -); -impl_name!( - cosmos::staking::v1beta1::MsgDelegateResponse, - "cosmos.staking.v1beta1", - "MsgDelegateResponse" -); -impl_name!( - cosmos::staking::v1beta1::CommissionRates, - "cosmos.staking.v1beta1", - "CommissionRates" -); -impl_name!( - cosmos::staking::v1beta1::Commission, - "cosmos.staking.v1beta1", - "Commission" -); -impl_name!( - cosmos::staking::v1beta1::Description, - "cosmos.staking.v1beta1", - "Description" -); -impl_name!( - cosmos::staking::v1beta1::HistoricalInfo, - "cosmos.staking.v1beta1", - "HistoricalInfo" -); -impl_name!( - cosmos::staking::v1beta1::QueryHistoricalInfoRequest, - "cosmos.staking.v1beta1", - "QueryHistoricalInfoRequest" -); -impl_name!( - cosmos::staking::v1beta1::QueryHistoricalInfoResponse, - "cosmos.staking.v1beta1", - "QueryHistoricalInfoResponse" -); -impl_name!( - cosmos::staking::v1beta1::QueryValidatorRequest, - "cosmos.staking.v1beta1", - "QueryValidatorRequest" -); -impl_name!( - cosmos::staking::v1beta1::QueryValidatorResponse, - "cosmos.staking.v1beta1", - "QueryValidatorResponse" -); -impl_name!( - cosmos::staking::v1beta1::QueryValidatorsRequest, - "cosmos.staking.v1beta1", - "QueryValidatorsRequest" -); -impl_name!( - cosmos::staking::v1beta1::QueryValidatorsResponse, - "cosmos.staking.v1beta1", - "QueryValidatorsResponse" -); -impl_name!( - cosmos::staking::v1beta1::Validator, - "cosmos.staking.v1beta1", - "Validator" -); -impl_name!( - cosmos::staking::v1beta1::StakeAuthorization, - "cosmos.staking.v1beta1", - "StakeAuthorization" -); - -impl_name!( - cosmos::base::abci::v1beta1::MsgData, - "cosmos.base.v1beta1.abci", - "MsgData" -); -impl_name!( - cosmos::base::abci::v1beta1::TxMsgData, - "cosmos.base.v1beta1.abci", - "TxMsgData" -); - -impl_name!( - cosmos::auth::v1beta1::BaseAccount, - "cosmos.auth.v1beta1", - "BaseAccount" -); -impl_name!( - cosmos::auth::v1beta1::ModuleAccount, - "cosmos.auth.v1beta1", - "ModuleAccount" -); - -impl_name!( - cosmos::authz::v1beta1::MsgGrant, - "cosmos.authz.v1beta1", - "MsgGrant" -); -impl_name!( - cosmos::authz::v1beta1::MsgExec, - "cosmos.authz.v1beta1", - "MsgExec" -); -impl_name!( - cosmos::authz::v1beta1::GenericAuthorization, - "cosmos.authz.v1beta1", - "GenericAuthorization" -); -impl_name!( - cosmos::authz::v1beta1::GrantAuthorization, - "cosmos.authz.v1beta1", - "GrantAuthorization" -); -impl_name!( - cosmos::authz::v1beta1::Grant, - "cosmos.authz.v1beta1", - "Grant" -); - -impl_name!(cosmos::tx::v1beta1::Tx, "cosmos.tx.v1beta1", "Tx"); -impl_name!( - cosmos::tx::v1beta1::AuthInfo, - "cosmos.tx.v1beta1", - "AuthInfo" -); -impl_name!(cosmos::tx::v1beta1::Fee, "cosmos.tx.v1beta1", "Fee"); -impl_name!(cosmos::tx::v1beta1::TxBody, "cosmos.tx.v1beta1", "TxBody"); -impl_name!( - cosmos::tx::v1beta1::SignerInfo, - "cosmos.tx.v1beta1", - "SingerInfo" -); -impl_name!( - cosmos::tx::v1beta1::ModeInfo, - "cosmos.tx.v1beta1", - "ModeInfo" -); - -#[cfg(feature = "cosmwasm")] -mod wasm { - use crate::{cosmwasm, traits::Name}; - - const COSMWASM_PACKAGE: &str = "cosmwasm.wasm.v1"; - - impl_name!( - cosmwasm::wasm::v1::AccessConfigUpdate, - COSMWASM_PACKAGE, - "AccessConfigUpdate" - ); - impl_name!( - cosmwasm::wasm::v1::AccessConfig, - COSMWASM_PACKAGE, - "AccessConfig" - ); - impl_name!( - cosmwasm::wasm::v1::MigrateContractProposal, - COSMWASM_PACKAGE, - "MigrateContractProposal" - ); - impl_name!( - cosmwasm::wasm::v1::UpdateInstantiateConfigProposal, - COSMWASM_PACKAGE, - "UpdateInstantiateConfigProposal" - ); - impl_name!( - cosmwasm::wasm::v1::SudoContractProposal, - COSMWASM_PACKAGE, - "SudoContractProposal" - ); - impl_name!( - cosmwasm::wasm::v1::ExecuteContractProposal, - COSMWASM_PACKAGE, - "ExecuteContractProposal" - ); - impl_name!( - cosmwasm::wasm::v1::UpdateAdminProposal, - COSMWASM_PACKAGE, - "UpdateAdminProposal" - ); - impl_name!( - cosmwasm::wasm::v1::ClearAdminProposal, - COSMWASM_PACKAGE, - "ClearAdminProposal" - ); - impl_name!( - cosmwasm::wasm::v1::PinCodesProposal, - COSMWASM_PACKAGE, - "PinCodesProposal" - ); - impl_name!( - cosmwasm::wasm::v1::UnpinCodesProposal, - COSMWASM_PACKAGE, - "UnpinCodesProposal" - ); - impl_name!( - cosmwasm::wasm::v1::InstantiateContractProposal, - COSMWASM_PACKAGE, - "InstantiateContractProposal" - ); - impl_name!( - cosmwasm::wasm::v1::StoreCodeProposal, - COSMWASM_PACKAGE, - "StoreCodeProposal" - ); - impl_name!( - cosmwasm::wasm::v1::MsgStoreCode, - COSMWASM_PACKAGE, - "MsgStoreCode" - ); - impl_name!( - cosmwasm::wasm::v1::MsgInstantiateContract, - COSMWASM_PACKAGE, - "MsgInstantiateContract" - ); - impl_name!( - cosmwasm::wasm::v1::MsgInstantiateContract2, - COSMWASM_PACKAGE, - "MsgInstantiateContract2" - ); - impl_name!( - cosmwasm::wasm::v1::MsgExecuteContract, - COSMWASM_PACKAGE, - "MsgExecuteContract" - ); - impl_name!( - cosmwasm::wasm::v1::MsgMigrateContract, - COSMWASM_PACKAGE, - "MsgMigrateContract" - ); - impl_name!( - cosmwasm::wasm::v1::MsgUpdateAdmin, - COSMWASM_PACKAGE, - "MsgUpdateAdmin" - ); - impl_name!( - cosmwasm::wasm::v1::MsgClearAdmin, - COSMWASM_PACKAGE, - "MsgClearAdmin" - ); - impl_name!( - cosmwasm::wasm::v1::MsgStoreCodeResponse, - COSMWASM_PACKAGE, - "MsgStoreCodeResponse" - ); - impl_name!( - cosmwasm::wasm::v1::MsgInstantiateContractResponse, - COSMWASM_PACKAGE, - "MsgInstantiateContractResponse" - ); - impl_name!( - cosmwasm::wasm::v1::MsgExecuteContractResponse, - COSMWASM_PACKAGE, - "MsgExecuteContractResponse" - ); - impl_name!( - cosmwasm::wasm::v1::MsgMigrateContractResponse, - COSMWASM_PACKAGE, - "MsgMigrateContractResponse" - ); - impl_name!( - cosmwasm::wasm::v1::MsgUpdateAdminResponse, - COSMWASM_PACKAGE, - "MsgUpdateAdminResponse" - ); - impl_name!( - cosmwasm::wasm::v1::MsgClearAdminResponse, - COSMWASM_PACKAGE, - "MsgClearAdminResponse" - ); -} diff --git a/proto-build/buf.sdk.gen.yaml b/proto-build/buf.sdk.gen.yaml index 8a27dc2e..ba2c9a4b 100644 --- a/proto-build/buf.sdk.gen.yaml +++ b/proto-build/buf.sdk.gen.yaml @@ -4,6 +4,7 @@ plugins: out: . opt: - compile_well_known_types + - enable_type_names - extern_path=.google.protobuf=::tendermint_proto::google::protobuf - extern_path=.tendermint=::tendermint_proto::v0_34 - plugin: buf.build/community/neoeinstein-prost-serde:v0.3.0 diff --git a/proto-build/buf.wasmd.gen.yaml b/proto-build/buf.wasmd.gen.yaml index af100c54..c6c9d207 100644 --- a/proto-build/buf.wasmd.gen.yaml +++ b/proto-build/buf.wasmd.gen.yaml @@ -4,6 +4,7 @@ plugins: out: . opt: - compile_well_known_types + - enable_type_names - extern_path=.google.protobuf=::tendermint_proto::google::protobuf - extern_path=.tendermint=::tendermint_proto::v0_34 - plugin: buf.build/community/neoeinstein-prost-serde:v0.3.0