diff --git a/packages/injective-std/src/types/cosmos/auth/module/v1.rs b/packages/injective-std/src/types/cosmos/auth/module/v1.rs index 5f2e90ad..fefe129f 100644 --- a/packages/injective-std/src/types/cosmos/auth/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/auth/module/v1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// Module is the config object for the auth module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.module.v1.Module")] pub struct Module { /// bech32_prefix is the bech32 account prefix for the app. @@ -17,8 +16,7 @@ pub struct Module { } /// ModuleAccountPermission represents permissions for a module account. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.module.v1.ModuleAccountPermission")] pub struct ModuleAccountPermission { /// account is the name of the module. diff --git a/packages/injective-std/src/types/cosmos/auth/v1beta1.rs b/packages/injective-std/src/types/cosmos/auth/v1beta1.rs index 9521109c..a342762a 100644 --- a/packages/injective-std/src/types/cosmos/auth/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/auth/v1beta1.rs @@ -3,8 +3,7 @@ use injective_std_derive::CosmwasmExt; /// for basic account functionality. Any custom account type should extend this /// type for additional functionality (e.g. vesting). #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.BaseAccount")] pub struct BaseAccount { #[prost(string, tag = "1")] @@ -26,8 +25,7 @@ pub struct BaseAccount { } /// ModuleAccount defines an account for modules that holds coins on a pool. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.ModuleAccount")] pub struct ModuleAccount { #[prost(message, optional, tag = "1")] @@ -41,8 +39,7 @@ pub struct ModuleAccount { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.ModuleCredential")] pub struct ModuleCredential { /// module_name is the name of the module used for address derivation (passed into address.Module). @@ -55,8 +52,7 @@ pub struct ModuleCredential { } /// Params defines the parameters for the auth module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.Params")] pub struct Params { #[prost(uint64, tag = "1")] @@ -92,8 +88,7 @@ pub struct Params { } /// GenesisState defines the auth module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of the module. @@ -107,8 +102,7 @@ pub struct GenesisState { /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountsRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/Accounts", @@ -117,16 +111,13 @@ pub struct GenesisState { pub struct QueryAccountsRequest { /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "1")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryAccountsResponse is the response type for the Query/Accounts RPC method. /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountsResponse")] pub struct QueryAccountsResponse { /// accounts are the existing accounts @@ -134,14 +125,11 @@ pub struct QueryAccountsResponse { pub accounts: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryAccountRequest is the request type for the Query/Account RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/Account", @@ -154,8 +142,7 @@ pub struct QueryAccountRequest { } /// QueryAccountResponse is the response type for the Query/Account RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountResponse")] pub struct QueryAccountResponse { /// account defines the account of the corresponding address. @@ -164,8 +151,7 @@ pub struct QueryAccountResponse { } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryParamsRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/Params", @@ -174,8 +160,7 @@ pub struct QueryAccountResponse { pub struct QueryParamsRequest {} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryParamsResponse")] pub struct QueryParamsResponse { /// params defines the parameters of the module. @@ -186,8 +171,7 @@ pub struct QueryParamsResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryModuleAccountsRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/ModuleAccounts", @@ -198,8 +182,7 @@ pub struct QueryModuleAccountsRequest {} /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryModuleAccountsResponse")] pub struct QueryModuleAccountsResponse { #[prost(message, repeated, tag = "1")] @@ -207,8 +190,7 @@ pub struct QueryModuleAccountsResponse { } /// QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryModuleAccountByNameRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/ModuleAccountByName", @@ -220,8 +202,7 @@ pub struct QueryModuleAccountByNameRequest { } /// QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryModuleAccountByNameResponse")] pub struct QueryModuleAccountByNameResponse { #[prost(message, optional, tag = "1")] @@ -231,8 +212,7 @@ pub struct QueryModuleAccountByNameResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.Bech32PrefixRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/Bech32Prefix", @@ -243,8 +223,7 @@ pub struct Bech32PrefixRequest {} /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.Bech32PrefixResponse")] pub struct Bech32PrefixResponse { #[prost(string, tag = "1")] @@ -254,8 +233,7 @@ pub struct Bech32PrefixResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.AddressBytesToStringRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/AddressBytesToString", @@ -269,8 +247,7 @@ pub struct AddressBytesToStringRequest { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.AddressBytesToStringResponse")] pub struct AddressBytesToStringResponse { #[prost(string, tag = "1")] @@ -280,8 +257,7 @@ pub struct AddressBytesToStringResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.AddressStringToBytesRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/AddressStringToBytes", @@ -295,8 +271,7 @@ pub struct AddressStringToBytesRequest { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.AddressStringToBytesResponse")] pub struct AddressStringToBytesResponse { #[prost(bytes = "vec", tag = "1")] @@ -306,8 +281,7 @@ pub struct AddressStringToBytesResponse { /// /// Since: cosmos-sdk 0.46.2 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountAddressByIDRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/AccountAddressByID", @@ -342,8 +316,7 @@ pub struct QueryAccountAddressByIdRequest { /// /// Since: cosmos-sdk 0.46.2 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountAddressByIDResponse")] pub struct QueryAccountAddressByIdResponse { #[prost(string, tag = "1")] @@ -353,8 +326,7 @@ pub struct QueryAccountAddressByIdResponse { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountInfoRequest")] #[proto_query( path = "/cosmos.auth.v1beta1.Query/AccountInfo", @@ -369,8 +341,7 @@ pub struct QueryAccountInfoRequest { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.QueryAccountInfoResponse")] pub struct QueryAccountInfoResponse { /// info is the account info which is represented by BaseAccount. @@ -381,8 +352,7 @@ pub struct QueryAccountInfoResponse { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address that controls the module (defaults to x/gov unless overwritten). @@ -399,8 +369,7 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.auth.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} pub struct AuthQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -412,45 +381,24 @@ impl<'a, Q: cosmwasm_std::CustomQuery> AuthQuerier<'a, Q> { } pub fn accounts( &self, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { QueryAccountsRequest { pagination }.query(self.querier) } - pub fn account( - &self, - address: ::prost::alloc::string::String, - ) -> Result { + pub fn account(&self, address: ::prost::alloc::string::String) -> Result { QueryAccountRequest { address }.query(self.querier) } - pub fn account_address_by_id( - &self, - id: i64, - account_id: u64, - ) -> Result { - QueryAccountAddressByIdRequest { - id, - account_id, - } - .query(self.querier) + pub fn account_address_by_id(&self, id: i64, account_id: u64) -> Result { + QueryAccountAddressByIdRequest { id, account_id }.query(self.querier) } pub fn params(&self) -> Result { QueryParamsRequest {}.query(self.querier) } - pub fn module_accounts( - &self, - ) -> Result { + pub fn module_accounts(&self) -> Result { QueryModuleAccountsRequest {}.query(self.querier) } - pub fn module_account_by_name( - &self, - name: ::prost::alloc::string::String, - ) -> Result { - QueryModuleAccountByNameRequest { - name, - } - .query(self.querier) + pub fn module_account_by_name(&self, name: ::prost::alloc::string::String) -> Result { + QueryModuleAccountByNameRequest { name }.query(self.querier) } pub fn bech32_prefix(&self) -> Result { Bech32PrefixRequest {}.query(self.querier) @@ -459,24 +407,15 @@ impl<'a, Q: cosmwasm_std::CustomQuery> AuthQuerier<'a, Q> { &self, address_bytes: ::prost::alloc::vec::Vec, ) -> Result { - AddressBytesToStringRequest { - address_bytes, - } - .query(self.querier) + AddressBytesToStringRequest { address_bytes }.query(self.querier) } pub fn address_string_to_bytes( &self, address_string: ::prost::alloc::string::String, ) -> Result { - AddressStringToBytesRequest { - address_string, - } - .query(self.querier) + AddressStringToBytesRequest { address_string }.query(self.querier) } - pub fn account_info( - &self, - address: ::prost::alloc::string::String, - ) -> Result { + pub fn account_info(&self, address: ::prost::alloc::string::String) -> Result { QueryAccountInfoRequest { address }.query(self.querier) } } diff --git a/packages/injective-std/src/types/cosmos/authz/module/v1.rs b/packages/injective-std/src/types/cosmos/authz/module/v1.rs index 1dd194fd..aedf9a6b 100644 --- a/packages/injective-std/src/types/cosmos/authz/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/authz/module/v1.rs @@ -1,7 +1,6 @@ use injective_std_derive::CosmwasmExt; /// Module is the config object of the authz module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.module.v1.Module")] pub struct Module {} diff --git a/packages/injective-std/src/types/cosmos/authz/v1beta1.rs b/packages/injective-std/src/types/cosmos/authz/v1beta1.rs index 6e162aea..6b3fb058 100644 --- a/packages/injective-std/src/types/cosmos/authz/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/authz/v1beta1.rs @@ -2,8 +2,7 @@ use injective_std_derive::CosmwasmExt; /// GenericAuthorization gives the grantee unrestricted permissions to execute /// the provided method on behalf of the granter's account. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.GenericAuthorization")] pub struct GenericAuthorization { /// Msg, identified by it's type URL, to grant unrestricted permissions to execute @@ -13,8 +12,7 @@ pub struct GenericAuthorization { /// Grant gives permissions to execute /// the provide method with expiration time. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.Grant")] pub struct Grant { #[prost(message, optional, tag = "1")] @@ -28,8 +26,7 @@ pub struct Grant { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.GrantAuthorization")] pub struct GrantAuthorization { #[prost(string, tag = "1")] @@ -43,8 +40,7 @@ pub struct GrantAuthorization { } /// GrantQueueItem contains the list of TypeURL of a sdk.Msg. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.GrantQueueItem")] pub struct GrantQueueItem { /// msg_type_urls contains the list of TypeURL of a sdk.Msg. @@ -53,8 +49,7 @@ pub struct GrantQueueItem { } /// EventGrant is emitted on Msg/Grant #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.EventGrant")] pub struct EventGrant { /// Msg type URL for which an autorization is granted @@ -69,8 +64,7 @@ pub struct EventGrant { } /// EventRevoke is emitted on Msg/Revoke #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.EventRevoke")] pub struct EventRevoke { /// Msg type URL for which an autorization is revoked @@ -85,8 +79,7 @@ pub struct EventRevoke { } /// GenesisState defines the authz module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.GenesisState")] pub struct GenesisState { #[prost(message, repeated, tag = "1")] @@ -94,8 +87,7 @@ pub struct GenesisState { } /// QueryGrantsRequest is the request type for the Query/Grants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.QueryGrantsRequest")] #[proto_query( path = "/cosmos.authz.v1beta1.Query/Grants", @@ -111,14 +103,11 @@ pub struct QueryGrantsRequest { pub msg_type_url: ::prost::alloc::string::String, /// pagination defines an pagination for the request. #[prost(message, optional, tag = "4")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryGrantsResponse is the response type for the Query/Authorizations RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.QueryGrantsResponse")] pub struct QueryGrantsResponse { /// authorizations is a list of grants granted for grantee by granter. @@ -126,14 +115,11 @@ pub struct QueryGrantsResponse { pub grants: ::prost::alloc::vec::Vec, /// pagination defines an pagination for the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.QueryGranterGrantsRequest")] #[proto_query( path = "/cosmos.authz.v1beta1.Query/GranterGrants", @@ -144,14 +130,11 @@ pub struct QueryGranterGrantsRequest { pub granter: ::prost::alloc::string::String, /// pagination defines an pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.QueryGranterGrantsResponse")] pub struct QueryGranterGrantsResponse { /// grants is a list of grants granted by the granter. @@ -159,14 +142,11 @@ pub struct QueryGranterGrantsResponse { pub grants: ::prost::alloc::vec::Vec, /// pagination defines an pagination for the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest")] #[proto_query( path = "/cosmos.authz.v1beta1.Query/GranteeGrants", @@ -177,14 +157,11 @@ pub struct QueryGranteeGrantsRequest { pub grantee: ::prost::alloc::string::String, /// pagination defines an pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse")] pub struct QueryGranteeGrantsResponse { /// grants is a list of grants granted to the grantee. @@ -192,15 +169,12 @@ pub struct QueryGranteeGrantsResponse { pub grants: ::prost::alloc::vec::Vec, /// pagination defines an pagination for the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgGrant")] pub struct MsgGrant { #[prost(string, tag = "1")] @@ -212,16 +186,14 @@ pub struct MsgGrant { } /// MsgGrantResponse defines the Msg/MsgGrant response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgGrantResponse")] pub struct MsgGrantResponse {} /// 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. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgExec")] pub struct MsgExec { #[prost(string, tag = "1")] @@ -234,8 +206,7 @@ pub struct MsgExec { } /// MsgExecResponse defines the Msg/MsgExecResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgExecResponse")] pub struct MsgExecResponse { #[prost(bytes = "vec", repeated, tag = "1")] @@ -244,8 +215,7 @@ pub struct MsgExecResponse { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgRevoke")] pub struct MsgRevoke { #[prost(string, tag = "1")] @@ -257,14 +227,12 @@ pub struct MsgRevoke { } /// MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgRevokeResponse")] pub struct MsgRevokeResponse {} /// MsgExecCompatResponse defines the Msg/MsgExecCompatResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgExecCompatResponse")] pub struct MsgExecCompatResponse { #[prost(bytes = "vec", repeated, tag = "1")] @@ -273,8 +241,7 @@ pub struct MsgExecCompatResponse { /// MsgExecCompat supports legacy amino codec for frontend metamask signing /// Functions are same as MsgExec, but input for msgs is array of strings #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.authz.v1beta1.MsgExecCompat")] pub struct MsgExecCompat { #[prost(string, tag = "1")] @@ -294,9 +261,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> AuthzQuerier<'a, Q> { granter: ::prost::alloc::string::String, grantee: ::prost::alloc::string::String, msg_type_url: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { QueryGrantsRequest { granter, @@ -304,32 +269,20 @@ impl<'a, Q: cosmwasm_std::CustomQuery> AuthzQuerier<'a, Q> { msg_type_url, pagination, } - .query(self.querier) + .query(self.querier) } pub fn granter_grants( &self, granter: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryGranterGrantsRequest { - granter, - pagination, - } - .query(self.querier) + QueryGranterGrantsRequest { granter, pagination }.query(self.querier) } pub fn grantee_grants( &self, grantee: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryGranteeGrantsRequest { - grantee, - pagination, - } - .query(self.querier) + QueryGranteeGrantsRequest { grantee, pagination }.query(self.querier) } } diff --git a/packages/injective-std/src/types/cosmos/bank/module/v1.rs b/packages/injective-std/src/types/cosmos/bank/module/v1.rs index 5df1a8f5..7d7fe1eb 100644 --- a/packages/injective-std/src/types/cosmos/bank/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/bank/module/v1.rs @@ -1,17 +1,14 @@ use injective_std_derive::CosmwasmExt; /// Module is the config object of the bank module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.module.v1.Module")] pub struct Module { /// blocked_module_accounts_override configures exceptional module accounts which should be blocked from receiving /// funds. If left empty it defaults to the list of account names supplied in the auth module configuration as /// module_account_permissions #[prost(string, repeated, tag = "1")] - pub blocked_module_accounts_override: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub blocked_module_accounts_override: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// authority defines the custom module authority. If not set, defaults to the governance module. #[prost(string, tag = "2")] pub authority: ::prost::alloc::string::String, diff --git a/packages/injective-std/src/types/cosmos/bank/v1beta1.rs b/packages/injective-std/src/types/cosmos/bank/v1beta1.rs index 14fa644d..79839859 100644 --- a/packages/injective-std/src/types/cosmos/bank/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/bank/v1beta1.rs @@ -4,8 +4,7 @@ use injective_std_derive::CosmwasmExt; /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.SendAuthorization")] pub struct SendAuthorization { #[prost(message, repeated, tag = "1")] @@ -19,8 +18,7 @@ pub struct SendAuthorization { } /// Params defines the parameters for the bank module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.ParamsParams")] pub struct Params { /// Deprecated: Use of SendEnabled in params is deprecated. @@ -37,8 +35,7 @@ pub struct Params { /// SendEnabled maps coin denom to a send_enabled status (whether a denom is /// sendable). #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.SendEnabledSendEnabled")] pub struct SendEnabled { #[prost(string, tag = "1")] @@ -48,8 +45,7 @@ pub struct SendEnabled { } /// Input models transaction input. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.InputInput")] pub struct Input { #[prost(string, tag = "1")] @@ -59,8 +55,7 @@ pub struct Input { } /// Output models transaction outputs. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.OutputOutput")] pub struct Output { #[prost(string, tag = "1")] @@ -72,8 +67,7 @@ pub struct Output { /// amounts in the network. /// This message is deprecated now that supply is indexed by denom. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.SupplySupply")] #[deprecated] pub struct Supply { @@ -83,8 +77,7 @@ pub struct Supply { /// DenomUnit represents a struct that describes a given /// denomination unit of the basic token. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.DenomUnitDenomUnit")] pub struct DenomUnit { /// denom represents the string name of the given denom unit (e.g uatom). @@ -108,8 +101,7 @@ pub struct DenomUnit { /// Metadata represents a struct that describes /// a basic token. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MetadataMetadata")] pub struct Metadata { #[prost(string, tag = "1")] @@ -158,8 +150,7 @@ pub struct Metadata { } /// EventSetBalance is an event that tracks the latest bank balance. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.EventSetBalances")] pub struct EventSetBalances { #[prost(message, repeated, tag = "1")] @@ -167,8 +158,7 @@ pub struct EventSetBalances { } /// BalanceUpdate contains a given address's latest balance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.BalanceUpdate")] pub struct BalanceUpdate { #[prost(bytes = "vec", tag = "1")] @@ -181,8 +171,7 @@ pub struct BalanceUpdate { } /// GenesisState defines the bank module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of the module. @@ -207,8 +196,7 @@ pub struct GenesisState { /// Balance defines an account address and balance pair used in the bank module's /// genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.Balance")] pub struct Balance { /// address is the address of the balance holder. @@ -220,8 +208,7 @@ pub struct Balance { } /// QueryBalanceRequest is the request type for the Query/Balance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryBalanceRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/Balance", @@ -237,8 +224,7 @@ pub struct QueryBalanceRequest { } /// QueryBalanceResponse is the response type for the Query/Balance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryBalanceResponse")] pub struct QueryBalanceResponse { /// balance is the balance of the coin. @@ -247,8 +233,7 @@ pub struct QueryBalanceResponse { } /// QueryBalanceRequest is the request type for the Query/AllBalances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryAllBalancesRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/AllBalances", @@ -260,9 +245,7 @@ pub struct QueryAllBalancesRequest { pub address: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, /// resolve_denom is the flag to resolve the denom into a human-readable form from the metadata. /// /// Since: cosmos-sdk 0.50 @@ -272,8 +255,7 @@ pub struct QueryAllBalancesRequest { /// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryAllBalancesResponse")] pub struct QueryAllBalancesResponse { /// balances is the balances of all the coins. @@ -281,17 +263,14 @@ pub struct QueryAllBalancesResponse { pub balances: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QuerySpendableBalancesRequest defines the gRPC request structure for querying /// an account's spendable balances. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/SpendableBalances", @@ -303,17 +282,14 @@ pub struct QuerySpendableBalancesRequest { pub address: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QuerySpendableBalancesResponse defines the gRPC response structure for querying /// an account's spendable balances. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse")] pub struct QuerySpendableBalancesResponse { /// balances is the spendable balances of all the coins. @@ -321,17 +297,14 @@ pub struct QuerySpendableBalancesResponse { pub balances: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QuerySpendableBalanceByDenomRequest defines the gRPC request structure for /// querying an account's spendable balance for a specific denom. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom", @@ -350,8 +323,7 @@ pub struct QuerySpendableBalanceByDenomRequest { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse")] pub struct QuerySpendableBalanceByDenomResponse { /// balance is the balance of the coin. @@ -361,8 +333,7 @@ pub struct QuerySpendableBalanceByDenomResponse { /// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryTotalSupplyRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/TotalSupply", @@ -373,15 +344,12 @@ pub struct QueryTotalSupplyRequest { /// /// Since: cosmos-sdk 0.43 #[prost(message, optional, tag = "1")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryTotalSupplyResponse")] pub struct QueryTotalSupplyResponse { /// supply is the supply of the coins @@ -391,14 +359,11 @@ pub struct QueryTotalSupplyResponse { /// /// Since: cosmos-sdk 0.43 #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySupplyOfRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/SupplyOf", @@ -411,8 +376,7 @@ pub struct QuerySupplyOfRequest { } /// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySupplyOfResponse")] pub struct QuerySupplyOfResponse { /// amount is the supply of the coin. @@ -421,8 +385,7 @@ pub struct QuerySupplyOfResponse { } /// QueryParamsRequest defines the request type for querying x/bank parameters. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryParamsRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/Params", @@ -431,8 +394,7 @@ pub struct QuerySupplyOfResponse { pub struct QueryParamsRequest {} /// QueryParamsResponse defines the response type for querying x/bank parameters. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryParamsResponse")] pub struct QueryParamsResponse { /// params provides the parameters of the bank module. @@ -441,8 +403,7 @@ pub struct QueryParamsResponse { } /// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/DenomsMetadata", @@ -451,15 +412,12 @@ pub struct QueryParamsResponse { pub struct QueryDenomsMetadataRequest { /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "1")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse")] pub struct QueryDenomsMetadataResponse { /// metadata provides the client information for all the registered tokens. @@ -467,14 +425,11 @@ pub struct QueryDenomsMetadataResponse { pub metadatas: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomMetadataRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/DenomMetadata", @@ -488,8 +443,7 @@ pub struct QueryDenomMetadataRequest { /// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomMetadataResponse")] pub struct QueryDenomMetadataResponse { /// metadata describes and provides all the client information for the requested token. @@ -499,11 +453,8 @@ pub struct QueryDenomMetadataResponse { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString", response_type = QueryDenomMetadataByQueryStringResponse @@ -516,11 +467,8 @@ pub struct QueryDenomMetadataByQueryStringRequest { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse")] pub struct QueryDenomMetadataByQueryStringResponse { /// metadata describes and provides all the client information for the requested token. #[prost(message, optional, tag = "1")] @@ -530,8 +478,7 @@ pub struct QueryDenomMetadataByQueryStringResponse { /// which queries for a paginated set of all account holders of a particular /// denomination. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomOwnersRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/DenomOwners", @@ -543,9 +490,7 @@ pub struct QueryDenomOwnersRequest { pub denom: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// DenomOwner defines structure representing an account that owns or holds a /// particular denominated token. It contains the account address and account @@ -553,8 +498,7 @@ pub struct QueryDenomOwnersRequest { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.DenomOwner")] pub struct DenomOwner { /// address defines the address that owns a particular denomination. @@ -568,17 +512,14 @@ pub struct DenomOwner { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomOwnersResponse")] pub struct QueryDenomOwnersResponse { #[prost(message, repeated, tag = "1")] pub denom_owners: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryDenomOwnersByQueryRequest defines the request type for the DenomOwnersByQuery RPC query, /// which queries for a paginated set of all account holders of a particular @@ -586,8 +527,7 @@ pub struct QueryDenomOwnersResponse { /// /// Since: cosmos-sdk 0.50.3 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/DenomOwnersByQuery", @@ -599,32 +539,26 @@ pub struct QueryDenomOwnersByQueryRequest { pub denom: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query. /// /// Since: cosmos-sdk 0.50.3 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse")] pub struct QueryDenomOwnersByQueryResponse { #[prost(message, repeated, tag = "1")] pub denom_owners: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySendEnabledRequest")] #[proto_query( path = "/cosmos.bank.v1beta1.Query/SendEnabled", @@ -637,16 +571,13 @@ pub struct QuerySendEnabledRequest { /// pagination defines an optional pagination for the request. This field is /// only read if the denoms field is empty. #[prost(message, optional, tag = "99")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QuerySendEnabledResponse defines the RPC response of a SendEnable query. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.QuerySendEnabledResponse")] pub struct QuerySendEnabledResponse { #[prost(message, repeated, tag = "1")] @@ -654,14 +585,11 @@ pub struct QuerySendEnabledResponse { /// pagination defines the pagination in the response. This field is only /// populated if the denoms field in the request is empty. #[prost(message, optional, tag = "99")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// MsgSend represents a message to send coins from one account to another. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgSend")] pub struct MsgSend { #[prost(string, tag = "1")] @@ -673,14 +601,12 @@ pub struct MsgSend { } /// MsgSendResponse defines the Msg/Send response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgSendResponse")] pub struct MsgSendResponse {} /// MsgMultiSend represents an arbitrary multi-in, multi-out send message. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgMultiSend")] pub struct MsgMultiSend { /// Inputs, despite being `repeated`, only allows one sender input. This is @@ -692,16 +618,14 @@ pub struct MsgMultiSend { } /// MsgMultiSendResponse defines the Msg/MultiSend response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgMultiSendResponse")] pub struct MsgMultiSendResponse {} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address that controls the module (defaults to x/gov unless overwritten). @@ -718,8 +642,7 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} /// MsgSetSendEnabled is the Msg/SetSendEnabled request type. @@ -730,8 +653,7 @@ pub struct MsgUpdateParamsResponse {} /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgSetSendEnabled")] pub struct MsgSetSendEnabled { /// authority is the address that controls the module. @@ -751,8 +673,7 @@ pub struct MsgSetSendEnabled { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.bank.v1beta1.MsgSetSendEnabledResponse")] pub struct MsgSetSendEnabledResponse {} pub struct BankQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -767,18 +688,12 @@ impl<'a, Q: cosmwasm_std::CustomQuery> BankQuerier<'a, Q> { address: ::prost::alloc::string::String, denom: ::prost::alloc::string::String, ) -> Result { - QueryBalanceRequest { - address, - denom, - } - .query(self.querier) + QueryBalanceRequest { address, denom }.query(self.querier) } pub fn all_balances( &self, address: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, resolve_denom: bool, ) -> Result { QueryAllBalancesRequest { @@ -786,115 +701,68 @@ impl<'a, Q: cosmwasm_std::CustomQuery> BankQuerier<'a, Q> { pagination, resolve_denom, } - .query(self.querier) + .query(self.querier) } pub fn spendable_balances( &self, address: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QuerySpendableBalancesRequest { - address, - pagination, - } - .query(self.querier) + QuerySpendableBalancesRequest { address, pagination }.query(self.querier) } pub fn spendable_balance_by_denom( &self, address: ::prost::alloc::string::String, denom: ::prost::alloc::string::String, ) -> Result { - QuerySpendableBalanceByDenomRequest { - address, - denom, - } - .query(self.querier) + QuerySpendableBalanceByDenomRequest { address, denom }.query(self.querier) } pub fn total_supply( &self, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryTotalSupplyRequest { - pagination, - } - .query(self.querier) + QueryTotalSupplyRequest { pagination }.query(self.querier) } - pub fn supply_of( - &self, - denom: ::prost::alloc::string::String, - ) -> Result { + pub fn supply_of(&self, denom: ::prost::alloc::string::String) -> Result { QuerySupplyOfRequest { denom }.query(self.querier) } pub fn params(&self) -> Result { QueryParamsRequest {}.query(self.querier) } - pub fn denom_metadata( - &self, - denom: ::prost::alloc::string::String, - ) -> Result { + pub fn denom_metadata(&self, denom: ::prost::alloc::string::String) -> Result { QueryDenomMetadataRequest { denom }.query(self.querier) } pub fn denom_metadata_by_query_string( &self, denom: ::prost::alloc::string::String, ) -> Result { - QueryDenomMetadataByQueryStringRequest { - denom, - } - .query(self.querier) + QueryDenomMetadataByQueryStringRequest { denom }.query(self.querier) } pub fn denoms_metadata( &self, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryDenomsMetadataRequest { - pagination, - } - .query(self.querier) + QueryDenomsMetadataRequest { pagination }.query(self.querier) } pub fn denom_owners( &self, denom: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryDenomOwnersRequest { - denom, - pagination, - } - .query(self.querier) + QueryDenomOwnersRequest { denom, pagination }.query(self.querier) } pub fn denom_owners_by_query( &self, denom: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryDenomOwnersByQueryRequest { - denom, - pagination, - } - .query(self.querier) + QueryDenomOwnersByQueryRequest { denom, pagination }.query(self.querier) } pub fn send_enabled( &self, denoms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QuerySendEnabledRequest { - denoms, - pagination, - } - .query(self.querier) + QuerySendEnabledRequest { denoms, pagination }.query(self.querier) } } diff --git a/packages/injective-std/src/types/cosmos/base/node/v1beta1.rs b/packages/injective-std/src/types/cosmos/base/node/v1beta1.rs index 61ab5018..8fc27135 100644 --- a/packages/injective-std/src/types/cosmos/base/node/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/node/v1beta1.rs @@ -1,14 +1,12 @@ use injective_std_derive::CosmwasmExt; /// ConfigRequest defines the request structure for the Config gRPC query. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.node.v1beta1.ConfigRequest")] pub struct ConfigRequest {} /// ConfigResponse defines the response structure for the Config gRPC query. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.node.v1beta1.ConfigResponse")] pub struct ConfigResponse { #[prost(string, tag = "1")] @@ -26,14 +24,12 @@ pub struct ConfigResponse { } /// StateRequest defines the request structure for the status of a node. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.node.v1beta1.StatusRequest")] pub struct StatusRequest {} /// StateResponse defines the response structure for the status of a node. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.node.v1beta1.StatusResponse")] pub struct StatusResponse { /// earliest block height available in the store diff --git a/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs b/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs index 492e1c09..af7312d1 100644 --- a/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs @@ -7,11 +7,8 @@ use injective_std_derive::CosmwasmExt; /// PageRequest pagination = 2; /// } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.base.query.v1beta1.PageRequestPageRequestPageRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.base.query.v1beta1.PageRequestPageRequestPageRequest")] pub struct PageRequest { /// key is a value returned in PageResponse.next_key to begin /// querying the next page most efficiently. Only one of offset or key @@ -55,11 +52,8 @@ pub struct PageRequest { /// PageResponse page = 2; /// } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.base.query.v1beta1.PageResponsePageResponsePageResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.base.query.v1beta1.PageResponsePageResponsePageResponse")] pub struct PageResponse { /// next_key is the key to be passed to PageRequest.key to /// query the next page most efficiently. It will be empty if diff --git a/packages/injective-std/src/types/cosmos/base/v1beta1.rs b/packages/injective-std/src/types/cosmos/base/v1beta1.rs index 8896aa76..b4ccbaaf 100644 --- a/packages/injective-std/src/types/cosmos/base/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/v1beta1.rs @@ -4,8 +4,7 @@ use injective_std_derive::CosmwasmExt; /// NOTE: The amount field is an Int which implements the custom method /// signatures required by gogoproto. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.v1beta1.CoinCoinCoin")] pub struct Coin { #[prost(string, tag = "1")] @@ -18,8 +17,7 @@ pub struct Coin { /// NOTE: The amount field is an Dec which implements the custom method /// signatures required by gogoproto. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.v1beta1.DecCoinDecCoinDecCoin")] pub struct DecCoin { #[prost(string, tag = "1")] @@ -30,8 +28,7 @@ pub struct DecCoin { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.v1beta1.IntProtoIntProtoIntProto")] pub struct IntProto { #[prost(string, tag = "1")] @@ -40,8 +37,7 @@ pub struct IntProto { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.base.v1beta1.DecProtoDecProtoDecProto")] pub struct DecProto { #[prost(string, tag = "1")] diff --git a/packages/injective-std/src/types/cosmos/distribution/module/v1.rs b/packages/injective-std/src/types/cosmos/distribution/module/v1.rs index d6b70d89..5284ed70 100644 --- a/packages/injective-std/src/types/cosmos/distribution/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/distribution/module/v1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// Module is the config object of the distribution module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.module.v1.Module")] pub struct Module { #[prost(string, tag = "1")] diff --git a/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs b/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs index 78593b49..8c8c77fe 100644 --- a/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// Params defines the set of params for the distribution module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.ParamsParams")] pub struct Params { #[prost(string, tag = "1")] @@ -33,16 +32,11 @@ pub struct Params { /// read that record) /// + one per validator for the zeroeth period, set on initialization #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsValidatorHistoricalRewards" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsValidatorHistoricalRewards")] pub struct ValidatorHistoricalRewards { #[prost(message, repeated, tag = "1")] - pub cumulative_reward_ratio: ::prost::alloc::vec::Vec< - super::super::base::v1beta1::DecCoin, - >, + pub cumulative_reward_ratio: ::prost::alloc::vec::Vec, #[prost(uint32, tag = "2")] #[serde( serialize_with = "crate::serde::as_str::serialize", @@ -54,11 +48,8 @@ pub struct ValidatorHistoricalRewards { /// period for a validator kept as a running counter and incremented /// each block as long as the validator's tokens remain constant. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsValidatorCurrentRewards" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsValidatorCurrentRewards")] pub struct ValidatorCurrentRewards { #[prost(message, repeated, tag = "1")] pub rewards: ::prost::alloc::vec::Vec, @@ -72,11 +63,8 @@ pub struct ValidatorCurrentRewards { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionValidatorAccumulatedCommission" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionValidatorAccumulatedCommission")] pub struct ValidatorAccumulatedCommission { #[prost(message, repeated, tag = "1")] pub commission: ::prost::alloc::vec::Vec, @@ -84,11 +72,8 @@ pub struct ValidatorAccumulatedCommission { /// ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards /// for a validator inexpensive to track, allows simple sanity checks. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsValidatorOutstandingRewards" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsValidatorOutstandingRewards")] pub struct ValidatorOutstandingRewards { #[prost(message, repeated, tag = "1")] pub rewards: ::prost::alloc::vec::Vec, @@ -98,11 +83,8 @@ pub struct ValidatorOutstandingRewards { /// This is needed to calculate appropriate amount of staking tokens /// for delegations which are withdrawn after a slash has occurred. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorSlashEventValidatorSlashEvent" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorSlashEventValidatorSlashEvent")] pub struct ValidatorSlashEvent { #[prost(uint64, tag = "1")] #[serde( @@ -115,19 +97,15 @@ pub struct ValidatorSlashEvent { } /// ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorSlashEventsValidatorSlashEvents" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorSlashEventsValidatorSlashEvents")] pub struct ValidatorSlashEvents { #[prost(message, repeated, tag = "1")] pub validator_slash_events: ::prost::alloc::vec::Vec, } /// FeePool is the global fee pool for distribution. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.FeePoolFeePool")] pub struct FeePool { #[prost(message, repeated, tag = "1")] @@ -142,11 +120,8 @@ pub struct FeePool { /// pool funds, a simple MsgCommunityPoolSpend can be invoked from the x/gov /// module via a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalCommunityPoolSpendProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalCommunityPoolSpendProposal")] #[deprecated] pub struct CommunityPoolSpendProposal { #[prost(string, tag = "1")] @@ -165,11 +140,8 @@ pub struct CommunityPoolSpendProposal { /// the delegators within the validator may be left with less than a full token, /// thus sdk.Dec is used. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.DelegatorStartingInfoDelegatorStartingInfo" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.DelegatorStartingInfoDelegatorStartingInfo")] pub struct DelegatorStartingInfo { #[prost(uint64, tag = "1")] #[serde( @@ -189,11 +161,8 @@ pub struct DelegatorStartingInfo { /// DelegationDelegatorReward represents the properties /// of a delegator's delegation reward. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.DelegationDelegatorRewardDelegationDelegatorReward" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.DelegationDelegatorRewardDelegationDelegatorReward")] pub struct DelegationDelegatorReward { #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, @@ -203,11 +172,8 @@ pub struct DelegationDelegatorReward { /// CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal /// with a deposit #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDepositCommunityPoolSpendProposalWithDeposit" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDepositCommunityPoolSpendProposalWithDeposit")] pub struct CommunityPoolSpendProposalWithDeposit { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -224,8 +190,7 @@ pub struct CommunityPoolSpendProposalWithDeposit { /// withdrawn to by default this struct is only used at genesis to feed in /// default withdraw addresses. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.DelegatorWithdrawInfo")] pub struct DelegatorWithdrawInfo { /// delegator_address is the address of the delegator. @@ -237,29 +202,21 @@ pub struct DelegatorWithdrawInfo { } /// ValidatorOutstandingRewardsRecord is used for import/export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord")] pub struct ValidatorOutstandingRewardsRecord { /// validator_address is the address of the validator. #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, /// outstanding_rewards represents the outstanding rewards of a validator. #[prost(message, repeated, tag = "2")] - pub outstanding_rewards: ::prost::alloc::vec::Vec< - super::super::base::v1beta1::DecCoin, - >, + pub outstanding_rewards: ::prost::alloc::vec::Vec, } /// ValidatorAccumulatedCommissionRecord is used for import / export via genesis /// json. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord")] pub struct ValidatorAccumulatedCommissionRecord { /// validator_address is the address of the validator. #[prost(string, tag = "1")] @@ -271,11 +228,8 @@ pub struct ValidatorAccumulatedCommissionRecord { /// ValidatorHistoricalRewardsRecord is used for import / export via genesis /// json. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord")] pub struct ValidatorHistoricalRewardsRecord { /// validator_address is the address of the validator. #[prost(string, tag = "1")] @@ -293,8 +247,7 @@ pub struct ValidatorHistoricalRewardsRecord { } /// ValidatorCurrentRewardsRecord is used for import / export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord")] pub struct ValidatorCurrentRewardsRecord { /// validator_address is the address of the validator. @@ -306,8 +259,7 @@ pub struct ValidatorCurrentRewardsRecord { } /// DelegatorStartingInfoRecord used for import / export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.DelegatorStartingInfoRecord")] pub struct DelegatorStartingInfoRecord { /// delegator_address is the address of the delegator. @@ -322,8 +274,7 @@ pub struct DelegatorStartingInfoRecord { } /// ValidatorSlashEventRecord is used for import / export via genesis json. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.ValidatorSlashEventRecord")] pub struct ValidatorSlashEventRecord { /// validator_address is the address of the validator. @@ -349,8 +300,7 @@ pub struct ValidatorSlashEventRecord { } /// GenesisState defines the distribution module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of the module. @@ -370,19 +320,13 @@ pub struct GenesisState { pub outstanding_rewards: ::prost::alloc::vec::Vec, /// fee_pool defines the accumulated commissions of all validators at genesis. #[prost(message, repeated, tag = "6")] - pub validator_accumulated_commissions: ::prost::alloc::vec::Vec< - ValidatorAccumulatedCommissionRecord, - >, + pub validator_accumulated_commissions: ::prost::alloc::vec::Vec, /// fee_pool defines the historical rewards of all validators at genesis. #[prost(message, repeated, tag = "7")] - pub validator_historical_rewards: ::prost::alloc::vec::Vec< - ValidatorHistoricalRewardsRecord, - >, + pub validator_historical_rewards: ::prost::alloc::vec::Vec, /// fee_pool defines the current rewards of all validators at genesis. #[prost(message, repeated, tag = "8")] - pub validator_current_rewards: ::prost::alloc::vec::Vec< - ValidatorCurrentRewardsRecord, - >, + pub validator_current_rewards: ::prost::alloc::vec::Vec, /// fee_pool defines the delegator starting infos at genesis. #[prost(message, repeated, tag = "9")] pub delegator_starting_infos: ::prost::alloc::vec::Vec, @@ -392,8 +336,7 @@ pub struct GenesisState { } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryParamsRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/Params", @@ -402,8 +345,7 @@ pub struct GenesisState { pub struct QueryParamsRequest {} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryParamsResponse")] pub struct QueryParamsResponse { /// params defines the parameters of the module. @@ -412,11 +354,8 @@ pub struct QueryParamsResponse { } /// QueryValidatorDistributionInfoRequest is the request type for the Query/ValidatorDistributionInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/ValidatorDistributionInfo", response_type = QueryValidatorDistributionInfoResponse @@ -428,20 +367,15 @@ pub struct QueryValidatorDistributionInfoRequest { } /// QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse")] pub struct QueryValidatorDistributionInfoResponse { /// operator_address defines the validator operator address. #[prost(string, tag = "1")] pub operator_address: ::prost::alloc::string::String, /// self_bond_rewards defines the self delegations rewards. #[prost(message, repeated, tag = "2")] - pub self_bond_rewards: ::prost::alloc::vec::Vec< - super::super::base::v1beta1::DecCoin, - >, + pub self_bond_rewards: ::prost::alloc::vec::Vec, /// commission defines the commission the validator received. #[prost(message, repeated, tag = "3")] pub commission: ::prost::alloc::vec::Vec, @@ -449,11 +383,8 @@ pub struct QueryValidatorDistributionInfoResponse { /// QueryValidatorOutstandingRewardsRequest is the request type for the /// Query/ValidatorOutstandingRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards", response_type = QueryValidatorOutstandingRewardsResponse @@ -466,11 +397,8 @@ pub struct QueryValidatorOutstandingRewardsRequest { /// QueryValidatorOutstandingRewardsResponse is the response type for the /// Query/ValidatorOutstandingRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse")] pub struct QueryValidatorOutstandingRewardsResponse { #[prost(message, optional, tag = "1")] pub rewards: ::core::option::Option, @@ -478,11 +406,8 @@ pub struct QueryValidatorOutstandingRewardsResponse { /// QueryValidatorCommissionRequest is the request type for the /// Query/ValidatorCommission RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/ValidatorCommission", response_type = QueryValidatorCommissionResponse @@ -495,11 +420,8 @@ pub struct QueryValidatorCommissionRequest { /// QueryValidatorCommissionResponse is the response type for the /// Query/ValidatorCommission RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse")] pub struct QueryValidatorCommissionResponse { /// commission defines the commission the validator received. #[prost(message, optional, tag = "1")] @@ -508,8 +430,7 @@ pub struct QueryValidatorCommissionResponse { /// QueryValidatorSlashesRequest is the request type for the /// Query/ValidatorSlashes RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/ValidatorSlashes", @@ -535,15 +456,12 @@ pub struct QueryValidatorSlashesRequest { pub ending_height: u64, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "4")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryValidatorSlashesResponse is the response type for the /// Query/ValidatorSlashes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse")] pub struct QueryValidatorSlashesResponse { /// slashes defines the slashes the validator received. @@ -551,15 +469,12 @@ pub struct QueryValidatorSlashesResponse { pub slashes: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryDelegationRewardsRequest is the request type for the /// Query/DelegationRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/DelegationRewards", @@ -576,11 +491,8 @@ pub struct QueryDelegationRewardsRequest { /// QueryDelegationRewardsResponse is the response type for the /// Query/DelegationRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse")] pub struct QueryDelegationRewardsResponse { /// rewards defines the rewards accrued by a delegation. #[prost(message, repeated, tag = "1")] @@ -589,11 +501,8 @@ pub struct QueryDelegationRewardsResponse { /// QueryDelegationTotalRewardsRequest is the request type for the /// Query/DelegationTotalRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/DelegationTotalRewards", response_type = QueryDelegationTotalRewardsResponse @@ -606,11 +515,8 @@ pub struct QueryDelegationTotalRewardsRequest { /// QueryDelegationTotalRewardsResponse is the response type for the /// Query/DelegationTotalRewards RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse")] pub struct QueryDelegationTotalRewardsResponse { /// rewards defines all the rewards accrued by a delegator. #[prost(message, repeated, tag = "1")] @@ -622,11 +528,8 @@ pub struct QueryDelegationTotalRewardsResponse { /// QueryDelegatorValidatorsRequest is the request type for the /// Query/DelegatorValidators RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/DelegatorValidators", response_type = QueryDelegatorValidatorsResponse @@ -639,11 +542,8 @@ pub struct QueryDelegatorValidatorsRequest { /// QueryDelegatorValidatorsResponse is the response type for the /// Query/DelegatorValidators RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse")] pub struct QueryDelegatorValidatorsResponse { /// validators defines the validators a delegator is delegating for. #[prost(string, repeated, tag = "1")] @@ -652,11 +552,8 @@ pub struct QueryDelegatorValidatorsResponse { /// QueryDelegatorWithdrawAddressRequest is the request type for the /// Query/DelegatorWithdrawAddress RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress", response_type = QueryDelegatorWithdrawAddressResponse @@ -669,11 +566,8 @@ pub struct QueryDelegatorWithdrawAddressRequest { /// QueryDelegatorWithdrawAddressResponse is the response type for the /// Query/DelegatorWithdrawAddress RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse")] pub struct QueryDelegatorWithdrawAddressResponse { /// withdraw_address defines the delegator address to query for. #[prost(string, tag = "1")] @@ -682,8 +576,7 @@ pub struct QueryDelegatorWithdrawAddressResponse { /// QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest")] #[proto_query( path = "/cosmos.distribution.v1beta1.Query/CommunityPool", @@ -693,8 +586,7 @@ pub struct QueryCommunityPoolRequest {} /// QueryCommunityPoolResponse is the response type for the Query/CommunityPool /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse")] pub struct QueryCommunityPoolResponse { /// pool defines community pool's coins. @@ -704,8 +596,7 @@ pub struct QueryCommunityPoolResponse { /// MsgSetWithdrawAddress sets the withdraw address for /// a delegator (or validator self-delegation). #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress")] pub struct MsgSetWithdrawAddress { #[prost(string, tag = "1")] @@ -716,15 +607,13 @@ pub struct MsgSetWithdrawAddress { /// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse")] pub struct MsgSetWithdrawAddressResponse {} /// MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator /// from a single validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward")] pub struct MsgWithdrawDelegatorReward { #[prost(string, tag = "1")] @@ -735,11 +624,8 @@ pub struct MsgWithdrawDelegatorReward { /// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse")] pub struct MsgWithdrawDelegatorRewardResponse { /// Since: cosmos-sdk 0.46 #[prost(message, repeated, tag = "1")] @@ -748,11 +634,8 @@ pub struct MsgWithdrawDelegatorRewardResponse { /// MsgWithdrawValidatorCommission withdraws the full commission to the validator /// address. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission")] pub struct MsgWithdrawValidatorCommission { #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, @@ -760,11 +643,8 @@ pub struct MsgWithdrawValidatorCommission { /// MsgWithdrawValidatorCommissionResponse defines the /// Msg/WithdrawValidatorCommission response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse")] pub struct MsgWithdrawValidatorCommissionResponse { /// Since: cosmos-sdk 0.46 #[prost(message, repeated, tag = "1")] @@ -773,8 +653,7 @@ pub struct MsgWithdrawValidatorCommissionResponse { /// MsgFundCommunityPool allows an account to directly /// fund the community pool. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgFundCommunityPool")] pub struct MsgFundCommunityPool { #[prost(message, repeated, tag = "1")] @@ -784,16 +663,14 @@ pub struct MsgFundCommunityPool { } /// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse")] pub struct MsgFundCommunityPoolResponse {} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address that controls the module (defaults to x/gov unless overwritten). @@ -810,8 +687,7 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} /// MsgCommunityPoolSpend defines a message for sending tokens from the community @@ -820,8 +696,7 @@ pub struct MsgUpdateParamsResponse {} /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend")] pub struct MsgCommunityPoolSpend { /// authority is the address that controls the module (defaults to x/gov unless overwritten). @@ -837,8 +712,7 @@ pub struct MsgCommunityPoolSpend { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse")] pub struct MsgCommunityPoolSpendResponse {} /// DepositValidatorRewardsPool defines the request structure to provide @@ -846,11 +720,8 @@ pub struct MsgCommunityPoolSpendResponse {} /// /// Since: cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool")] pub struct MsgDepositValidatorRewardsPool { #[prost(string, tag = "1")] pub depositor: ::prost::alloc::string::String, @@ -864,11 +735,8 @@ pub struct MsgDepositValidatorRewardsPool { /// /// Since: cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse")] pub struct MsgDepositValidatorRewardsPoolResponse {} pub struct DistributionQuerier<'a, Q: cosmwasm_std::CustomQuery> { querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>, @@ -884,37 +752,26 @@ impl<'a, Q: cosmwasm_std::CustomQuery> DistributionQuerier<'a, Q> { &self, validator_address: ::prost::alloc::string::String, ) -> Result { - QueryValidatorDistributionInfoRequest { - validator_address, - } - .query(self.querier) + QueryValidatorDistributionInfoRequest { validator_address }.query(self.querier) } pub fn validator_outstanding_rewards( &self, validator_address: ::prost::alloc::string::String, ) -> Result { - QueryValidatorOutstandingRewardsRequest { - validator_address, - } - .query(self.querier) + QueryValidatorOutstandingRewardsRequest { validator_address }.query(self.querier) } pub fn validator_commission( &self, validator_address: ::prost::alloc::string::String, ) -> Result { - QueryValidatorCommissionRequest { - validator_address, - } - .query(self.querier) + QueryValidatorCommissionRequest { validator_address }.query(self.querier) } pub fn validator_slashes( &self, validator_address: ::prost::alloc::string::String, starting_height: u64, ending_height: u64, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { QueryValidatorSlashesRequest { validator_address, @@ -922,7 +779,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> DistributionQuerier<'a, Q> { ending_height, pagination, } - .query(self.querier) + .query(self.querier) } pub fn delegation_rewards( &self, @@ -933,38 +790,27 @@ impl<'a, Q: cosmwasm_std::CustomQuery> DistributionQuerier<'a, Q> { delegator_address, validator_address, } - .query(self.querier) + .query(self.querier) } pub fn delegation_total_rewards( &self, delegator_address: ::prost::alloc::string::String, ) -> Result { - QueryDelegationTotalRewardsRequest { - delegator_address, - } - .query(self.querier) + QueryDelegationTotalRewardsRequest { delegator_address }.query(self.querier) } pub fn delegator_validators( &self, delegator_address: ::prost::alloc::string::String, ) -> Result { - QueryDelegatorValidatorsRequest { - delegator_address, - } - .query(self.querier) + QueryDelegatorValidatorsRequest { delegator_address }.query(self.querier) } pub fn delegator_withdraw_address( &self, delegator_address: ::prost::alloc::string::String, ) -> Result { - QueryDelegatorWithdrawAddressRequest { - delegator_address, - } - .query(self.querier) + QueryDelegatorWithdrawAddressRequest { delegator_address }.query(self.querier) } - pub fn community_pool( - &self, - ) -> Result { + pub fn community_pool(&self) -> Result { QueryCommunityPoolRequest {}.query(self.querier) } } diff --git a/packages/injective-std/src/types/cosmos/feegrant/module/v1.rs b/packages/injective-std/src/types/cosmos/feegrant/module/v1.rs index 859bc2e1..8455c874 100644 --- a/packages/injective-std/src/types/cosmos/feegrant/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/feegrant/module/v1.rs @@ -1,7 +1,6 @@ use injective_std_derive::CosmwasmExt; /// Module is the config object of the feegrant module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.module.v1.Module")] pub struct Module {} diff --git a/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs b/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs index a3d8a168..28c72cd9 100644 --- a/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs @@ -2,8 +2,7 @@ use injective_std_derive::CosmwasmExt; /// BasicAllowance implements Allowance with a one-time grant of coins /// that optionally expires. The grantee can use up to SpendLimit to cover fees. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.BasicAllowance")] pub struct BasicAllowance { /// spend_limit specifies the maximum amount of coins that can be spent @@ -18,8 +17,7 @@ pub struct BasicAllowance { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.PeriodicAllowance")] pub struct PeriodicAllowance { /// basic specifies a struct of `BasicAllowance` @@ -44,8 +42,7 @@ pub struct PeriodicAllowance { } /// AllowedMsgAllowance creates allowance only for specified message types. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.AllowedMsgAllowance")] pub struct AllowedMsgAllowance { /// allowance can be any of basic and periodic fee allowance. @@ -57,8 +54,7 @@ pub struct AllowedMsgAllowance { } /// Grant is stored in the KVStore to record a grant with full context #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.Grant")] pub struct Grant { /// granter is the address of the user granting an allowance of their funds. @@ -73,8 +69,7 @@ pub struct Grant { } /// GenesisState contains a set of fee allowances, persisted from the store #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.GenesisState")] pub struct GenesisState { #[prost(message, repeated, tag = "1")] @@ -82,8 +77,7 @@ pub struct GenesisState { } /// QueryAllowanceRequest is the request type for the Query/Allowance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.QueryAllowanceRequest")] #[proto_query( path = "/cosmos.feegrant.v1beta1.Query/Allowance", @@ -99,8 +93,7 @@ pub struct QueryAllowanceRequest { } /// QueryAllowanceResponse is the response type for the Query/Allowance RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.QueryAllowanceResponse")] pub struct QueryAllowanceResponse { /// allowance is a allowance granted for grantee by granter. @@ -109,8 +102,7 @@ pub struct QueryAllowanceResponse { } /// QueryAllowancesRequest is the request type for the Query/Allowances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.QueryAllowancesRequest")] #[proto_query( path = "/cosmos.feegrant.v1beta1.Query/Allowances", @@ -121,14 +113,11 @@ pub struct QueryAllowancesRequest { pub grantee: ::prost::alloc::string::String, /// pagination defines an pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryAllowancesResponse is the response type for the Query/Allowances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.QueryAllowancesResponse")] pub struct QueryAllowancesResponse { /// allowances are allowance's granted for grantee by granter. @@ -136,16 +125,13 @@ pub struct QueryAllowancesResponse { pub allowances: ::prost::alloc::vec::Vec, /// pagination defines an pagination for the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest")] #[proto_query( path = "/cosmos.feegrant.v1beta1.Query/AllowancesByGranter", @@ -156,16 +142,13 @@ pub struct QueryAllowancesByGranterRequest { pub granter: ::prost::alloc::string::String, /// pagination defines an pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse")] pub struct QueryAllowancesByGranterResponse { /// allowances that have been issued by the granter. @@ -173,15 +156,12 @@ pub struct QueryAllowancesByGranterResponse { pub allowances: ::prost::alloc::vec::Vec, /// pagination defines an pagination for the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// MsgGrantAllowance adds permission for Grantee to spend up to Allowance /// of fees from the account of Granter. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.MsgGrantAllowance")] pub struct MsgGrantAllowance { /// granter is the address of the user granting an allowance of their funds. @@ -196,14 +176,12 @@ pub struct MsgGrantAllowance { } /// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse")] pub struct MsgGrantAllowanceResponse {} /// MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.MsgRevokeAllowance")] pub struct MsgRevokeAllowance { /// granter is the address of the user granting an allowance of their funds. @@ -215,16 +193,14 @@ pub struct MsgRevokeAllowance { } /// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse")] pub struct MsgRevokeAllowanceResponse {} /// MsgPruneAllowances prunes expired fee allowances. /// /// Since cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.MsgPruneAllowances")] pub struct MsgPruneAllowances { /// pruner is the address of the user pruning expired allowances. @@ -235,8 +211,7 @@ pub struct MsgPruneAllowances { /// /// Since cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse")] pub struct MsgPruneAllowancesResponse {} pub struct FeegrantQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -251,36 +226,20 @@ impl<'a, Q: cosmwasm_std::CustomQuery> FeegrantQuerier<'a, Q> { granter: ::prost::alloc::string::String, grantee: ::prost::alloc::string::String, ) -> Result { - QueryAllowanceRequest { - granter, - grantee, - } - .query(self.querier) + QueryAllowanceRequest { granter, grantee }.query(self.querier) } pub fn allowances( &self, grantee: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryAllowancesRequest { - grantee, - pagination, - } - .query(self.querier) + QueryAllowancesRequest { grantee, pagination }.query(self.querier) } pub fn allowances_by_granter( &self, granter: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryAllowancesByGranterRequest { - granter, - pagination, - } - .query(self.querier) + QueryAllowancesByGranterRequest { granter, pagination }.query(self.querier) } } diff --git a/packages/injective-std/src/types/cosmos/gov/module/v1.rs b/packages/injective-std/src/types/cosmos/gov/module/v1.rs index 8ffdeeba..a273e5ed 100644 --- a/packages/injective-std/src/types/cosmos/gov/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/gov/module/v1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// Module is the config object of the gov module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.module.v1.Module")] pub struct Module { /// max_metadata_len defines the maximum proposal metadata length. diff --git a/packages/injective-std/src/types/cosmos/gov/v1.rs b/packages/injective-std/src/types/cosmos/gov/v1.rs index e4ae848b..681823a6 100644 --- a/packages/injective-std/src/types/cosmos/gov/v1.rs +++ b/packages/injective-std/src/types/cosmos/gov/v1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// WeightedVoteOption defines a unit of vote for vote split. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.WeightedVoteOption")] pub struct WeightedVoteOption { /// option defines the valid vote options, it must not contain duplicate vote options. @@ -19,8 +18,7 @@ pub struct WeightedVoteOption { /// Deposit defines an amount deposited by an account address to an active /// proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.Deposit")] pub struct Deposit { /// proposal_id defines the unique id of the proposal. @@ -40,8 +38,7 @@ pub struct Deposit { } /// Proposal defines the core field members of a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.Proposal")] pub struct Proposal { /// id defines the unique id of the proposal. @@ -115,8 +112,7 @@ pub struct Proposal { } /// TallyResult defines a standard tally for a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.TallyResult")] pub struct TallyResult { /// yes_count is the number of yes votes on a proposal. @@ -135,8 +131,7 @@ pub struct TallyResult { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.Vote")] pub struct Vote { /// proposal_id defines the unique id of the proposal. @@ -160,8 +155,7 @@ pub struct Vote { } /// DepositParams defines the params for deposits on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.DepositParams")] #[deprecated] pub struct DepositParams { @@ -175,8 +169,7 @@ pub struct DepositParams { } /// VotingParams defines the params for voting on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.VotingParams")] #[deprecated] pub struct VotingParams { @@ -186,8 +179,7 @@ pub struct VotingParams { } /// TallyParams defines the params for tallying votes on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.TallyParams")] #[deprecated] pub struct TallyParams { @@ -207,8 +199,7 @@ pub struct TallyParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.Params")] pub struct Params { /// Minimum deposit for a proposal to enter voting period. @@ -258,9 +249,7 @@ pub struct Params { pub expedited_threshold: ::prost::alloc::string::String, /// Minimum expedited deposit for a proposal to enter voting period. #[prost(message, repeated, tag = "12")] - pub expedited_min_deposit: ::prost::alloc::vec::Vec< - super::super::base::v1beta1::Coin, - >, + pub expedited_min_deposit: ::prost::alloc::vec::Vec, /// burn deposits if a proposal does not meet quorum #[prost(bool, tag = "13")] pub burn_vote_quorum: bool, @@ -373,8 +362,7 @@ impl ProposalStatus { } /// GenesisState defines the gov module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.GenesisState")] pub struct GenesisState { /// starting_proposal_id is the ID of the starting proposal. @@ -425,8 +413,7 @@ pub struct GenesisState { } /// QueryConstitutionRequest is the request type for the Query/Constitution RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryConstitutionRequest")] #[proto_query( path = "/cosmos.gov.v1.Query/Constitution", @@ -435,8 +422,7 @@ pub struct GenesisState { pub struct QueryConstitutionRequest {} /// QueryConstitutionResponse is the response type for the Query/Constitution RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryConstitutionResponse")] pub struct QueryConstitutionResponse { #[prost(string, tag = "1")] @@ -444,8 +430,7 @@ pub struct QueryConstitutionResponse { } /// QueryProposalRequest is the request type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryProposalRequest")] #[proto_query( path = "/cosmos.gov.v1.Query/Proposal", @@ -463,8 +448,7 @@ pub struct QueryProposalRequest { } /// QueryProposalResponse is the response type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryProposalResponse")] pub struct QueryProposalResponse { /// proposal is the requested governance proposal. @@ -473,8 +457,7 @@ pub struct QueryProposalResponse { } /// QueryProposalsRequest is the request type for the Query/Proposals RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryProposalsRequest")] #[proto_query( path = "/cosmos.gov.v1.Query/Proposals", @@ -496,15 +479,12 @@ pub struct QueryProposalsRequest { pub depositor: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "4")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryProposalsResponse is the response type for the Query/Proposals RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryProposalsResponse")] pub struct QueryProposalsResponse { /// proposals defines all the requested governance proposals. @@ -512,14 +492,11 @@ pub struct QueryProposalsResponse { pub proposals: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryVoteRequest is the request type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryVoteRequest")] #[proto_query(path = "/cosmos.gov.v1.Query/Vote", response_type = QueryVoteResponse)] pub struct QueryVoteRequest { @@ -537,8 +514,7 @@ pub struct QueryVoteRequest { } /// QueryVoteResponse is the response type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryVoteResponse")] pub struct QueryVoteResponse { /// vote defines the queried vote. @@ -547,8 +523,7 @@ pub struct QueryVoteResponse { } /// QueryVotesRequest is the request type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryVotesRequest")] #[proto_query(path = "/cosmos.gov.v1.Query/Votes", response_type = QueryVotesResponse)] pub struct QueryVotesRequest { @@ -562,14 +537,11 @@ pub struct QueryVotesRequest { pub proposal_id: u64, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryVotesResponse is the response type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryVotesResponse")] pub struct QueryVotesResponse { /// votes defines the queried votes. @@ -577,14 +549,11 @@ pub struct QueryVotesResponse { pub votes: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryParamsRequest")] #[proto_query(path = "/cosmos.gov.v1.Query/Params", response_type = QueryParamsResponse)] pub struct QueryParamsRequest { @@ -595,8 +564,7 @@ pub struct QueryParamsRequest { } /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryParamsResponse")] pub struct QueryParamsResponse { /// Deprecated: Prefer to use `params` instead. @@ -622,8 +590,7 @@ pub struct QueryParamsResponse { } /// QueryDepositRequest is the request type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryDepositRequest")] #[proto_query( path = "/cosmos.gov.v1.Query/Deposit", @@ -644,8 +611,7 @@ pub struct QueryDepositRequest { } /// QueryDepositResponse is the response type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryDepositResponse")] pub struct QueryDepositResponse { /// deposit defines the requested deposit. @@ -654,8 +620,7 @@ pub struct QueryDepositResponse { } /// QueryDepositsRequest is the request type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryDepositsRequest")] #[proto_query( path = "/cosmos.gov.v1.Query/Deposits", @@ -672,14 +637,11 @@ pub struct QueryDepositsRequest { pub proposal_id: u64, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryDepositsResponse is the response type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryDepositsResponse")] pub struct QueryDepositsResponse { /// deposits defines the requested deposits. @@ -687,14 +649,11 @@ pub struct QueryDepositsResponse { pub deposits: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryTallyResultRequest")] #[proto_query( path = "/cosmos.gov.v1.Query/TallyResult", @@ -712,8 +671,7 @@ pub struct QueryTallyResultRequest { } /// QueryTallyResultResponse is the response type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.QueryTallyResultResponse")] pub struct QueryTallyResultResponse { /// tally defines the requested tally. @@ -723,8 +681,7 @@ pub struct QueryTallyResultResponse { /// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary /// proposal Content. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgSubmitProposal")] pub struct MsgSubmitProposal { /// messages are the arbitrary messages to be executed if proposal passes. @@ -757,8 +714,7 @@ pub struct MsgSubmitProposal { } /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgSubmitProposalResponse")] pub struct MsgSubmitProposalResponse { /// proposal_id defines the unique id of the proposal. @@ -773,8 +729,7 @@ pub struct MsgSubmitProposalResponse { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgExecLegacyContent")] pub struct MsgExecLegacyContent { /// content is the proposal's content. @@ -786,14 +741,12 @@ pub struct MsgExecLegacyContent { } /// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgExecLegacyContentResponse")] pub struct MsgExecLegacyContentResponse {} /// MsgVote defines a message to cast a vote. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgVote")] pub struct MsgVote { /// proposal_id defines the unique id of the proposal. @@ -820,14 +773,12 @@ pub struct MsgVote { } /// MsgVoteResponse defines the Msg/Vote response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgVoteResponse")] pub struct MsgVoteResponse {} /// MsgVoteWeighted defines a message to cast a vote. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgVoteWeighted")] pub struct MsgVoteWeighted { /// proposal_id defines the unique id of the proposal. @@ -850,14 +801,12 @@ pub struct MsgVoteWeighted { } /// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgVoteWeightedResponse")] pub struct MsgVoteWeightedResponse {} /// MsgDeposit defines a message to submit a deposit to an existing proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgDeposit")] pub struct MsgDeposit { /// proposal_id defines the unique id of the proposal. @@ -877,16 +826,14 @@ pub struct MsgDeposit { } /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgDepositResponse")] pub struct MsgDepositResponse {} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address that controls the module (defaults to x/gov unless overwritten). @@ -903,16 +850,14 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} /// MsgCancelProposal is the Msg/CancelProposal request type. /// /// Since: cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgCancelProposal")] pub struct MsgCancelProposal { /// proposal_id defines the unique id of the proposal. @@ -932,8 +877,7 @@ pub struct MsgCancelProposal { /// /// Since: cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1.MsgCancelProposalResponse")] pub struct MsgCancelProposalResponse { /// proposal_id defines the unique id of the proposal. @@ -962,28 +906,18 @@ impl<'a, Q: cosmwasm_std::CustomQuery> GovQuerier<'a, Q> { pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self { Self { querier } } - pub fn constitution( - &self, - ) -> Result { + pub fn constitution(&self) -> Result { QueryConstitutionRequest {}.query(self.querier) } - pub fn proposal( - &self, - proposal_id: u64, - ) -> Result { - QueryProposalRequest { - proposal_id, - } - .query(self.querier) + pub fn proposal(&self, proposal_id: u64) -> Result { + QueryProposalRequest { proposal_id }.query(self.querier) } pub fn proposals( &self, proposal_status: i32, voter: ::prost::alloc::string::String, depositor: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { QueryProposalsRequest { proposal_status, @@ -991,69 +925,32 @@ impl<'a, Q: cosmwasm_std::CustomQuery> GovQuerier<'a, Q> { depositor, pagination, } - .query(self.querier) + .query(self.querier) } - pub fn vote( - &self, - proposal_id: u64, - voter: ::prost::alloc::string::String, - ) -> Result { - QueryVoteRequest { - proposal_id, - voter, - } - .query(self.querier) + pub fn vote(&self, proposal_id: u64, voter: ::prost::alloc::string::String) -> Result { + QueryVoteRequest { proposal_id, voter }.query(self.querier) } pub fn votes( &self, proposal_id: u64, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryVotesRequest { - proposal_id, - pagination, - } - .query(self.querier) + QueryVotesRequest { proposal_id, pagination }.query(self.querier) } - pub fn params( - &self, - params_type: ::prost::alloc::string::String, - ) -> Result { + pub fn params(&self, params_type: ::prost::alloc::string::String) -> Result { QueryParamsRequest { params_type }.query(self.querier) } - pub fn deposit( - &self, - proposal_id: u64, - depositor: ::prost::alloc::string::String, - ) -> Result { - QueryDepositRequest { - proposal_id, - depositor, - } - .query(self.querier) + pub fn deposit(&self, proposal_id: u64, depositor: ::prost::alloc::string::String) -> Result { + QueryDepositRequest { proposal_id, depositor }.query(self.querier) } pub fn deposits( &self, proposal_id: u64, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryDepositsRequest { - proposal_id, - pagination, - } - .query(self.querier) + QueryDepositsRequest { proposal_id, pagination }.query(self.querier) } - pub fn tally_result( - &self, - proposal_id: u64, - ) -> Result { - QueryTallyResultRequest { - proposal_id, - } - .query(self.querier) + pub fn tally_result(&self, proposal_id: u64) -> Result { + QueryTallyResultRequest { proposal_id }.query(self.querier) } } diff --git a/packages/injective-std/src/types/cosmos/gov/v1beta1.rs b/packages/injective-std/src/types/cosmos/gov/v1beta1.rs index a1898371..8f57455b 100644 --- a/packages/injective-std/src/types/cosmos/gov/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/gov/v1beta1.rs @@ -3,8 +3,7 @@ use injective_std_derive::CosmwasmExt; /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.WeightedVoteOption")] pub struct WeightedVoteOption { /// option defines the valid vote options, it must not contain duplicate vote options. @@ -21,8 +20,7 @@ pub struct WeightedVoteOption { /// TextProposal defines a standard text proposal whose changes need to be /// manually updated in case of approval. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.TextProposal")] pub struct TextProposal { /// title of the proposal. @@ -35,8 +33,7 @@ pub struct TextProposal { /// Deposit defines an amount deposited by an account address to an active /// proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.Deposit")] pub struct Deposit { /// proposal_id defines the unique id of the proposal. @@ -56,8 +53,7 @@ pub struct Deposit { } /// Proposal defines the core field members of a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.Proposal")] pub struct Proposal { /// proposal_id defines the unique id of the proposal. @@ -101,8 +97,7 @@ pub struct Proposal { } /// TallyResult defines a standard tally for a governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.TallyResult")] pub struct TallyResult { /// yes is the number of yes votes on a proposal. @@ -121,8 +116,7 @@ pub struct TallyResult { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.Vote")] pub struct Vote { /// proposal_id defines the unique id of the proposal. @@ -154,8 +148,7 @@ pub struct Vote { } /// DepositParams defines the params for deposits on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.DepositParams")] pub struct DepositParams { /// Minimum deposit for a proposal to enter voting period. @@ -168,8 +161,7 @@ pub struct DepositParams { } /// VotingParams defines the params for voting on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.VotingParams")] pub struct VotingParams { /// Duration of the voting period. @@ -178,8 +170,7 @@ pub struct VotingParams { } /// TallyParams defines the params for tallying votes on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.TallyParams")] pub struct TallyParams { /// Minimum percentage of total stake needed to vote for a result to be @@ -289,8 +280,7 @@ impl ProposalStatus { } /// GenesisState defines the gov module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.GenesisState")] pub struct GenesisState { /// starting_proposal_id is the ID of the starting proposal. @@ -322,8 +312,7 @@ pub struct GenesisState { } /// QueryProposalRequest is the request type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryProposalRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/Proposal", @@ -341,8 +330,7 @@ pub struct QueryProposalRequest { } /// QueryProposalResponse is the response type for the Query/Proposal RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryProposalResponse")] pub struct QueryProposalResponse { #[prost(message, optional, tag = "1")] @@ -350,8 +338,7 @@ pub struct QueryProposalResponse { } /// QueryProposalsRequest is the request type for the Query/Proposals RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryProposalsRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/Proposals", @@ -373,15 +360,12 @@ pub struct QueryProposalsRequest { pub depositor: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "4")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryProposalsResponse is the response type for the Query/Proposals RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryProposalsResponse")] pub struct QueryProposalsResponse { /// proposals defines all the requested governance proposals. @@ -389,14 +373,11 @@ pub struct QueryProposalsResponse { pub proposals: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryVoteRequest is the request type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryVoteRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/Vote", @@ -417,8 +398,7 @@ pub struct QueryVoteRequest { } /// QueryVoteResponse is the response type for the Query/Vote RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryVoteResponse")] pub struct QueryVoteResponse { /// vote defines the queried vote. @@ -427,8 +407,7 @@ pub struct QueryVoteResponse { } /// QueryVotesRequest is the request type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryVotesRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/Votes", @@ -445,14 +424,11 @@ pub struct QueryVotesRequest { pub proposal_id: u64, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryVotesResponse is the response type for the Query/Votes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryVotesResponse")] pub struct QueryVotesResponse { /// votes defines the queried votes. @@ -460,14 +436,11 @@ pub struct QueryVotesResponse { pub votes: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryParamsRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/Params", @@ -481,8 +454,7 @@ pub struct QueryParamsRequest { } /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryParamsResponse")] pub struct QueryParamsResponse { /// voting_params defines the parameters related to voting. @@ -497,8 +469,7 @@ pub struct QueryParamsResponse { } /// QueryDepositRequest is the request type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryDepositRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/Deposit", @@ -519,8 +490,7 @@ pub struct QueryDepositRequest { } /// QueryDepositResponse is the response type for the Query/Deposit RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryDepositResponse")] pub struct QueryDepositResponse { /// deposit defines the requested deposit. @@ -529,8 +499,7 @@ pub struct QueryDepositResponse { } /// QueryDepositsRequest is the request type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryDepositsRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/Deposits", @@ -547,14 +516,11 @@ pub struct QueryDepositsRequest { pub proposal_id: u64, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryDepositsResponse is the response type for the Query/Deposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryDepositsResponse")] pub struct QueryDepositsResponse { /// deposits defines the requested deposits. @@ -562,14 +528,11 @@ pub struct QueryDepositsResponse { pub deposits: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryTallyResultRequest")] #[proto_query( path = "/cosmos.gov.v1beta1.Query/TallyResult", @@ -587,8 +550,7 @@ pub struct QueryTallyResultRequest { } /// QueryTallyResultResponse is the response type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.QueryTallyResultResponse")] pub struct QueryTallyResultResponse { /// tally defines the requested tally. @@ -598,8 +560,7 @@ pub struct QueryTallyResultResponse { /// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary /// proposal Content. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgSubmitProposal")] pub struct MsgSubmitProposal { /// content is the proposal's content. @@ -614,8 +575,7 @@ pub struct MsgSubmitProposal { } /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgSubmitProposalResponse")] pub struct MsgSubmitProposalResponse { /// proposal_id defines the unique id of the proposal. @@ -629,8 +589,7 @@ pub struct MsgSubmitProposalResponse { } /// MsgVote defines a message to cast a vote. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgVote")] pub struct MsgVote { /// proposal_id defines the unique id of the proposal. @@ -654,16 +613,14 @@ pub struct MsgVote { } /// MsgVoteResponse defines the Msg/Vote response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgVoteResponse")] pub struct MsgVoteResponse {} /// MsgVoteWeighted defines a message to cast a vote. /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgVoteWeighted")] pub struct MsgVoteWeighted { /// proposal_id defines the unique id of the proposal. @@ -685,14 +642,12 @@ pub struct MsgVoteWeighted { /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgVoteWeightedResponse")] pub struct MsgVoteWeightedResponse {} /// MsgDeposit defines a message to submit a deposit to an existing proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgDeposit")] pub struct MsgDeposit { /// proposal_id defines the unique id of the proposal. @@ -712,8 +667,7 @@ pub struct MsgDeposit { } /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.gov.v1beta1.MsgDepositResponse")] pub struct MsgDepositResponse {} pub struct GovQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -723,23 +677,15 @@ impl<'a, Q: cosmwasm_std::CustomQuery> GovQuerier<'a, Q> { pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self { Self { querier } } - pub fn proposal( - &self, - proposal_id: u64, - ) -> Result { - QueryProposalRequest { - proposal_id, - } - .query(self.querier) + pub fn proposal(&self, proposal_id: u64) -> Result { + QueryProposalRequest { proposal_id }.query(self.querier) } pub fn proposals( &self, proposal_status: i32, voter: ::prost::alloc::string::String, depositor: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { QueryProposalsRequest { proposal_status, @@ -747,69 +693,32 @@ impl<'a, Q: cosmwasm_std::CustomQuery> GovQuerier<'a, Q> { depositor, pagination, } - .query(self.querier) + .query(self.querier) } - pub fn vote( - &self, - proposal_id: u64, - voter: ::prost::alloc::string::String, - ) -> Result { - QueryVoteRequest { - proposal_id, - voter, - } - .query(self.querier) + pub fn vote(&self, proposal_id: u64, voter: ::prost::alloc::string::String) -> Result { + QueryVoteRequest { proposal_id, voter }.query(self.querier) } pub fn votes( &self, proposal_id: u64, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryVotesRequest { - proposal_id, - pagination, - } - .query(self.querier) + QueryVotesRequest { proposal_id, pagination }.query(self.querier) } - pub fn params( - &self, - params_type: ::prost::alloc::string::String, - ) -> Result { + pub fn params(&self, params_type: ::prost::alloc::string::String) -> Result { QueryParamsRequest { params_type }.query(self.querier) } - pub fn deposit( - &self, - proposal_id: u64, - depositor: ::prost::alloc::string::String, - ) -> Result { - QueryDepositRequest { - proposal_id, - depositor, - } - .query(self.querier) + pub fn deposit(&self, proposal_id: u64, depositor: ::prost::alloc::string::String) -> Result { + QueryDepositRequest { proposal_id, depositor }.query(self.querier) } pub fn deposits( &self, proposal_id: u64, - pagination: ::core::option::Option< - super::super::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryDepositsRequest { - proposal_id, - pagination, - } - .query(self.querier) + QueryDepositsRequest { proposal_id, pagination }.query(self.querier) } - pub fn tally_result( - &self, - proposal_id: u64, - ) -> Result { - QueryTallyResultRequest { - proposal_id, - } - .query(self.querier) + pub fn tally_result(&self, proposal_id: u64) -> Result { + QueryTallyResultRequest { proposal_id }.query(self.querier) } } diff --git a/packages/injective-std/src/types/cosmos/params/module/v1.rs b/packages/injective-std/src/types/cosmos/params/module/v1.rs index 8cfdd835..b197cf1e 100644 --- a/packages/injective-std/src/types/cosmos/params/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/params/module/v1.rs @@ -1,7 +1,6 @@ use injective_std_derive::CosmwasmExt; /// Module is the config object of the params module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.module.v1.Module")] pub struct Module {} diff --git a/packages/injective-std/src/types/cosmos/params/v1beta1.rs b/packages/injective-std/src/types/cosmos/params/v1beta1.rs index 3c600b75..92ca9c6a 100644 --- a/packages/injective-std/src/types/cosmos/params/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/params/v1beta1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// ParameterChangeProposal defines a proposal to change one or more parameters. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.v1beta1.ParameterChangeProposal")] pub struct ParameterChangeProposal { #[prost(string, tag = "1")] @@ -15,8 +14,7 @@ pub struct ParameterChangeProposal { /// ParamChange defines an individual parameter change, for use in /// ParameterChangeProposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.v1beta1.ParamChange")] pub struct ParamChange { #[prost(string, tag = "1")] @@ -28,8 +26,7 @@ pub struct ParamChange { } /// QueryParamsRequest is request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.v1beta1.QueryParamsRequest")] #[proto_query( path = "/cosmos.params.v1beta1.Query/Params", @@ -45,8 +42,7 @@ pub struct QueryParamsRequest { } /// QueryParamsResponse is response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.v1beta1.QueryParamsResponse")] pub struct QueryParamsResponse { /// param defines the queried parameter. @@ -58,8 +54,7 @@ pub struct QueryParamsResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.v1beta1.QuerySubspacesRequest")] #[proto_query( path = "/cosmos.params.v1beta1.Query/Subspaces", @@ -71,8 +66,7 @@ pub struct QuerySubspacesRequest {} /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.v1beta1.QuerySubspacesResponse")] pub struct QuerySubspacesResponse { #[prost(message, repeated, tag = "1")] @@ -83,8 +77,7 @@ pub struct QuerySubspacesResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.params.v1beta1.Subspace")] pub struct Subspace { #[prost(string, tag = "1")] @@ -104,11 +97,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ParamsQuerier<'a, Q> { subspace: ::prost::alloc::string::String, key: ::prost::alloc::string::String, ) -> Result { - QueryParamsRequest { - subspace, - key, - } - .query(self.querier) + QueryParamsRequest { subspace, key }.query(self.querier) } pub fn subspaces(&self) -> Result { QuerySubspacesRequest {}.query(self.querier) diff --git a/packages/injective-std/src/types/cosmos/staking/v1beta1.rs b/packages/injective-std/src/types/cosmos/staking/v1beta1.rs index 5eef9fee..c19b38a3 100644 --- a/packages/injective-std/src/types/cosmos/staking/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/staking/v1beta1.rs @@ -7,8 +7,7 @@ struct HistoricalInfo {} /// CommissionRates defines the initial commission rates to be used for creating /// a validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.CommissionRates")] pub struct CommissionRates { /// rate is the commission rate charged to delegators, as a fraction. @@ -23,8 +22,7 @@ pub struct CommissionRates { } /// Commission defines commission parameters for a given validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.Commission")] pub struct Commission { /// commission_rates defines the initial commission rates to be used for creating a validator. @@ -36,8 +34,7 @@ pub struct Commission { } /// Description defines a validator description. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.Description")] pub struct Description { /// moniker defines a human-readable name for the validator. @@ -65,8 +62,7 @@ pub struct Description { /// exchange rate. Voting power can be calculated as total bonded shares /// multiplied by exchange rate. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.Validator")] pub struct Validator { /// operator_address defines the address of the validator's operator; bech encoded in JSON. @@ -126,8 +122,7 @@ pub struct Validator { } /// ValAddresses defines a repeated set of validator addresses. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.ValAddresses")] pub struct ValAddresses { #[prost(string, repeated, tag = "1")] @@ -137,8 +132,7 @@ pub struct ValAddresses { /// 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. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.DVPair")] pub struct DvPair { #[prost(string, tag = "1")] @@ -148,8 +142,7 @@ pub struct DvPair { } /// DVPairs defines an array of DVPair objects. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.DVPairs")] pub struct DvPairs { #[prost(message, repeated, tag = "1")] @@ -160,8 +153,7 @@ pub struct DvPairs { /// example, a DVVTriplet can be used to construct the key to getting a /// Redelegation from state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.DVVTriplet")] pub struct DvvTriplet { #[prost(string, tag = "1")] @@ -173,8 +165,7 @@ pub struct DvvTriplet { } /// DVVTriplets defines an array of DVVTriplet objects. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.DVVTriplets")] pub struct DvvTriplets { #[prost(message, repeated, tag = "1")] @@ -184,8 +175,7 @@ pub struct DvvTriplets { /// owned by one delegator, and is associated with the voting power of one /// validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.Delegation")] pub struct Delegation { /// delegator_address is the encoded address of the delegator. @@ -201,8 +191,7 @@ pub struct Delegation { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.UnbondingDelegation")] pub struct UnbondingDelegation { /// delegator_address is the encoded address of the delegator. @@ -219,8 +208,7 @@ pub struct UnbondingDelegation { } /// UnbondingDelegationEntry defines an unbonding object with relevant metadata. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.UnbondingDelegationEntry")] pub struct UnbondingDelegationEntry { /// creation_height is the height which the unbonding took place. @@ -257,8 +245,7 @@ pub struct UnbondingDelegationEntry { } /// RedelegationEntry defines a redelegation object with relevant metadata. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.RedelegationEntry")] pub struct RedelegationEntry { /// creation_height defines the height which the redelegation took place. @@ -296,8 +283,7 @@ pub struct RedelegationEntry { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.Redelegation")] pub struct Redelegation { /// delegator_address is the bech32-encoded address of the delegator. @@ -317,8 +303,7 @@ pub struct Redelegation { } /// Params defines the parameters for the x/staking module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.Params")] pub struct Params { /// unbonding_time is the time duration of unbonding. @@ -355,8 +340,7 @@ pub struct Params { /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.DelegationResponse")] pub struct DelegationResponse { #[prost(message, optional, tag = "1")] @@ -368,8 +352,7 @@ pub struct DelegationResponse { /// contains a balance in addition to shares which is more suitable for client /// responses. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.RedelegationEntryResponse")] pub struct RedelegationEntryResponse { #[prost(message, optional, tag = "1")] @@ -381,8 +364,7 @@ pub struct RedelegationEntryResponse { /// contain a balance in addition to shares which is more suitable for client /// responses. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.RedelegationResponse")] pub struct RedelegationResponse { #[prost(message, optional, tag = "1")] @@ -393,8 +375,7 @@ pub struct RedelegationResponse { /// Pool is used for tracking bonded and not-bonded token supply of the bond /// denomination. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.Pool")] pub struct Pool { #[prost(string, tag = "1")] @@ -481,8 +462,7 @@ impl Infraction { } /// GenesisState defines the staking module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of related to deposit. @@ -514,8 +494,7 @@ pub struct GenesisState { } /// LastValidatorPower required for validator set update logic. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.LastValidatorPower")] pub struct LastValidatorPower { /// address is the address of the validator. @@ -531,8 +510,7 @@ pub struct LastValidatorPower { } /// MsgCreateValidator defines a SDK message for creating a new validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgCreateValidator")] pub struct MsgCreateValidator { #[prost(message, optional, tag = "1")] @@ -556,14 +534,12 @@ pub struct MsgCreateValidator { } /// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgCreateValidatorResponse")] pub struct MsgCreateValidatorResponse {} /// MsgEditValidator defines a SDK message for editing an existing validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgEditValidator")] pub struct MsgEditValidator { #[prost(message, optional, tag = "1")] @@ -581,15 +557,13 @@ pub struct MsgEditValidator { } /// MsgEditValidatorResponse defines the Msg/EditValidator response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgEditValidatorResponse")] pub struct MsgEditValidatorResponse {} /// MsgDelegate defines a SDK message for performing a delegation of coins /// from a delegator to a validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgDelegate")] pub struct MsgDelegate { #[prost(string, tag = "1")] @@ -601,15 +575,13 @@ pub struct MsgDelegate { } /// MsgDelegateResponse defines the Msg/Delegate response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgDelegateResponse")] pub struct MsgDelegateResponse {} /// 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)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgBeginRedelegate")] pub struct MsgBeginRedelegate { #[prost(string, tag = "1")] @@ -623,8 +595,7 @@ pub struct MsgBeginRedelegate { } /// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse")] pub struct MsgBeginRedelegateResponse { #[prost(message, optional, tag = "1")] @@ -633,8 +604,7 @@ pub struct MsgBeginRedelegateResponse { /// MsgUndelegate defines a SDK message for performing an undelegation from a /// delegate and a validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgUndelegate")] pub struct MsgUndelegate { #[prost(string, tag = "1")] @@ -646,8 +616,7 @@ pub struct MsgUndelegate { } /// MsgUndelegateResponse defines the Msg/Undelegate response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgUndelegateResponse")] pub struct MsgUndelegateResponse { #[prost(message, optional, tag = "1")] @@ -662,8 +631,7 @@ pub struct MsgUndelegateResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation")] pub struct MsgCancelUnbondingDelegation { #[prost(string, tag = "1")] @@ -685,18 +653,14 @@ pub struct MsgCancelUnbondingDelegation { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse")] pub struct MsgCancelUnbondingDelegationResponse {} /// MsgUpdateParams is the Msg/UpdateParams request type. /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address that controls the module (defaults to x/gov unless overwritten). @@ -713,7 +677,6 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmos.staking.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} diff --git a/packages/injective-std/src/types/cosmwasm/wasm/v1.rs b/packages/injective-std/src/types/cosmwasm/wasm/v1.rs index d31d1bed..3c62164c 100644 --- a/packages/injective-std/src/types/cosmwasm/wasm/v1.rs +++ b/packages/injective-std/src/types/cosmwasm/wasm/v1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// AccessTypeParam #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.AccessTypeParamAccessTypeParam")] pub struct AccessTypeParam { #[prost(enumeration = "AccessType", tag = "1")] @@ -14,8 +13,7 @@ pub struct AccessTypeParam { } /// AccessConfig access control type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.AccessConfigAccessConfig")] pub struct AccessConfig { #[prost(enumeration = "AccessType", tag = "1")] @@ -29,8 +27,7 @@ pub struct AccessConfig { } /// Params defines the set of wasm parameters. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.ParamsParams")] pub struct Params { #[prost(message, optional, tag = "1")] @@ -44,8 +41,7 @@ pub struct Params { } /// CodeInfo is data for the uploaded contract WASM code #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.CodeInfoCodeInfo")] pub struct CodeInfo { /// CodeHash is the unique identifier created by wasmvm @@ -60,8 +56,7 @@ pub struct CodeInfo { } /// ContractInfo stores a WASM contract instance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.ContractInfoContractInfo")] pub struct ContractInfo { /// CodeID is the reference to the stored Wasm code @@ -94,11 +89,8 @@ pub struct ContractInfo { } /// ContractCodeHistoryEntry metadata to a contract. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.ContractCodeHistoryEntryContractCodeHistoryEntry" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.ContractCodeHistoryEntryContractCodeHistoryEntry")] pub struct ContractCodeHistoryEntry { #[prost(enumeration = "ContractCodeHistoryOperationType", tag = "1")] #[serde( @@ -123,8 +115,7 @@ pub struct ContractCodeHistoryEntry { /// AbsoluteTxPosition is a unique transaction position that allows for global /// ordering of transactions. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.AbsoluteTxPositionAbsoluteTxPosition")] pub struct AbsoluteTxPosition { /// BlockHeight is the block the contract was created at @@ -145,8 +136,7 @@ pub struct AbsoluteTxPosition { } /// Model is a struct that holds a KV pair #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.ModelModel")] pub struct Model { /// hex-encode key to read it better (this is often ascii) @@ -158,8 +148,7 @@ pub struct Model { } /// EventCodeStored is emitted when contract code is checked and stored #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.EventCodeStored")] pub struct EventCodeStored { /// CodeID is the reference to the stored Wasm code @@ -180,8 +169,7 @@ pub struct EventCodeStored { } /// EventContractInstantiated is emitted when contract is instantiated #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.EventContractInstantiated")] pub struct EventContractInstantiated { #[prost(string, tag = "1")] @@ -197,9 +185,7 @@ pub struct EventContractInstantiated { pub code_id: u64, /// Funds coins that are transferred to the contract on instantiation #[prost(message, repeated, tag = "4")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, #[prost(bytes = "vec", tag = "5")] pub msg: ::prost::alloc::vec::Vec, #[prost(string, tag = "6")] @@ -209,8 +195,7 @@ pub struct EventContractInstantiated { } /// EventContractMigrated is emitted when a contract get migrated to another code #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.EventContractMigrated")] pub struct EventContractMigrated { #[prost(uint64, tag = "1")] @@ -227,8 +212,7 @@ pub struct EventContractMigrated { } /// EventContractAdminSet is emitted when new admin is set #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.EventContractAdminSet")] pub struct EventContractAdminSet { #[prost(string, tag = "1")] @@ -295,18 +279,10 @@ impl ContractCodeHistoryOperationType { /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - ContractCodeHistoryOperationType::Unspecified => { - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED" - } - ContractCodeHistoryOperationType::Init => { - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT" - } - ContractCodeHistoryOperationType::Migrate => { - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE" - } - ContractCodeHistoryOperationType::Genesis => { - "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS" - } + ContractCodeHistoryOperationType::Unspecified => "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED", + ContractCodeHistoryOperationType::Init => "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT", + ContractCodeHistoryOperationType::Migrate => "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE", + ContractCodeHistoryOperationType::Genesis => "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -323,8 +299,7 @@ impl ContractCodeHistoryOperationType { /// StoreCodeAuthorization defines authorization for wasm code upload. /// Since: wasmd 0.42 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.StoreCodeAuthorization")] pub struct StoreCodeAuthorization { /// Grants for code upload @@ -334,8 +309,7 @@ pub struct StoreCodeAuthorization { /// ContractExecutionAuthorization defines authorization for wasm execute. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.ContractExecutionAuthorization")] pub struct ContractExecutionAuthorization { /// Grants for contract executions @@ -345,8 +319,7 @@ pub struct ContractExecutionAuthorization { /// ContractMigrationAuthorization defines authorization for wasm contract /// migration. Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.ContractMigrationAuthorization")] pub struct ContractMigrationAuthorization { /// Grants for contract migrations @@ -355,8 +328,7 @@ pub struct ContractMigrationAuthorization { } /// CodeGrant a granted permission for a single code #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.CodeGrant")] pub struct CodeGrant { /// CodeHash is the unique identifier created by wasmvm @@ -372,8 +344,7 @@ pub struct CodeGrant { /// ContractGrant a granted permission for a single contract /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.ContractGrant")] pub struct ContractGrant { /// Contract is the bech32 address of the smart contract @@ -392,8 +363,7 @@ pub struct ContractGrant { /// MaxCallsLimit limited number of calls to the contract. No funds transferable. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MaxCallsLimit")] pub struct MaxCallsLimit { /// Remaining number that is decremented on each execution @@ -407,22 +377,18 @@ pub struct MaxCallsLimit { /// MaxFundsLimit defines the maximal amounts that can be sent to the contract. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MaxFundsLimit")] pub struct MaxFundsLimit { /// Amounts is the maximal amount of tokens transferable to the contract. #[prost(message, repeated, tag = "1")] - pub amounts: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub amounts: ::prost::alloc::vec::Vec, } /// 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 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.CombinedLimit")] pub struct CombinedLimit { /// Remaining number that is decremented on each execution @@ -434,24 +400,20 @@ pub struct CombinedLimit { pub calls_remaining: u64, /// Amounts is the maximal amount of tokens transferable to the contract. #[prost(message, repeated, tag = "2")] - pub amounts: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub amounts: ::prost::alloc::vec::Vec, } /// 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, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.AllowAllMessagesFilter")] pub struct AllowAllMessagesFilter {} /// AcceptedMessageKeysFilter accept only the specific contract message keys in /// the json object to be executed. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.AcceptedMessageKeysFilter")] pub struct AcceptedMessageKeysFilter { /// Messages is the list of unique keys @@ -462,8 +424,7 @@ pub struct AcceptedMessageKeysFilter { /// executed. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.AcceptedMessagesFilter")] pub struct AcceptedMessagesFilter { /// Messages is the list of raw contract messages @@ -472,8 +433,7 @@ pub struct AcceptedMessagesFilter { } /// GenesisState - genesis state of x/wasm #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.GenesisState")] pub struct GenesisState { #[prost(message, optional, tag = "1")] @@ -487,8 +447,7 @@ pub struct GenesisState { } /// Code struct encompasses CodeInfo and CodeBytes #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.Code")] pub struct Code { #[prost(uint64, tag = "1")] @@ -508,8 +467,7 @@ pub struct Code { } /// Contract struct encompasses ContractAddress, ContractInfo, and ContractState #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.Contract")] pub struct Contract { #[prost(string, tag = "1")] @@ -523,8 +481,7 @@ pub struct Contract { } /// Sequence key and value of an id generation counter #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.Sequence")] pub struct Sequence { #[prost(bytes = "vec", tag = "1")] @@ -538,8 +495,7 @@ pub struct Sequence { } /// MsgIBCSend #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgIBCSend")] pub struct MsgIbcSend { /// the channel by which the packet will be sent @@ -568,8 +524,7 @@ pub struct MsgIbcSend { } /// MsgIBCSendResponse #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgIBCSendResponse")] pub struct MsgIbcSendResponse { /// Sequence number of the IBC packet sent @@ -582,14 +537,12 @@ pub struct MsgIbcSendResponse { } /// MsgIBCWriteAcknowledgementResponse #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgIBCWriteAcknowledgementResponse")] pub struct MsgIbcWriteAcknowledgementResponse {} /// MsgIBCCloseChannel port and channel need to be owned by the contract #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgIBCCloseChannel")] pub struct MsgIbcCloseChannel { #[prost(string, tag = "2")] @@ -600,8 +553,7 @@ pub struct MsgIbcCloseChannel { /// a simple MsgStoreCode can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.StoreCodeProposalStoreCodeProposal")] #[deprecated] pub struct StoreCodeProposal { @@ -640,11 +592,8 @@ pub struct StoreCodeProposal { /// a simple MsgInstantiateContract can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.InstantiateContractProposalInstantiateContractProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.InstantiateContractProposalInstantiateContractProposal")] #[deprecated] pub struct InstantiateContractProposal { /// Title is a short summary @@ -675,20 +624,15 @@ pub struct InstantiateContractProposal { pub msg: ::prost::alloc::vec::Vec, /// Funds coins that are transferred to the contract on instantiation #[prost(message, repeated, tag = "8")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, } /// 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 /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.InstantiateContract2ProposalInstantiateContract2Proposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.InstantiateContract2ProposalInstantiateContract2Proposal")] #[deprecated] pub struct InstantiateContract2Proposal { /// Title is a short summary @@ -719,9 +663,7 @@ pub struct InstantiateContract2Proposal { pub msg: ::prost::alloc::vec::Vec, /// Funds coins that are transferred to the contract on instantiation #[prost(message, repeated, tag = "8")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, /// Salt is an arbitrary value provided by the sender. Size can be 1 to 64. #[prost(bytes = "vec", tag = "9")] pub salt: ::prost::alloc::vec::Vec, @@ -735,11 +677,8 @@ pub struct InstantiateContract2Proposal { /// a simple MsgMigrateContract can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.MigrateContractProposalMigrateContractProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.MigrateContractProposalMigrateContractProposal")] #[deprecated] pub struct MigrateContractProposal { /// Title is a short summary @@ -770,8 +709,7 @@ pub struct MigrateContractProposal { /// a simple MsgSudoContract can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.SudoContractProposalSudoContractProposal")] #[deprecated] pub struct SudoContractProposal { @@ -793,11 +731,8 @@ pub struct SudoContractProposal { /// a simple MsgExecuteContract can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.ExecuteContractProposalExecuteContractProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.ExecuteContractProposalExecuteContractProposal")] #[deprecated] pub struct ExecuteContractProposal { /// Title is a short summary @@ -817,17 +752,14 @@ pub struct ExecuteContractProposal { pub msg: ::prost::alloc::vec::Vec, /// Funds coins that are transferred to the contract on instantiation #[prost(message, repeated, tag = "6")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, } /// 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 /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.UpdateAdminProposalUpdateAdminProposal")] #[deprecated] pub struct UpdateAdminProposal { @@ -849,8 +781,7 @@ pub struct UpdateAdminProposal { /// a simple MsgClearAdmin can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.ClearAdminProposalClearAdminProposal")] #[deprecated] pub struct ClearAdminProposal { @@ -869,8 +800,7 @@ pub struct ClearAdminProposal { /// cache, a simple MsgPinCodes can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.PinCodesProposalPinCodesProposal")] #[deprecated] pub struct PinCodesProposal { @@ -890,8 +820,7 @@ pub struct PinCodesProposal { /// cache, a simple MsgUnpinCodes can be invoked from the x/gov module via /// a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.UnpinCodesProposalUnpinCodesProposal")] #[deprecated] pub struct UnpinCodesProposal { @@ -909,8 +838,7 @@ pub struct UnpinCodesProposal { /// AccessConfigUpdate contains the code id and the access config to be /// applied. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.AccessConfigUpdateAccessConfigUpdate")] pub struct AccessConfigUpdate { /// CodeID is the reference to the stored WASM code to be updated @@ -930,11 +858,8 @@ pub struct AccessConfigUpdate { /// to a set of code ids, a simple MsgUpdateInstantiateConfig can be invoked from /// the x/gov module via a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.UpdateInstantiateConfigProposalUpdateInstantiateConfigProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.UpdateInstantiateConfigProposalUpdateInstantiateConfigProposal")] #[deprecated] pub struct UpdateInstantiateConfigProposal { /// Title is a short summary @@ -953,11 +878,8 @@ pub struct UpdateInstantiateConfigProposal { /// the contract, a simple MsgStoreAndInstantiateContract can be invoked from /// the x/gov module via a v1 governance proposal. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.StoreAndInstantiateContractProposalStoreAndInstantiateContractProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.StoreAndInstantiateContractProposalStoreAndInstantiateContractProposal")] #[deprecated] pub struct StoreAndInstantiateContractProposal { /// Title is a short summary @@ -989,9 +911,7 @@ pub struct StoreAndInstantiateContractProposal { pub msg: ::prost::alloc::vec::Vec, /// Funds coins that are transferred to the contract on instantiation #[prost(message, repeated, tag = "10")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, /// Source is the URL where the code is hosted #[prost(string, tag = "11")] pub source: ::prost::alloc::string::String, @@ -1007,8 +927,7 @@ pub struct StoreAndInstantiateContractProposal { /// QueryContractInfoRequest is the request type for the Query/ContractInfo RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractInfoRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/ContractInfo", @@ -1022,8 +941,7 @@ pub struct QueryContractInfoRequest { /// QueryContractInfoResponse is the response type for the Query/ContractInfo RPC /// method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractInfoResponse")] pub struct QueryContractInfoResponse { /// address is the address of the contract @@ -1035,8 +953,7 @@ pub struct QueryContractInfoResponse { /// QueryContractHistoryRequest is the request type for the Query/ContractHistory /// RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractHistoryRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/ContractHistory", @@ -1048,30 +965,24 @@ pub struct QueryContractHistoryRequest { pub address: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryContractHistoryResponse is the response type for the /// Query/ContractHistory RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractHistoryResponse")] pub struct QueryContractHistoryResponse { #[prost(message, repeated, tag = "1")] pub entries: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryContractsByCodeRequest is the request type for the Query/ContractsByCode /// RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractsByCodeRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/ContractsByCode", @@ -1088,15 +999,12 @@ pub struct QueryContractsByCodeRequest { pub code_id: u64, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryContractsByCodeResponse is the response type for the /// Query/ContractsByCode RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractsByCodeResponse")] pub struct QueryContractsByCodeResponse { /// contracts are a set of contract addresses @@ -1104,15 +1012,12 @@ pub struct QueryContractsByCodeResponse { pub contracts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryAllContractStateRequest is the request type for the /// Query/AllContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryAllContractStateRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/AllContractState", @@ -1124,30 +1029,24 @@ pub struct QueryAllContractStateRequest { pub address: ::prost::alloc::string::String, /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryAllContractStateResponse is the response type for the /// Query/AllContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryAllContractStateResponse")] pub struct QueryAllContractStateResponse { #[prost(message, repeated, tag = "1")] pub models: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryRawContractStateRequest is the request type for the /// Query/RawContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryRawContractStateRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/RawContractState", @@ -1163,8 +1062,7 @@ pub struct QueryRawContractStateRequest { /// QueryRawContractStateResponse is the response type for the /// Query/RawContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryRawContractStateResponse")] pub struct QueryRawContractStateResponse { /// Data contains the raw store data @@ -1174,8 +1072,7 @@ pub struct QueryRawContractStateResponse { /// QuerySmartContractStateRequest is the request type for the /// Query/SmartContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QuerySmartContractStateRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/SmartContractState", @@ -1192,8 +1089,7 @@ pub struct QuerySmartContractStateRequest { /// QuerySmartContractStateResponse is the response type for the /// Query/SmartContractState RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QuerySmartContractStateResponse")] pub struct QuerySmartContractStateResponse { /// Data contains the json data returned from the smart contract @@ -1202,8 +1098,7 @@ pub struct QuerySmartContractStateResponse { } /// QueryCodeRequest is the request type for the Query/Code RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryCodeRequest")] #[proto_query(path = "/cosmwasm.wasm.v1.Query/Code", response_type = QueryCodeResponse)] pub struct QueryCodeRequest { @@ -1218,8 +1113,7 @@ pub struct QueryCodeRequest { } /// CodeInfoResponse contains code meta data from CodeInfo #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.CodeInfoResponse")] pub struct CodeInfoResponse { /// id for legacy support @@ -1239,8 +1133,7 @@ pub struct CodeInfoResponse { } /// QueryCodeResponse is the response type for the Query/Code RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryCodeResponse")] pub struct QueryCodeResponse { #[prost(message, optional, tag = "1")] @@ -1250,8 +1143,7 @@ pub struct QueryCodeResponse { } /// QueryCodesRequest is the request type for the Query/Codes RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryCodesRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/Codes", @@ -1260,29 +1152,23 @@ pub struct QueryCodeResponse { pub struct QueryCodesRequest { /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "1")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryCodesResponse is the response type for the Query/Codes RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryCodesResponse")] pub struct QueryCodesResponse { #[prost(message, repeated, tag = "1")] pub code_infos: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryPinnedCodesRequest is the request type for the Query/PinnedCodes /// RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryPinnedCodesRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/PinnedCodes", @@ -1291,15 +1177,12 @@ pub struct QueryCodesResponse { pub struct QueryPinnedCodesRequest { /// pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryPinnedCodesResponse is the response type for the /// Query/PinnedCodes RPC method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryPinnedCodesResponse")] pub struct QueryPinnedCodesResponse { #[prost(uint64, repeated, packed = "false", tag = "1")] @@ -1307,14 +1190,11 @@ pub struct QueryPinnedCodesResponse { pub code_ids: ::prost::alloc::vec::Vec, /// pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryParamsRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/Params", @@ -1323,8 +1203,7 @@ pub struct QueryPinnedCodesResponse { pub struct QueryParamsRequest {} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryParamsResponse")] pub struct QueryParamsResponse { /// params defines the parameters of the module. @@ -1334,8 +1213,7 @@ pub struct QueryParamsResponse { /// QueryContractsByCreatorRequest is the request type for the /// Query/ContractsByCreator RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractsByCreatorRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/ContractsByCreator", @@ -1347,15 +1225,12 @@ pub struct QueryContractsByCreatorRequest { pub creator_address: ::prost::alloc::string::String, /// Pagination defines an optional pagination for the request. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pub pagination: ::core::option::Option, } /// QueryContractsByCreatorResponse is the response type for the /// Query/ContractsByCreator RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryContractsByCreatorResponse")] pub struct QueryContractsByCreatorResponse { /// ContractAddresses result set @@ -1363,15 +1238,12 @@ pub struct QueryContractsByCreatorResponse { pub contract_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// Pagination defines the pagination in the response. #[prost(message, optional, tag = "2")] - pub pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageResponse, - >, + pub pagination: ::core::option::Option, } /// QueryBuildAddressRequest is the request type for the Query/BuildAddress RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryBuildAddressRequest")] #[proto_query( path = "/cosmwasm.wasm.v1.Query/BuildAddress", @@ -1395,8 +1267,7 @@ pub struct QueryBuildAddressRequest { /// QueryBuildAddressResponse is the response type for the Query/BuildAddress RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.QueryBuildAddressResponse")] pub struct QueryBuildAddressResponse { /// Address is the contract address @@ -1405,8 +1276,7 @@ pub struct QueryBuildAddressResponse { } /// MsgStoreCode submit Wasm code to the system #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgStoreCode")] pub struct MsgStoreCode { /// Sender is the actor that signed the messages @@ -1422,8 +1292,7 @@ pub struct MsgStoreCode { } /// MsgStoreCodeResponse returns store result data. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgStoreCodeResponse")] pub struct MsgStoreCodeResponse { /// CodeID is the reference to the stored WASM code @@ -1441,8 +1310,7 @@ pub struct MsgStoreCodeResponse { /// MsgInstantiateContract create a new smart contract instance for the given /// code id. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgInstantiateContract")] pub struct MsgInstantiateContract { /// Sender is the that actor that signed the messages @@ -1467,14 +1335,11 @@ pub struct MsgInstantiateContract { pub msg: ::prost::alloc::vec::Vec, /// Funds coins that are transferred to the contract on instantiation #[prost(message, repeated, tag = "6")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, } /// MsgInstantiateContractResponse return instantiation result data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgInstantiateContractResponse")] pub struct MsgInstantiateContractResponse { /// Address is the bech32 address of the new contract instance. @@ -1487,8 +1352,7 @@ pub struct MsgInstantiateContractResponse { /// MsgInstantiateContract2 create a new smart contract instance for the given /// code id with a predicable address. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgInstantiateContract2")] pub struct MsgInstantiateContract2 { /// Sender is the that actor that signed the messages @@ -1513,9 +1377,7 @@ pub struct MsgInstantiateContract2 { pub msg: ::prost::alloc::vec::Vec, /// Funds coins that are transferred to the contract on instantiation #[prost(message, repeated, tag = "6")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, /// Salt is an arbitrary value provided by the sender. Size can be 1 to 64. #[prost(bytes = "vec", tag = "7")] pub salt: ::prost::alloc::vec::Vec, @@ -1526,8 +1388,7 @@ pub struct MsgInstantiateContract2 { } /// MsgInstantiateContract2Response return instantiation result data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgInstantiateContract2Response")] pub struct MsgInstantiateContract2Response { /// Address is the bech32 address of the new contract instance. @@ -1539,8 +1400,7 @@ pub struct MsgInstantiateContract2Response { } /// MsgExecuteContract submits the given message data to a smart contract #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgExecuteContract")] pub struct MsgExecuteContract { /// Sender is the that actor that signed the messages @@ -1554,14 +1414,11 @@ pub struct MsgExecuteContract { pub msg: ::prost::alloc::vec::Vec, /// Funds coins that are transferred to the contract on execution #[prost(message, repeated, tag = "5")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, } /// MsgExecuteContractResponse returns execution result data. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgExecuteContractResponse")] pub struct MsgExecuteContractResponse { /// Data contains bytes to returned from the contract @@ -1570,8 +1427,7 @@ pub struct MsgExecuteContractResponse { } /// MsgMigrateContract runs a code upgrade/ downgrade for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgMigrateContract")] pub struct MsgMigrateContract { /// Sender is the that actor that signed the messages @@ -1594,8 +1450,7 @@ pub struct MsgMigrateContract { } /// MsgMigrateContractResponse returns contract migration result data. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgMigrateContractResponse")] pub struct MsgMigrateContractResponse { /// Data contains same raw bytes returned as data from the wasm contract. @@ -1605,8 +1460,7 @@ pub struct MsgMigrateContractResponse { } /// MsgUpdateAdmin sets a new admin for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateAdmin")] pub struct MsgUpdateAdmin { /// Sender is the that actor that signed the messages @@ -1621,14 +1475,12 @@ pub struct MsgUpdateAdmin { } /// MsgUpdateAdminResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateAdminResponse")] pub struct MsgUpdateAdminResponse {} /// MsgClearAdmin removes any admin stored for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgClearAdmin")] pub struct MsgClearAdmin { /// Sender is the actor that signed the messages @@ -1640,14 +1492,12 @@ pub struct MsgClearAdmin { } /// MsgClearAdminResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgClearAdminResponse")] pub struct MsgClearAdminResponse {} /// MsgUpdateInstantiateConfig updates instantiate config for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateInstantiateConfig")] pub struct MsgUpdateInstantiateConfig { /// Sender is the that actor that signed the messages @@ -1667,16 +1517,14 @@ pub struct MsgUpdateInstantiateConfig { } /// MsgUpdateInstantiateConfigResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse")] pub struct MsgUpdateInstantiateConfigResponse {} /// MsgUpdateParams is the MsgUpdateParams request type. /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateParams")] pub struct MsgUpdateParams { /// Authority is the address of the governance account. @@ -1693,16 +1541,14 @@ pub struct MsgUpdateParams { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} /// MsgSudoContract is the MsgSudoContract request type. /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgSudoContract")] pub struct MsgSudoContract { /// Authority is the address of the governance account. @@ -1720,8 +1566,7 @@ pub struct MsgSudoContract { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgSudoContractResponse")] pub struct MsgSudoContractResponse { /// Data contains bytes to returned from the contract @@ -1732,8 +1577,7 @@ pub struct MsgSudoContractResponse { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgPinCodes")] pub struct MsgPinCodes { /// Authority is the address of the governance account. @@ -1749,16 +1593,14 @@ pub struct MsgPinCodes { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgPinCodesResponse")] pub struct MsgPinCodesResponse {} /// MsgUnpinCodes is the MsgUnpinCodes request type. /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUnpinCodes")] pub struct MsgUnpinCodes { /// Authority is the address of the governance account. @@ -1774,8 +1616,7 @@ pub struct MsgUnpinCodes { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUnpinCodesResponse")] pub struct MsgUnpinCodesResponse {} /// MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract @@ -1783,8 +1624,7 @@ pub struct MsgUnpinCodesResponse {} /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgStoreAndInstantiateContract")] pub struct MsgStoreAndInstantiateContract { /// Authority is the address of the governance account. @@ -1812,9 +1652,7 @@ pub struct MsgStoreAndInstantiateContract { /// Funds coins that are transferred from the authority account to the contract /// on instantiation #[prost(message, repeated, tag = "9")] - pub funds: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds: ::prost::alloc::vec::Vec, /// Source is the URL where the code is hosted #[prost(string, tag = "10")] pub source: ::prost::alloc::string::String, @@ -1832,8 +1670,7 @@ pub struct MsgStoreAndInstantiateContract { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse")] pub struct MsgStoreAndInstantiateContractResponse { /// Address is the bech32 address of the new contract instance. @@ -1846,8 +1683,7 @@ pub struct MsgStoreAndInstantiateContractResponse { /// MsgAddCodeUploadParamsAddresses is the /// MsgAddCodeUploadParamsAddresses request type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses")] pub struct MsgAddCodeUploadParamsAddresses { /// Authority is the address of the governance account. @@ -1859,15 +1695,13 @@ pub struct MsgAddCodeUploadParamsAddresses { /// MsgAddCodeUploadParamsAddressesResponse defines the response /// structure for executing a MsgAddCodeUploadParamsAddresses message. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse")] pub struct MsgAddCodeUploadParamsAddressesResponse {} /// MsgRemoveCodeUploadParamsAddresses is the /// MsgRemoveCodeUploadParamsAddresses request type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses")] pub struct MsgRemoveCodeUploadParamsAddresses { /// Authority is the address of the governance account. @@ -1879,19 +1713,15 @@ pub struct MsgRemoveCodeUploadParamsAddresses { /// MsgRemoveCodeUploadParamsAddressesResponse defines the response /// structure for executing a MsgRemoveCodeUploadParamsAddresses message. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse")] pub struct MsgRemoveCodeUploadParamsAddressesResponse {} /// MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract /// request type. /// /// Since: 0.42 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgStoreAndMigrateContract")] pub struct MsgStoreAndMigrateContract { /// Authority is the address of the governance account. @@ -1915,8 +1745,7 @@ pub struct MsgStoreAndMigrateContract { /// /// Since: 0.42 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse")] pub struct MsgStoreAndMigrateContractResponse { /// CodeID is the reference to the stored WASM code @@ -1936,8 +1765,7 @@ pub struct MsgStoreAndMigrateContractResponse { } /// MsgUpdateContractLabel sets a new label for a smart contract #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateContractLabel")] pub struct MsgUpdateContractLabel { /// Sender is the that actor that signed the messages @@ -1952,8 +1780,7 @@ pub struct MsgUpdateContractLabel { } /// MsgUpdateContractLabelResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/cosmwasm.wasm.v1.MsgUpdateContractLabelResponse")] pub struct MsgUpdateContractLabelResponse {} pub struct WasmQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -1963,100 +1790,58 @@ impl<'a, Q: cosmwasm_std::CustomQuery> WasmQuerier<'a, Q> { pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self { Self { querier } } - pub fn contract_info( - &self, - address: ::prost::alloc::string::String, - ) -> Result { - QueryContractInfoRequest { - address, - } - .query(self.querier) + pub fn contract_info(&self, address: ::prost::alloc::string::String) -> Result { + QueryContractInfoRequest { address }.query(self.querier) } pub fn contract_history( &self, address: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryContractHistoryRequest { - address, - pagination, - } - .query(self.querier) + QueryContractHistoryRequest { address, pagination }.query(self.querier) } pub fn contracts_by_code( &self, code_id: u64, - pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryContractsByCodeRequest { - code_id, - pagination, - } - .query(self.querier) + QueryContractsByCodeRequest { code_id, pagination }.query(self.querier) } pub fn all_contract_state( &self, address: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryAllContractStateRequest { - address, - pagination, - } - .query(self.querier) + QueryAllContractStateRequest { address, pagination }.query(self.querier) } pub fn raw_contract_state( &self, address: ::prost::alloc::string::String, query_data: ::prost::alloc::vec::Vec, ) -> Result { - QueryRawContractStateRequest { - address, - query_data, - } - .query(self.querier) + QueryRawContractStateRequest { address, query_data }.query(self.querier) } pub fn smart_contract_state( &self, address: ::prost::alloc::string::String, query_data: ::prost::alloc::vec::Vec, ) -> Result { - QuerySmartContractStateRequest { - address, - query_data, - } - .query(self.querier) + QuerySmartContractStateRequest { address, query_data }.query(self.querier) } - pub fn code( - &self, - code_id: u64, - ) -> Result { + pub fn code(&self, code_id: u64) -> Result { QueryCodeRequest { code_id }.query(self.querier) } pub fn codes( &self, - pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { QueryCodesRequest { pagination }.query(self.querier) } pub fn pinned_codes( &self, - pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryPinnedCodesRequest { - pagination, - } - .query(self.querier) + QueryPinnedCodesRequest { pagination }.query(self.querier) } pub fn params(&self) -> Result { QueryParamsRequest {}.query(self.querier) @@ -2064,15 +1849,9 @@ impl<'a, Q: cosmwasm_std::CustomQuery> WasmQuerier<'a, Q> { pub fn contracts_by_creator( &self, creator_address: ::prost::alloc::string::String, - pagination: ::core::option::Option< - super::super::super::cosmos::base::query::v1beta1::PageRequest, - >, + pagination: ::core::option::Option, ) -> Result { - QueryContractsByCreatorRequest { - creator_address, - pagination, - } - .query(self.querier) + QueryContractsByCreatorRequest { creator_address, pagination }.query(self.querier) } pub fn build_address( &self, @@ -2087,6 +1866,6 @@ impl<'a, Q: cosmwasm_std::CustomQuery> WasmQuerier<'a, Q> { salt, init_args, } - .query(self.querier) + .query(self.querier) } } diff --git a/packages/injective-std/src/types/injective/auction/v1beta1.rs b/packages/injective-std/src/types/injective/auction/v1beta1.rs index cf2fb4ab..80938a41 100644 --- a/packages/injective-std/src/types/injective/auction/v1beta1.rs +++ b/packages/injective-std/src/types/injective/auction/v1beta1.rs @@ -1,7 +1,6 @@ use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.Params")] pub struct Params { /// auction_period_duration defines the auction period duration @@ -19,8 +18,7 @@ pub struct Params { pub inj_basket_max_cap: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.Bid")] pub struct Bid { #[prost(string, tag = "1")] @@ -29,8 +27,7 @@ pub struct Bid { pub amount: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.LastAuctionResult")] pub struct LastAuctionResult { /// winner describes the address of the winner @@ -48,8 +45,7 @@ pub struct LastAuctionResult { pub round: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.EventBid")] pub struct EventBid { /// bidder describes the address of bidder @@ -67,8 +63,7 @@ pub struct EventBid { pub round: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.EventAuctionResult")] pub struct EventAuctionResult { /// winner describes the address of the winner @@ -86,8 +81,7 @@ pub struct EventAuctionResult { pub round: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.EventAuctionStart")] pub struct EventAuctionStart { /// round defines the round number of auction @@ -107,14 +101,11 @@ pub struct EventAuctionStart { /// new_basket describes auction module balance at the time of new auction /// start #[prost(message, repeated, tag = "3")] - pub new_basket: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub new_basket: ::prost::alloc::vec::Vec, } /// GenesisState defines the auction module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of related to auction. @@ -144,8 +135,7 @@ pub struct GenesisState { /// QueryAuctionParamsRequest is the request type for the Query/AuctionParams RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.QueryAuctionParamsRequest")] #[proto_query( path = "/injective.auction.v1beta1.Query/AuctionParams", @@ -155,8 +145,7 @@ pub struct QueryAuctionParamsRequest {} /// QueryAuctionParamsRequest is the response type for the Query/AuctionParams /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.QueryAuctionParamsResponse")] pub struct QueryAuctionParamsResponse { #[prost(message, optional, tag = "1")] @@ -165,11 +154,8 @@ pub struct QueryAuctionParamsResponse { /// QueryCurrentAuctionBasketRequest is the request type for the /// Query/CurrentAuctionBasket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.auction.v1beta1.QueryCurrentAuctionBasketRequest" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.auction.v1beta1.QueryCurrentAuctionBasketRequest")] #[proto_query( path = "/injective.auction.v1beta1.Query/CurrentAuctionBasket", response_type = QueryCurrentAuctionBasketResponse @@ -178,17 +164,12 @@ pub struct QueryCurrentAuctionBasketRequest {} /// QueryCurrentAuctionBasketResponse is the response type for the /// Query/CurrentAuctionBasket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.auction.v1beta1.QueryCurrentAuctionBasketResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.auction.v1beta1.QueryCurrentAuctionBasketResponse")] pub struct QueryCurrentAuctionBasketResponse { /// amount describes the amount put on auction #[prost(message, repeated, tag = "1")] - pub amount: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub amount: ::prost::alloc::vec::Vec, /// auctionRound describes current auction round #[prost(uint64, tag = "2")] #[serde( @@ -213,8 +194,7 @@ pub struct QueryCurrentAuctionBasketResponse { /// QueryModuleStateRequest is the request type for the Query/AuctionModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.QueryModuleStateRequest")] #[proto_query( path = "/injective.auction.v1beta1.Query/AuctionModuleState", @@ -224,16 +204,14 @@ pub struct QueryModuleStateRequest {} /// QueryModuleStateResponse is the response type for the /// Query/AuctionModuleState RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.QueryModuleStateResponse")] pub struct QueryModuleStateResponse { #[prost(message, optional, tag = "1")] pub state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.QueryLastAuctionResultRequest")] #[proto_query( path = "/injective.auction.v1beta1.Query/LastAuctionResult", @@ -241,8 +219,7 @@ pub struct QueryModuleStateResponse { )] pub struct QueryLastAuctionResultRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.QueryLastAuctionResultResponse")] pub struct QueryLastAuctionResultResponse { #[prost(message, optional, tag = "1")] @@ -250,17 +227,14 @@ pub struct QueryLastAuctionResultResponse { } /// Bid defines a SDK message for placing a bid for an auction #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.MsgBid")] pub struct MsgBid { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, /// amount of the bid in INJ tokens #[prost(message, optional, tag = "2")] - pub bid_amount: ::core::option::Option< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub bid_amount: ::core::option::Option, /// the current auction round being bid on #[prost(uint64, tag = "3")] #[serde( @@ -270,13 +244,11 @@ pub struct MsgBid { pub round: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.MsgBidResponse")] pub struct MsgBidResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address of the governance account. @@ -289,8 +261,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} pub struct AuctionQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -300,26 +271,16 @@ impl<'a, Q: cosmwasm_std::CustomQuery> AuctionQuerier<'a, Q> { pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self { Self { querier } } - pub fn auction_params( - &self, - ) -> Result { + pub fn auction_params(&self) -> Result { QueryAuctionParamsRequest {}.query(self.querier) } - pub fn current_auction_basket( - &self, - ) -> Result { - QueryCurrentAuctionBasketRequest { - } - .query(self.querier) + pub fn current_auction_basket(&self) -> Result { + QueryCurrentAuctionBasketRequest {}.query(self.querier) } - pub fn auction_module_state( - &self, - ) -> Result { + pub fn auction_module_state(&self) -> Result { QueryModuleStateRequest {}.query(self.querier) } - pub fn last_auction_result( - &self, - ) -> Result { + pub fn last_auction_result(&self) -> Result { QueryLastAuctionResultRequest {}.query(self.querier) } } diff --git a/packages/injective-std/src/types/injective/exchange/v1beta1.rs b/packages/injective-std/src/types/injective/exchange/v1beta1.rs index 6e5c36d7..8477ae2f 100644 --- a/packages/injective-std/src/types/injective/exchange/v1beta1.rs +++ b/packages/injective-std/src/types/injective/exchange/v1beta1.rs @@ -1,8 +1,7 @@ use injective_std_derive::CosmwasmExt; /// spot authz messages #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.CreateSpotLimitOrderAuthz")] pub struct CreateSpotLimitOrderAuthz { #[prost(string, tag = "1")] @@ -13,8 +12,7 @@ pub struct CreateSpotLimitOrderAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.CreateSpotMarketOrderAuthz")] pub struct CreateSpotMarketOrderAuthz { #[prost(string, tag = "1")] @@ -25,11 +23,8 @@ pub struct CreateSpotMarketOrderAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.BatchCreateSpotLimitOrdersAuthz" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.BatchCreateSpotLimitOrdersAuthz")] pub struct BatchCreateSpotLimitOrdersAuthz { #[prost(string, tag = "1")] #[serde(alias = "subaccountID")] @@ -39,8 +34,7 @@ pub struct BatchCreateSpotLimitOrdersAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.CancelSpotOrderAuthz")] pub struct CancelSpotOrderAuthz { #[prost(string, tag = "1")] @@ -51,8 +45,7 @@ pub struct CancelSpotOrderAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.BatchCancelSpotOrdersAuthz")] pub struct BatchCancelSpotOrdersAuthz { #[prost(string, tag = "1")] @@ -64,11 +57,8 @@ pub struct BatchCancelSpotOrdersAuthz { } /// derivative authz messages #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.CreateDerivativeLimitOrderAuthz" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.CreateDerivativeLimitOrderAuthz")] pub struct CreateDerivativeLimitOrderAuthz { #[prost(string, tag = "1")] #[serde(alias = "subaccountID")] @@ -78,11 +68,8 @@ pub struct CreateDerivativeLimitOrderAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.CreateDerivativeMarketOrderAuthz" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.CreateDerivativeMarketOrderAuthz")] pub struct CreateDerivativeMarketOrderAuthz { #[prost(string, tag = "1")] #[serde(alias = "subaccountID")] @@ -92,11 +79,8 @@ pub struct CreateDerivativeMarketOrderAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.BatchCreateDerivativeLimitOrdersAuthz" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.BatchCreateDerivativeLimitOrdersAuthz")] pub struct BatchCreateDerivativeLimitOrdersAuthz { #[prost(string, tag = "1")] #[serde(alias = "subaccountID")] @@ -106,8 +90,7 @@ pub struct BatchCreateDerivativeLimitOrdersAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.CancelDerivativeOrderAuthz")] pub struct CancelDerivativeOrderAuthz { #[prost(string, tag = "1")] @@ -118,11 +101,8 @@ pub struct CancelDerivativeOrderAuthz { pub market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.BatchCancelDerivativeOrdersAuthz" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.BatchCancelDerivativeOrdersAuthz")] pub struct BatchCancelDerivativeOrdersAuthz { #[prost(string, tag = "1")] #[serde(alias = "subaccountID")] @@ -133,8 +113,7 @@ pub struct BatchCancelDerivativeOrdersAuthz { } /// common authz message used in both spot & derivative markets #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.BatchUpdateOrdersAuthz")] pub struct BatchUpdateOrdersAuthz { #[prost(string, tag = "1")] @@ -146,22 +125,17 @@ pub struct BatchUpdateOrdersAuthz { pub derivative_markets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.Params")] pub struct Params { /// spot_market_instant_listing_fee defines the expedited fee in INJ required /// to create a spot market by bypassing governance #[prost(message, optional, tag = "1")] - pub spot_market_instant_listing_fee: ::core::option::Option< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub spot_market_instant_listing_fee: ::core::option::Option, /// derivative_market_instant_listing_fee defines the expedited fee in INJ /// required to create a derivative market by bypassing governance #[prost(message, optional, tag = "2")] - pub derivative_market_instant_listing_fee: ::core::option::Option< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub derivative_market_instant_listing_fee: ::core::option::Option, /// default_spot_maker_fee defines the default exchange trade fee for makers on /// a spot market #[prost(string, tag = "3")] @@ -240,9 +214,7 @@ pub struct Params { /// binary_options_market_instant_listing_fee defines the expedited fee in INJ /// required to create a derivative market by bypassing governance #[prost(message, optional, tag = "18")] - pub binary_options_market_instant_listing_fee: ::core::option::Option< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub binary_options_market_instant_listing_fee: ::core::option::Option, /// atomic_market_order_access_level defines the required access permissions /// for executing atomic market orders #[prost(enumeration = "AtomicMarketOrderAccessLevel", tag = "19")] @@ -292,8 +264,7 @@ pub struct Params { pub inj_auction_max_cap: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MarketFeeMultiplier")] pub struct MarketFeeMultiplier { #[prost(string, tag = "1")] @@ -304,8 +275,7 @@ pub struct MarketFeeMultiplier { } /// An object describing a derivative market in the Injective Futures Protocol. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeMarket")] pub struct DerivativeMarket { /// Ticker for the derivative contract. @@ -392,8 +362,7 @@ pub struct DerivativeMarket { } /// An object describing a binary options market in Injective Protocol. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.BinaryOptionsMarket")] pub struct BinaryOptionsMarket { /// Ticker for the derivative contract. @@ -483,8 +452,7 @@ pub struct BinaryOptionsMarket { pub admin_permissions: u32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.ExpiryFuturesMarketInfo")] pub struct ExpiryFuturesMarketInfo { /// market ID. @@ -517,8 +485,7 @@ pub struct ExpiryFuturesMarketInfo { pub settlement_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PerpetualMarketInfo")] pub struct PerpetualMarketInfo { /// market ID. @@ -550,8 +517,7 @@ pub struct PerpetualMarketInfo { pub funding_interval: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PerpetualMarketFunding")] pub struct PerpetualMarketFunding { /// cumulative_funding defines the cumulative funding of a perpetual market. @@ -569,8 +535,7 @@ pub struct PerpetualMarketFunding { pub last_timestamp: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeMarketSettlementInfo")] pub struct DerivativeMarketSettlementInfo { /// market ID. @@ -582,8 +547,7 @@ pub struct DerivativeMarketSettlementInfo { pub settlement_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.NextFundingTimestamp")] pub struct NextFundingTimestamp { #[prost(int64, tag = "1")] @@ -594,8 +558,7 @@ pub struct NextFundingTimestamp { pub next_timestamp: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MidPriceAndTOB")] pub struct MidPriceAndTob { /// mid price of the market @@ -610,8 +573,7 @@ pub struct MidPriceAndTob { } /// An object describing trade pair of two assets. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotMarket")] pub struct SpotMarket { /// A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote @@ -670,8 +632,7 @@ pub struct SpotMarket { } /// A subaccount's deposit for a given base currency #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.Deposit")] pub struct Deposit { #[prost(string, tag = "1")] @@ -680,8 +641,7 @@ pub struct Deposit { pub total_balance: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountTradeNonce")] pub struct SubaccountTradeNonce { #[prost(uint32, tag = "1")] @@ -692,8 +652,7 @@ pub struct SubaccountTradeNonce { pub nonce: u32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.OrderInfo")] pub struct OrderInfo { /// bytes32 subaccount ID that created the order @@ -713,8 +672,7 @@ pub struct OrderInfo { pub cid: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotOrder")] pub struct SpotOrder { /// market_id represents the unique ID of the market @@ -737,8 +695,7 @@ pub struct SpotOrder { } /// A valid Spot limit order with Metadata. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotLimitOrder")] pub struct SpotLimitOrder { /// order_info contains the information of the order @@ -762,8 +719,7 @@ pub struct SpotLimitOrder { } /// A valid Spot market order with Metadata. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotMarketOrder")] pub struct SpotMarketOrder { /// order_info contains the information of the order @@ -785,8 +741,7 @@ pub struct SpotMarketOrder { pub trigger_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeOrder")] pub struct DerivativeOrder { /// market_id represents the unique ID of the market @@ -811,8 +766,7 @@ pub struct DerivativeOrder { pub trigger_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountOrderbookMetadata")] pub struct SubaccountOrderbookMetadata { #[prost(uint32, tag = "1")] @@ -849,8 +803,7 @@ pub struct SubaccountOrderbookMetadata { pub reduce_only_conditional_order_count: u32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountOrder")] pub struct SubaccountOrder { /// price of the order @@ -865,8 +818,7 @@ pub struct SubaccountOrder { pub cid: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountOrderData")] pub struct SubaccountOrderData { #[prost(message, optional, tag = "1")] @@ -876,8 +828,7 @@ pub struct SubaccountOrderData { } /// A valid Derivative limit order with Metadata. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeLimitOrder")] pub struct DerivativeLimitOrder { /// order_info contains the information of the order @@ -904,8 +855,7 @@ pub struct DerivativeLimitOrder { } /// A valid Derivative market order with Metadata. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeMarketOrder")] pub struct DerivativeMarketOrder { /// order_info contains the information of the order @@ -929,8 +879,7 @@ pub struct DerivativeMarketOrder { pub order_hash: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.Position")] pub struct Position { #[prost(bool, tag = "1")] @@ -945,8 +894,7 @@ pub struct Position { pub cumulative_funding_entry: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MarketOrderIndicator")] pub struct MarketOrderIndicator { /// market_id represents the unique ID of the market @@ -957,8 +905,7 @@ pub struct MarketOrderIndicator { pub is_buy: bool, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TradeLog")] pub struct TradeLog { #[prost(string, tag = "1")] @@ -979,8 +926,7 @@ pub struct TradeLog { pub cid: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PositionDelta")] pub struct PositionDelta { #[prost(bool, tag = "1")] @@ -993,8 +939,7 @@ pub struct PositionDelta { pub execution_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeTradeLog")] pub struct DerivativeTradeLog { #[prost(bytes = "vec", tag = "1")] @@ -1016,8 +961,7 @@ pub struct DerivativeTradeLog { pub pnl: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountPosition")] pub struct SubaccountPosition { #[prost(message, optional, tag = "1")] @@ -1027,8 +971,7 @@ pub struct SubaccountPosition { pub subaccount_id: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountDeposit")] pub struct SubaccountDeposit { #[prost(bytes = "vec", tag = "1")] @@ -1038,8 +981,7 @@ pub struct SubaccountDeposit { pub deposit: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DepositUpdate")] pub struct DepositUpdate { #[prost(string, tag = "1")] @@ -1048,8 +990,7 @@ pub struct DepositUpdate { pub deposits: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PointsMultiplier")] pub struct PointsMultiplier { #[prost(string, tag = "1")] @@ -1058,28 +999,22 @@ pub struct PointsMultiplier { pub taker_points_multiplier: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TradingRewardCampaignBoostInfo")] pub struct TradingRewardCampaignBoostInfo { #[prost(string, repeated, tag = "1")] #[serde(alias = "boosted_spot_marketIDs")] - pub boosted_spot_market_ids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub boosted_spot_market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(message, repeated, tag = "2")] pub spot_market_multipliers: ::prost::alloc::vec::Vec, #[prost(string, repeated, tag = "3")] #[serde(alias = "boosted_derivative_marketIDs")] - pub boosted_derivative_market_ids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub boosted_derivative_market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(message, repeated, tag = "4")] pub derivative_market_multipliers: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.CampaignRewardPool")] pub struct CampaignRewardPool { #[prost(int64, tag = "1")] @@ -1091,13 +1026,10 @@ pub struct CampaignRewardPool { /// max_campaign_rewards are the maximum reward amounts to be disbursed at the /// end of the campaign #[prost(message, repeated, tag = "2")] - pub max_campaign_rewards: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub max_campaign_rewards: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TradingRewardCampaignInfo")] pub struct TradingRewardCampaignInfo { /// number of seconds of the duration of each campaign @@ -1112,19 +1044,14 @@ pub struct TradingRewardCampaignInfo { pub quote_denoms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// the optional boost info for markets #[prost(message, optional, tag = "3")] - pub trading_reward_boost_info: ::core::option::Option< - TradingRewardCampaignBoostInfo, - >, + pub trading_reward_boost_info: ::core::option::Option, /// the marketIDs which are disqualified from being rewarded #[prost(string, repeated, tag = "4")] #[serde(alias = "disqualified_marketIDs")] - pub disqualified_market_ids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub disqualified_market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FeeDiscountTierInfo")] pub struct FeeDiscountTierInfo { #[prost(string, tag = "1")] @@ -1137,8 +1064,7 @@ pub struct FeeDiscountTierInfo { pub volume: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FeeDiscountSchedule")] pub struct FeeDiscountSchedule { #[prost(uint64, tag = "1")] @@ -1164,13 +1090,10 @@ pub struct FeeDiscountSchedule { /// amount #[prost(string, repeated, tag = "5")] #[serde(alias = "disqualified_marketIDs")] - pub disqualified_market_ids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub disqualified_market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FeeDiscountTierTTL")] pub struct FeeDiscountTierTtl { #[prost(uint64, tag = "1")] @@ -1187,8 +1110,7 @@ pub struct FeeDiscountTierTtl { pub ttl_timestamp: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.VolumeRecord")] pub struct VolumeRecord { #[prost(string, tag = "1")] @@ -1197,20 +1119,16 @@ pub struct VolumeRecord { pub taker_volume: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.AccountRewards")] pub struct AccountRewards { #[prost(string, tag = "1")] pub account: ::prost::alloc::string::String, #[prost(message, repeated, tag = "2")] - pub rewards: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub rewards: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TradeRecords")] pub struct TradeRecords { #[prost(string, tag = "1")] @@ -1220,8 +1138,7 @@ pub struct TradeRecords { pub latest_trade_records: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountIDs")] pub struct SubaccountIDs { #[prost(bytes = "vec", repeated, tag = "1")] @@ -1229,8 +1146,7 @@ pub struct SubaccountIDs { pub subaccount_ids: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TradeRecord")] pub struct TradeRecord { #[prost(int64, tag = "1")] @@ -1245,8 +1161,7 @@ pub struct TradeRecord { pub quantity: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.Level")] pub struct Level { /// price @@ -1257,11 +1172,8 @@ pub struct Level { pub q: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.AggregateSubaccountVolumeRecord" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.AggregateSubaccountVolumeRecord")] pub struct AggregateSubaccountVolumeRecord { #[prost(string, tag = "1")] #[serde(alias = "subaccountID")] @@ -1270,8 +1182,7 @@ pub struct AggregateSubaccountVolumeRecord { pub market_volumes: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.AggregateAccountVolumeRecord")] pub struct AggregateAccountVolumeRecord { #[prost(string, tag = "1")] @@ -1280,8 +1191,7 @@ pub struct AggregateAccountVolumeRecord { pub market_volumes: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MarketVolume")] pub struct MarketVolume { #[prost(string, tag = "1")] @@ -1291,8 +1201,7 @@ pub struct MarketVolume { pub volume: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DenomDecimals")] pub struct DenomDecimals { #[prost(string, tag = "1")] @@ -1305,8 +1214,7 @@ pub struct DenomDecimals { pub decimals: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.GrantAuthorization")] pub struct GrantAuthorization { #[prost(string, tag = "1")] @@ -1315,8 +1223,7 @@ pub struct GrantAuthorization { pub amount: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.ActiveGrant")] pub struct ActiveGrant { #[prost(string, tag = "1")] @@ -1325,8 +1232,7 @@ pub struct ActiveGrant { pub amount: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EffectiveGrant")] pub struct EffectiveGrant { #[prost(string, tag = "1")] @@ -1354,9 +1260,7 @@ impl AtomicMarketOrderAccessLevel { pub fn as_str_name(&self) -> &'static str { match self { AtomicMarketOrderAccessLevel::Nobody => "Nobody", - AtomicMarketOrderAccessLevel::BeginBlockerSmartContractsOnly => { - "BeginBlockerSmartContractsOnly" - } + AtomicMarketOrderAccessLevel::BeginBlockerSmartContractsOnly => "BeginBlockerSmartContractsOnly", AtomicMarketOrderAccessLevel::SmartContractsOnly => "SmartContractsOnly", AtomicMarketOrderAccessLevel::Everyone => "Everyone", } @@ -1365,9 +1269,7 @@ impl AtomicMarketOrderAccessLevel { pub fn from_str_name(value: &str) -> ::core::option::Option { match value { "Nobody" => Some(Self::Nobody), - "BeginBlockerSmartContractsOnly" => { - Some(Self::BeginBlockerSmartContractsOnly) - } + "BeginBlockerSmartContractsOnly" => Some(Self::BeginBlockerSmartContractsOnly), "SmartContractsOnly" => Some(Self::SmartContractsOnly), "Everyone" => Some(Self::Everyone), _ => None, @@ -1554,8 +1456,7 @@ impl OrderMask { } } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventBatchSpotExecution")] pub struct EventBatchSpotExecution { #[prost(string, tag = "1")] @@ -1573,8 +1474,7 @@ pub struct EventBatchSpotExecution { pub trades: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventBatchDerivativeExecution")] pub struct EventBatchDerivativeExecution { #[prost(string, tag = "1")] @@ -1597,8 +1497,7 @@ pub struct EventBatchDerivativeExecution { pub trades: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventLostFundsFromLiquidation")] pub struct EventLostFundsFromLiquidation { #[prost(string, tag = "1")] @@ -1613,8 +1512,7 @@ pub struct EventLostFundsFromLiquidation { pub lost_funds_from_order_cancels: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventBatchDerivativePosition")] pub struct EventBatchDerivativePosition { #[prost(string, tag = "1")] @@ -1624,8 +1522,7 @@ pub struct EventBatchDerivativePosition { pub positions: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventDerivativeMarketPaused")] pub struct EventDerivativeMarketPaused { #[prost(string, tag = "1")] @@ -1639,8 +1536,7 @@ pub struct EventDerivativeMarketPaused { pub missing_funds_rate: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventMarketBeyondBankruptcy")] pub struct EventMarketBeyondBankruptcy { #[prost(string, tag = "1")] @@ -1652,8 +1548,7 @@ pub struct EventMarketBeyondBankruptcy { pub missing_market_funds: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventAllPositionsHaircut")] pub struct EventAllPositionsHaircut { #[prost(string, tag = "1")] @@ -1665,16 +1560,14 @@ pub struct EventAllPositionsHaircut { pub missing_funds_rate: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventBinaryOptionsMarketUpdate")] pub struct EventBinaryOptionsMarketUpdate { #[prost(message, optional, tag = "1")] pub market: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventNewSpotOrders")] pub struct EventNewSpotOrders { #[prost(string, tag = "1")] @@ -1686,8 +1579,7 @@ pub struct EventNewSpotOrders { pub sell_orders: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventNewDerivativeOrders")] pub struct EventNewDerivativeOrders { #[prost(string, tag = "1")] @@ -1699,8 +1591,7 @@ pub struct EventNewDerivativeOrders { pub sell_orders: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventCancelSpotOrder")] pub struct EventCancelSpotOrder { #[prost(string, tag = "1")] @@ -1710,16 +1601,14 @@ pub struct EventCancelSpotOrder { pub order: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventSpotMarketUpdate")] pub struct EventSpotMarketUpdate { #[prost(message, optional, tag = "1")] pub market: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventPerpetualMarketUpdate")] pub struct EventPerpetualMarketUpdate { #[prost(message, optional, tag = "1")] @@ -1730,8 +1619,7 @@ pub struct EventPerpetualMarketUpdate { pub funding: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventExpiryFuturesMarketUpdate")] pub struct EventExpiryFuturesMarketUpdate { #[prost(message, optional, tag = "1")] @@ -1740,11 +1628,8 @@ pub struct EventExpiryFuturesMarketUpdate { pub expiry_futures_market_info: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.EventPerpetualMarketFundingUpdate" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.EventPerpetualMarketFundingUpdate")] pub struct EventPerpetualMarketFundingUpdate { #[prost(string, tag = "1")] #[serde(alias = "marketID")] @@ -1759,8 +1644,7 @@ pub struct EventPerpetualMarketFundingUpdate { pub mark_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventSubaccountDeposit")] pub struct EventSubaccountDeposit { #[prost(string, tag = "1")] @@ -1772,8 +1656,7 @@ pub struct EventSubaccountDeposit { pub amount: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventSubaccountWithdraw")] pub struct EventSubaccountWithdraw { #[prost(bytes = "vec", tag = "1")] @@ -1785,8 +1668,7 @@ pub struct EventSubaccountWithdraw { pub amount: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventSubaccountBalanceTransfer")] pub struct EventSubaccountBalanceTransfer { #[prost(string, tag = "1")] @@ -1799,16 +1681,14 @@ pub struct EventSubaccountBalanceTransfer { pub amount: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventBatchDepositUpdate")] pub struct EventBatchDepositUpdate { #[prost(message, repeated, tag = "1")] pub deposit_updates: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeMarketOrderCancel")] pub struct DerivativeMarketOrderCancel { #[prost(message, optional, tag = "1")] @@ -1817,8 +1697,7 @@ pub struct DerivativeMarketOrderCancel { pub cancel_quantity: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventCancelDerivativeOrder")] pub struct EventCancelDerivativeOrder { #[prost(string, tag = "1")] @@ -1832,19 +1711,15 @@ pub struct EventCancelDerivativeOrder { pub market_order_cancel: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventFeeDiscountSchedule")] pub struct EventFeeDiscountSchedule { #[prost(message, optional, tag = "1")] pub schedule: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.EventTradingRewardCampaignUpdate" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.EventTradingRewardCampaignUpdate")] pub struct EventTradingRewardCampaignUpdate { #[prost(message, optional, tag = "1")] pub campaign_info: ::core::option::Option, @@ -1852,19 +1727,15 @@ pub struct EventTradingRewardCampaignUpdate { pub campaign_reward_pools: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventTradingRewardDistribution")] pub struct EventTradingRewardDistribution { #[prost(message, repeated, tag = "1")] pub account_rewards: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.EventNewConditionalDerivativeOrder" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.EventNewConditionalDerivativeOrder")] pub struct EventNewConditionalDerivativeOrder { #[prost(string, tag = "1")] #[serde(alias = "marketID")] @@ -1877,11 +1748,8 @@ pub struct EventNewConditionalDerivativeOrder { pub is_market: bool, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.EventCancelConditionalDerivativeOrder" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.EventCancelConditionalDerivativeOrder")] pub struct EventCancelConditionalDerivativeOrder { #[prost(string, tag = "1")] #[serde(alias = "marketID")] @@ -1894,11 +1762,8 @@ pub struct EventCancelConditionalDerivativeOrder { pub market_order: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.EventConditionalDerivativeOrderTrigger" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.EventConditionalDerivativeOrderTrigger")] pub struct EventConditionalDerivativeOrderTrigger { #[prost(bytes = "vec", tag = "1")] #[serde(alias = "marketID")] @@ -1913,8 +1778,7 @@ pub struct EventConditionalDerivativeOrderTrigger { pub triggered_order_cid: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventOrderFail")] pub struct EventOrderFail { #[prost(bytes = "vec", tag = "1")] @@ -1927,18 +1791,14 @@ pub struct EventOrderFail { pub cids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.EventAtomicMarketOrderFeeMultipliersUpdated" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.EventAtomicMarketOrderFeeMultipliersUpdated")] pub struct EventAtomicMarketOrderFeeMultipliersUpdated { #[prost(message, repeated, tag = "1")] pub market_fee_multipliers: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventOrderbookUpdate")] pub struct EventOrderbookUpdate { #[prost(message, repeated, tag = "1")] @@ -1947,8 +1807,7 @@ pub struct EventOrderbookUpdate { pub derivative_updates: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.OrderbookUpdate")] pub struct OrderbookUpdate { #[prost(uint64, tag = "1")] @@ -1961,8 +1820,7 @@ pub struct OrderbookUpdate { pub orderbook: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.Orderbook")] pub struct Orderbook { #[prost(bytes = "vec", tag = "1")] @@ -1974,8 +1832,7 @@ pub struct Orderbook { pub sell_levels: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventGrantAuthorizations")] pub struct EventGrantAuthorizations { #[prost(string, tag = "1")] @@ -1984,8 +1841,7 @@ pub struct EventGrantAuthorizations { pub grants: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventGrantActivation")] pub struct EventGrantActivation { #[prost(string, tag = "1")] @@ -1996,8 +1852,7 @@ pub struct EventGrantActivation { pub amount: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventInvalidGrant")] pub struct EventInvalidGrant { #[prost(string, tag = "1")] @@ -2006,8 +1861,7 @@ pub struct EventInvalidGrant { pub granter: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EventOrderCancelFail")] pub struct EventOrderCancelFail { #[prost(string, tag = "1")] @@ -2024,8 +1878,7 @@ pub struct EventOrderCancelFail { pub description: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgUpdateSpotMarket")] pub struct MsgUpdateSpotMarket { /// current admin address of the associated market @@ -2049,13 +1902,11 @@ pub struct MsgUpdateSpotMarket { pub new_min_notional: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgUpdateSpotMarketResponse")] pub struct MsgUpdateSpotMarketResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgUpdateDerivativeMarket")] pub struct MsgUpdateDerivativeMarket { /// current admin address of the associated market @@ -2085,15 +1936,11 @@ pub struct MsgUpdateDerivativeMarket { pub new_maintenance_margin_ratio: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse")] pub struct MsgUpdateDerivativeMarketResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address of the governance account. @@ -2106,15 +1953,13 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} /// MsgDeposit defines a SDK message for transferring coins from the sender's /// bank balance into the subaccount's exchange deposits #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgDeposit")] pub struct MsgDeposit { #[prost(string, tag = "1")] @@ -2129,15 +1974,13 @@ pub struct MsgDeposit { } /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgDepositResponse")] pub struct MsgDepositResponse {} /// MsgWithdraw defines a SDK message for withdrawing coins from a subaccount's /// deposits to the user's bank balance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgWithdraw")] pub struct MsgWithdraw { #[prost(string, tag = "1")] @@ -2151,15 +1994,13 @@ pub struct MsgWithdraw { } /// MsgWithdraw defines the Msg/Withdraw response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgWithdrawResponse")] pub struct MsgWithdrawResponse {} /// MsgCreateSpotLimitOrder defines a SDK message for creating a new spot limit /// order. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder")] pub struct MsgCreateSpotLimitOrder { #[prost(string, tag = "1")] @@ -2170,11 +2011,8 @@ pub struct MsgCreateSpotLimitOrder { /// MsgCreateSpotLimitOrderResponse defines the Msg/CreateSpotOrder response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse")] pub struct MsgCreateSpotLimitOrderResponse { #[prost(string, tag = "1")] pub order_hash: ::prost::alloc::string::String, @@ -2184,8 +2022,7 @@ pub struct MsgCreateSpotLimitOrderResponse { /// MsgBatchCreateSpotLimitOrders defines a SDK message for creating a new batch /// of spot limit orders. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders")] pub struct MsgBatchCreateSpotLimitOrders { #[prost(string, tag = "1")] @@ -2196,11 +2033,8 @@ pub struct MsgBatchCreateSpotLimitOrders { /// MsgBatchCreateSpotLimitOrdersResponse defines the /// Msg/BatchCreateSpotLimitOrders response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse")] pub struct MsgBatchCreateSpotLimitOrdersResponse { #[prost(string, repeated, tag = "1")] pub order_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, @@ -2212,8 +2046,7 @@ pub struct MsgBatchCreateSpotLimitOrdersResponse { /// MsgInstantSpotMarketLaunch defines a SDK message for creating a new spot /// market by paying listing fee without governance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantSpotMarketLaunch")] pub struct MsgInstantSpotMarketLaunch { #[prost(string, tag = "1")] @@ -2242,20 +2075,14 @@ pub struct MsgInstantSpotMarketLaunch { /// MsgInstantSpotMarketLaunchResponse defines the Msg/InstantSpotMarketLaunch /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse")] pub struct MsgInstantSpotMarketLaunchResponse {} /// MsgInstantPerpetualMarketLaunch defines a SDK message for creating a new /// perpetual futures market by paying listing fee without governance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch")] pub struct MsgInstantPerpetualMarketLaunch { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -2317,20 +2144,14 @@ pub struct MsgInstantPerpetualMarketLaunch { /// MsgInstantPerpetualMarketLaunchResponse defines the /// Msg/InstantPerpetualMarketLaunchResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse")] pub struct MsgInstantPerpetualMarketLaunchResponse {} /// MsgInstantBinaryOptionsMarketLaunch defines a SDK message for creating a new /// perpetual futures market by paying listing fee without governance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch")] pub struct MsgInstantBinaryOptionsMarketLaunch { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -2401,20 +2222,14 @@ pub struct MsgInstantBinaryOptionsMarketLaunch { /// MsgInstantBinaryOptionsMarketLaunchResponse defines the /// Msg/InstantBinaryOptionsMarketLaunchResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse")] pub struct MsgInstantBinaryOptionsMarketLaunchResponse {} /// MsgInstantExpiryFuturesMarketLaunch defines a SDK message for creating a new /// expiry futures market by paying listing fee without governance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch")] pub struct MsgInstantExpiryFuturesMarketLaunch { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -2483,17 +2298,13 @@ pub struct MsgInstantExpiryFuturesMarketLaunch { /// MsgInstantExpiryFuturesMarketLaunchResponse defines the /// Msg/InstantExpiryFuturesMarketLaunch response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse")] pub struct MsgInstantExpiryFuturesMarketLaunchResponse {} /// MsgCreateSpotMarketOrder defines a SDK message for creating a new spot market /// order. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateSpotMarketOrder")] pub struct MsgCreateSpotMarketOrder { #[prost(string, tag = "1")] @@ -2504,11 +2315,8 @@ pub struct MsgCreateSpotMarketOrder { /// MsgCreateSpotMarketOrderResponse defines the Msg/CreateSpotMarketLimitOrder /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse")] pub struct MsgCreateSpotMarketOrderResponse { #[prost(string, tag = "1")] pub order_hash: ::prost::alloc::string::String, @@ -2518,8 +2326,7 @@ pub struct MsgCreateSpotMarketOrderResponse { pub cid: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotMarketOrderResults")] pub struct SpotMarketOrderResults { #[prost(string, tag = "1")] @@ -2531,8 +2338,7 @@ pub struct SpotMarketOrderResults { } /// A Cosmos-SDK MsgCreateDerivativeLimitOrder #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder")] pub struct MsgCreateDerivativeLimitOrder { #[prost(string, tag = "1")] @@ -2543,11 +2349,8 @@ pub struct MsgCreateDerivativeLimitOrder { /// MsgCreateDerivativeLimitOrderResponse defines the /// Msg/CreateDerivativeMarketOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse")] pub struct MsgCreateDerivativeLimitOrderResponse { #[prost(string, tag = "1")] pub order_hash: ::prost::alloc::string::String, @@ -2556,11 +2359,8 @@ pub struct MsgCreateDerivativeLimitOrderResponse { } /// A Cosmos-SDK MsgCreateBinaryOptionsLimitOrder #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder")] pub struct MsgCreateBinaryOptionsLimitOrder { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -2570,11 +2370,8 @@ pub struct MsgCreateBinaryOptionsLimitOrder { /// MsgCreateBinaryOptionsLimitOrderResponse defines the /// Msg/CreateBinaryOptionsLimitOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse")] pub struct MsgCreateBinaryOptionsLimitOrderResponse { #[prost(string, tag = "1")] pub order_hash: ::prost::alloc::string::String, @@ -2583,11 +2380,8 @@ pub struct MsgCreateBinaryOptionsLimitOrderResponse { } /// A Cosmos-SDK MsgBatchCreateDerivativeLimitOrders #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders")] pub struct MsgBatchCreateDerivativeLimitOrders { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -2597,11 +2391,8 @@ pub struct MsgBatchCreateDerivativeLimitOrders { /// MsgBatchCreateDerivativeLimitOrdersResponse defines the /// Msg/BatchCreateDerivativeLimitOrders response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse")] pub struct MsgBatchCreateDerivativeLimitOrdersResponse { #[prost(string, repeated, tag = "1")] pub order_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, @@ -2612,8 +2403,7 @@ pub struct MsgBatchCreateDerivativeLimitOrdersResponse { } /// MsgCancelSpotOrder defines the Msg/CancelSpotOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCancelSpotOrder")] pub struct MsgCancelSpotOrder { #[prost(string, tag = "1")] @@ -2631,14 +2421,12 @@ pub struct MsgCancelSpotOrder { } /// MsgCancelSpotOrderResponse defines the Msg/CancelSpotOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCancelSpotOrderResponse")] pub struct MsgCancelSpotOrderResponse {} /// MsgBatchCancelSpotOrders defines the Msg/BatchCancelSpotOrders response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCancelSpotOrders")] pub struct MsgBatchCancelSpotOrders { #[prost(string, tag = "1")] @@ -2649,11 +2437,8 @@ pub struct MsgBatchCancelSpotOrders { /// MsgBatchCancelSpotOrdersResponse defines the Msg/BatchCancelSpotOrders /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse")] pub struct MsgBatchCancelSpotOrdersResponse { #[prost(bool, repeated, tag = "1")] pub success: ::prost::alloc::vec::Vec, @@ -2661,11 +2446,8 @@ pub struct MsgBatchCancelSpotOrdersResponse { /// MsgBatchCancelBinaryOptionsOrders defines the /// Msg/BatchCancelBinaryOptionsOrders response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders")] pub struct MsgBatchCancelBinaryOptionsOrders { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -2675,19 +2457,15 @@ pub struct MsgBatchCancelBinaryOptionsOrders { /// BatchCancelBinaryOptionsOrdersResponse defines the /// Msg/BatchCancelBinaryOptionsOrders response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse")] pub struct MsgBatchCancelBinaryOptionsOrdersResponse { #[prost(bool, repeated, tag = "1")] pub success: ::prost::alloc::vec::Vec, } /// MsgBatchUpdateOrders defines the Msg/BatchUpdateOrders response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchUpdateOrders")] pub struct MsgBatchUpdateOrders { #[prost(string, tag = "1")] @@ -2699,14 +2477,10 @@ pub struct MsgBatchUpdateOrders { pub subaccount_id: ::prost::alloc::string::String, #[prost(string, repeated, tag = "3")] #[serde(alias = "spot_marketIDs_to_cancel_all")] - pub spot_market_ids_to_cancel_all: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub spot_market_ids_to_cancel_all: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "4")] #[serde(alias = "derivative_marketIDs_to_cancel_all")] - pub derivative_market_ids_to_cancel_all: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub derivative_market_ids_to_cancel_all: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(message, repeated, tag = "5")] pub spot_orders_to_cancel: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "6")] @@ -2719,16 +2493,13 @@ pub struct MsgBatchUpdateOrders { pub binary_options_orders_to_cancel: ::prost::alloc::vec::Vec, #[prost(string, repeated, tag = "10")] #[serde(alias = "binary_options_marketIDs_to_cancel_all")] - pub binary_options_market_ids_to_cancel_all: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub binary_options_market_ids_to_cancel_all: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(message, repeated, tag = "11")] pub binary_options_orders_to_create: ::prost::alloc::vec::Vec, } /// MsgBatchUpdateOrdersResponse defines the Msg/BatchUpdateOrders response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse")] pub struct MsgBatchUpdateOrdersResponse { #[prost(bool, repeated, tag = "1")] @@ -2738,44 +2509,27 @@ pub struct MsgBatchUpdateOrdersResponse { #[prost(string, repeated, tag = "3")] pub spot_order_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "4")] - pub derivative_order_hashes: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub derivative_order_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(bool, repeated, tag = "5")] pub binary_options_cancel_success: ::prost::alloc::vec::Vec, #[prost(string, repeated, tag = "6")] - pub binary_options_order_hashes: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub binary_options_order_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "7")] - pub created_spot_orders_cids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub created_spot_orders_cids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "8")] - pub failed_spot_orders_cids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub failed_spot_orders_cids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "9")] - pub created_derivative_orders_cids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub created_derivative_orders_cids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "10")] - pub failed_derivative_orders_cids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub failed_derivative_orders_cids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "11")] - pub created_binary_options_orders_cids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub created_binary_options_orders_cids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, repeated, tag = "12")] - pub failed_binary_options_orders_cids: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub failed_binary_options_orders_cids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// A Cosmos-SDK MsgCreateDerivativeMarketOrder #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder")] pub struct MsgCreateDerivativeMarketOrder { #[prost(string, tag = "1")] @@ -2786,11 +2540,8 @@ pub struct MsgCreateDerivativeMarketOrder { /// MsgCreateDerivativeMarketOrderResponse defines the /// Msg/CreateDerivativeMarketOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse")] pub struct MsgCreateDerivativeMarketOrderResponse { #[prost(string, tag = "1")] pub order_hash: ::prost::alloc::string::String, @@ -2800,8 +2551,7 @@ pub struct MsgCreateDerivativeMarketOrderResponse { pub cid: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeMarketOrderResults")] pub struct DerivativeMarketOrderResults { #[prost(string, tag = "1")] @@ -2817,11 +2567,8 @@ pub struct DerivativeMarketOrderResults { } /// A Cosmos-SDK MsgCreateBinaryOptionsMarketOrder #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder")] pub struct MsgCreateBinaryOptionsMarketOrder { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -2831,11 +2578,8 @@ pub struct MsgCreateBinaryOptionsMarketOrder { /// MsgCreateBinaryOptionsMarketOrderResponse defines the /// Msg/CreateBinaryOptionsMarketOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse")] pub struct MsgCreateBinaryOptionsMarketOrderResponse { #[prost(string, tag = "1")] pub order_hash: ::prost::alloc::string::String, @@ -2846,8 +2590,7 @@ pub struct MsgCreateBinaryOptionsMarketOrderResponse { } /// MsgCancelDerivativeOrder defines the Msg/CancelDerivativeOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCancelDerivativeOrder")] pub struct MsgCancelDerivativeOrder { #[prost(string, tag = "1")] @@ -2873,17 +2616,13 @@ pub struct MsgCancelDerivativeOrder { /// MsgCancelDerivativeOrderResponse defines the /// Msg/CancelDerivativeOrderResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse")] pub struct MsgCancelDerivativeOrderResponse {} /// MsgCancelBinaryOptionsOrder defines the Msg/CancelBinaryOptionsOrder response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder")] pub struct MsgCancelBinaryOptionsOrder { #[prost(string, tag = "1")] @@ -2909,15 +2648,11 @@ pub struct MsgCancelBinaryOptionsOrder { /// MsgCancelBinaryOptionsOrderResponse defines the /// Msg/CancelBinaryOptionsOrderResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse")] pub struct MsgCancelBinaryOptionsOrderResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.OrderData")] pub struct OrderData { #[prost(string, tag = "1")] @@ -2941,8 +2676,7 @@ pub struct OrderData { /// MsgBatchCancelDerivativeOrders defines the Msg/CancelDerivativeOrders /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders")] pub struct MsgBatchCancelDerivativeOrders { #[prost(string, tag = "1")] @@ -2953,19 +2687,15 @@ pub struct MsgBatchCancelDerivativeOrders { /// MsgBatchCancelDerivativeOrdersResponse defines the /// Msg/CancelDerivativeOrderResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse")] pub struct MsgBatchCancelDerivativeOrdersResponse { #[prost(bool, repeated, tag = "1")] pub success: ::prost::alloc::vec::Vec, } /// A Cosmos-SDK MsgSubaccountTransfer #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgSubaccountTransfer")] pub struct MsgSubaccountTransfer { #[prost(string, tag = "1")] @@ -2982,14 +2712,12 @@ pub struct MsgSubaccountTransfer { /// MsgSubaccountTransferResponse defines the Msg/SubaccountTransfer response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgSubaccountTransferResponse")] pub struct MsgSubaccountTransferResponse {} /// A Cosmos-SDK MsgExternalTransfer #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgExternalTransfer")] pub struct MsgExternalTransfer { #[prost(string, tag = "1")] @@ -3005,14 +2733,12 @@ pub struct MsgExternalTransfer { } /// MsgExternalTransferResponse defines the Msg/ExternalTransfer response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgExternalTransferResponse")] pub struct MsgExternalTransferResponse {} /// A Cosmos-SDK MsgLiquidatePosition #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgLiquidatePosition")] pub struct MsgLiquidatePosition { #[prost(string, tag = "1")] @@ -3029,14 +2755,12 @@ pub struct MsgLiquidatePosition { } /// MsgLiquidatePositionResponse defines the Msg/LiquidatePosition response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgLiquidatePositionResponse")] pub struct MsgLiquidatePositionResponse {} /// A Cosmos-SDK MsgEmergencySettleMarket #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgEmergencySettleMarket")] pub struct MsgEmergencySettleMarket { #[prost(string, tag = "1")] @@ -3051,16 +2775,12 @@ pub struct MsgEmergencySettleMarket { /// MsgEmergencySettleMarketResponse defines the Msg/EmergencySettleMarket /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgEmergencySettleMarketResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgEmergencySettleMarketResponse")] pub struct MsgEmergencySettleMarketResponse {} /// A Cosmos-SDK MsgIncreasePositionMargin #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgIncreasePositionMargin")] pub struct MsgIncreasePositionMargin { #[prost(string, tag = "1")] @@ -3081,16 +2801,12 @@ pub struct MsgIncreasePositionMargin { /// MsgIncreasePositionMarginResponse defines the Msg/IncreasePositionMargin /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgIncreasePositionMarginResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgIncreasePositionMarginResponse")] pub struct MsgIncreasePositionMarginResponse {} /// A Cosmos-SDK MsgDecreasePositionMargin #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgDecreasePositionMargin")] pub struct MsgDecreasePositionMargin { #[prost(string, tag = "1")] @@ -3111,16 +2827,12 @@ pub struct MsgDecreasePositionMargin { /// MsgDecreasePositionMarginResponse defines the Msg/MsgDecreasePositionMargin /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgDecreasePositionMarginResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgDecreasePositionMarginResponse")] pub struct MsgDecreasePositionMarginResponse {} /// MsgPrivilegedExecuteContract defines the Msg/Exec message type #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgPrivilegedExecuteContract")] pub struct MsgPrivilegedExecuteContract { #[prost(string, tag = "1")] @@ -3138,21 +2850,15 @@ pub struct MsgPrivilegedExecuteContract { } /// MsgPrivilegedExecuteContractResponse defines the Msg/Exec response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse")] pub struct MsgPrivilegedExecuteContractResponse { #[prost(message, repeated, tag = "1")] - pub funds_diff: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub funds_diff: ::prost::alloc::vec::Vec, } /// A Cosmos-SDK MsgRewardsOptOut #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgRewardsOptOut")] pub struct MsgRewardsOptOut { #[prost(string, tag = "1")] @@ -3160,14 +2866,12 @@ pub struct MsgRewardsOptOut { } /// MsgRewardsOptOutResponse defines the Msg/RewardsOptOut response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgRewardsOptOutResponse")] pub struct MsgRewardsOptOutResponse {} /// A Cosmos-SDK MsgReclaimLockedFunds #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgReclaimLockedFunds")] pub struct MsgReclaimLockedFunds { #[prost(string, tag = "1")] @@ -3180,14 +2884,12 @@ pub struct MsgReclaimLockedFunds { /// MsgReclaimLockedFundsResponse defines the Msg/ReclaimLockedFunds response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgReclaimLockedFundsResponse")] pub struct MsgReclaimLockedFundsResponse {} /// MsgSignData defines an arbitrary, general-purpose, off-chain message #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgSignData")] pub struct MsgSignData { /// Signer is the sdk.AccAddress of the message signer @@ -3200,8 +2902,7 @@ pub struct MsgSignData { } /// MsgSignDoc defines an arbitrary, general-purpose, off-chain message #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgSignDoc")] pub struct MsgSignDoc { #[prost(string, tag = "1")] @@ -3212,11 +2913,8 @@ pub struct MsgSignDoc { /// MsgAdminUpdateBinaryOptionsMarket is used by the market Admin to operate the /// market #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket")] pub struct MsgAdminUpdateBinaryOptionsMarket { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, @@ -3251,16 +2949,12 @@ pub struct MsgAdminUpdateBinaryOptionsMarket { /// MsgAdminUpdateBinaryOptionsMarketResponse is the response for /// AdminUpdateBinaryOptionsMarket rpc method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse")] pub struct MsgAdminUpdateBinaryOptionsMarketResponse {} /// MsgAuthorizeStakeGrants grants stakes to grantees. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgAuthorizeStakeGrants")] pub struct MsgAuthorizeStakeGrants { #[prost(string, tag = "1")] @@ -3269,16 +2963,12 @@ pub struct MsgAuthorizeStakeGrants { pub grants: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse")] pub struct MsgAuthorizeStakeGrantsResponse {} /// MsgActivateStakeGrant allows a grantee to activate a stake grant. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgActivateStakeGrant")] pub struct MsgActivateStakeGrant { #[prost(string, tag = "1")] @@ -3287,14 +2977,12 @@ pub struct MsgActivateStakeGrant { pub granter: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MsgActivateStakeGrantResponse")] pub struct MsgActivateStakeGrantResponse {} /// GenesisState defines the exchange module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of related to exchange. @@ -3326,9 +3014,7 @@ pub struct GenesisState { /// expiry_futures_market_info defines the market info for the expiry futures /// markets at genesis #[prost(message, repeated, tag = "9")] - pub expiry_futures_market_info_state: ::prost::alloc::vec::Vec< - ExpiryFuturesMarketInfoState, - >, + pub expiry_futures_market_info_state: ::prost::alloc::vec::Vec, /// perpetual_market_info defines the market info for the perpetual derivative /// markets at genesis #[prost(message, repeated, tag = "10")] @@ -3336,15 +3022,11 @@ pub struct GenesisState { /// perpetual_market_funding_state defines the funding state for the perpetual /// derivative markets at genesis #[prost(message, repeated, tag = "11")] - pub perpetual_market_funding_state: ::prost::alloc::vec::Vec< - PerpetualMarketFundingState, - >, + pub perpetual_market_funding_state: ::prost::alloc::vec::Vec, /// derivative_market_settlement_scheduled defines the scheduled markets for /// settlement at genesis #[prost(message, repeated, tag = "12")] - pub derivative_market_settlement_scheduled: ::prost::alloc::vec::Vec< - DerivativeMarketSettlementInfo, - >, + pub derivative_market_settlement_scheduled: ::prost::alloc::vec::Vec, /// sets spot markets as enabled #[prost(bool, tag = "13")] pub is_spot_exchange_enabled: bool, @@ -3356,45 +3038,31 @@ pub struct GenesisState { pub trading_reward_campaign_info: ::core::option::Option, /// the current and upcoming trading reward campaign pools #[prost(message, repeated, tag = "16")] - pub trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec< - CampaignRewardPool, - >, + pub trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec, /// the current trading reward account points #[prost(message, repeated, tag = "17")] - pub trading_reward_campaign_account_points: ::prost::alloc::vec::Vec< - TradingRewardCampaignAccountPoints, - >, + pub trading_reward_campaign_account_points: ::prost::alloc::vec::Vec, /// the fee discount schedule #[prost(message, optional, tag = "18")] pub fee_discount_schedule: ::core::option::Option, /// the cached fee discount account tiers with TTL #[prost(message, repeated, tag = "19")] - pub fee_discount_account_tier_ttl: ::prost::alloc::vec::Vec< - FeeDiscountAccountTierTtl, - >, + pub fee_discount_account_tier_ttl: ::prost::alloc::vec::Vec, /// the fee discount paid by accounts in all buckets #[prost(message, repeated, tag = "20")] - pub fee_discount_bucket_volume_accounts: ::prost::alloc::vec::Vec< - FeeDiscountBucketVolumeAccounts, - >, + pub fee_discount_bucket_volume_accounts: ::prost::alloc::vec::Vec, /// sets the first fee cycle as finished #[prost(bool, tag = "21")] pub is_first_fee_cycle_finished: bool, /// the current and upcoming trading reward campaign pending pools #[prost(message, repeated, tag = "22")] - pub pending_trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec< - CampaignRewardPool, - >, + pub pending_trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec, /// the pending trading reward account points #[prost(message, repeated, tag = "23")] - pub pending_trading_reward_campaign_account_points: ::prost::alloc::vec::Vec< - TradingRewardCampaignAccountPendingPoints, - >, + pub pending_trading_reward_campaign_account_points: ::prost::alloc::vec::Vec, /// the addresses opting out of trading rewards #[prost(string, repeated, tag = "24")] - pub rewards_opt_out_addresses: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub rewards_opt_out_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(message, repeated, tag = "25")] pub historical_trade_records: ::prost::alloc::vec::Vec, /// binary_options_markets is an array containing the genesis binary options @@ -3405,25 +3073,19 @@ pub struct GenesisState { /// binary options markets scheduled for next-block settlement #[prost(string, repeated, tag = "27")] #[serde(alias = "binary_options_marketIDs_scheduled_for_settlement")] - pub binary_options_market_ids_scheduled_for_settlement: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub binary_options_market_ids_scheduled_for_settlement: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// spot_market_ids_scheduled_to_force_close defines the scheduled markets for /// forced closings at genesis #[prost(string, repeated, tag = "28")] #[serde(alias = "spot_marketIDs_scheduled_to_force_close")] - pub spot_market_ids_scheduled_to_force_close: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub spot_market_ids_scheduled_to_force_close: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, /// denom_decimals defines the denom decimals for the exchange. #[prost(message, repeated, tag = "29")] pub denom_decimals: ::prost::alloc::vec::Vec, /// conditional_derivative_orderbook contains conditional orderbooks for all /// markets (both lmit and market conditional orders) #[prost(message, repeated, tag = "30")] - pub conditional_derivative_orderbooks: ::prost::alloc::vec::Vec< - ConditionalDerivativeOrderBook, - >, + pub conditional_derivative_orderbooks: ::prost::alloc::vec::Vec, /// market_fee_multipliers contains any non-default atomic order fee /// multipliers #[prost(message, repeated, tag = "31")] @@ -3440,8 +3102,7 @@ pub struct GenesisState { pub active_grants: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.OrderbookSequence")] pub struct OrderbookSequence { #[prost(uint64, tag = "1")] @@ -3455,8 +3116,7 @@ pub struct OrderbookSequence { pub market_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FeeDiscountAccountTierTTL")] pub struct FeeDiscountAccountTierTtl { #[prost(string, tag = "1")] @@ -3465,11 +3125,8 @@ pub struct FeeDiscountAccountTierTtl { pub tier_ttl: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.FeeDiscountBucketVolumeAccounts" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.FeeDiscountBucketVolumeAccounts")] pub struct FeeDiscountBucketVolumeAccounts { #[prost(int64, tag = "1")] #[serde( @@ -3481,8 +3138,7 @@ pub struct FeeDiscountBucketVolumeAccounts { pub account_volume: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.AccountVolume")] pub struct AccountVolume { #[prost(string, tag = "1")] @@ -3491,11 +3147,8 @@ pub struct AccountVolume { pub volume: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.TradingRewardCampaignAccountPoints" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.TradingRewardCampaignAccountPoints")] pub struct TradingRewardCampaignAccountPoints { #[prost(string, tag = "1")] pub account: ::prost::alloc::string::String, @@ -3503,11 +3156,8 @@ pub struct TradingRewardCampaignAccountPoints { pub points: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPoints" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.TradingRewardCampaignAccountPendingPoints")] pub struct TradingRewardCampaignAccountPendingPoints { #[prost(int64, tag = "1")] #[serde( @@ -3520,8 +3170,7 @@ pub struct TradingRewardCampaignAccountPendingPoints { } /// Spot Exchange Limit Orderbook #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotOrderBook")] pub struct SpotOrderBook { #[prost(string, tag = "1")] @@ -3534,8 +3183,7 @@ pub struct SpotOrderBook { } /// Derivative Exchange Limit Orderbook #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeOrderBook")] pub struct DerivativeOrderBook { #[prost(string, tag = "1")] @@ -3548,8 +3196,7 @@ pub struct DerivativeOrderBook { } /// Orderbook containing limit & market conditional orders #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.ConditionalDerivativeOrderBook")] pub struct ConditionalDerivativeOrderBook { #[prost(string, tag = "1")] @@ -3565,8 +3212,7 @@ pub struct ConditionalDerivativeOrderBook { pub market_sell_orders: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.Balance")] pub struct Balance { #[prost(string, tag = "1")] @@ -3578,8 +3224,7 @@ pub struct Balance { pub deposits: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.DerivativePosition")] pub struct DerivativePosition { #[prost(string, tag = "1")] @@ -3592,8 +3237,7 @@ pub struct DerivativePosition { pub position: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountNonce")] pub struct SubaccountNonce { #[prost(string, tag = "1")] @@ -3603,8 +3247,7 @@ pub struct SubaccountNonce { pub subaccount_trade_nonce: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.ExpiryFuturesMarketInfoState")] pub struct ExpiryFuturesMarketInfoState { #[prost(string, tag = "1")] @@ -3614,8 +3257,7 @@ pub struct ExpiryFuturesMarketInfoState { pub market_info: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PerpetualMarketFundingState")] pub struct PerpetualMarketFundingState { #[prost(string, tag = "1")] @@ -3625,8 +3267,7 @@ pub struct PerpetualMarketFundingState { pub funding: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FullGrantAuthorizations")] pub struct FullGrantAuthorizations { #[prost(string, tag = "1")] @@ -3643,8 +3284,7 @@ pub struct FullGrantAuthorizations { pub grants: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FullActiveGrant")] pub struct FullActiveGrant { #[prost(string, tag = "1")] @@ -3653,8 +3293,7 @@ pub struct FullActiveGrant { pub active_grant: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotMarketParamUpdateProposal")] pub struct SpotMarketParamUpdateProposal { #[prost(string, tag = "1")] @@ -3698,8 +3337,7 @@ pub struct SpotMarketParamUpdateProposal { pub admin_info: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.ExchangeEnableProposal")] pub struct ExchangeEnableProposal { #[prost(string, tag = "1")] @@ -3714,62 +3352,40 @@ pub struct ExchangeEnableProposal { pub exchange_type: i32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.BatchExchangeModificationProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.BatchExchangeModificationProposal")] pub struct BatchExchangeModificationProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, #[prost(message, repeated, tag = "3")] - pub spot_market_param_update_proposals: ::prost::alloc::vec::Vec< - SpotMarketParamUpdateProposal, - >, + pub spot_market_param_update_proposals: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "4")] - pub derivative_market_param_update_proposals: ::prost::alloc::vec::Vec< - DerivativeMarketParamUpdateProposal, - >, + pub derivative_market_param_update_proposals: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "5")] pub spot_market_launch_proposals: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "6")] - pub perpetual_market_launch_proposals: ::prost::alloc::vec::Vec< - PerpetualMarketLaunchProposal, - >, + pub perpetual_market_launch_proposals: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "7")] - pub expiry_futures_market_launch_proposals: ::prost::alloc::vec::Vec< - ExpiryFuturesMarketLaunchProposal, - >, + pub expiry_futures_market_launch_proposals: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "8")] - pub trading_reward_campaign_update_proposal: ::core::option::Option< - TradingRewardCampaignUpdateProposal, - >, + pub trading_reward_campaign_update_proposal: ::core::option::Option, #[prost(message, repeated, tag = "9")] - pub binary_options_market_launch_proposals: ::prost::alloc::vec::Vec< - BinaryOptionsMarketLaunchProposal, - >, + pub binary_options_market_launch_proposals: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "10")] - pub binary_options_param_update_proposals: ::prost::alloc::vec::Vec< - BinaryOptionsMarketParamUpdateProposal, - >, + pub binary_options_param_update_proposals: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "11")] - pub denom_decimals_update_proposal: ::core::option::Option< - UpdateDenomDecimalsProposal, - >, + pub denom_decimals_update_proposal: ::core::option::Option, #[prost(message, optional, tag = "12")] pub fee_discount_proposal: ::core::option::Option, #[prost(message, repeated, tag = "13")] - pub market_forced_settlement_proposals: ::prost::alloc::vec::Vec< - MarketForcedSettlementProposal, - >, + pub market_forced_settlement_proposals: ::prost::alloc::vec::Vec, } /// SpotMarketLaunchProposal defines a SDK message for proposing a new spot /// market through governance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.SpotMarketLaunchProposal")] pub struct SpotMarketLaunchProposal { #[prost(string, tag = "1")] @@ -3807,8 +3423,7 @@ pub struct SpotMarketLaunchProposal { /// PerpetualMarketLaunchProposal defines a SDK message for proposing a new /// perpetual futures market through governance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PerpetualMarketLaunchProposal")] pub struct PerpetualMarketLaunchProposal { #[prost(string, tag = "1")] @@ -3873,11 +3488,8 @@ pub struct PerpetualMarketLaunchProposal { pub admin_info: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal")] pub struct BinaryOptionsMarketLaunchProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -3954,11 +3566,8 @@ pub struct BinaryOptionsMarketLaunchProposal { /// ExpiryFuturesMarketLaunchProposal defines a SDK message for proposing a new /// expiry futures market through governance #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal")] pub struct ExpiryFuturesMarketLaunchProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -4029,11 +3638,8 @@ pub struct ExpiryFuturesMarketLaunchProposal { pub admin_info: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal")] pub struct DerivativeMarketParamUpdateProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -4095,8 +3701,7 @@ pub struct DerivativeMarketParamUpdateProposal { pub admin_info: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.AdminInfo")] pub struct AdminInfo { #[prost(string, tag = "1")] @@ -4109,8 +3714,7 @@ pub struct AdminInfo { pub admin_permissions: u32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MarketForcedSettlementProposal")] pub struct MarketForcedSettlementProposal { #[prost(string, tag = "1")] @@ -4124,8 +3728,7 @@ pub struct MarketForcedSettlementProposal { pub settlement_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.UpdateDenomDecimalsProposal")] pub struct UpdateDenomDecimalsProposal { #[prost(string, tag = "1")] @@ -4136,11 +3739,8 @@ pub struct UpdateDenomDecimalsProposal { pub denom_decimals: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal")] pub struct BinaryOptionsMarketParamUpdateProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -4205,8 +3805,7 @@ pub struct BinaryOptionsMarketParamUpdateProposal { pub min_notional: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.ProviderOracleParams")] pub struct ProviderOracleParams { /// Oracle base currency @@ -4231,8 +3830,7 @@ pub struct ProviderOracleParams { pub oracle_type: i32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.OracleParams")] pub struct OracleParams { /// Oracle base currency @@ -4257,11 +3855,8 @@ pub struct OracleParams { pub oracle_type: i32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.TradingRewardCampaignLaunchProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.TradingRewardCampaignLaunchProposal")] pub struct TradingRewardCampaignLaunchProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -4273,11 +3868,8 @@ pub struct TradingRewardCampaignLaunchProposal { pub campaign_reward_pools: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal")] pub struct TradingRewardCampaignUpdateProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -4291,8 +3883,7 @@ pub struct TradingRewardCampaignUpdateProposal { pub campaign_reward_pools_updates: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.RewardPointUpdate")] pub struct RewardPointUpdate { #[prost(string, tag = "1")] @@ -4302,11 +3893,8 @@ pub struct RewardPointUpdate { pub new_points: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.TradingRewardPendingPointsUpdateProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.TradingRewardPendingPointsUpdateProposal")] pub struct TradingRewardPendingPointsUpdateProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -4322,8 +3910,7 @@ pub struct TradingRewardPendingPointsUpdateProposal { pub reward_point_updates: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FeeDiscountProposal")] pub struct FeeDiscountProposal { #[prost(string, tag = "1")] @@ -4334,29 +3921,21 @@ pub struct FeeDiscountProposal { pub schedule: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.BatchCommunityPoolSpendProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.BatchCommunityPoolSpendProposal")] pub struct BatchCommunityPoolSpendProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, #[prost(message, repeated, tag = "3")] - pub proposals: ::prost::alloc::vec::Vec< - super::super::super::cosmos::distribution::v1beta1::CommunityPoolSpendProposal, - >, + pub proposals: ::prost::alloc::vec::Vec, } /// AtomicMarketOrderFeeMultiplierScheduleProposal defines a SDK message for /// proposing new atomic take fee multipliers for specified markets #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.AtomicMarketOrderFeeMultiplierScheduleProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.AtomicMarketOrderFeeMultiplierScheduleProposal")] pub struct AtomicMarketOrderFeeMultiplierScheduleProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -4396,8 +3975,7 @@ impl ExchangeType { } } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.Subaccount")] pub struct Subaccount { #[prost(string, tag = "1")] @@ -4410,8 +3988,7 @@ pub struct Subaccount { pub subaccount_nonce: u32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountOrdersRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountOrders", @@ -4426,8 +4003,7 @@ pub struct QuerySubaccountOrdersRequest { pub market_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountOrdersResponse")] pub struct QuerySubaccountOrdersResponse { #[prost(message, repeated, tag = "1")] @@ -4436,11 +4012,8 @@ pub struct QuerySubaccountOrdersResponse { pub sell_orders: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarket" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.SubaccountOrderbookMetadataWithMarket")] pub struct SubaccountOrderbookMetadataWithMarket { #[prost(message, optional, tag = "1")] pub metadata: ::core::option::Option, @@ -4453,8 +4026,7 @@ pub struct SubaccountOrderbookMetadataWithMarket { /// QueryExchangeParamsRequest is the request type for the Query/ExchangeParams /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryExchangeParamsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/QueryExchangeParams", @@ -4464,8 +4036,7 @@ pub struct QueryExchangeParamsRequest {} /// QueryExchangeParamsRequest is the response type for the Query/ExchangeParams /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryExchangeParamsResponse")] pub struct QueryExchangeParamsResponse { #[prost(message, optional, tag = "1")] @@ -4474,8 +4045,7 @@ pub struct QueryExchangeParamsResponse { /// QuerySubaccountDepositsRequest is the request type for the /// Query/SubaccountDeposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountDepositsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountDeposits", @@ -4491,11 +4061,8 @@ pub struct QuerySubaccountDepositsRequest { /// QuerySubaccountDepositsResponse is the response type for the /// Query/SubaccountDeposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountDepositsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountDepositsResponse")] pub struct QuerySubaccountDepositsResponse { #[prost(map = "string, message", tag = "1")] pub deposits: ::std::collections::HashMap<::prost::alloc::string::String, Deposit>, @@ -4503,8 +4070,7 @@ pub struct QuerySubaccountDepositsResponse { /// QueryExchangeBalancesRequest is the request type for the /// Query/ExchangeBalances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryExchangeBalancesRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/ExchangeBalances", @@ -4514,8 +4080,7 @@ pub struct QueryExchangeBalancesRequest {} /// QuerySubaccountDepositsResponse is the response type for the /// Query/SubaccountDeposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryExchangeBalancesResponse")] pub struct QueryExchangeBalancesResponse { #[prost(message, repeated, tag = "1")] @@ -4524,8 +4089,7 @@ pub struct QueryExchangeBalancesResponse { /// QueryAggregateVolumeRequest is the request type for the Query/AggregateVolume /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateVolumeRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/AggregateVolume", @@ -4539,8 +4103,7 @@ pub struct QueryAggregateVolumeRequest { /// QueryAggregateVolumeResponse is the response type for the /// Query/AggregateVolume RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateVolumeResponse")] pub struct QueryAggregateVolumeResponse { /// if an address is specified, then the aggregate_volumes will aggregate the @@ -4551,8 +4114,7 @@ pub struct QueryAggregateVolumeResponse { /// QueryAggregateVolumesRequest is the request type for the /// Query/AggregateVolumes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateVolumesRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/AggregateVolumes", @@ -4568,15 +4130,12 @@ pub struct QueryAggregateVolumesRequest { /// QueryAggregateVolumesResponse is the response type for the /// Query/AggregateVolumes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateVolumesResponse")] pub struct QueryAggregateVolumesResponse { /// the aggregate volume records for the accounts specified #[prost(message, repeated, tag = "1")] - pub aggregate_account_volumes: ::prost::alloc::vec::Vec< - AggregateAccountVolumeRecord, - >, + pub aggregate_account_volumes: ::prost::alloc::vec::Vec, /// the aggregate volumes for the markets specified #[prost(message, repeated, tag = "2")] pub aggregate_market_volumes: ::prost::alloc::vec::Vec, @@ -4584,11 +4143,8 @@ pub struct QueryAggregateVolumesResponse { /// QueryAggregateMarketVolumeRequest is the request type for the /// Query/AggregateMarketVolume RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumeRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/AggregateMarketVolume", response_type = QueryAggregateMarketVolumeResponse @@ -4601,11 +4157,8 @@ pub struct QueryAggregateMarketVolumeRequest { /// QueryAggregateMarketVolumeResponse is the response type for the /// Query/AggregateMarketVolume RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumeResponse")] pub struct QueryAggregateMarketVolumeResponse { #[prost(message, optional, tag = "1")] pub volume: ::core::option::Option, @@ -4613,8 +4166,7 @@ pub struct QueryAggregateMarketVolumeResponse { /// QueryDenomDecimalRequest is the request type for the Query/DenomDecimal RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDenomDecimalRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DenomDecimal", @@ -4627,8 +4179,7 @@ pub struct QueryDenomDecimalRequest { /// QueryDenomDecimalResponse is the response type for the Query/DenomDecimal RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDenomDecimalResponse")] pub struct QueryDenomDecimalResponse { #[prost(uint64, tag = "1")] @@ -4641,8 +4192,7 @@ pub struct QueryDenomDecimalResponse { /// QueryDenomDecimalsRequest is the request type for the Query/DenomDecimals RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDenomDecimalsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DenomDecimals", @@ -4656,8 +4206,7 @@ pub struct QueryDenomDecimalsRequest { /// QueryDenomDecimalsRequest is the response type for the Query/DenomDecimals /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDenomDecimalsResponse")] pub struct QueryDenomDecimalsResponse { #[prost(message, repeated, tag = "1")] @@ -4666,11 +4215,8 @@ pub struct QueryDenomDecimalsResponse { /// QueryAggregateMarketVolumesRequest is the request type for the /// Query/AggregateMarketVolumes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumesRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/AggregateMarketVolumes", response_type = QueryAggregateMarketVolumesResponse @@ -4683,11 +4229,8 @@ pub struct QueryAggregateMarketVolumesRequest { /// QueryAggregateMarketVolumesResponse is the response type for the /// Query/AggregateMarketVolumes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAggregateMarketVolumesResponse")] pub struct QueryAggregateMarketVolumesResponse { /// the aggregate volumes for the entire market #[prost(message, repeated, tag = "1")] @@ -4696,8 +4239,7 @@ pub struct QueryAggregateMarketVolumesResponse { /// QuerySubaccountDepositsRequest is the request type for the /// Query/SubaccountDeposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountDepositRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountDeposit", @@ -4713,8 +4255,7 @@ pub struct QuerySubaccountDepositRequest { /// QuerySubaccountDepositsResponse is the response type for the /// Query/SubaccountDeposits RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountDepositResponse")] pub struct QuerySubaccountDepositResponse { #[prost(message, optional, tag = "1")] @@ -4723,8 +4264,7 @@ pub struct QuerySubaccountDepositResponse { /// QuerySpotMarketsRequest is the request type for the Query/SpotMarkets RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotMarketsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SpotMarkets", @@ -4742,8 +4282,7 @@ pub struct QuerySpotMarketsRequest { /// QuerySpotMarketsResponse is the response type for the Query/SpotMarkets RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotMarketsResponse")] pub struct QuerySpotMarketsResponse { #[prost(message, repeated, tag = "1")] @@ -4752,8 +4291,7 @@ pub struct QuerySpotMarketsResponse { /// QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotMarketRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SpotMarket", @@ -4768,8 +4306,7 @@ pub struct QuerySpotMarketRequest { /// QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotMarketResponse")] pub struct QuerySpotMarketResponse { #[prost(message, optional, tag = "1")] @@ -4778,8 +4315,7 @@ pub struct QuerySpotMarketResponse { /// QuerySpotOrderbookRequest is the request type for the Query/SpotOrderbook RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotOrderbookRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SpotOrderbook", @@ -4810,8 +4346,7 @@ pub struct QuerySpotOrderbookRequest { /// QuerySpotOrderbookResponse is the response type for the Query/SpotOrderbook /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotOrderbookResponse")] pub struct QuerySpotOrderbookResponse { #[prost(message, repeated, tag = "1")] @@ -4820,8 +4355,7 @@ pub struct QuerySpotOrderbookResponse { pub sells_price_level: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FullSpotMarket")] pub struct FullSpotMarket { #[prost(message, optional, tag = "1")] @@ -4834,8 +4368,7 @@ pub struct FullSpotMarket { /// QueryFullSpotMarketsRequest is the request type for the Query/FullSpotMarkets /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullSpotMarketsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/FullSpotMarkets", @@ -4857,8 +4390,7 @@ pub struct QueryFullSpotMarketsRequest { /// QueryFullSpotMarketsResponse is the response type for the /// Query/FullSpotMarkets RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullSpotMarketsResponse")] pub struct QueryFullSpotMarketsResponse { #[prost(message, repeated, tag = "1")] @@ -4867,8 +4399,7 @@ pub struct QueryFullSpotMarketsResponse { /// QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullSpotMarketRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/FullSpotMarket", @@ -4887,8 +4418,7 @@ pub struct QueryFullSpotMarketRequest { /// QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullSpotMarketResponse")] pub struct QueryFullSpotMarketResponse { #[prost(message, optional, tag = "1")] @@ -4897,8 +4427,7 @@ pub struct QueryFullSpotMarketResponse { /// QuerySpotOrdersByHashesRequest is the request type for the /// Query/SpotOrdersByHashes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotOrdersByHashesRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SpotOrdersByHashes", @@ -4920,11 +4449,8 @@ pub struct QuerySpotOrdersByHashesRequest { /// QuerySpotOrdersByHashesResponse is the response type for the /// Query/SpotOrdersByHashes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotOrdersByHashesResponse")] pub struct QuerySpotOrdersByHashesResponse { #[prost(message, repeated, tag = "1")] pub orders: ::prost::alloc::vec::Vec, @@ -4932,8 +4458,7 @@ pub struct QuerySpotOrdersByHashesResponse { /// QueryTraderSpotOrdersRequest is the request type for the /// Query/TraderSpotOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderSpotOrdersRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/TraderSpotOrders", @@ -4952,11 +4477,8 @@ pub struct QueryTraderSpotOrdersRequest { /// QueryAccountAddressSpotOrdersRequest is the request type for the /// Query/AccountAddressSpotOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAccountAddressSpotOrdersRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/AccountAddressSpotOrders", response_type = QueryAccountAddressSpotOrdersResponse @@ -4971,8 +4493,7 @@ pub struct QueryAccountAddressSpotOrdersRequest { pub account_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TrimmedSpotLimitOrder")] pub struct TrimmedSpotLimitOrder { /// price of the order @@ -4995,8 +4516,7 @@ pub struct TrimmedSpotLimitOrder { /// QueryTraderSpotOrdersResponse is the response type for the /// Query/TraderSpotOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderSpotOrdersResponse")] pub struct QueryTraderSpotOrdersResponse { #[prost(message, repeated, tag = "1")] @@ -5005,11 +4525,8 @@ pub struct QueryTraderSpotOrdersResponse { /// QueryAccountAddressSpotOrdersResponse is the response type for the /// Query/AccountAddressSpotOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAccountAddressSpotOrdersResponse")] pub struct QueryAccountAddressSpotOrdersResponse { #[prost(message, repeated, tag = "1")] pub orders: ::prost::alloc::vec::Vec, @@ -5017,8 +4534,7 @@ pub struct QueryAccountAddressSpotOrdersResponse { /// QuerySpotMidPriceAndTOBRequest is the request type for the /// Query/SpotMidPriceAndTOB RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotMidPriceAndTOBRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SpotMidPriceAndTOB", @@ -5033,11 +4549,8 @@ pub struct QuerySpotMidPriceAndTobRequest { /// QuerySpotMidPriceAndTOBResponse is the response type for the /// Query/SpotMidPriceAndTOB RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySpotMidPriceAndTOBResponse")] pub struct QuerySpotMidPriceAndTobResponse { /// mid price of the market #[prost(string, tag = "1")] @@ -5052,11 +4565,8 @@ pub struct QuerySpotMidPriceAndTobResponse { /// QueryDerivativeMidPriceAndTOBRequest is the request type for the /// Query/GetDerivativeMidPriceAndTOB RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DerivativeMidPriceAndTOB", response_type = QueryDerivativeMidPriceAndTobResponse @@ -5070,11 +4580,8 @@ pub struct QueryDerivativeMidPriceAndTobRequest { /// QueryDerivativeMidPriceAndTOBResponse is the response type for the /// Query/GetDerivativeMidPriceAndTOB RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMidPriceAndTOBResponse")] pub struct QueryDerivativeMidPriceAndTobResponse { /// mid price of the market #[prost(string, tag = "1")] @@ -5089,11 +4596,8 @@ pub struct QueryDerivativeMidPriceAndTobResponse { /// QueryDerivativeOrderbookRequest is the request type for the /// Query/DerivativeOrderbook RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeOrderbookRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeOrderbookRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DerivativeOrderbook", response_type = QueryDerivativeOrderbookResponse @@ -5115,11 +4619,8 @@ pub struct QueryDerivativeOrderbookRequest { /// QueryDerivativeOrderbookResponse is the response type for the /// Query/DerivativeOrderbook RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeOrderbookResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeOrderbookResponse")] pub struct QueryDerivativeOrderbookResponse { #[prost(message, repeated, tag = "1")] pub buys_price_level: ::prost::alloc::vec::Vec, @@ -5129,11 +4630,8 @@ pub struct QueryDerivativeOrderbookResponse { /// QueryTraderSpotOrdersToCancelUpToAmountRequest is the request type for the /// Query/TraderSpotOrdersToCancelUpToAmountRequest RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTraderSpotOrdersToCancelUpToAmountRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderSpotOrdersToCancelUpToAmountRequest")] pub struct QueryTraderSpotOrdersToCancelUpToAmountRequest { /// Market ID for the market #[prost(string, tag = "1")] @@ -5164,11 +4662,8 @@ pub struct QueryTraderSpotOrdersToCancelUpToAmountRequest { /// QueryTraderDerivativeOrdersToCancelUpToAmountRequest is the request type for /// the Query/TraderDerivativeOrdersToCancelUpToAmountRequest RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeOrdersToCancelUpToAmountRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeOrdersToCancelUpToAmountRequest")] pub struct QueryTraderDerivativeOrdersToCancelUpToAmountRequest { /// Market ID for the market #[prost(string, tag = "1")] @@ -5196,11 +4691,8 @@ pub struct QueryTraderDerivativeOrdersToCancelUpToAmountRequest { /// QueryTraderDerivativeOrdersRequest is the request type for the /// Query/TraderDerivativeOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeOrdersRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/TraderDerivativeOrders", response_type = QueryTraderDerivativeOrdersResponse @@ -5218,11 +4710,8 @@ pub struct QueryTraderDerivativeOrdersRequest { /// QueryAccountAddressSpotOrdersRequest is the request type for the /// Query/AccountAddressDerivativeOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/AccountAddressDerivativeOrders", response_type = QueryAccountAddressDerivativeOrdersResponse @@ -5237,8 +4726,7 @@ pub struct QueryAccountAddressDerivativeOrdersRequest { pub account_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TrimmedDerivativeLimitOrder")] pub struct TrimmedDerivativeLimitOrder { /// price of the order @@ -5266,11 +4754,8 @@ pub struct TrimmedDerivativeLimitOrder { /// QueryTraderDerivativeOrdersResponse is the response type for the /// Query/TraderDerivativeOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeOrdersResponse")] pub struct QueryTraderDerivativeOrdersResponse { #[prost(message, repeated, tag = "1")] pub orders: ::prost::alloc::vec::Vec, @@ -5278,11 +4763,8 @@ pub struct QueryTraderDerivativeOrdersResponse { /// QueryAccountAddressDerivativeOrdersResponse is the response type for the /// Query/AccountAddressDerivativeOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryAccountAddressDerivativeOrdersResponse")] pub struct QueryAccountAddressDerivativeOrdersResponse { #[prost(message, repeated, tag = "1")] pub orders: ::prost::alloc::vec::Vec, @@ -5290,11 +4772,8 @@ pub struct QueryAccountAddressDerivativeOrdersResponse { /// QueryTraderDerivativeOrdersRequest is the request type for the /// Query/TraderDerivativeOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeOrdersByHashesRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DerivativeOrdersByHashes", response_type = QueryDerivativeOrdersByHashesResponse @@ -5315,11 +4794,8 @@ pub struct QueryDerivativeOrdersByHashesRequest { /// QueryDerivativeOrdersByHashesResponse is the response type for the /// Query/DerivativeOrdersByHashes RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeOrdersByHashesResponse")] pub struct QueryDerivativeOrdersByHashesResponse { #[prost(message, repeated, tag = "1")] pub orders: ::prost::alloc::vec::Vec, @@ -5327,8 +4803,7 @@ pub struct QueryDerivativeOrdersByHashesResponse { /// QueryDerivativeMarketsRequest is the request type for the /// Query/DerivativeMarkets RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DerivativeMarkets", @@ -5348,8 +4823,7 @@ pub struct QueryDerivativeMarketsRequest { pub with_mid_price_and_tob: bool, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PriceLevel")] pub struct PriceLevel { #[prost(string, tag = "1")] @@ -5359,8 +4833,7 @@ pub struct PriceLevel { pub quantity: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.PerpetualMarketState")] pub struct PerpetualMarketState { #[prost(message, optional, tag = "1")] @@ -5369,8 +4842,7 @@ pub struct PerpetualMarketState { pub funding_info: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.FullDerivativeMarket")] pub struct FullDerivativeMarket { #[prost(message, optional, tag = "1")] @@ -5388,8 +4860,7 @@ pub struct FullDerivativeMarket { pub mod full_derivative_market { use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, PartialEq, Eq, ::prost::Oneof)] - #[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema)] + #[derive(Clone, PartialEq, Eq, ::prost::Oneof, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema)] pub enum Info { #[prost(message, tag = "2")] PerpetualInfo(super::PerpetualMarketState), @@ -5400,8 +4871,7 @@ pub mod full_derivative_market { /// QueryDerivativeMarketsResponse is the response type for the /// Query/DerivativeMarkets RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketsResponse")] pub struct QueryDerivativeMarketsResponse { #[prost(message, repeated, tag = "1")] @@ -5410,8 +4880,7 @@ pub struct QueryDerivativeMarketsResponse { /// QueryDerivativeMarketRequest is the request type for the /// Query/DerivativeMarket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DerivativeMarket", @@ -5426,8 +4895,7 @@ pub struct QueryDerivativeMarketRequest { /// QueryDerivativeMarketResponse is the response type for the /// Query/DerivativeMarket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketResponse")] pub struct QueryDerivativeMarketResponse { #[prost(message, optional, tag = "1")] @@ -5436,11 +4904,8 @@ pub struct QueryDerivativeMarketResponse { /// QueryDerivativeMarketAddressRequest is the request type for the /// Query/DerivativeMarketAddress RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketAddressRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/DerivativeMarketAddress", response_type = QueryDerivativeMarketAddressResponse @@ -5454,11 +4919,8 @@ pub struct QueryDerivativeMarketAddressRequest { /// QueryDerivativeMarketAddressResponse is the response type for the /// Query/DerivativeMarketAddress RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryDerivativeMarketAddressResponse")] pub struct QueryDerivativeMarketAddressResponse { /// address for the market #[prost(string, tag = "1")] @@ -5471,11 +4933,8 @@ pub struct QueryDerivativeMarketAddressResponse { /// QuerySubaccountTradeNonceRequest is the request type for the /// Query/SubaccountTradeNonce RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountTradeNonceRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountTradeNonce", response_type = QuerySubaccountTradeNonceResponse @@ -5488,11 +4947,8 @@ pub struct QuerySubaccountTradeNonceRequest { /// QuerySubaccountPositionsRequest is the request type for the /// Query/SubaccountPositions RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountPositions", response_type = QuerySubaccountPositionsResponse @@ -5505,11 +4961,8 @@ pub struct QuerySubaccountPositionsRequest { /// QuerySubaccountPositionInMarketRequest is the request type for the /// Query/SubaccountPositionInMarket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionInMarketRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountPositionInMarket", response_type = QuerySubaccountPositionInMarketResponse @@ -5525,11 +4978,8 @@ pub struct QuerySubaccountPositionInMarketRequest { /// QuerySubaccountEffectivePositionInMarketRequest is the request type for the /// Query/SubaccountEffectivePositionInMarket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountEffectivePositionInMarket", response_type = QuerySubaccountEffectivePositionInMarketResponse @@ -5545,11 +4995,8 @@ pub struct QuerySubaccountEffectivePositionInMarketRequest { /// QuerySubaccountOrderMetadataRequest is the request type for the /// Query/SubaccountOrderMetadata RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountOrderMetadataRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/SubaccountOrderMetadata", response_type = QuerySubaccountOrderMetadataResponse @@ -5562,11 +5009,8 @@ pub struct QuerySubaccountOrderMetadataRequest { /// QuerySubaccountPositionsResponse is the response type for the /// Query/SubaccountPositions RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionsResponse")] pub struct QuerySubaccountPositionsResponse { #[prost(message, repeated, tag = "1")] pub state: ::prost::alloc::vec::Vec, @@ -5574,18 +5018,14 @@ pub struct QuerySubaccountPositionsResponse { /// QuerySubaccountPositionInMarketResponse is the response type for the /// Query/SubaccountPositionInMarket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountPositionInMarketResponse")] pub struct QuerySubaccountPositionInMarketResponse { #[prost(message, optional, tag = "1")] pub state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.EffectivePosition")] pub struct EffectivePosition { #[prost(bool, tag = "1")] @@ -5600,11 +5040,8 @@ pub struct EffectivePosition { /// QuerySubaccountEffectivePositionInMarketResponse is the response type for the /// Query/SubaccountEffectivePositionInMarket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountEffectivePositionInMarketResponse")] pub struct QuerySubaccountEffectivePositionInMarketResponse { #[prost(message, optional, tag = "1")] pub state: ::core::option::Option, @@ -5612,11 +5049,8 @@ pub struct QuerySubaccountEffectivePositionInMarketResponse { /// QueryPerpetualMarketInfoRequest is the request type for the /// Query/PerpetualMarketInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketInfoRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/PerpetualMarketInfo", response_type = QueryPerpetualMarketInfoResponse @@ -5629,11 +5063,8 @@ pub struct QueryPerpetualMarketInfoRequest { /// QueryPerpetualMarketInfoResponse is the response type for the /// Query/PerpetualMarketInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketInfoResponse")] pub struct QueryPerpetualMarketInfoResponse { #[prost(message, optional, tag = "1")] pub info: ::core::option::Option, @@ -5641,11 +5072,8 @@ pub struct QueryPerpetualMarketInfoResponse { /// QueryExpiryFuturesMarketInfoRequest is the request type for the Query/ /// ExpiryFuturesMarketInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/ExpiryFuturesMarketInfo", response_type = QueryExpiryFuturesMarketInfoResponse @@ -5658,11 +5086,8 @@ pub struct QueryExpiryFuturesMarketInfoRequest { /// QueryExpiryFuturesMarketInfoResponse is the response type for the Query/ /// ExpiryFuturesMarketInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryExpiryFuturesMarketInfoResponse")] pub struct QueryExpiryFuturesMarketInfoResponse { #[prost(message, optional, tag = "1")] pub info: ::core::option::Option, @@ -5670,11 +5095,8 @@ pub struct QueryExpiryFuturesMarketInfoResponse { /// QueryPerpetualMarketFundingRequest is the request type for the /// Query/PerpetualMarketFunding RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketFundingRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/PerpetualMarketFunding", response_type = QueryPerpetualMarketFundingResponse @@ -5687,11 +5109,8 @@ pub struct QueryPerpetualMarketFundingRequest { /// QueryPerpetualMarketFundingResponse is the response type for the /// Query/PerpetualMarketFunding RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryPerpetualMarketFundingResponse")] pub struct QueryPerpetualMarketFundingResponse { #[prost(message, optional, tag = "1")] pub state: ::core::option::Option, @@ -5699,11 +5118,8 @@ pub struct QueryPerpetualMarketFundingResponse { /// QuerySubaccountOrderMetadataResponse is the response type for the /// Query/SubaccountOrderMetadata RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountOrderMetadataResponse")] pub struct QuerySubaccountOrderMetadataResponse { #[prost(message, repeated, tag = "1")] pub metadata: ::prost::alloc::vec::Vec, @@ -5711,11 +5127,8 @@ pub struct QuerySubaccountOrderMetadataResponse { /// QuerySubaccountTradeNonceResponse is the response type for the /// Query/SubaccountTradeNonce RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QuerySubaccountTradeNonceResponse")] pub struct QuerySubaccountTradeNonceResponse { #[prost(uint32, tag = "1")] #[serde( @@ -5727,8 +5140,7 @@ pub struct QuerySubaccountTradeNonceResponse { /// QueryModuleStateRequest is the request type for the Query/ExchangeModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryModuleStateRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/ExchangeModuleState", @@ -5738,8 +5150,7 @@ pub struct QueryModuleStateRequest {} /// QueryModuleStateResponse is the response type for the /// Query/ExchangeModuleState RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryModuleStateResponse")] pub struct QueryModuleStateResponse { #[prost(message, optional, tag = "1")] @@ -5747,8 +5158,7 @@ pub struct QueryModuleStateResponse { } /// QueryPositionsRequest is the request type for the Query/Positions RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryPositionsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/Positions", @@ -5758,8 +5168,7 @@ pub struct QueryPositionsRequest {} /// QueryPositionsResponse is the response type for the Query/Positions RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryPositionsResponse")] pub struct QueryPositionsResponse { #[prost(message, repeated, tag = "1")] @@ -5768,8 +5177,7 @@ pub struct QueryPositionsResponse { /// QueryTradeRewardPointsRequest is the request type for the /// Query/TradeRewardPoints RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryTradeRewardPointsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/TradeRewardPoints", @@ -5788,23 +5196,17 @@ pub struct QueryTradeRewardPointsRequest { /// QueryTradeRewardPointsResponse is the response type for the /// Query/TradeRewardPoints RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryTradeRewardPointsResponse")] pub struct QueryTradeRewardPointsResponse { #[prost(string, repeated, tag = "1")] - pub account_trade_reward_points: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub account_trade_reward_points: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// QueryTradeRewardCampaignRequest is the request type for the /// Query/TradeRewardCampaign RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTradeRewardCampaignRequest" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTradeRewardCampaignRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/TradeRewardCampaign", response_type = QueryTradeRewardCampaignResponse @@ -5813,37 +5215,25 @@ pub struct QueryTradeRewardCampaignRequest {} /// QueryTradeRewardCampaignResponse is the response type for the /// Query/TradeRewardCampaign RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTradeRewardCampaignResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTradeRewardCampaignResponse")] pub struct QueryTradeRewardCampaignResponse { #[prost(message, optional, tag = "1")] pub trading_reward_campaign_info: ::core::option::Option, #[prost(message, repeated, tag = "2")] - pub trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec< - CampaignRewardPool, - >, + pub trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec, #[prost(string, tag = "3")] pub total_trade_reward_points: ::prost::alloc::string::String, #[prost(message, repeated, tag = "4")] - pub pending_trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec< - CampaignRewardPool, - >, + pub pending_trading_reward_pool_campaign_schedule: ::prost::alloc::vec::Vec, #[prost(string, repeated, tag = "5")] - pub pending_total_trade_reward_points: ::prost::alloc::vec::Vec< - ::prost::alloc::string::String, - >, + pub pending_total_trade_reward_points: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// QueryIsRegisteredDMMRequest is the request type for the Query/IsRegisteredDMM /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryIsOptedOutOfRewardsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/IsOptedOutOfRewards", response_type = QueryIsOptedOutOfRewardsResponse @@ -5855,11 +5245,8 @@ pub struct QueryIsOptedOutOfRewardsRequest { /// QueryIsRegisteredDMMResponse is the response type for the /// Query/IsRegisteredDMM RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryIsOptedOutOfRewardsResponse")] pub struct QueryIsOptedOutOfRewardsResponse { #[prost(bool, tag = "1")] pub is_opted_out: bool, @@ -5867,11 +5254,8 @@ pub struct QueryIsOptedOutOfRewardsResponse { /// QueryRegisteredDMMsRequest is the request type for the Query/RegisteredDMMs /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/OptedOutOfRewardsAccounts", response_type = QueryOptedOutOfRewardsAccountsResponse @@ -5880,11 +5264,8 @@ pub struct QueryOptedOutOfRewardsAccountsRequest {} /// QueryRegisteredDMMsResponse is the response type for the Query/RegisteredDMMs /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryOptedOutOfRewardsAccountsResponse")] pub struct QueryOptedOutOfRewardsAccountsResponse { #[prost(string, repeated, tag = "1")] pub accounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, @@ -5892,11 +5273,8 @@ pub struct QueryOptedOutOfRewardsAccountsResponse { /// QueryFeeDiscountAccountInfoRequest is the request type for the /// Query/FeeDiscountAccountInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFeeDiscountAccountInfoRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/FeeDiscountAccountInfo", response_type = QueryFeeDiscountAccountInfoResponse @@ -5908,11 +5286,8 @@ pub struct QueryFeeDiscountAccountInfoRequest { /// QueryFeeDiscountAccountInfoResponse is the response type for the /// Query/FeeDiscountAccountInfo RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFeeDiscountAccountInfoResponse")] pub struct QueryFeeDiscountAccountInfoResponse { #[prost(uint64, tag = "1")] #[serde( @@ -5928,11 +5303,8 @@ pub struct QueryFeeDiscountAccountInfoResponse { /// QueryFeeDiscountScheduleRequest is the request type for the /// Query/FeeDiscountSchedule RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFeeDiscountScheduleRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/FeeDiscountSchedule", response_type = QueryFeeDiscountScheduleResponse @@ -5941,11 +5313,8 @@ pub struct QueryFeeDiscountScheduleRequest {} /// QueryFeeDiscountScheduleResponse is the response type for the /// Query/FeeDiscountSchedule RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFeeDiscountScheduleResponse")] pub struct QueryFeeDiscountScheduleResponse { #[prost(message, optional, tag = "1")] pub fee_discount_schedule: ::core::option::Option, @@ -5953,8 +5322,7 @@ pub struct QueryFeeDiscountScheduleResponse { /// QueryBalanceMismatchesRequest is the request type for the /// Query/QueryBalanceMismatches RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryBalanceMismatchesRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/BalanceMismatches", @@ -5969,8 +5337,7 @@ pub struct QueryBalanceMismatchesRequest { pub dust_factor: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.BalanceMismatch")] pub struct BalanceMismatch { #[prost(string, tag = "1")] @@ -5992,8 +5359,7 @@ pub struct BalanceMismatch { /// QueryBalanceMismatchesResponse is the response type for the /// Query/QueryBalanceMismatches RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryBalanceMismatchesResponse")] pub struct QueryBalanceMismatchesResponse { #[prost(message, repeated, tag = "1")] @@ -6002,19 +5368,15 @@ pub struct QueryBalanceMismatchesResponse { /// QueryBalanceWithBalanceHoldsRequest is the request type for the /// Query/QueryBalanceWithBalanceHolds RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsRequest" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/BalanceWithBalanceHolds", response_type = QueryBalanceWithBalanceHoldsResponse )] pub struct QueryBalanceWithBalanceHoldsRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.BalanceWithMarginHold")] pub struct BalanceWithMarginHold { #[prost(string, tag = "1")] @@ -6032,11 +5394,8 @@ pub struct BalanceWithMarginHold { /// QueryBalanceWithBalanceHoldsResponse is the response type for the /// Query/QueryBalanceWithBalanceHolds RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryBalanceWithBalanceHoldsResponse")] pub struct QueryBalanceWithBalanceHoldsResponse { #[prost(message, repeated, tag = "1")] pub balance_with_balance_holds: ::prost::alloc::vec::Vec, @@ -6044,19 +5403,15 @@ pub struct QueryBalanceWithBalanceHoldsResponse { /// QueryFeeDiscountTierStatisticsRequest is the request type for the /// Query/QueryFeeDiscountTierStatistics RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsRequest" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/FeeDiscountTierStatistics", response_type = QueryFeeDiscountTierStatisticsResponse )] pub struct QueryFeeDiscountTierStatisticsRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TierStatistic")] pub struct TierStatistic { #[prost(uint64, tag = "1")] @@ -6075,11 +5430,8 @@ pub struct TierStatistic { /// QueryFeeDiscountTierStatisticsResponse is the response type for the /// Query/QueryFeeDiscountTierStatistics RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFeeDiscountTierStatisticsResponse")] pub struct QueryFeeDiscountTierStatisticsResponse { #[prost(message, repeated, tag = "1")] pub statistics: ::prost::alloc::vec::Vec, @@ -6087,8 +5439,7 @@ pub struct QueryFeeDiscountTierStatisticsResponse { /// MitoVaultInfosRequest is the request type for the Query/MitoVaultInfos RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MitoVaultInfosRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/MitoVaultInfos", @@ -6098,8 +5449,7 @@ pub struct MitoVaultInfosRequest {} /// MitoVaultInfosResponse is the response type for the Query/MitoVaultInfos RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.MitoVaultInfosResponse")] pub struct MitoVaultInfosResponse { #[prost(string, repeated, tag = "1")] @@ -6114,8 +5464,7 @@ pub struct MitoVaultInfosResponse { /// QueryMarketIDFromVaultRequest is the request type for the /// Query/QueryMarketIDFromVault RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryMarketIDFromVaultRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/QueryMarketIDFromVault", @@ -6128,8 +5477,7 @@ pub struct QueryMarketIdFromVaultRequest { /// QueryMarketIDFromVaultResponse is the response type for the /// Query/QueryMarketIDFromVault RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryMarketIDFromVaultResponse")] pub struct QueryMarketIdFromVaultResponse { #[prost(string, tag = "1")] @@ -6137,11 +5485,8 @@ pub struct QueryMarketIdFromVaultResponse { pub market_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryHistoricalTradeRecordsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/HistoricalTradeRecords", response_type = QueryHistoricalTradeRecordsResponse @@ -6152,11 +5497,8 @@ pub struct QueryHistoricalTradeRecordsRequest { pub market_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryHistoricalTradeRecordsResponse")] pub struct QueryHistoricalTradeRecordsResponse { #[prost(message, repeated, tag = "1")] pub trade_records: ::prost::alloc::vec::Vec, @@ -6164,8 +5506,7 @@ pub struct QueryHistoricalTradeRecordsResponse { /// TradeHistoryOptions are the optional params for Query/MarketVolatility RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.TradeHistoryOptions")] pub struct TradeHistoryOptions { /// TradeGroupingSec of 0 means use the chain's default grouping @@ -6196,8 +5537,7 @@ pub struct TradeHistoryOptions { /// QueryMarketVolatilityRequest are the request params for the /// Query/MarketVolatility RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryMarketVolatilityRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/MarketVolatility", @@ -6213,24 +5553,20 @@ pub struct QueryMarketVolatilityRequest { /// QueryMarketVolatilityResponse is the response type for the /// Query/MarketVolatility RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryMarketVolatilityResponse")] pub struct QueryMarketVolatilityResponse { #[prost(string, tag = "1")] pub volatility: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - pub history_metadata: ::core::option::Option< - super::super::oracle::v1beta1::MetadataStatistics, - >, + pub history_metadata: ::core::option::Option, #[prost(message, repeated, tag = "3")] pub raw_history: ::prost::alloc::vec::Vec, } /// QuerBinaryMarketsRequest is the request type for the Query/BinaryMarkets RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryBinaryMarketsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/BinaryOptionsMarkets", @@ -6244,8 +5580,7 @@ pub struct QueryBinaryMarketsRequest { /// QueryBinaryMarketsResponse is the response type for the Query/BinaryMarkets /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryBinaryMarketsResponse")] pub struct QueryBinaryMarketsResponse { #[prost(message, repeated, tag = "1")] @@ -6254,11 +5589,8 @@ pub struct QueryBinaryMarketsResponse { /// QueryConditionalOrdersRequest is the request type for the /// Query/ConditionalOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/TraderDerivativeConditionalOrders", response_type = QueryTraderDerivativeConditionalOrdersResponse @@ -6272,11 +5604,8 @@ pub struct QueryTraderDerivativeConditionalOrdersRequest { pub market_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.TrimmedDerivativeConditionalOrder" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.TrimmedDerivativeConditionalOrder")] pub struct TrimmedDerivativeConditionalOrder { /// price of the order #[prost(string, tag = "1")] @@ -6305,21 +5634,15 @@ pub struct TrimmedDerivativeConditionalOrder { /// QueryTraderDerivativeOrdersResponse is the response type for the /// Query/TraderDerivativeOrders RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryTraderDerivativeConditionalOrdersResponse")] pub struct QueryTraderDerivativeConditionalOrdersResponse { #[prost(message, repeated, tag = "1")] pub orders: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/MarketAtomicExecutionFeeMultiplier", response_type = QueryMarketAtomicExecutionFeeMultiplierResponse @@ -6330,18 +5653,14 @@ pub struct QueryMarketAtomicExecutionFeeMultiplierRequest { pub market_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryMarketAtomicExecutionFeeMultiplierResponse")] pub struct QueryMarketAtomicExecutionFeeMultiplierResponse { #[prost(string, tag = "1")] pub multiplier: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryActiveStakeGrantRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/ActiveStakeGrant", @@ -6352,8 +5671,7 @@ pub struct QueryActiveStakeGrantRequest { pub grantee: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryActiveStakeGrantResponse")] pub struct QueryActiveStakeGrantResponse { #[prost(message, optional, tag = "1")] @@ -6362,8 +5680,7 @@ pub struct QueryActiveStakeGrantResponse { pub effective_grant: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.exchange.v1beta1.QueryGrantAuthorizationRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/GrantAuthorization", @@ -6376,21 +5693,15 @@ pub struct QueryGrantAuthorizationRequest { pub grantee: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryGrantAuthorizationResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryGrantAuthorizationResponse")] pub struct QueryGrantAuthorizationResponse { #[prost(string, tag = "1")] pub amount: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryGrantAuthorizationsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryGrantAuthorizationsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/GrantAuthorizations", response_type = QueryGrantAuthorizationsResponse @@ -6400,11 +5711,8 @@ pub struct QueryGrantAuthorizationsRequest { pub granter: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.exchange.v1beta1.QueryGrantAuthorizationsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryGrantAuthorizationsResponse")] pub struct QueryGrantAuthorizationsResponse { #[prost(string, tag = "1")] pub total_grant_amount: ::prost::alloc::string::String, @@ -6483,9 +5791,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self { Self { querier } } - pub fn query_exchange_params( - &self, - ) -> Result { + pub fn query_exchange_params(&self) -> Result { QueryExchangeParamsRequest {}.query(self.querier) } pub fn subaccount_deposits( @@ -6493,100 +5799,58 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { subaccount_id: ::prost::alloc::string::String, subaccount: ::core::option::Option, ) -> Result { - QuerySubaccountDepositsRequest { - subaccount_id, - subaccount, - } - .query(self.querier) + QuerySubaccountDepositsRequest { subaccount_id, subaccount }.query(self.querier) } pub fn subaccount_deposit( &self, subaccount_id: ::prost::alloc::string::String, denom: ::prost::alloc::string::String, ) -> Result { - QuerySubaccountDepositRequest { - subaccount_id, - denom, - } - .query(self.querier) + QuerySubaccountDepositRequest { subaccount_id, denom }.query(self.querier) } - pub fn exchange_balances( - &self, - ) -> Result { + pub fn exchange_balances(&self) -> Result { QueryExchangeBalancesRequest {}.query(self.querier) } - pub fn aggregate_volume( - &self, - account: ::prost::alloc::string::String, - ) -> Result { - QueryAggregateVolumeRequest { - account, - } - .query(self.querier) + pub fn aggregate_volume(&self, account: ::prost::alloc::string::String) -> Result { + QueryAggregateVolumeRequest { account }.query(self.querier) } pub fn aggregate_volumes( &self, accounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, ) -> Result { - QueryAggregateVolumesRequest { - accounts, - market_ids, - } - .query(self.querier) + QueryAggregateVolumesRequest { accounts, market_ids }.query(self.querier) } pub fn aggregate_market_volume( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QueryAggregateMarketVolumeRequest { - market_id, - } - .query(self.querier) + QueryAggregateMarketVolumeRequest { market_id }.query(self.querier) } pub fn aggregate_market_volumes( &self, market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, ) -> Result { - QueryAggregateMarketVolumesRequest { - market_ids, - } - .query(self.querier) + QueryAggregateMarketVolumesRequest { market_ids }.query(self.querier) } - pub fn denom_decimal( - &self, - denom: ::prost::alloc::string::String, - ) -> Result { + pub fn denom_decimal(&self, denom: ::prost::alloc::string::String) -> Result { QueryDenomDecimalRequest { denom }.query(self.querier) } pub fn denom_decimals( &self, denoms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, ) -> Result { - QueryDenomDecimalsRequest { - denoms, - } - .query(self.querier) + QueryDenomDecimalsRequest { denoms }.query(self.querier) } pub fn spot_markets( &self, status: ::prost::alloc::string::String, market_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, ) -> Result { - QuerySpotMarketsRequest { - status, - market_ids, - } - .query(self.querier) + QuerySpotMarketsRequest { status, market_ids }.query(self.querier) } - pub fn spot_market( - &self, - market_id: ::prost::alloc::string::String, - ) -> Result { - QuerySpotMarketRequest { - market_id, - } - .query(self.querier) + pub fn spot_market(&self, market_id: ::prost::alloc::string::String) -> Result { + QuerySpotMarketRequest { market_id }.query(self.querier) } pub fn full_spot_markets( &self, @@ -6599,7 +5863,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { market_ids, with_mid_price_and_tob, } - .query(self.querier) + .query(self.querier) } pub fn full_spot_market( &self, @@ -6610,7 +5874,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { market_id, with_mid_price_and_tob, } - .query(self.querier) + .query(self.querier) } pub fn spot_orderbook( &self, @@ -6627,29 +5891,21 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { limit_cumulative_notional, limit_cumulative_quantity, } - .query(self.querier) + .query(self.querier) } pub fn trader_spot_orders( &self, market_id: ::prost::alloc::string::String, subaccount_id: ::prost::alloc::string::String, ) -> Result { - QueryTraderSpotOrdersRequest { - market_id, - subaccount_id, - } - .query(self.querier) + QueryTraderSpotOrdersRequest { market_id, subaccount_id }.query(self.querier) } pub fn account_address_spot_orders( &self, market_id: ::prost::alloc::string::String, account_address: ::prost::alloc::string::String, ) -> Result { - QueryAccountAddressSpotOrdersRequest { - market_id, - account_address, - } - .query(self.querier) + QueryAccountAddressSpotOrdersRequest { market_id, account_address }.query(self.querier) } pub fn spot_orders_by_hashes( &self, @@ -6662,47 +5918,33 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { subaccount_id, order_hashes, } - .query(self.querier) + .query(self.querier) } pub fn subaccount_orders( &self, subaccount_id: ::prost::alloc::string::String, market_id: ::prost::alloc::string::String, ) -> Result { - QuerySubaccountOrdersRequest { - subaccount_id, - market_id, - } - .query(self.querier) + QuerySubaccountOrdersRequest { subaccount_id, market_id }.query(self.querier) } pub fn trader_spot_transient_orders( &self, market_id: ::prost::alloc::string::String, subaccount_id: ::prost::alloc::string::String, ) -> Result { - QueryTraderSpotOrdersRequest { - market_id, - subaccount_id, - } - .query(self.querier) + QueryTraderSpotOrdersRequest { market_id, subaccount_id }.query(self.querier) } pub fn spot_mid_price_and_tob( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QuerySpotMidPriceAndTobRequest { - market_id, - } - .query(self.querier) + QuerySpotMidPriceAndTobRequest { market_id }.query(self.querier) } pub fn derivative_mid_price_and_tob( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QueryDerivativeMidPriceAndTobRequest { - market_id, - } - .query(self.querier) + QueryDerivativeMidPriceAndTobRequest { market_id }.query(self.querier) } pub fn derivative_orderbook( &self, @@ -6715,29 +5957,21 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { limit, limit_cumulative_notional, } - .query(self.querier) + .query(self.querier) } pub fn trader_derivative_orders( &self, market_id: ::prost::alloc::string::String, subaccount_id: ::prost::alloc::string::String, ) -> Result { - QueryTraderDerivativeOrdersRequest { - market_id, - subaccount_id, - } - .query(self.querier) + QueryTraderDerivativeOrdersRequest { market_id, subaccount_id }.query(self.querier) } pub fn account_address_derivative_orders( &self, market_id: ::prost::alloc::string::String, account_address: ::prost::alloc::string::String, ) -> Result { - QueryAccountAddressDerivativeOrdersRequest { - market_id, - account_address, - } - .query(self.querier) + QueryAccountAddressDerivativeOrdersRequest { market_id, account_address }.query(self.querier) } pub fn derivative_orders_by_hashes( &self, @@ -6750,18 +5984,14 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { subaccount_id, order_hashes, } - .query(self.querier) + .query(self.querier) } pub fn trader_derivative_transient_orders( &self, market_id: ::prost::alloc::string::String, subaccount_id: ::prost::alloc::string::String, ) -> Result { - QueryTraderDerivativeOrdersRequest { - market_id, - subaccount_id, - } - .query(self.querier) + QueryTraderDerivativeOrdersRequest { market_id, subaccount_id }.query(self.querier) } pub fn derivative_markets( &self, @@ -6774,38 +6004,24 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { market_ids, with_mid_price_and_tob, } - .query(self.querier) + .query(self.querier) } - pub fn derivative_market( - &self, - market_id: ::prost::alloc::string::String, - ) -> Result { - QueryDerivativeMarketRequest { - market_id, - } - .query(self.querier) + pub fn derivative_market(&self, market_id: ::prost::alloc::string::String) -> Result { + QueryDerivativeMarketRequest { market_id }.query(self.querier) } pub fn derivative_market_address( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QueryDerivativeMarketAddressRequest { - market_id, - } - .query(self.querier) + QueryDerivativeMarketAddressRequest { market_id }.query(self.querier) } pub fn subaccount_trade_nonce( &self, subaccount_id: ::prost::alloc::string::String, ) -> Result { - QuerySubaccountTradeNonceRequest { - subaccount_id, - } - .query(self.querier) + QuerySubaccountTradeNonceRequest { subaccount_id }.query(self.querier) } - pub fn exchange_module_state( - &self, - ) -> Result { + pub fn exchange_module_state(&self) -> Result { QueryModuleStateRequest {}.query(self.querier) } pub fn positions(&self) -> Result { @@ -6815,71 +6031,45 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { &self, subaccount_id: ::prost::alloc::string::String, ) -> Result { - QuerySubaccountPositionsRequest { - subaccount_id, - } - .query(self.querier) + QuerySubaccountPositionsRequest { subaccount_id }.query(self.querier) } pub fn subaccount_position_in_market( &self, subaccount_id: ::prost::alloc::string::String, market_id: ::prost::alloc::string::String, ) -> Result { - QuerySubaccountPositionInMarketRequest { - subaccount_id, - market_id, - } - .query(self.querier) + QuerySubaccountPositionInMarketRequest { subaccount_id, market_id }.query(self.querier) } pub fn subaccount_effective_position_in_market( &self, subaccount_id: ::prost::alloc::string::String, market_id: ::prost::alloc::string::String, - ) -> Result< - QuerySubaccountEffectivePositionInMarketResponse, - cosmwasm_std::StdError, - > { - QuerySubaccountEffectivePositionInMarketRequest { - subaccount_id, - market_id, - } - .query(self.querier) + ) -> Result { + QuerySubaccountEffectivePositionInMarketRequest { subaccount_id, market_id }.query(self.querier) } pub fn perpetual_market_info( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QueryPerpetualMarketInfoRequest { - market_id, - } - .query(self.querier) + QueryPerpetualMarketInfoRequest { market_id }.query(self.querier) } pub fn expiry_futures_market_info( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QueryExpiryFuturesMarketInfoRequest { - market_id, - } - .query(self.querier) + QueryExpiryFuturesMarketInfoRequest { market_id }.query(self.querier) } pub fn perpetual_market_funding( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QueryPerpetualMarketFundingRequest { - market_id, - } - .query(self.querier) + QueryPerpetualMarketFundingRequest { market_id }.query(self.querier) } pub fn subaccount_order_metadata( &self, subaccount_id: ::prost::alloc::string::String, ) -> Result { - QuerySubaccountOrderMetadataRequest { - subaccount_id, - } - .query(self.querier) + QuerySubaccountOrderMetadataRequest { subaccount_id }.query(self.querier) } pub fn trade_reward_points( &self, @@ -6890,7 +6080,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { accounts, pending_pool_timestamp, } - .query(self.querier) + .query(self.querier) } pub fn pending_trade_reward_points( &self, @@ -6901,88 +6091,52 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { accounts, pending_pool_timestamp, } - .query(self.querier) + .query(self.querier) } - pub fn trade_reward_campaign( - &self, - ) -> Result { + pub fn trade_reward_campaign(&self) -> Result { QueryTradeRewardCampaignRequest {}.query(self.querier) } pub fn fee_discount_account_info( &self, account: ::prost::alloc::string::String, ) -> Result { - QueryFeeDiscountAccountInfoRequest { - account, - } - .query(self.querier) + QueryFeeDiscountAccountInfoRequest { account }.query(self.querier) } - pub fn fee_discount_schedule( - &self, - ) -> Result { + pub fn fee_discount_schedule(&self) -> Result { QueryFeeDiscountScheduleRequest {}.query(self.querier) } - pub fn balance_mismatches( - &self, - dust_factor: i64, - ) -> Result { - QueryBalanceMismatchesRequest { - dust_factor, - } - .query(self.querier) + pub fn balance_mismatches(&self, dust_factor: i64) -> Result { + QueryBalanceMismatchesRequest { dust_factor }.query(self.querier) } - pub fn balance_with_balance_holds( - &self, - ) -> Result { - QueryBalanceWithBalanceHoldsRequest { - } - .query(self.querier) + pub fn balance_with_balance_holds(&self) -> Result { + QueryBalanceWithBalanceHoldsRequest {}.query(self.querier) } - pub fn fee_discount_tier_statistics( - &self, - ) -> Result { - QueryFeeDiscountTierStatisticsRequest { - } - .query(self.querier) + pub fn fee_discount_tier_statistics(&self) -> Result { + QueryFeeDiscountTierStatisticsRequest {}.query(self.querier) } - pub fn mito_vault_infos( - &self, - ) -> Result { + pub fn mito_vault_infos(&self) -> Result { MitoVaultInfosRequest {}.query(self.querier) } pub fn query_market_id_from_vault( &self, vault_address: ::prost::alloc::string::String, ) -> Result { - QueryMarketIdFromVaultRequest { - vault_address, - } - .query(self.querier) + QueryMarketIdFromVaultRequest { vault_address }.query(self.querier) } pub fn historical_trade_records( &self, market_id: ::prost::alloc::string::String, ) -> Result { - QueryHistoricalTradeRecordsRequest { - market_id, - } - .query(self.querier) + QueryHistoricalTradeRecordsRequest { market_id }.query(self.querier) } pub fn is_opted_out_of_rewards( &self, account: ::prost::alloc::string::String, ) -> Result { - QueryIsOptedOutOfRewardsRequest { - account, - } - .query(self.querier) + QueryIsOptedOutOfRewardsRequest { account }.query(self.querier) } - pub fn opted_out_of_rewards_accounts( - &self, - ) -> Result { - QueryOptedOutOfRewardsAccountsRequest { - } - .query(self.querier) + pub fn opted_out_of_rewards_accounts(&self) -> Result { + QueryOptedOutOfRewardsAccountsRequest {}.query(self.querier) } pub fn market_volatility( &self, @@ -6993,67 +6147,35 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { market_id, trade_history_options, } - .query(self.querier) + .query(self.querier) } - pub fn binary_options_markets( - &self, - status: ::prost::alloc::string::String, - ) -> Result { - QueryBinaryMarketsRequest { - status, - } - .query(self.querier) + pub fn binary_options_markets(&self, status: ::prost::alloc::string::String) -> Result { + QueryBinaryMarketsRequest { status }.query(self.querier) } pub fn trader_derivative_conditional_orders( &self, subaccount_id: ::prost::alloc::string::String, market_id: ::prost::alloc::string::String, ) -> Result { - QueryTraderDerivativeConditionalOrdersRequest { - subaccount_id, - market_id, - } - .query(self.querier) + QueryTraderDerivativeConditionalOrdersRequest { subaccount_id, market_id }.query(self.querier) } pub fn market_atomic_execution_fee_multiplier( &self, market_id: ::prost::alloc::string::String, - ) -> Result< - QueryMarketAtomicExecutionFeeMultiplierResponse, - cosmwasm_std::StdError, - > { - QueryMarketAtomicExecutionFeeMultiplierRequest { - market_id, - } - .query(self.querier) + ) -> Result { + QueryMarketAtomicExecutionFeeMultiplierRequest { market_id }.query(self.querier) } - pub fn active_stake_grant( - &self, - grantee: ::prost::alloc::string::String, - ) -> Result { - QueryActiveStakeGrantRequest { - grantee, - } - .query(self.querier) + pub fn active_stake_grant(&self, grantee: ::prost::alloc::string::String) -> Result { + QueryActiveStakeGrantRequest { grantee }.query(self.querier) } pub fn grant_authorization( &self, granter: ::prost::alloc::string::String, grantee: ::prost::alloc::string::String, ) -> Result { - QueryGrantAuthorizationRequest { - granter, - grantee, - } - .query(self.querier) + QueryGrantAuthorizationRequest { granter, grantee }.query(self.querier) } - pub fn grant_authorizations( - &self, - granter: ::prost::alloc::string::String, - ) -> Result { - QueryGrantAuthorizationsRequest { - granter, - } - .query(self.querier) + pub fn grant_authorizations(&self, granter: ::prost::alloc::string::String) -> Result { + QueryGrantAuthorizationsRequest { granter }.query(self.querier) } } diff --git a/packages/injective-std/src/types/injective/oracle/v1beta1.rs b/packages/injective-std/src/types/injective/oracle/v1beta1.rs index 3eb6b728..c08caa38 100644 --- a/packages/injective-std/src/types/injective/oracle/v1beta1.rs +++ b/packages/injective-std/src/types/injective/oracle/v1beta1.rs @@ -1,15 +1,13 @@ use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.Params")] pub struct Params { #[prost(string, tag = "1")] pub pyth_contract: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.OracleInfo")] pub struct OracleInfo { #[prost(string, tag = "1")] @@ -22,8 +20,7 @@ pub struct OracleInfo { pub oracle_type: i32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.ChainlinkPriceState")] pub struct ChainlinkPriceState { #[prost(string, tag = "1")] @@ -41,8 +38,7 @@ pub struct ChainlinkPriceState { pub price_state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.BandPriceState")] pub struct BandPriceState { #[prost(string, tag = "1")] @@ -66,8 +62,7 @@ pub struct BandPriceState { pub price_state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PriceFeedState")] pub struct PriceFeedState { #[prost(string, tag = "1")] @@ -80,8 +75,7 @@ pub struct PriceFeedState { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.ProviderInfo")] pub struct ProviderInfo { #[prost(string, tag = "1")] @@ -90,8 +84,7 @@ pub struct ProviderInfo { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.ProviderState")] pub struct ProviderState { #[prost(message, optional, tag = "1")] @@ -100,8 +93,7 @@ pub struct ProviderState { pub provider_price_states: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.ProviderPriceState")] pub struct ProviderPriceState { #[prost(string, tag = "1")] @@ -110,8 +102,7 @@ pub struct ProviderPriceState { pub state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PriceFeedInfo")] pub struct PriceFeedInfo { #[prost(string, tag = "1")] @@ -120,16 +111,14 @@ pub struct PriceFeedInfo { pub quote: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PriceFeedPrice")] pub struct PriceFeedPrice { #[prost(string, tag = "1")] pub price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.CoinbasePriceState")] pub struct CoinbasePriceState { /// kind should always be "prices" @@ -157,8 +146,7 @@ pub struct CoinbasePriceState { pub price_state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.StorkPriceState")] pub struct StorkPriceState { /// timestamp of the when the price was signed by stork @@ -179,8 +167,7 @@ pub struct StorkPriceState { pub price_state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PriceState")] pub struct PriceState { #[prost(string, tag = "1")] @@ -195,8 +182,7 @@ pub struct PriceState { pub timestamp: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PythPriceState")] pub struct PythPriceState { #[prost(string, tag = "1")] @@ -218,8 +204,7 @@ pub struct PythPriceState { pub price_state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.BandOracleRequest")] pub struct BandOracleRequest { /// Unique Identifier for band ibc oracle request @@ -262,9 +247,7 @@ pub struct BandOracleRequest { /// FeeLimit is the maximum tokens that will be paid to all data source /// providers. #[prost(message, repeated, tag = "6")] - pub fee_limit: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub fee_limit: ::prost::alloc::vec::Vec, /// PrepareGas is amount of gas to pay to prepare raw requests #[prost(uint64, tag = "7")] #[serde( @@ -289,8 +272,7 @@ pub struct BandOracleRequest { pub min_source_count: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.BandIBCParams")] pub struct BandIbcParams { /// true if Band IBC should be enabled @@ -319,8 +301,7 @@ pub struct BandIbcParams { pub legacy_oracle_ids: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SymbolPriceTimestamp")] pub struct SymbolPriceTimestamp { #[prost(enumeration = "OracleType", tag = "1")] @@ -340,16 +321,14 @@ pub struct SymbolPriceTimestamp { pub timestamp: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.LastPriceTimestamps")] pub struct LastPriceTimestamps { #[prost(message, repeated, tag = "1")] pub last_price_timestamps: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PriceRecords")] pub struct PriceRecords { #[prost(enumeration = "OracleType", tag = "1")] @@ -365,8 +344,7 @@ pub struct PriceRecords { pub latest_price_records: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PriceRecord")] pub struct PriceRecord { #[prost(int64, tag = "1")] @@ -381,8 +359,7 @@ pub struct PriceRecord { /// MetadataStatistics refers to the metadata summary statistics of the /// historical sample considered #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MetadataStatistics")] pub struct MetadataStatistics { /// GroupCount refers to the number of groups used. Equals RecordsSampleSize if @@ -435,8 +412,7 @@ pub struct MetadataStatistics { pub median_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PriceAttestation")] pub struct PriceAttestation { #[prost(string, tag = "1")] @@ -487,8 +463,7 @@ pub struct PriceAttestation { pub publish_time: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.AssetPair")] pub struct AssetPair { #[prost(string, tag = "1")] @@ -498,8 +473,7 @@ pub struct AssetPair { pub signed_prices: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SignedPriceOfAssetPair")] pub struct SignedPriceOfAssetPair { #[prost(string, tag = "1")] @@ -576,8 +550,7 @@ impl OracleType { } } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SetChainlinkPriceEvent")] pub struct SetChainlinkPriceEvent { #[prost(string, tag = "1")] @@ -594,8 +567,7 @@ pub struct SetChainlinkPriceEvent { } /// Event type upon set ref #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SetBandPriceEvent")] pub struct SetBandPriceEvent { #[prost(string, tag = "1")] @@ -619,8 +591,7 @@ pub struct SetBandPriceEvent { pub request_id: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SetBandIBCPriceEvent")] pub struct SetBandIbcPriceEvent { #[prost(string, tag = "1")] @@ -651,8 +622,7 @@ pub struct SetBandIbcPriceEvent { pub client_id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.EventBandIBCAckSuccess")] pub struct EventBandIbcAckSuccess { #[prost(string, tag = "1")] @@ -666,8 +636,7 @@ pub struct EventBandIbcAckSuccess { pub client_id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.EventBandIBCAckError")] pub struct EventBandIbcAckError { #[prost(string, tag = "1")] @@ -681,8 +650,7 @@ pub struct EventBandIbcAckError { pub client_id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.EventBandIBCResponseTimeout")] pub struct EventBandIbcResponseTimeout { #[prost(int64, tag = "1")] @@ -694,8 +662,7 @@ pub struct EventBandIbcResponseTimeout { pub client_id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SetPriceFeedPriceEvent")] pub struct SetPriceFeedPriceEvent { #[prost(string, tag = "1")] @@ -709,8 +676,7 @@ pub struct SetPriceFeedPriceEvent { pub price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SetProviderPriceEvent")] pub struct SetProviderPriceEvent { #[prost(string, tag = "1")] @@ -723,8 +689,7 @@ pub struct SetProviderPriceEvent { pub price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.SetCoinbasePriceEvent")] pub struct SetCoinbasePriceEvent { #[prost(string, tag = "1")] @@ -739,16 +704,14 @@ pub struct SetCoinbasePriceEvent { pub timestamp: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.EventSetStorkPrices")] pub struct EventSetStorkPrices { #[prost(message, repeated, tag = "1")] pub prices: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.EventSetPythPrices")] pub struct EventSetPythPrices { #[prost(message, repeated, tag = "1")] @@ -756,8 +719,7 @@ pub struct EventSetPythPrices { } /// GenesisState defines the oracle module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of related to oracle. @@ -807,8 +769,7 @@ pub struct GenesisState { pub stork_publishers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.CalldataRecord")] pub struct CalldataRecord { #[prost(uint64, tag = "1")] @@ -822,8 +783,7 @@ pub struct CalldataRecord { pub calldata: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.GrantBandOraclePrivilegeProposal")] pub struct GrantBandOraclePrivilegeProposal { #[prost(string, tag = "1")] @@ -834,11 +794,8 @@ pub struct GrantBandOraclePrivilegeProposal { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.RevokeBandOraclePrivilegeProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.RevokeBandOraclePrivilegeProposal")] pub struct RevokeBandOraclePrivilegeProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -848,11 +805,8 @@ pub struct RevokeBandOraclePrivilegeProposal { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.GrantPriceFeederPrivilegeProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.GrantPriceFeederPrivilegeProposal")] pub struct GrantPriceFeederPrivilegeProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -866,8 +820,7 @@ pub struct GrantPriceFeederPrivilegeProposal { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.GrantProviderPrivilegeProposal")] pub struct GrantProviderPrivilegeProposal { #[prost(string, tag = "1")] @@ -880,8 +833,7 @@ pub struct GrantProviderPrivilegeProposal { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.RevokeProviderPrivilegeProposal")] pub struct RevokeProviderPrivilegeProposal { #[prost(string, tag = "1")] @@ -894,11 +846,8 @@ pub struct RevokeProviderPrivilegeProposal { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.RevokePriceFeederPrivilegeProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.RevokePriceFeederPrivilegeProposal")] pub struct RevokePriceFeederPrivilegeProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -912,11 +861,8 @@ pub struct RevokePriceFeederPrivilegeProposal { pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.AuthorizeBandOracleRequestProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.AuthorizeBandOracleRequestProposal")] pub struct AuthorizeBandOracleRequestProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -926,8 +872,7 @@ pub struct AuthorizeBandOracleRequestProposal { pub request: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.UpdateBandOracleRequestProposal")] pub struct UpdateBandOracleRequestProposal { #[prost(string, tag = "1")] @@ -941,8 +886,7 @@ pub struct UpdateBandOracleRequestProposal { pub update_oracle_request: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.EnableBandIBCProposal")] pub struct EnableBandIbcProposal { #[prost(string, tag = "1")] @@ -953,11 +897,8 @@ pub struct EnableBandIbcProposal { pub band_ibc_params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.GrantStorkPublisherPrivilegeProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.GrantStorkPublisherPrivilegeProposal")] pub struct GrantStorkPublisherPrivilegeProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -967,11 +908,8 @@ pub struct GrantStorkPublisherPrivilegeProposal { pub stork_publishers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.RevokeStorkPublisherPrivilegeProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.RevokeStorkPublisherPrivilegeProposal")] pub struct RevokeStorkPublisherPrivilegeProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -981,8 +919,7 @@ pub struct RevokeStorkPublisherPrivilegeProposal { pub stork_publishers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryPythPriceRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/PythPrice", @@ -994,8 +931,7 @@ pub struct QueryPythPriceRequest { pub price_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryPythPriceResponse")] pub struct QueryPythPriceResponse { #[prost(message, optional, tag = "1")] @@ -1004,8 +940,7 @@ pub struct QueryPythPriceResponse { /// QueryOracleParamsRequest is the request type for the Query/OracleParams RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryParamsRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/Params", @@ -1015,8 +950,7 @@ pub struct QueryParamsRequest {} /// QueryOracleParamsResponse is the response type for the Query/OracleParams RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryParamsResponse")] pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] @@ -1025,8 +959,7 @@ pub struct QueryParamsResponse { /// QueryBandRelayersRequest is the request type for the Query/BandRelayers RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryBandRelayersRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/BandRelayers", @@ -1036,8 +969,7 @@ pub struct QueryBandRelayersRequest {} /// QueryBandRelayersResponse is the response type for the Query/BandRelayers RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryBandRelayersResponse")] pub struct QueryBandRelayersResponse { #[prost(string, repeated, tag = "1")] @@ -1046,8 +978,7 @@ pub struct QueryBandRelayersResponse { /// QueryBandPriceStatesRequest is the request type for the Query/BandPriceStates /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryBandPriceStatesRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/BandPriceStates", @@ -1057,8 +988,7 @@ pub struct QueryBandPriceStatesRequest {} /// QueryBandPriceStatesResponse is the response type for the /// Query/BandPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryBandPriceStatesResponse")] pub struct QueryBandPriceStatesResponse { #[prost(message, repeated, tag = "1")] @@ -1067,8 +997,7 @@ pub struct QueryBandPriceStatesResponse { /// QueryBandIBCPriceStatesRequest is the request type for the /// Query/BandIBCPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/BandIBCPriceStates", @@ -1078,8 +1007,7 @@ pub struct QueryBandIbcPriceStatesRequest {} /// QueryBandIBCPriceStatesResponse is the response type for the /// Query/BandIBCPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse")] pub struct QueryBandIbcPriceStatesResponse { #[prost(message, repeated, tag = "1")] @@ -1088,8 +1016,7 @@ pub struct QueryBandIbcPriceStatesResponse { /// QueryPriceFeedPriceStatesRequest is the request type for the /// Query/PriceFeedPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/PriceFeedPriceStates", @@ -1099,11 +1026,8 @@ pub struct QueryPriceFeedPriceStatesRequest {} /// QueryPriceFeedPriceStatesResponse is the response type for the /// Query/PriceFeedPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse")] pub struct QueryPriceFeedPriceStatesResponse { #[prost(message, repeated, tag = "1")] pub price_states: ::prost::alloc::vec::Vec, @@ -1111,8 +1035,7 @@ pub struct QueryPriceFeedPriceStatesResponse { /// QueryCoinbasePriceStatesRequest is the request type for the /// Query/CoinbasePriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/CoinbasePriceStates", @@ -1122,8 +1045,7 @@ pub struct QueryCoinbasePriceStatesRequest {} /// QueryCoinbasePriceStatesResponse is the response type for the /// Query/CoinbasePriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse")] pub struct QueryCoinbasePriceStatesResponse { #[prost(message, repeated, tag = "1")] @@ -1132,8 +1054,7 @@ pub struct QueryCoinbasePriceStatesResponse { /// QueryPythPriceStatesRequest is the request type for the /// Query/CoinbasePriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryPythPriceStatesRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/PythPriceStates", @@ -1143,8 +1064,7 @@ pub struct QueryPythPriceStatesRequest {} /// QueryPythPriceStatesResponse is the response type for the /// Query/CoinbasePriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryPythPriceStatesResponse")] pub struct QueryPythPriceStatesResponse { #[prost(message, repeated, tag = "1")] @@ -1153,8 +1073,7 @@ pub struct QueryPythPriceStatesResponse { /// QueryStorkPriceStatesRequest is the request type for the /// Query/StorkPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryStorkPriceStatesRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/StorkPriceStates", @@ -1164,8 +1083,7 @@ pub struct QueryStorkPriceStatesRequest {} /// QueryStorkPriceStatesResponse is the response type for the /// Query/StorkPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryStorkPriceStatesResponse")] pub struct QueryStorkPriceStatesResponse { #[prost(message, repeated, tag = "1")] @@ -1174,8 +1092,7 @@ pub struct QueryStorkPriceStatesResponse { /// QueryStorkPublishersRequest is the request type for the /// Query/StorkPublishers RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryStorkPublishersRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/StorkPublishers", @@ -1185,8 +1102,7 @@ pub struct QueryStorkPublishersRequest {} /// QueryStorkPublishersResponse is the response type for the /// Query/StorkPublishers RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryStorkPublishersResponse")] pub struct QueryStorkPublishersResponse { #[prost(string, repeated, tag = "1")] @@ -1195,8 +1111,7 @@ pub struct QueryStorkPublishersResponse { /// QueryProviderPriceStateRequest is the request type for the /// Query/ProviderPriceState RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryProviderPriceStateRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/ProviderPriceState", @@ -1211,8 +1126,7 @@ pub struct QueryProviderPriceStateRequest { /// QueryProviderPriceStatesResponse is the response type for the /// Query/ProviderPriceStates RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryProviderPriceStateResponse")] pub struct QueryProviderPriceStateResponse { #[prost(message, optional, tag = "1")] @@ -1221,8 +1135,7 @@ pub struct QueryProviderPriceStateResponse { /// QueryModuleStateRequest is the request type for the Query/OracleModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryModuleStateRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/OracleModuleState", @@ -1232,19 +1145,15 @@ pub struct QueryModuleStateRequest {} /// QueryModuleStateResponse is the response type for the Query/OracleModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryModuleStateResponse")] pub struct QueryModuleStateResponse { #[prost(message, optional, tag = "1")] pub state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.QueryHistoricalPriceRecordsRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/HistoricalPriceRecords", response_type = QueryHistoricalPriceRecordsResponse @@ -1261,18 +1170,14 @@ pub struct QueryHistoricalPriceRecordsRequest { pub symbol_id: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.QueryHistoricalPriceRecordsResponse")] pub struct QueryHistoricalPriceRecordsResponse { #[prost(message, repeated, tag = "1")] pub price_records: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.OracleHistoryOptions")] pub struct OracleHistoryOptions { /// MaxAge restricts the oracle price records oldest age in seconds from the @@ -1296,8 +1201,7 @@ pub struct OracleHistoryOptions { /// QueryOracleVolatilityRequest is the request type for Query/OracleVolatility /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryOracleVolatilityRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/OracleVolatility", @@ -1314,8 +1218,7 @@ pub struct QueryOracleVolatilityRequest { /// QueryOracleVolatilityResponse is the response type for Query/OracleVolatility /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryOracleVolatilityResponse")] pub struct QueryOracleVolatilityResponse { #[prost(string, tag = "1")] @@ -1326,8 +1229,7 @@ pub struct QueryOracleVolatilityResponse { pub raw_history: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryOracleProvidersInfoRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/OracleProvidersInfo", @@ -1335,16 +1237,14 @@ pub struct QueryOracleVolatilityResponse { )] pub struct QueryOracleProvidersInfoRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryOracleProvidersInfoResponse")] pub struct QueryOracleProvidersInfoResponse { #[prost(message, repeated, tag = "1")] pub providers: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryOracleProviderPricesRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/OracleProviderPrices", @@ -1355,11 +1255,8 @@ pub struct QueryOracleProviderPricesRequest { pub provider: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.oracle.v1beta1.QueryOracleProviderPricesResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.oracle.v1beta1.QueryOracleProviderPricesResponse")] pub struct QueryOracleProviderPricesResponse { #[prost(message, repeated, tag = "1")] pub provider_state: ::prost::alloc::vec::Vec, @@ -1368,8 +1265,7 @@ pub struct QueryOracleProviderPricesResponse { /// oracle result will be returned as base_price * 10^base_decimals / quote_price /// * 10^quote_decimals #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.ScalingOptions")] pub struct ScalingOptions { #[prost(uint32, tag = "1")] @@ -1388,8 +1284,7 @@ pub struct ScalingOptions { /// QueryOraclePriceRequest is the request type for the Query/OraclePrice RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryOraclePriceRequest")] #[proto_query( path = "/injective.oracle.v1beta1.Query/OraclePrice", @@ -1410,8 +1305,7 @@ pub struct QueryOraclePriceRequest { pub scaling_options: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.PricePairState")] pub struct PricePairState { #[prost(string, tag = "1")] @@ -1440,8 +1334,7 @@ pub struct PricePairState { /// QueryOraclePriceResponse is the response type for the Query/OraclePrice RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.QueryOraclePriceResponse")] pub struct QueryOraclePriceResponse { #[prost(message, optional, tag = "1")] @@ -1450,8 +1343,7 @@ pub struct QueryOraclePriceResponse { /// MsgRelayProviderPrice defines a SDK message for setting a price through the /// provider oracle. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayProviderPrices")] pub struct MsgRelayProviderPrices { #[prost(string, tag = "1")] @@ -1464,15 +1356,13 @@ pub struct MsgRelayProviderPrices { pub prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayProviderPricesResponse")] pub struct MsgRelayProviderPricesResponse {} /// MsgRelayPriceFeedPrice defines a SDK message for setting a price through the /// pricefeed oracle. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayPriceFeedPrice")] pub struct MsgRelayPriceFeedPrice { #[prost(string, tag = "1")] @@ -1486,13 +1376,11 @@ pub struct MsgRelayPriceFeedPrice { pub price: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse")] pub struct MsgRelayPriceFeedPriceResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayBandRates")] pub struct MsgRelayBandRates { #[prost(string, tag = "1")] @@ -1507,15 +1395,13 @@ pub struct MsgRelayBandRates { pub request_i_ds: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayBandRatesResponse")] pub struct MsgRelayBandRatesResponse {} /// MsgRelayCoinbaseMessages defines a SDK message for relaying price messages /// from Coinbase API. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayCoinbaseMessages")] pub struct MsgRelayCoinbaseMessages { #[prost(string, tag = "1")] @@ -1526,15 +1412,13 @@ pub struct MsgRelayCoinbaseMessages { pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse")] pub struct MsgRelayCoinbaseMessagesResponse {} /// MsgRelayStorkPrices defines a SDK message for relaying price message /// from Stork API. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayStorkPrices")] pub struct MsgRelayStorkPrices { #[prost(string, tag = "1")] @@ -1543,15 +1427,13 @@ pub struct MsgRelayStorkPrices { pub asset_pairs: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayStorkPricesResponse")] pub struct MsgRelayStorkPricesResponse {} /// MsgRequestBandIBCRates defines a SDK message for requesting data from /// BandChain using IBC. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRequestBandIBCRates")] pub struct MsgRequestBandIbcRates { #[prost(string, tag = "1")] @@ -1566,14 +1448,12 @@ pub struct MsgRequestBandIbcRates { } /// MsgRequestDataResponse defines the Msg/RequestBandIBCRates response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRequestBandIBCRatesResponse")] pub struct MsgRequestBandIbcRatesResponse {} /// MsgRelayPythPrices defines a SDK message for updating Pyth prices #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayPythPrices")] pub struct MsgRelayPythPrices { #[prost(string, tag = "1")] @@ -1583,13 +1463,11 @@ pub struct MsgRelayPythPrices { } /// MsgRelayPythPricesResponse defines the Msg/RelayPythPrices response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgRelayPythPricesResponse")] pub struct MsgRelayPythPricesResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address of the governance account. @@ -1602,8 +1480,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} pub struct OracleQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -1616,46 +1493,28 @@ impl<'a, Q: cosmwasm_std::CustomQuery> OracleQuerier<'a, Q> { pub fn params(&self) -> Result { QueryParamsRequest {}.query(self.querier) } - pub fn band_relayers( - &self, - ) -> Result { + pub fn band_relayers(&self) -> Result { QueryBandRelayersRequest {}.query(self.querier) } - pub fn band_price_states( - &self, - ) -> Result { + pub fn band_price_states(&self) -> Result { QueryBandPriceStatesRequest {}.query(self.querier) } - pub fn band_ibc_price_states( - &self, - ) -> Result { + pub fn band_ibc_price_states(&self) -> Result { QueryBandIbcPriceStatesRequest {}.query(self.querier) } - pub fn price_feed_price_states( - &self, - ) -> Result { - QueryPriceFeedPriceStatesRequest { - } - .query(self.querier) + pub fn price_feed_price_states(&self) -> Result { + QueryPriceFeedPriceStatesRequest {}.query(self.querier) } - pub fn coinbase_price_states( - &self, - ) -> Result { + pub fn coinbase_price_states(&self) -> Result { QueryCoinbasePriceStatesRequest {}.query(self.querier) } - pub fn pyth_price_states( - &self, - ) -> Result { + pub fn pyth_price_states(&self) -> Result { QueryPythPriceStatesRequest {}.query(self.querier) } - pub fn stork_price_states( - &self, - ) -> Result { + pub fn stork_price_states(&self) -> Result { QueryStorkPriceStatesRequest {}.query(self.querier) } - pub fn stork_publishers( - &self, - ) -> Result { + pub fn stork_publishers(&self) -> Result { QueryStorkPublishersRequest {}.query(self.querier) } pub fn provider_price_state( @@ -1663,15 +1522,9 @@ impl<'a, Q: cosmwasm_std::CustomQuery> OracleQuerier<'a, Q> { provider: ::prost::alloc::string::String, symbol: ::prost::alloc::string::String, ) -> Result { - QueryProviderPriceStateRequest { - provider, - symbol, - } - .query(self.querier) + QueryProviderPriceStateRequest { provider, symbol }.query(self.querier) } - pub fn oracle_module_state( - &self, - ) -> Result { + pub fn oracle_module_state(&self) -> Result { QueryModuleStateRequest {}.query(self.querier) } pub fn historical_price_records( @@ -1679,11 +1532,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> OracleQuerier<'a, Q> { oracle: i32, symbol_id: ::prost::alloc::string::String, ) -> Result { - QueryHistoricalPriceRecordsRequest { - oracle, - symbol_id, - } - .query(self.querier) + QueryHistoricalPriceRecordsRequest { oracle, symbol_id }.query(self.querier) } pub fn oracle_volatility( &self, @@ -1696,21 +1545,16 @@ impl<'a, Q: cosmwasm_std::CustomQuery> OracleQuerier<'a, Q> { quote_info, oracle_history_options, } - .query(self.querier) + .query(self.querier) } - pub fn oracle_providers_info( - &self, - ) -> Result { + pub fn oracle_providers_info(&self) -> Result { QueryOracleProvidersInfoRequest {}.query(self.querier) } pub fn oracle_provider_prices( &self, provider: ::prost::alloc::string::String, ) -> Result { - QueryOracleProviderPricesRequest { - provider, - } - .query(self.querier) + QueryOracleProviderPricesRequest { provider }.query(self.querier) } pub fn oracle_price( &self, @@ -1725,12 +1569,9 @@ impl<'a, Q: cosmwasm_std::CustomQuery> OracleQuerier<'a, Q> { quote, scaling_options, } - .query(self.querier) + .query(self.querier) } - pub fn pyth_price( - &self, - price_id: ::prost::alloc::string::String, - ) -> Result { + pub fn pyth_price(&self, price_id: ::prost::alloc::string::String) -> Result { QueryPythPriceRequest { price_id }.query(self.querier) } } diff --git a/packages/injective-std/src/types/injective/peggy/v1.rs b/packages/injective-std/src/types/injective/peggy/v1.rs index 76168f99..69eb4644 100644 --- a/packages/injective-std/src/types/injective/peggy/v1.rs +++ b/packages/injective-std/src/types/injective/peggy/v1.rs @@ -15,8 +15,7 @@ use injective_std_derive::CosmwasmExt; /// exact details of the claim but there is no reason to store those exact /// details becuause the next message sender will kindly provide you with them. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.Attestation")] pub struct Attestation { #[prost(bool, tag = "1")] @@ -39,8 +38,7 @@ pub struct Attestation { /// (note: developers should look up the token symbol using the address on ETH to /// display for UI) #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.ERC20Token")] pub struct Erc20Token { #[prost(string, tag = "1")] @@ -88,8 +86,7 @@ impl ClaimType { } /// OutgoingTxBatch represents a batch of transactions going from Peggy to ETH #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.OutgoingTxBatch")] pub struct OutgoingTxBatch { #[prost(uint64, tag = "1")] @@ -117,8 +114,7 @@ pub struct OutgoingTxBatch { } /// OutgoingTransferTx represents an individual send from Peggy to ETH #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.OutgoingTransferTx")] pub struct OutgoingTransferTx { #[prost(uint64, tag = "1")] @@ -154,32 +150,23 @@ impl SignType { pub fn as_str_name(&self) -> &'static str { match self { SignType::Unknown => "SIGN_TYPE_UNKNOWN", - SignType::OrchestratorSignedMultiSigUpdate => { - "SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE" - } - SignType::OrchestratorSignedWithdrawBatch => { - "SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH" - } + SignType::OrchestratorSignedMultiSigUpdate => "SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE", + SignType::OrchestratorSignedWithdrawBatch => "SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH", } } /// Creates an enum from field names used in the ProtoBuf definition. pub fn from_str_name(value: &str) -> ::core::option::Option { match value { "SIGN_TYPE_UNKNOWN" => Some(Self::Unknown), - "SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE" => { - Some(Self::OrchestratorSignedMultiSigUpdate) - } - "SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH" => { - Some(Self::OrchestratorSignedWithdrawBatch) - } + "SIGN_TYPE_ORCHESTRATOR_SIGNED_MULTI_SIG_UPDATE" => Some(Self::OrchestratorSignedMultiSigUpdate), + "SIGN_TYPE_ORCHESTRATOR_SIGNED_WITHDRAW_BATCH" => Some(Self::OrchestratorSignedWithdrawBatch), _ => None, } } } /// BridgeValidator represents a validator's ETH address and its power #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.BridgeValidator")] pub struct BridgeValidator { #[prost(uint64, tag = "1")] @@ -195,8 +182,7 @@ pub struct BridgeValidator { /// maintains an ETH key to sign messages, these are used to check signatures on /// ETH because of the significant gas savings #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.Valset")] pub struct Valset { #[prost(uint64, tag = "1")] @@ -225,8 +211,7 @@ pub struct Valset { /// outward and always produce batches with timeouts in the future /// even if no Ethereum block height has been relayed for a long time #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.LastObservedEthereumBlockHeight")] pub struct LastObservedEthereumBlockHeight { #[prost(uint64, tag = "1")] @@ -244,8 +229,7 @@ pub struct LastObservedEthereumBlockHeight { } /// LastClaimEvent stores last claim event details of validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.LastClaimEvent")] pub struct LastClaimEvent { #[prost(uint64, tag = "1")] @@ -264,8 +248,7 @@ pub struct LastClaimEvent { /// This records the relationship between an ERC20 token and the denom /// of the corresponding Cosmos originated asset #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.ERC20ToDenom")] pub struct Erc20ToDenom { #[prost(string, tag = "1")] @@ -274,8 +257,7 @@ pub struct Erc20ToDenom { pub denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventAttestationObserved")] pub struct EventAttestationObserved { #[prost(enumeration = "ClaimType", tag = "1")] @@ -304,8 +286,7 @@ pub struct EventAttestationObserved { pub nonce: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventBridgeWithdrawCanceled")] pub struct EventBridgeWithdrawCanceled { #[prost(string, tag = "1")] @@ -319,8 +300,7 @@ pub struct EventBridgeWithdrawCanceled { pub bridge_chain_id: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventOutgoingBatch")] pub struct EventOutgoingBatch { #[prost(string, tag = "1")] @@ -344,8 +324,7 @@ pub struct EventOutgoingBatch { pub batch_tx_ids: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventOutgoingBatchCanceled")] pub struct EventOutgoingBatchCanceled { #[prost(string, tag = "1")] @@ -372,8 +351,7 @@ pub struct EventOutgoingBatchCanceled { pub nonce: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventValsetUpdateRequest")] pub struct EventValsetUpdateRequest { #[prost(uint64, tag = "1")] @@ -396,8 +374,7 @@ pub struct EventValsetUpdateRequest { pub reward_token: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventSetOrchestratorAddresses")] pub struct EventSetOrchestratorAddresses { #[prost(string, tag = "1")] @@ -408,8 +385,7 @@ pub struct EventSetOrchestratorAddresses { pub operator_eth_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventValsetConfirm")] pub struct EventValsetConfirm { #[prost(uint64, tag = "1")] @@ -422,8 +398,7 @@ pub struct EventValsetConfirm { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventSendToEth")] pub struct EventSendToEth { #[prost(uint64, tag = "1")] @@ -443,8 +418,7 @@ pub struct EventSendToEth { pub bridge_fee: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventConfirmBatch")] pub struct EventConfirmBatch { #[prost(uint64, tag = "1")] @@ -457,8 +431,7 @@ pub struct EventConfirmBatch { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventAttestationVote")] pub struct EventAttestationVote { #[prost(uint64, tag = "1")] @@ -474,8 +447,7 @@ pub struct EventAttestationVote { pub voter: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventDepositClaim")] pub struct EventDepositClaim { #[prost(uint64, tag = "1")] @@ -507,8 +479,7 @@ pub struct EventDepositClaim { pub data: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventWithdrawClaim")] pub struct EventWithdrawClaim { #[prost(uint64, tag = "1")] @@ -538,8 +509,7 @@ pub struct EventWithdrawClaim { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventERC20DeployedClaim")] pub struct EventErc20DeployedClaim { #[prost(uint64, tag = "1")] @@ -575,8 +545,7 @@ pub struct EventErc20DeployedClaim { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventValsetUpdateClaim")] pub struct EventValsetUpdateClaim { #[prost(uint64, tag = "1")] @@ -610,8 +579,7 @@ pub struct EventValsetUpdateClaim { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventCancelSendToEth")] pub struct EventCancelSendToEth { #[prost(uint64, tag = "1")] @@ -623,8 +591,7 @@ pub struct EventCancelSendToEth { pub outgoing_tx_id: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventSubmitBadSignatureEvidence")] pub struct EventSubmitBadSignatureEvidence { #[prost(string, tag = "1")] @@ -633,8 +600,7 @@ pub struct EventSubmitBadSignatureEvidence { pub bad_eth_signature_subject: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.EventValidatorSlash")] pub struct EventValidatorSlash { #[prost(int64, tag = "1")] @@ -653,8 +619,7 @@ pub struct EventValidatorSlash { pub moniker: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.Params")] pub struct Params { #[prost(string, tag = "1")] @@ -736,9 +701,7 @@ pub struct Params { )] pub bridge_contract_start_height: u64, #[prost(message, optional, tag = "21")] - pub valset_reward: ::core::option::Option< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub valset_reward: ::core::option::Option, #[prost(string, repeated, tag = "22")] pub admins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -756,8 +719,7 @@ pub struct Params { /// This is a hex encoded 0x Ethereum public key that will be used by this /// validator on Ethereum #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgSetOrchestratorAddresses")] pub struct MsgSetOrchestratorAddresses { #[prost(string, tag = "1")] @@ -768,8 +730,7 @@ pub struct MsgSetOrchestratorAddresses { pub eth_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgSetOrchestratorAddressesResponse")] pub struct MsgSetOrchestratorAddressesResponse {} /// MsgValsetConfirm @@ -788,8 +749,7 @@ pub struct MsgSetOrchestratorAddressesResponse {} /// chain store and submit them to Ethereum to update the validator set /// ------------- #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgValsetConfirm")] pub struct MsgValsetConfirm { #[prost(uint64, tag = "1")] @@ -806,8 +766,7 @@ pub struct MsgValsetConfirm { pub signature: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgValsetConfirmResponse")] pub struct MsgValsetConfirmResponse {} /// MsgSendToEth @@ -823,8 +782,7 @@ pub struct MsgValsetConfirmResponse {} /// actually send this message in the first place. So a successful send has /// two layers of fees for the user #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgSendToEth")] pub struct MsgSendToEth { #[prost(string, tag = "1")] @@ -834,13 +792,10 @@ pub struct MsgSendToEth { #[prost(message, optional, tag = "3")] pub amount: ::core::option::Option, #[prost(message, optional, tag = "4")] - pub bridge_fee: ::core::option::Option< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub bridge_fee: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgSendToEthResponse")] pub struct MsgSendToEthResponse {} /// MsgRequestBatch @@ -853,8 +808,7 @@ pub struct MsgSendToEthResponse {} /// can finally submit the batch /// ------------- #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgRequestBatch")] pub struct MsgRequestBatch { #[prost(string, tag = "1")] @@ -863,8 +817,7 @@ pub struct MsgRequestBatch { pub denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgRequestBatchResponse")] pub struct MsgRequestBatchResponse {} /// MsgConfirmBatch @@ -876,8 +829,7 @@ pub struct MsgRequestBatchResponse {} /// as well as an Ethereum signature over this batch by the validator /// ------------- #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgConfirmBatch")] pub struct MsgConfirmBatch { #[prost(uint64, tag = "1")] @@ -896,8 +848,7 @@ pub struct MsgConfirmBatch { pub signature: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgConfirmBatchResponse")] pub struct MsgConfirmBatchResponse {} /// EthereumBridgeDepositClaim @@ -906,8 +857,7 @@ pub struct MsgConfirmBatchResponse {} /// issued to the Cosmos address in question /// ------------- #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgDepositClaim")] pub struct MsgDepositClaim { #[prost(uint64, tag = "1")] @@ -936,15 +886,13 @@ pub struct MsgDepositClaim { pub data: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgDepositClaimResponse")] pub struct MsgDepositClaimResponse {} /// WithdrawClaim claims that a batch of withdrawal /// operations on the bridge contract was executed. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgWithdrawClaim")] pub struct MsgWithdrawClaim { #[prost(uint64, tag = "1")] @@ -971,16 +919,14 @@ pub struct MsgWithdrawClaim { pub orchestrator: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgWithdrawClaimResponse")] pub struct MsgWithdrawClaimResponse {} /// ERC20DeployedClaim allows the Cosmos module /// to learn about an ERC20 that someone deployed /// to represent a Cosmos asset #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgERC20DeployedClaim")] pub struct MsgErc20DeployedClaim { #[prost(uint64, tag = "1")] @@ -1013,16 +959,14 @@ pub struct MsgErc20DeployedClaim { pub orchestrator: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgERC20DeployedClaimResponse")] pub struct MsgErc20DeployedClaimResponse {} /// This call allows the sender (and only the sender) /// to cancel a given MsgSendToEth and recieve a refund /// of the tokens #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgCancelSendToEth")] pub struct MsgCancelSendToEth { #[prost(uint64, tag = "1")] @@ -1036,16 +980,14 @@ pub struct MsgCancelSendToEth { pub sender: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgCancelSendToEthResponse")] pub struct MsgCancelSendToEthResponse {} /// This call allows anyone to submit evidence that a /// validator has signed a valset, batch, or logic call that never /// existed. Subject contains the batch, valset, or logic call. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgSubmitBadSignatureEvidence")] pub struct MsgSubmitBadSignatureEvidence { #[prost(message, optional, tag = "1")] @@ -1056,15 +998,13 @@ pub struct MsgSubmitBadSignatureEvidence { pub sender: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse")] pub struct MsgSubmitBadSignatureEvidenceResponse {} /// This informs the Cosmos module that a validator /// set has been updated. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgValsetUpdatedClaim")] pub struct MsgValsetUpdatedClaim { #[prost(uint64, tag = "1")] @@ -1095,13 +1035,11 @@ pub struct MsgValsetUpdatedClaim { pub orchestrator: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgValsetUpdatedClaimResponse")] pub struct MsgValsetUpdatedClaimResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address of the governance account. @@ -1114,15 +1052,13 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} /// MsgBlacklistEthereumAddresses defines the message used to add Ethereum /// addresses to peggy blacklist. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgBlacklistEthereumAddresses")] pub struct MsgBlacklistEthereumAddresses { /// signer address @@ -1135,15 +1071,13 @@ pub struct MsgBlacklistEthereumAddresses { /// MsgBlacklistEthereumAddressesResponse defines the /// MsgBlacklistEthereumAddresses response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgBlacklistEthereumAddressesResponse")] pub struct MsgBlacklistEthereumAddressesResponse {} /// MsgRevokeEthereumBlacklist defines the message used to remove Ethereum /// addresses from peggy blacklist. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgRevokeEthereumBlacklist")] pub struct MsgRevokeEthereumBlacklist { /// signer address @@ -1156,14 +1090,12 @@ pub struct MsgRevokeEthereumBlacklist { /// MsgRevokeEthereumBlacklistResponse defines the MsgRevokeEthereumBlacklist /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MsgRevokeEthereumBlacklistResponse")] pub struct MsgRevokeEthereumBlacklistResponse {} /// GenesisState struct #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.GenesisState")] pub struct GenesisState { #[prost(message, optional, tag = "1")] @@ -1217,16 +1149,14 @@ pub struct GenesisState { } /// IDSet represents a set of IDs #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.IDSet")] pub struct IdSet { #[prost(uint64, repeated, tag = "1")] pub ids: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.BatchFees")] pub struct BatchFees { #[prost(string, tag = "1")] @@ -1235,8 +1165,7 @@ pub struct BatchFees { pub total_fees: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryParamsRequest")] #[proto_query( path = "/injective.peggy.v1.Query/Params", @@ -1244,16 +1173,14 @@ pub struct BatchFees { )] pub struct QueryParamsRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryParamsResponse")] pub struct QueryParamsResponse { #[prost(message, optional, tag = "1")] pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryCurrentValsetRequest")] #[proto_query( path = "/injective.peggy.v1.Query/CurrentValset", @@ -1261,16 +1188,14 @@ pub struct QueryParamsResponse { )] pub struct QueryCurrentValsetRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryCurrentValsetResponse")] pub struct QueryCurrentValsetResponse { #[prost(message, optional, tag = "1")] pub valset: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryValsetRequestRequest")] #[proto_query( path = "/injective.peggy.v1.Query/ValsetRequest", @@ -1285,16 +1210,14 @@ pub struct QueryValsetRequestRequest { pub nonce: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryValsetRequestResponse")] pub struct QueryValsetRequestResponse { #[prost(message, optional, tag = "1")] pub valset: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryValsetConfirmRequest")] #[proto_query( path = "/injective.peggy.v1.Query/ValsetConfirm", @@ -1311,16 +1234,14 @@ pub struct QueryValsetConfirmRequest { pub address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryValsetConfirmResponse")] pub struct QueryValsetConfirmResponse { #[prost(message, optional, tag = "1")] pub confirm: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryValsetConfirmsByNonceRequest")] #[proto_query( path = "/injective.peggy.v1.Query/ValsetConfirmsByNonce", @@ -1335,16 +1256,14 @@ pub struct QueryValsetConfirmsByNonceRequest { pub nonce: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryValsetConfirmsByNonceResponse")] pub struct QueryValsetConfirmsByNonceResponse { #[prost(message, repeated, tag = "1")] pub confirms: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryLastValsetRequestsRequest")] #[proto_query( path = "/injective.peggy.v1.Query/LastValsetRequests", @@ -1352,19 +1271,15 @@ pub struct QueryValsetConfirmsByNonceResponse { )] pub struct QueryLastValsetRequestsRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryLastValsetRequestsResponse")] pub struct QueryLastValsetRequestsResponse { #[prost(message, repeated, tag = "1")] pub valsets: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest")] #[proto_query( path = "/injective.peggy.v1.Query/LastPendingValsetRequestByAddr", response_type = QueryLastPendingValsetRequestByAddrResponse @@ -1374,18 +1289,14 @@ pub struct QueryLastPendingValsetRequestByAddrRequest { pub address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse")] pub struct QueryLastPendingValsetRequestByAddrResponse { #[prost(message, repeated, tag = "1")] pub valsets: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryBatchFeeRequest")] #[proto_query( path = "/injective.peggy.v1.Query/BatchFees", @@ -1393,19 +1304,15 @@ pub struct QueryLastPendingValsetRequestByAddrResponse { )] pub struct QueryBatchFeeRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryBatchFeeResponse")] pub struct QueryBatchFeeResponse { #[prost(message, repeated, tag = "1")] pub batch_fees: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest")] #[proto_query( path = "/injective.peggy.v1.Query/LastPendingBatchRequestByAddr", response_type = QueryLastPendingBatchRequestByAddrResponse @@ -1415,18 +1322,14 @@ pub struct QueryLastPendingBatchRequestByAddrRequest { pub address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse")] pub struct QueryLastPendingBatchRequestByAddrResponse { #[prost(message, optional, tag = "1")] pub batch: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryOutgoingTxBatchesRequest")] #[proto_query( path = "/injective.peggy.v1.Query/OutgoingTxBatches", @@ -1434,16 +1337,14 @@ pub struct QueryLastPendingBatchRequestByAddrResponse { )] pub struct QueryOutgoingTxBatchesRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryOutgoingTxBatchesResponse")] pub struct QueryOutgoingTxBatchesResponse { #[prost(message, repeated, tag = "1")] pub batches: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryBatchRequestByNonceRequest")] #[proto_query( path = "/injective.peggy.v1.Query/BatchRequestByNonce", @@ -1460,16 +1361,14 @@ pub struct QueryBatchRequestByNonceRequest { pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryBatchRequestByNonceResponse")] pub struct QueryBatchRequestByNonceResponse { #[prost(message, optional, tag = "1")] pub batch: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryBatchConfirmsRequest")] #[proto_query( path = "/injective.peggy.v1.Query/BatchConfirms", @@ -1486,16 +1385,14 @@ pub struct QueryBatchConfirmsRequest { pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryBatchConfirmsResponse")] pub struct QueryBatchConfirmsResponse { #[prost(message, repeated, tag = "1")] pub confirms: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryLastEventByAddrRequest")] #[proto_query( path = "/injective.peggy.v1.Query/LastEventByAddr", @@ -1506,16 +1403,14 @@ pub struct QueryLastEventByAddrRequest { pub address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryLastEventByAddrResponse")] pub struct QueryLastEventByAddrResponse { #[prost(message, optional, tag = "1")] pub last_claim_event: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryERC20ToDenomRequest")] #[proto_query( path = "/injective.peggy.v1.Query/ERC20ToDenom", @@ -1526,8 +1421,7 @@ pub struct QueryErc20ToDenomRequest { pub erc20: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryERC20ToDenomResponse")] pub struct QueryErc20ToDenomResponse { #[prost(string, tag = "1")] @@ -1536,8 +1430,7 @@ pub struct QueryErc20ToDenomResponse { pub cosmos_originated: bool, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryDenomToERC20Request")] #[proto_query( path = "/injective.peggy.v1.Query/DenomToERC20", @@ -1548,8 +1441,7 @@ pub struct QueryDenomToErc20Request { pub denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryDenomToERC20Response")] pub struct QueryDenomToErc20Response { #[prost(string, tag = "1")] @@ -1558,8 +1450,7 @@ pub struct QueryDenomToErc20Response { pub cosmos_originated: bool, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryDelegateKeysByValidatorAddress")] #[proto_query( path = "/injective.peggy.v1.Query/GetDelegateKeyByValidator", @@ -1570,11 +1461,8 @@ pub struct QueryDelegateKeysByValidatorAddress { pub validator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse")] pub struct QueryDelegateKeysByValidatorAddressResponse { #[prost(string, tag = "1")] pub eth_address: ::prost::alloc::string::String, @@ -1582,8 +1470,7 @@ pub struct QueryDelegateKeysByValidatorAddressResponse { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryDelegateKeysByEthAddress")] #[proto_query( path = "/injective.peggy.v1.Query/GetDelegateKeyByEth", @@ -1594,8 +1481,7 @@ pub struct QueryDelegateKeysByEthAddress { pub eth_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryDelegateKeysByEthAddressResponse")] pub struct QueryDelegateKeysByEthAddressResponse { #[prost(string, tag = "1")] @@ -1604,8 +1490,7 @@ pub struct QueryDelegateKeysByEthAddressResponse { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress")] #[proto_query( path = "/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator", @@ -1616,11 +1501,8 @@ pub struct QueryDelegateKeysByOrchestratorAddress { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse")] pub struct QueryDelegateKeysByOrchestratorAddressResponse { #[prost(string, tag = "1")] pub validator_address: ::prost::alloc::string::String, @@ -1628,8 +1510,7 @@ pub struct QueryDelegateKeysByOrchestratorAddressResponse { pub eth_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryPendingSendToEth")] #[proto_query( path = "/injective.peggy.v1.Query/GetPendingSendToEth", @@ -1640,8 +1521,7 @@ pub struct QueryPendingSendToEth { pub sender_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryPendingSendToEthResponse")] pub struct QueryPendingSendToEthResponse { #[prost(message, repeated, tag = "1")] @@ -1652,8 +1532,7 @@ pub struct QueryPendingSendToEthResponse { /// QueryModuleStateRequest is the request type for the Query/PeggyModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryModuleStateRequest")] #[proto_query( path = "/injective.peggy.v1.Query/PeggyModuleState", @@ -1663,16 +1542,14 @@ pub struct QueryModuleStateRequest {} /// QueryModuleStateResponse is the response type for the Query/PeggyModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryModuleStateResponse")] pub struct QueryModuleStateResponse { #[prost(message, optional, tag = "1")] pub state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MissingNoncesRequest")] #[proto_query( path = "/injective.peggy.v1.Query/MissingPeggoNonces", @@ -1680,8 +1557,7 @@ pub struct QueryModuleStateResponse { )] pub struct MissingNoncesRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.MissingNoncesResponse")] pub struct MissingNoncesResponse { #[prost(string, repeated, tag = "1")] @@ -1697,155 +1573,90 @@ impl<'a, Q: cosmwasm_std::CustomQuery> PeggyQuerier<'a, Q> { pub fn params(&self) -> Result { QueryParamsRequest {}.query(self.querier) } - pub fn current_valset( - &self, - ) -> Result { + pub fn current_valset(&self) -> Result { QueryCurrentValsetRequest {}.query(self.querier) } - pub fn valset_request( - &self, - nonce: u64, - ) -> Result { + pub fn valset_request(&self, nonce: u64) -> Result { QueryValsetRequestRequest { nonce }.query(self.querier) } - pub fn valset_confirm( - &self, - nonce: u64, - address: ::prost::alloc::string::String, - ) -> Result { - QueryValsetConfirmRequest { - nonce, - address, - } - .query(self.querier) + pub fn valset_confirm(&self, nonce: u64, address: ::prost::alloc::string::String) -> Result { + QueryValsetConfirmRequest { nonce, address }.query(self.querier) } - pub fn valset_confirms_by_nonce( - &self, - nonce: u64, - ) -> Result { - QueryValsetConfirmsByNonceRequest { - nonce, - } - .query(self.querier) + pub fn valset_confirms_by_nonce(&self, nonce: u64) -> Result { + QueryValsetConfirmsByNonceRequest { nonce }.query(self.querier) } - pub fn last_valset_requests( - &self, - ) -> Result { + pub fn last_valset_requests(&self) -> Result { QueryLastValsetRequestsRequest {}.query(self.querier) } pub fn last_pending_valset_request_by_addr( &self, address: ::prost::alloc::string::String, ) -> Result { - QueryLastPendingValsetRequestByAddrRequest { - address, - } - .query(self.querier) + QueryLastPendingValsetRequestByAddrRequest { address }.query(self.querier) } - pub fn last_event_by_addr( - &self, - address: ::prost::alloc::string::String, - ) -> Result { - QueryLastEventByAddrRequest { - address, - } - .query(self.querier) + pub fn last_event_by_addr(&self, address: ::prost::alloc::string::String) -> Result { + QueryLastEventByAddrRequest { address }.query(self.querier) } pub fn get_pending_send_to_eth( &self, sender_address: ::prost::alloc::string::String, ) -> Result { - QueryPendingSendToEth { - sender_address, - } - .query(self.querier) + QueryPendingSendToEth { sender_address }.query(self.querier) } pub fn batch_fees(&self) -> Result { QueryBatchFeeRequest {}.query(self.querier) } - pub fn outgoing_tx_batches( - &self, - ) -> Result { + pub fn outgoing_tx_batches(&self) -> Result { QueryOutgoingTxBatchesRequest {}.query(self.querier) } pub fn last_pending_batch_request_by_addr( &self, address: ::prost::alloc::string::String, ) -> Result { - QueryLastPendingBatchRequestByAddrRequest { - address, - } - .query(self.querier) + QueryLastPendingBatchRequestByAddrRequest { address }.query(self.querier) } pub fn batch_request_by_nonce( &self, nonce: u64, contract_address: ::prost::alloc::string::String, ) -> Result { - QueryBatchRequestByNonceRequest { - nonce, - contract_address, - } - .query(self.querier) + QueryBatchRequestByNonceRequest { nonce, contract_address }.query(self.querier) } pub fn batch_confirms( &self, nonce: u64, contract_address: ::prost::alloc::string::String, ) -> Result { - QueryBatchConfirmsRequest { - nonce, - contract_address, - } - .query(self.querier) + QueryBatchConfirmsRequest { nonce, contract_address }.query(self.querier) } - pub fn erc20_to_denom( - &self, - erc20: ::prost::alloc::string::String, - ) -> Result { + pub fn erc20_to_denom(&self, erc20: ::prost::alloc::string::String) -> Result { QueryErc20ToDenomRequest { erc20 }.query(self.querier) } - pub fn denom_to_erc20( - &self, - denom: ::prost::alloc::string::String, - ) -> Result { + pub fn denom_to_erc20(&self, denom: ::prost::alloc::string::String) -> Result { QueryDenomToErc20Request { denom }.query(self.querier) } pub fn get_delegate_key_by_validator( &self, validator_address: ::prost::alloc::string::String, ) -> Result { - QueryDelegateKeysByValidatorAddress { - validator_address, - } - .query(self.querier) + QueryDelegateKeysByValidatorAddress { validator_address }.query(self.querier) } pub fn get_delegate_key_by_eth( &self, eth_address: ::prost::alloc::string::String, ) -> Result { - QueryDelegateKeysByEthAddress { - eth_address, - } - .query(self.querier) + QueryDelegateKeysByEthAddress { eth_address }.query(self.querier) } pub fn get_delegate_key_by_orchestrator( &self, orchestrator_address: ::prost::alloc::string::String, ) -> Result { - QueryDelegateKeysByOrchestratorAddress { - orchestrator_address, - } - .query(self.querier) + QueryDelegateKeysByOrchestratorAddress { orchestrator_address }.query(self.querier) } - pub fn peggy_module_state( - &self, - ) -> Result { + pub fn peggy_module_state(&self) -> Result { QueryModuleStateRequest {}.query(self.querier) } - pub fn missing_peggo_nonces( - &self, - ) -> Result { + pub fn missing_peggo_nonces(&self) -> Result { MissingNoncesRequest {}.query(self.querier) } } diff --git a/packages/injective-std/src/types/injective/permissions/v1beta1.rs b/packages/injective-std/src/types/injective/permissions/v1beta1.rs index de1a5c32..69ef141d 100644 --- a/packages/injective-std/src/types/injective/permissions/v1beta1.rs +++ b/packages/injective-std/src/types/injective/permissions/v1beta1.rs @@ -1,20 +1,16 @@ use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.EventSetVoucher")] pub struct EventSetVoucher { #[prost(string, tag = "1")] pub addr: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - pub voucher: ::core::option::Option< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub voucher: ::core::option::Option, } /// Params defines the parameters for the permissions module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.Params")] pub struct Params { #[prost(uint64, tag = "1")] @@ -26,8 +22,7 @@ pub struct Params { } /// Namespace defines a permissions namespace #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.Namespace")] pub struct Namespace { /// tokenfactory denom to which this namespace applies to @@ -49,8 +44,7 @@ pub struct Namespace { pub address_roles: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.AddressRoles")] pub struct AddressRoles { #[prost(string, tag = "1")] @@ -60,8 +54,7 @@ pub struct AddressRoles { } /// Role is only used for storage #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.Role")] pub struct Role { #[prost(string, tag = "1")] @@ -75,8 +68,7 @@ pub struct Role { } /// used in storage #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.RoleIDs")] pub struct RoleIDs { #[prost(uint32, repeated, tag = "1")] @@ -84,18 +76,14 @@ pub struct RoleIDs { pub role_ids: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.Voucher")] pub struct Voucher { #[prost(message, repeated, tag = "1")] - pub coins: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub coins: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.AddressVoucher")] pub struct AddressVoucher { #[prost(string, tag = "1")] @@ -139,8 +127,7 @@ impl Action { } /// GenesisState defines the permissions module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.GenesisState")] pub struct GenesisState { /// params defines the parameters of the module. @@ -151,8 +138,7 @@ pub struct GenesisState { } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.QueryParamsRequest")] #[proto_query( path = "/injective.permissions.v1beta1.Query/Params", @@ -161,8 +147,7 @@ pub struct GenesisState { pub struct QueryParamsRequest {} /// QueryParamsResponse is the response type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.QueryParamsResponse")] pub struct QueryParamsResponse { /// params defines the parameters of the module. @@ -172,8 +157,7 @@ pub struct QueryParamsResponse { /// QueryAllNamespacesRequest is the request type for the Query/AllNamespaces RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.QueryAllNamespacesRequest")] #[proto_query( path = "/injective.permissions.v1beta1.Query/AllNamespaces", @@ -183,8 +167,7 @@ pub struct QueryAllNamespacesRequest {} /// QueryAllNamespacesResponse is the response type for the Query/AllNamespaces /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.QueryAllNamespacesResponse")] pub struct QueryAllNamespacesResponse { #[prost(message, repeated, tag = "1")] @@ -193,11 +176,8 @@ pub struct QueryAllNamespacesResponse { /// QueryNamespaceByDenomRequest is the request type for the /// Query/NamespaceByDenom RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.permissions.v1beta1.QueryNamespaceByDenomRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.permissions.v1beta1.QueryNamespaceByDenomRequest")] #[proto_query( path = "/injective.permissions.v1beta1.Query/NamespaceByDenom", response_type = QueryNamespaceByDenomResponse @@ -211,11 +191,8 @@ pub struct QueryNamespaceByDenomRequest { /// QueryNamespaceByDenomResponse is the response type for the /// Query/NamespaceByDenom RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.permissions.v1beta1.QueryNamespaceByDenomResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.permissions.v1beta1.QueryNamespaceByDenomResponse")] pub struct QueryNamespaceByDenomResponse { #[prost(message, optional, tag = "1")] pub namespace: ::core::option::Option, @@ -223,8 +200,7 @@ pub struct QueryNamespaceByDenomResponse { /// QueryAddressesByRoleRequest is the request type for the Query/AddressesByRole /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.QueryAddressesByRoleRequest")] #[proto_query( path = "/injective.permissions.v1beta1.Query/AddressesByRole", @@ -239,18 +215,14 @@ pub struct QueryAddressesByRoleRequest { /// QueryAddressesByRoleResponse is the response type for the /// Query/AddressesByRole RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.permissions.v1beta1.QueryAddressesByRoleResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.permissions.v1beta1.QueryAddressesByRoleResponse")] pub struct QueryAddressesByRoleResponse { #[prost(string, repeated, tag = "1")] pub addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.QueryAddressRolesRequest")] #[proto_query( path = "/injective.permissions.v1beta1.Query/AddressRoles", @@ -263,19 +235,15 @@ pub struct QueryAddressRolesRequest { pub address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.QueryAddressRolesResponse")] pub struct QueryAddressRolesResponse { #[prost(string, repeated, tag = "1")] pub roles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.permissions.v1beta1.QueryVouchersForAddressRequest" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.permissions.v1beta1.QueryVouchersForAddressRequest")] #[proto_query( path = "/injective.permissions.v1beta1.Query/VouchersForAddress", response_type = QueryVouchersForAddressResponse @@ -285,20 +253,14 @@ pub struct QueryVouchersForAddressRequest { pub address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.permissions.v1beta1.QueryVouchersForAddressResponse" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.permissions.v1beta1.QueryVouchersForAddressResponse")] pub struct QueryVouchersForAddressResponse { #[prost(message, repeated, tag = "1")] - pub vouchers: ::prost::alloc::vec::Vec< - super::super::super::cosmos::base::v1beta1::Coin, - >, + pub vouchers: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address of the governance account. @@ -311,13 +273,11 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgCreateNamespace")] pub struct MsgCreateNamespace { #[prost(string, tag = "1")] @@ -326,13 +286,11 @@ pub struct MsgCreateNamespace { pub namespace: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgCreateNamespaceResponse")] pub struct MsgCreateNamespaceResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgDeleteNamespace")] pub struct MsgDeleteNamespace { #[prost(string, tag = "1")] @@ -341,13 +299,11 @@ pub struct MsgDeleteNamespace { pub namespace_denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgDeleteNamespaceResponse")] pub struct MsgDeleteNamespaceResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace")] pub struct MsgUpdateNamespace { #[prost(string, tag = "1")] @@ -369,74 +325,40 @@ pub struct MsgUpdateNamespace { pub mod msg_update_namespace { use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, PartialEq, Eq, ::prost::Message)] - #[derive( - ::serde::Serialize, - ::serde::Deserialize, - ::schemars::JsonSchema, - CosmwasmExt - )] - #[proto_message( - type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook" - )] + #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] + #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook")] pub struct MsgSetWasmHook { #[prost(string, tag = "1")] pub new_value: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] - #[derive( - ::serde::Serialize, - ::serde::Deserialize, - ::schemars::JsonSchema, - CosmwasmExt - )] - #[proto_message( - type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPaused" - )] + #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] + #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetMintsPaused")] pub struct MsgSetMintsPaused { #[prost(bool, tag = "1")] pub new_value: bool, } #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] - #[derive( - ::serde::Serialize, - ::serde::Deserialize, - ::schemars::JsonSchema, - CosmwasmExt - )] - #[proto_message( - type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPaused" - )] + #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] + #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetSendsPaused")] pub struct MsgSetSendsPaused { #[prost(bool, tag = "1")] pub new_value: bool, } #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] - #[derive( - ::serde::Serialize, - ::serde::Deserialize, - ::schemars::JsonSchema, - CosmwasmExt - )] - #[proto_message( - type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPaused" - )] + #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] + #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetBurnsPaused")] pub struct MsgSetBurnsPaused { #[prost(bool, tag = "1")] pub new_value: bool, } } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespaceResponse")] pub struct MsgUpdateNamespaceResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespaceRoles")] pub struct MsgUpdateNamespaceRoles { #[prost(string, tag = "1")] @@ -452,15 +374,11 @@ pub struct MsgUpdateNamespaceRoles { pub address_roles: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespaceRolesResponse")] pub struct MsgUpdateNamespaceRolesResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgRevokeNamespaceRoles")] pub struct MsgRevokeNamespaceRoles { #[prost(string, tag = "1")] @@ -473,15 +391,11 @@ pub struct MsgRevokeNamespaceRoles { pub address_roles_to_revoke: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse" -)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.permissions.v1beta1.MsgRevokeNamespaceRolesResponse")] pub struct MsgRevokeNamespaceRolesResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgClaimVoucher")] pub struct MsgClaimVoucher { #[prost(string, tag = "1")] @@ -490,8 +404,7 @@ pub struct MsgClaimVoucher { pub denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgClaimVoucherResponse")] pub struct MsgClaimVoucherResponse {} pub struct PermissionsQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -504,9 +417,7 @@ impl<'a, Q: cosmwasm_std::CustomQuery> PermissionsQuerier<'a, Q> { pub fn params(&self) -> Result { QueryParamsRequest {}.query(self.querier) } - pub fn all_namespaces( - &self, - ) -> Result { + pub fn all_namespaces(&self) -> Result { QueryAllNamespacesRequest {}.query(self.querier) } pub fn namespace_by_denom( @@ -514,41 +425,23 @@ impl<'a, Q: cosmwasm_std::CustomQuery> PermissionsQuerier<'a, Q> { denom: ::prost::alloc::string::String, include_roles: bool, ) -> Result { - QueryNamespaceByDenomRequest { - denom, - include_roles, - } - .query(self.querier) + QueryNamespaceByDenomRequest { denom, include_roles }.query(self.querier) } pub fn address_roles( &self, denom: ::prost::alloc::string::String, address: ::prost::alloc::string::String, ) -> Result { - QueryAddressRolesRequest { - denom, - address, - } - .query(self.querier) + QueryAddressRolesRequest { denom, address }.query(self.querier) } pub fn addresses_by_role( &self, denom: ::prost::alloc::string::String, role: ::prost::alloc::string::String, ) -> Result { - QueryAddressesByRoleRequest { - denom, - role, - } - .query(self.querier) + QueryAddressesByRoleRequest { denom, role }.query(self.querier) } - pub fn vouchers_for_address( - &self, - address: ::prost::alloc::string::String, - ) -> Result { - QueryVouchersForAddressRequest { - address, - } - .query(self.querier) + pub fn vouchers_for_address(&self, address: ::prost::alloc::string::String) -> Result { + QueryVouchersForAddressRequest { address }.query(self.querier) } } diff --git a/packages/injective-std/src/types/injective/wasmx/v1.rs b/packages/injective-std/src/types/injective/wasmx/v1.rs index f94bf5b8..689b3591 100644 --- a/packages/injective-std/src/types/injective/wasmx/v1.rs +++ b/packages/injective-std/src/types/injective/wasmx/v1.rs @@ -1,7 +1,6 @@ use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.ContractRegistrationRequestProposal")] pub struct ContractRegistrationRequestProposal { #[prost(string, tag = "1")] @@ -9,29 +8,21 @@ pub struct ContractRegistrationRequestProposal { #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - pub contract_registration_request: ::core::option::Option< - ContractRegistrationRequest, - >, + pub contract_registration_request: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message( - type_url = "/injective.wasmx.v1.BatchContractRegistrationRequestProposal" -)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.wasmx.v1.BatchContractRegistrationRequestProposal")] pub struct BatchContractRegistrationRequestProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, #[prost(message, repeated, tag = "3")] - pub contract_registration_requests: ::prost::alloc::vec::Vec< - ContractRegistrationRequest, - >, + pub contract_registration_requests: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.BatchContractDeregistrationProposal")] pub struct BatchContractDeregistrationProposal { #[prost(string, tag = "1")] @@ -42,8 +33,7 @@ pub struct BatchContractDeregistrationProposal { pub contracts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.ContractRegistrationRequest")] pub struct ContractRegistrationRequest { /// Unique Identifier for contract instance to be registered. @@ -95,8 +85,7 @@ pub struct ContractRegistrationRequest { pub funding_mode: i32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.BatchStoreCodeProposal")] pub struct BatchStoreCodeProposal { #[prost(string, tag = "1")] @@ -104,9 +93,7 @@ pub struct BatchStoreCodeProposal { #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, #[prost(message, repeated, tag = "3")] - pub proposals: ::prost::alloc::vec::Vec< - super::super::super::cosmwasm::wasm::v1::StoreCodeProposal, - >, + pub proposals: ::prost::alloc::vec::Vec, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -142,8 +129,7 @@ impl FundingMode { } } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.Params")] pub struct Params { /// Set the status to active to indicate that contracts can be executed in @@ -175,13 +161,10 @@ pub struct Params { )] pub min_gas_price: u64, #[prost(message, optional, tag = "5")] - pub register_contract_access: ::core::option::Option< - super::super::super::cosmwasm::wasm::v1::AccessConfig, - >, + pub register_contract_access: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.RegisteredContract")] pub struct RegisteredContract { /// limit of gas per BB execution @@ -226,8 +209,7 @@ pub struct RegisteredContract { pub fund_mode: i32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.EventContractExecution")] pub struct EventContractExecution { #[prost(string, tag = "1")] @@ -240,8 +222,7 @@ pub struct EventContractExecution { pub execution_error: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.EventContractRegistered")] pub struct EventContractRegistered { #[prost(string, tag = "1")] @@ -275,16 +256,14 @@ pub struct EventContractRegistered { pub funding_mode: i32, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.EventContractDeregistered")] pub struct EventContractDeregistered { #[prost(string, tag = "1")] pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.RegisteredContractWithAddress")] pub struct RegisteredContractWithAddress { #[prost(string, tag = "1")] @@ -294,8 +273,7 @@ pub struct RegisteredContractWithAddress { } /// GenesisState defines the wasmx module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.GenesisState")] pub struct GenesisState { /// params defines all the parameters of related to wasmx. @@ -309,8 +287,7 @@ pub struct GenesisState { /// QueryWasmxParamsRequest is the request type for the Query/WasmxParams RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.QueryWasmxParamsRequest")] #[proto_query( path = "/injective.wasmx.v1.Query/WasmxParams", @@ -320,8 +297,7 @@ pub struct QueryWasmxParamsRequest {} /// QueryWasmxParamsRequest is the response type for the Query/WasmxParams RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.QueryWasmxParamsResponse")] pub struct QueryWasmxParamsResponse { #[prost(message, optional, tag = "1")] @@ -330,8 +306,7 @@ pub struct QueryWasmxParamsResponse { /// QueryModuleStateRequest is the request type for the Query/WasmxModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.QueryModuleStateRequest")] #[proto_query( path = "/injective.wasmx.v1.Query/WasmxModuleState", @@ -341,8 +316,7 @@ pub struct QueryModuleStateRequest {} /// QueryModuleStateResponse is the response type for the Query/WasmxModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.QueryModuleStateResponse")] pub struct QueryModuleStateResponse { #[prost(message, optional, tag = "1")] @@ -350,8 +324,7 @@ pub struct QueryModuleStateResponse { } /// Contract registration info #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.QueryContractRegistrationInfoRequest")] #[proto_query( path = "/injective.wasmx.v1.Query/ContractRegistrationInfo", @@ -362,8 +335,7 @@ pub struct QueryContractRegistrationInfoRequest { pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.QueryContractRegistrationInfoResponse")] pub struct QueryContractRegistrationInfoResponse { #[prost(message, optional, tag = "1")] @@ -372,8 +344,7 @@ pub struct QueryContractRegistrationInfoResponse { /// MsgExecuteContractCompat submits the given message data to a smart contract, /// compatible with EIP712 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgExecuteContractCompat")] pub struct MsgExecuteContractCompat { /// Sender is the that actor that signed the messages @@ -391,8 +362,7 @@ pub struct MsgExecuteContractCompat { } /// MsgExecuteContractCompatResponse returns execution result data. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgExecuteContractCompatResponse")] pub struct MsgExecuteContractCompatResponse { /// Data contains bytes to returned from the contract @@ -400,8 +370,7 @@ pub struct MsgExecuteContractCompatResponse { pub data: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgUpdateContract")] pub struct MsgUpdateContract { #[prost(string, tag = "1")] @@ -428,13 +397,11 @@ pub struct MsgUpdateContract { pub admin_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgUpdateContractResponse")] pub struct MsgUpdateContractResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgActivateContract")] pub struct MsgActivateContract { #[prost(string, tag = "1")] @@ -444,13 +411,11 @@ pub struct MsgActivateContract { pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgActivateContractResponse")] pub struct MsgActivateContractResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgDeactivateContract")] pub struct MsgDeactivateContract { #[prost(string, tag = "1")] @@ -460,13 +425,11 @@ pub struct MsgDeactivateContract { pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgDeactivateContractResponse")] pub struct MsgDeactivateContractResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgUpdateParams")] pub struct MsgUpdateParams { /// authority is the address of the governance account. @@ -479,25 +442,20 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgRegisterContract")] pub struct MsgRegisterContract { #[prost(string, tag = "1")] pub sender: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - pub contract_registration_request: ::core::option::Option< - ContractRegistrationRequest, - >, + pub contract_registration_request: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message)] -#[derive(::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.MsgRegisterContractResponse")] pub struct MsgRegisterContractResponse {} pub struct WasmxQuerier<'a, Q: cosmwasm_std::CustomQuery> { @@ -507,23 +465,16 @@ impl<'a, Q: cosmwasm_std::CustomQuery> WasmxQuerier<'a, Q> { pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self { Self { querier } } - pub fn wasmx_params( - &self, - ) -> Result { + pub fn wasmx_params(&self) -> Result { QueryWasmxParamsRequest {}.query(self.querier) } pub fn contract_registration_info( &self, contract_address: ::prost::alloc::string::String, ) -> Result { - QueryContractRegistrationInfoRequest { - contract_address, - } - .query(self.querier) + QueryContractRegistrationInfoRequest { contract_address }.query(self.querier) } - pub fn wasmx_module_state( - &self, - ) -> Result { + pub fn wasmx_module_state(&self) -> Result { QueryModuleStateRequest {}.query(self.querier) } }