From 5be805c362a172fd18ef8c9eeb38314242d6b2b9 Mon Sep 17 00:00:00 2001 From: maxrobot Date: Mon, 14 Oct 2024 16:34:03 +0100 Subject: [PATCH 1/2] feat: updated to latest protos --- .../src/types/cosmos/auth/module/v1.rs | 2 +- .../src/types/cosmos/auth/v1beta1.rs | 16 +- .../src/types/cosmos/authz/module/v1.rs | 4 +- .../src/types/cosmos/authz/v1beta1.rs | 6 +- .../src/types/cosmos/bank/module/v1.rs | 2 +- .../src/types/cosmos/bank/v1beta1.rs | 12 +- .../src/types/cosmos/base/node/v1beta1.rs | 6 +- .../src/types/cosmos/base/query/v1beta1.rs | 2 +- .../src/types/cosmos/base/v1beta1.rs | 10 +- .../types/cosmos/distribution/module/v1.rs | 2 +- .../src/types/cosmos/distribution/v1beta1.rs | 16 +- .../src/types/cosmos/feegrant/module/v1.rs | 4 +- .../src/types/cosmos/feegrant/v1beta1.rs | 8 +- .../src/types/cosmos/gov/module/v1.rs | 2 +- .../injective-std/src/types/cosmos/gov/v1.rs | 24 +- .../src/types/cosmos/gov/v1beta1.rs | 16 +- .../src/types/cosmos/params/module/v1.rs | 4 +- .../src/types/cosmos/params/v1beta1.rs | 4 +- .../src/types/cosmos/staking/v1beta1.rs | 14 +- .../src/types/cosmwasm/wasm/v1.rs | 113 ++++++-- .../src/types/injective/auction/mod.rs | 1 - .../src/types/injective/auction/v1beta1.rs | 38 +-- .../src/types/injective/exchange/mod.rs | 1 - .../src/types/injective/exchange/v1beta1.rs | 256 ++++++++++++++---- .../src/types/injective/insurance/v1beta1.rs | 20 +- .../src/types/injective/oracle/v1beta1.rs | 46 ++-- .../src/types/injective/peggy/mod.rs | 1 - .../src/types/injective/peggy/v1.rs | 60 ++-- .../types/injective/permissions/v1beta1.rs | 32 +-- .../types/injective/tokenfactory/v1beta1.rs | 16 +- .../src/types/injective/wasmx/v1.rs | 16 +- 31 files changed, 479 insertions(+), 275 deletions(-) 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 fefe129f..419b8338 100644 --- a/packages/injective-std/src/types/cosmos/auth/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/auth/module/v1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/auth/v1beta1.rs b/packages/injective-std/src/types/cosmos/auth/v1beta1.rs index 878f807a..47efcd83 100644 --- a/packages/injective-std/src/types/cosmos/auth/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/auth/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// BaseAccount defines a base account type. It contains all the necessary fields /// for basic account functionality. Any custom account type should extend this /// type for additional functionality (e.g. vesting). @@ -52,7 +52,7 @@ pub struct ModuleCredential { } /// Params defines the parameters for the auth module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -151,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -160,7 +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, PartialEq, Eq, ::prost::Message, ::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. @@ -171,7 +171,7 @@ pub struct QueryParamsResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -212,7 +212,7 @@ pub struct QueryModuleAccountByNameResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -281,7 +281,7 @@ pub struct AddressStringToBytesResponse { /// /// Since: cosmos-sdk 0.46.2 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -369,7 +369,7 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { 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 ff091a87..abb31c22 100644 --- a/packages/injective-std/src/types/cosmos/authz/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/authz/module/v1.rs @@ -1,6 +1,6 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// Module is the config object of the authz module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 a56dd0b1..19390eb4 100644 --- a/packages/injective-std/src/types/cosmos/authz/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/authz/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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)] @@ -186,7 +186,7 @@ pub struct MsgGrant { } /// MsgGrantResponse defines the Msg/MsgGrant response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -227,7 +227,7 @@ pub struct MsgRevoke { } /// MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. 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 7d7fe1eb..9be838f1 100644 --- a/packages/injective-std/src/types/cosmos/bank/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/bank/module/v1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/bank/v1beta1.rs b/packages/injective-std/src/types/cosmos/bank/v1beta1.rs index add8d942..cf3ce368 100644 --- a/packages/injective-std/src/types/cosmos/bank/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/bank/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// SendAuthorization allows the grantee to spend up to spend_limit coins from /// the granter's account. /// @@ -385,7 +385,7 @@ pub struct QuerySupplyOfResponse { } /// QueryParamsRequest defines the request type for querying x/bank parameters. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -601,7 +601,7 @@ pub struct MsgSend { } /// MsgSendResponse defines the Msg/Send response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -618,7 +618,7 @@ pub struct MsgMultiSend { } /// MsgMultiSendResponse defines the Msg/MultiSend response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -642,7 +642,7 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -673,7 +673,7 @@ pub struct MsgSetSendEnabled { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { 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 e9cd3c53..e305e32b 100644 --- a/packages/injective-std/src/types/cosmos/base/node/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/node/v1beta1.rs @@ -1,7 +1,7 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// ConfigRequest defines the request structure for the Config gRPC query. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -24,7 +24,7 @@ pub struct ConfigResponse { } /// StateRequest defines the request structure for the status of a node. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. 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 af7312d1..3a772e71 100644 --- a/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// PageRequest is to be embedded in gRPC request messages for efficient /// pagination. Ex: /// diff --git a/packages/injective-std/src/types/cosmos/base/v1beta1.rs b/packages/injective-std/src/types/cosmos/base/v1beta1.rs index 7048c4d3..ca0e7aaf 100644 --- a/packages/injective-std/src/types/cosmos/base/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/v1beta1.rs @@ -1,11 +1,11 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// Coin defines a token with a denomination and an amount. /// /// 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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message(type_url = "/cosmos.base.v1beta1.Coin")] +#[proto_message(type_url = "/cosmos.base.v1beta1.CoinCoinCoin")] pub struct Coin { #[prost(string, tag = "1")] pub denom: ::prost::alloc::string::String, @@ -18,7 +18,7 @@ pub struct Coin { /// signatures required by gogoproto. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message(type_url = "/cosmos.base.v1beta1.DecCoin")] +#[proto_message(type_url = "/cosmos.base.v1beta1.DecCoinDecCoinDecCoin")] pub struct DecCoin { #[prost(string, tag = "1")] pub denom: ::prost::alloc::string::String, @@ -29,7 +29,7 @@ pub struct DecCoin { /// 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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message(type_url = "/cosmos.base.v1beta1.IntProto")] +#[proto_message(type_url = "/cosmos.base.v1beta1.IntProtoIntProtoIntProto")] pub struct IntProto { #[prost(string, tag = "1")] pub int: ::prost::alloc::string::String, @@ -38,7 +38,7 @@ pub struct IntProto { /// 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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] -#[proto_message(type_url = "/cosmos.base.v1beta1.DecProto")] +#[proto_message(type_url = "/cosmos.base.v1beta1.DecProtoDecProtoDecProto")] pub struct DecProto { #[prost(string, tag = "1")] pub dec: ::prost::alloc::string::String, 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 5284ed70..6ee96c65 100644 --- a/packages/injective-std/src/types/cosmos/distribution/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/distribution/module/v1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs b/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs index 45f5c629..4d0437cc 100644 --- a/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -336,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -576,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -607,7 +607,7 @@ pub struct MsgSetWithdrawAddress { /// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -663,7 +663,7 @@ pub struct MsgFundCommunityPool { } /// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -687,7 +687,7 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -712,7 +712,7 @@ pub struct MsgCommunityPoolSpend { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -735,7 +735,7 @@ pub struct MsgDepositValidatorRewardsPool { /// /// Since: cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgDepositValidatorRewardsPoolResponse")] pub struct MsgDepositValidatorRewardsPoolResponse {} pub struct DistributionQuerier<'a, Q: cosmwasm_std::CustomQuery> { 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 e4400590..d45f07c2 100644 --- a/packages/injective-std/src/types/cosmos/feegrant/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/feegrant/module/v1.rs @@ -1,6 +1,6 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// Module is the config object of the feegrant module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 2f14929e..a6c9e802 100644 --- a/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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)] @@ -176,7 +176,7 @@ pub struct MsgGrantAllowance { } /// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -193,7 +193,7 @@ pub struct MsgRevokeAllowance { } /// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -211,7 +211,7 @@ pub struct MsgPruneAllowances { /// /// Since cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { 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 a273e5ed..9ff16316 100644 --- a/packages/injective-std/src/types/cosmos/gov/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/gov/module/v1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/gov/v1.rs b/packages/injective-std/src/types/cosmos/gov/v1.rs index ee6742a6..45db4181 100644 --- a/packages/injective-std/src/types/cosmos/gov/v1.rs +++ b/packages/injective-std/src/types/cosmos/gov/v1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -169,7 +169,7 @@ pub struct DepositParams { } /// VotingParams defines the params for voting on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 { @@ -413,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -430,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -653,7 +653,7 @@ pub struct QueryDepositsResponse { } /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -714,7 +714,7 @@ pub struct MsgSubmitProposal { } /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -741,7 +741,7 @@ pub struct MsgExecLegacyContent { } /// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -773,7 +773,7 @@ pub struct MsgVote { } /// MsgVoteResponse defines the Msg/Vote response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -801,7 +801,7 @@ pub struct MsgVoteWeighted { } /// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -826,7 +826,7 @@ pub struct MsgDeposit { } /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -850,7 +850,7 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -877,7 +877,7 @@ pub struct MsgCancelProposal { /// /// Since: cosmos-sdk 0.50 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. diff --git a/packages/injective-std/src/types/cosmos/gov/v1beta1.rs b/packages/injective-std/src/types/cosmos/gov/v1beta1.rs index 095a4b15..06ad2b6e 100644 --- a/packages/injective-std/src/types/cosmos/gov/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/gov/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// WeightedVoteOption defines a unit of vote for vote split. /// /// Since: cosmos-sdk 0.43 @@ -161,7 +161,7 @@ pub struct DepositParams { } /// VotingParams defines the params for voting on governance proposals. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -312,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -532,7 +532,7 @@ pub struct QueryDepositsResponse { } /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -575,7 +575,7 @@ pub struct MsgSubmitProposal { } /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -613,7 +613,7 @@ pub struct MsgVote { } /// MsgVoteResponse defines the Msg/Vote response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -642,7 +642,7 @@ pub struct MsgVoteWeighted { /// /// Since: cosmos-sdk 0.43 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -667,7 +667,7 @@ pub struct MsgDeposit { } /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { 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 1e91e960..0f736a32 100644 --- a/packages/injective-std/src/types/cosmos/params/module/v1.rs +++ b/packages/injective-std/src/types/cosmos/params/module/v1.rs @@ -1,6 +1,6 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// Module is the config object of the params module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 514e40dc..e8b2acf7 100644 --- a/packages/injective-std/src/types/cosmos/params/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/params/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -54,7 +54,7 @@ pub struct QueryParamsResponse { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", diff --git a/packages/injective-std/src/types/cosmos/staking/v1beta1.rs b/packages/injective-std/src/types/cosmos/staking/v1beta1.rs index 1d966588..4d231ceb 100644 --- a/packages/injective-std/src/types/cosmos/staking/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/staking/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// NOTE: The following type is not implemented due to current limitations of code generator /// which currently has issue with tendermint_proto. /// This will be fixed in the upcoming release. @@ -534,7 +534,7 @@ pub struct MsgCreateValidator { } /// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -557,7 +557,7 @@ pub struct MsgEditValidator { } /// MsgEditValidatorResponse defines the Msg/EditValidator response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -575,7 +575,7 @@ pub struct MsgDelegate { } /// MsgDelegateResponse defines the Msg/Delegate response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -595,7 +595,7 @@ pub struct MsgBeginRedelegate { } /// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -653,7 +653,7 @@ pub struct MsgCancelUnbondingDelegation { /// /// Since: cosmos-sdk 0.46 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgCancelUnbondingDelegationResponse")] pub struct MsgCancelUnbondingDelegationResponse {} /// MsgUpdateParams is the Msg/UpdateParams request type. @@ -677,6 +677,6 @@ pub struct MsgUpdateParams { /// /// Since: cosmos-sdk 0.47 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 80265b17..a8c3ffbb 100644 --- a/packages/injective-std/src/types/cosmwasm/wasm/v1.rs +++ b/packages/injective-std/src/types/cosmwasm/wasm/v1.rs @@ -1,7 +1,7 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// AccessTypeParam #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -115,7 +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, PartialEq, Eq, ::prost::Message, ::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 @@ -146,6 +146,80 @@ pub struct Model { #[prost(bytes = "vec", tag = "2")] pub value: ::prost::alloc::vec::Vec, } +/// EventCodeStored is emitted when contract code is checked and stored +#[allow(clippy::derive_partial_eq_without_eq)] +#[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 + #[prost(uint64, tag = "1")] + #[serde(alias = "codeID")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub code_id: u64, + /// Creator address who initially stored the code + #[prost(string, tag = "2")] + pub creator: ::prost::alloc::string::String, + #[prost(message, optional, tag = "3")] + pub access_config: ::core::option::Option, + #[prost(bytes = "vec", tag = "4")] + pub checksum: ::prost::alloc::vec::Vec, +} +/// EventContractInstantiated is emitted when contract is instantiated +#[allow(clippy::derive_partial_eq_without_eq)] +#[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")] + pub contract_address: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub admin: ::prost::alloc::string::String, + #[prost(uint64, tag = "3")] + #[serde(alias = "codeID")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + 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, + #[prost(bytes = "vec", tag = "5")] + pub msg: ::prost::alloc::vec::Vec, + #[prost(string, tag = "6")] + pub label: ::prost::alloc::string::String, + #[prost(string, tag = "7")] + pub creator: ::prost::alloc::string::String, +} +/// EventContractMigrated is emitted when a contract get migrated to another code +#[allow(clippy::derive_partial_eq_without_eq)] +#[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")] + #[serde(alias = "codeID")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub code_id: u64, + #[prost(string, tag = "2")] + pub contract_address: ::prost::alloc::string::String, + #[prost(bytes = "vec", tag = "3")] + pub msg: ::prost::alloc::vec::Vec, +} +/// EventContractAdminSet is emitted when new admin is set +#[allow(clippy::derive_partial_eq_without_eq)] +#[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")] + pub contract_address: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub new_admin: ::prost::alloc::string::String, +} /// AccessType permission types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] @@ -289,7 +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, PartialEq, Eq, ::prost::Message, ::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 @@ -332,7 +406,7 @@ pub struct CombinedLimit { /// message. /// Since: wasmd 0.30 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -450,7 +524,7 @@ pub struct MsgIbcSend { } /// MsgIBCSendResponse #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -461,6 +535,11 @@ pub struct MsgIbcSendResponse { )] pub sequence: u64, } +/// MsgIBCWriteAcknowledgementResponse +#[allow(clippy::derive_partial_eq_without_eq)] +#[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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -1019,7 +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, PartialEq, Eq, ::prost::Message, ::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 { @@ -1115,7 +1194,7 @@ pub struct QueryPinnedCodesResponse { } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1396,7 +1475,7 @@ pub struct MsgUpdateAdmin { } /// MsgUpdateAdminResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1413,7 +1492,7 @@ pub struct MsgClearAdmin { } /// MsgClearAdminResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1438,7 +1517,7 @@ pub struct MsgUpdateInstantiateConfig { } /// MsgUpdateInstantiateConfigResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -1462,7 +1541,7 @@ pub struct MsgUpdateParams { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -1514,7 +1593,7 @@ pub struct MsgPinCodes { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -1537,7 +1616,7 @@ pub struct MsgUnpinCodes { /// /// Since: 0.40 #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1616,7 +1695,7 @@ pub struct MsgAddCodeUploadParamsAddresses { /// MsgAddCodeUploadParamsAddressesResponse defines the response /// structure for executing a MsgAddCodeUploadParamsAddresses message. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1634,7 +1713,7 @@ pub struct MsgRemoveCodeUploadParamsAddresses { /// MsgRemoveCodeUploadParamsAddressesResponse defines the response /// structure for executing a MsgRemoveCodeUploadParamsAddresses message. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgRemoveCodeUploadParamsAddressesResponse")] pub struct MsgRemoveCodeUploadParamsAddressesResponse {} /// MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract @@ -1701,7 +1780,7 @@ pub struct MsgUpdateContractLabel { } /// MsgUpdateContractLabelResponse returns empty data #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { diff --git a/packages/injective-std/src/types/injective/auction/mod.rs b/packages/injective-std/src/types/injective/auction/mod.rs index af03bfd7..9f64fc82 100644 --- a/packages/injective-std/src/types/injective/auction/mod.rs +++ b/packages/injective-std/src/types/injective/auction/mod.rs @@ -1,2 +1 @@ -#![allow(non_snake_case)] pub mod v1beta1; diff --git a/packages/injective-std/src/types/injective/auction/v1beta1.rs b/packages/injective-std/src/types/injective/auction/v1beta1.rs index 7b3f9bf7..8d4aa8dd 100644 --- a/packages/injective-std/src/types/injective/auction/v1beta1.rs +++ b/packages/injective-std/src/types/injective/auction/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.Params")] @@ -13,6 +13,10 @@ pub struct Params { /// min_next_bid_increment_rate defines the minimum increment rate for new bids #[prost(string, tag = "2")] pub min_next_bid_increment_rate: ::prost::alloc::string::String, + /// inj_basket_max_cap defines the maximum cap for INJ contained in an auction + /// basket + #[prost(string, tag = "3")] + pub inj_basket_max_cap: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -20,9 +24,6 @@ pub struct Params { pub struct Bid { #[prost(string, tag = "1")] pub bidder: ::prost::alloc::string::String, - // #[prost(string, tag = "2")] - // pub amount: ::prost::alloc::string::String, - // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES #[prost(message, optional, tag = "2")] pub amount: ::core::option::Option, } @@ -34,9 +35,6 @@ pub struct LastAuctionResult { #[prost(string, tag = "1")] pub winner: ::prost::alloc::string::String, /// amount describes the amount the winner get from the auction - // #[prost(string, tag = "2")] - // pub amount: ::prost::alloc::string::String, - // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES #[prost(message, optional, tag = "2")] pub amount: ::core::option::Option, /// round defines the round number of auction @@ -55,9 +53,6 @@ pub struct EventBid { #[prost(string, tag = "1")] pub bidder: ::prost::alloc::string::String, /// amount describes the amount the bidder put on the auction - // #[prost(string, tag = "2")] - // pub amount: ::prost::alloc::string::String, - // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES #[prost(message, optional, tag = "2")] pub amount: ::core::option::Option, /// round defines the round number of auction @@ -76,9 +71,6 @@ pub struct EventAuctionResult { #[prost(string, tag = "1")] pub winner: ::prost::alloc::string::String, /// amount describes the amount the winner get from the auction - // #[prost(string, tag = "2")] - // pub amount: ::prost::alloc::string::String, - // NOTE: THIS IS A FIX FOR RUST BINDINGS, PLEASE COPY IN FUTURE RELEASES #[prost(message, optional, tag = "2")] pub amount: ::core::option::Option, /// round defines the round number of auction @@ -144,7 +136,7 @@ pub struct GenesisState { /// QueryAuctionParamsRequest is the request type for the Query/AuctionParams RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -163,7 +155,7 @@ pub struct QueryAuctionParamsResponse { /// QueryCurrentAuctionBasketRequest is the request type for the /// Query/CurrentAuctionBasket RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QueryCurrentAuctionBasketRequest")] #[proto_query( path = "/injective.auction.v1beta1.Query/CurrentAuctionBasket", @@ -185,25 +177,25 @@ pub struct QueryCurrentAuctionBasketResponse { serialize_with = "crate::serde::as_str::serialize", deserialize_with = "crate::serde::as_str::deserialize" )] - pub auctionRound: u64, + pub auction_round: u64, /// auctionClosingTime describes auction close time for the round #[prost(int64, tag = "3")] #[serde( serialize_with = "crate::serde::as_str::serialize", deserialize_with = "crate::serde::as_str::deserialize" )] - pub auctionClosingTime: i64, + pub auction_closing_time: i64, /// highestBidder describes highest bidder on current round #[prost(string, tag = "4")] - pub highestBidder: ::prost::alloc::string::String, + pub highest_bidder: ::prost::alloc::string::String, /// highestBidAmount describes highest bid amount on current round #[prost(string, tag = "5")] - pub highestBidAmount: ::prost::alloc::string::String, + pub highest_bid_amount: ::prost::alloc::string::String, } /// QueryModuleStateRequest is the request type for the Query/AuctionModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -220,7 +212,7 @@ pub struct QueryModuleStateResponse { pub state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -253,7 +245,7 @@ pub struct MsgBid { pub round: u64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -270,7 +262,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { diff --git a/packages/injective-std/src/types/injective/exchange/mod.rs b/packages/injective-std/src/types/injective/exchange/mod.rs index af03bfd7..9f64fc82 100644 --- a/packages/injective-std/src/types/injective/exchange/mod.rs +++ b/packages/injective-std/src/types/injective/exchange/mod.rs @@ -1,2 +1 @@ -#![allow(non_snake_case)] pub mod v1beta1; diff --git a/packages/injective-std/src/types/injective/exchange/v1beta1.rs b/packages/injective-std/src/types/injective/exchange/v1beta1.rs index 6d5bdbaa..e4c1a71e 100644 --- a/packages/injective-std/src/types/injective/exchange/v1beta1.rs +++ b/packages/injective-std/src/types/injective/exchange/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// spot authz messages #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -329,7 +329,7 @@ pub struct DerivativeMarket { /// true if the market is a perpetual market. false if the market is an expiry /// futures market #[prost(bool, tag = "13")] - pub isPerpetual: bool, + pub is_perpetual: bool, /// Status of the market #[prost(enumeration = "MarketStatus", tag = "14")] #[serde( @@ -359,6 +359,13 @@ pub struct DerivativeMarket { deserialize_with = "crate::serde::as_str::deserialize" )] pub admin_permissions: u32, + /// quote token decimals + #[prost(uint32, tag = "20")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub quote_decimals: u32, } /// An object describing a binary options market in Injective Protocol. #[allow(clippy::derive_partial_eq_without_eq)] @@ -450,6 +457,13 @@ pub struct BinaryOptionsMarket { deserialize_with = "crate::serde::as_str::deserialize" )] pub admin_permissions: u32, + /// quote token decimals + #[prost(uint32, tag = "20")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub quote_decimals: u32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -547,7 +561,7 @@ pub struct DerivativeMarketSettlementInfo { pub settlement_price: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -629,6 +643,20 @@ pub struct SpotMarket { deserialize_with = "crate::serde::as_str::deserialize" )] pub admin_permissions: u32, + /// base token decimals + #[prost(uint32, tag = "14")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub base_decimals: u32, + /// quote token decimals + #[prost(uint32, tag = "15")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub quote_decimals: u32, } /// A subaccount's deposit for a given base currency #[allow(clippy::derive_partial_eq_without_eq)] @@ -641,7 +669,7 @@ pub struct Deposit { pub total_balance: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -813,7 +841,7 @@ pub struct SubaccountOrder { #[prost(string, tag = "2")] pub quantity: ::prost::alloc::string::String, #[prost(bool, tag = "3")] - pub isReduceOnly: bool, + pub is_reduce_only: bool, #[prost(string, tag = "4")] pub cid: ::prost::alloc::string::String, } @@ -883,7 +911,7 @@ pub struct DerivativeMarketOrder { #[proto_message(type_url = "/injective.exchange.v1beta1.Position")] pub struct Position { #[prost(bool, tag = "1")] - pub isLong: bool, + pub is_long: bool, #[prost(string, tag = "2")] pub quantity: ::prost::alloc::string::String, #[prost(string, tag = "3")] @@ -902,7 +930,7 @@ pub struct MarketOrderIndicator { #[serde(alias = "marketID")] pub market_id: ::prost::alloc::string::String, #[prost(bool, tag = "2")] - pub isBuy: bool, + pub is_buy: bool, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -1093,7 +1121,7 @@ pub struct FeeDiscountSchedule { 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, ::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")] @@ -1469,7 +1497,7 @@ pub struct EventBatchSpotExecution { serialize_with = "crate::serde::as_str::serialize", deserialize_with = "crate::serde::as_str::deserialize" )] - pub executionType: i32, + pub execution_type: i32, #[prost(message, repeated, tag = "4")] pub trades: ::prost::alloc::vec::Vec, } @@ -1492,7 +1520,7 @@ pub struct EventBatchDerivativeExecution { serialize_with = "crate::serde::as_str::serialize", deserialize_with = "crate::serde::as_str::deserialize" )] - pub executionType: i32, + pub execution_type: i32, #[prost(message, repeated, tag = "6")] pub trades: ::prost::alloc::vec::Vec, } @@ -1704,7 +1732,7 @@ pub struct EventCancelDerivativeOrder { #[serde(alias = "marketID")] pub market_id: ::prost::alloc::string::String, #[prost(bool, tag = "2")] - pub isLimitCancel: bool, + pub is_limit_cancel: bool, #[prost(message, optional, tag = "3")] pub limit_order: ::core::option::Option, #[prost(message, optional, tag = "4")] @@ -1755,7 +1783,7 @@ pub struct EventCancelConditionalDerivativeOrder { #[serde(alias = "marketID")] pub market_id: ::prost::alloc::string::String, #[prost(bool, tag = "2")] - pub isLimitCancel: bool, + pub is_limit_cancel: bool, #[prost(message, optional, tag = "3")] pub limit_order: ::core::option::Option, #[prost(message, optional, tag = "4")] @@ -1769,7 +1797,7 @@ pub struct EventConditionalDerivativeOrderTrigger { #[serde(alias = "marketID")] pub market_id: ::prost::alloc::vec::Vec, #[prost(bool, tag = "2")] - pub isLimitTrigger: bool, + pub is_limit_trigger: bool, #[prost(bytes = "vec", tag = "3")] pub triggered_order_hash: ::prost::alloc::vec::Vec, #[prost(bytes = "vec", tag = "4")] @@ -1902,7 +1930,7 @@ pub struct MsgUpdateSpotMarket { pub new_min_notional: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -1936,7 +1964,7 @@ pub struct MsgUpdateDerivativeMarket { pub new_maintenance_margin_ratio: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgUpdateDerivativeMarketResponse")] pub struct MsgUpdateDerivativeMarketResponse {} #[allow(clippy::derive_partial_eq_without_eq)] @@ -1953,7 +1981,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1974,7 +2002,7 @@ pub struct MsgDeposit { } /// MsgDepositResponse defines the Msg/Deposit response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1994,7 +2022,7 @@ pub struct MsgWithdraw { } /// MsgWithdraw defines the Msg/Withdraw response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -2071,11 +2099,25 @@ pub struct MsgInstantSpotMarketLaunch { /// orders in the market #[prost(string, tag = "7")] pub min_notional: ::prost::alloc::string::String, + /// base token decimals + #[prost(uint32, tag = "8")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub base_decimals: u32, + /// quote token decimals + #[prost(uint32, tag = "9")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub quote_decimals: u32, } /// MsgInstantSpotMarketLaunchResponse defines the Msg/InstantSpotMarketLaunch /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgInstantSpotMarketLaunchResponse")] pub struct MsgInstantSpotMarketLaunchResponse {} /// MsgInstantPerpetualMarketLaunch defines a SDK message for creating a new @@ -2144,7 +2186,7 @@ pub struct MsgInstantPerpetualMarketLaunch { /// MsgInstantPerpetualMarketLaunchResponse defines the /// Msg/InstantPerpetualMarketLaunchResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgInstantPerpetualMarketLaunchResponse")] pub struct MsgInstantPerpetualMarketLaunchResponse {} /// MsgInstantBinaryOptionsMarketLaunch defines a SDK message for creating a new @@ -2222,7 +2264,7 @@ pub struct MsgInstantBinaryOptionsMarketLaunch { /// MsgInstantBinaryOptionsMarketLaunchResponse defines the /// Msg/InstantBinaryOptionsMarketLaunchResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgInstantBinaryOptionsMarketLaunchResponse")] pub struct MsgInstantBinaryOptionsMarketLaunchResponse {} /// MsgInstantExpiryFuturesMarketLaunch defines a SDK message for creating a new @@ -2298,7 +2340,7 @@ pub struct MsgInstantExpiryFuturesMarketLaunch { /// MsgInstantExpiryFuturesMarketLaunchResponse defines the /// Msg/InstantExpiryFuturesMarketLaunch response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgInstantExpiryFuturesMarketLaunchResponse")] pub struct MsgInstantExpiryFuturesMarketLaunchResponse {} /// MsgCreateSpotMarketOrder defines a SDK message for creating a new spot market @@ -2421,7 +2463,7 @@ pub struct MsgCancelSpotOrder { } /// MsgCancelSpotOrderResponse defines the Msg/CancelSpotOrder response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -2616,7 +2658,7 @@ pub struct MsgCancelDerivativeOrder { /// MsgCancelDerivativeOrderResponse defines the /// Msg/CancelDerivativeOrderResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgCancelDerivativeOrderResponse")] pub struct MsgCancelDerivativeOrderResponse {} /// MsgCancelBinaryOptionsOrder defines the Msg/CancelBinaryOptionsOrder response @@ -2648,7 +2690,7 @@ pub struct MsgCancelBinaryOptionsOrder { /// MsgCancelBinaryOptionsOrderResponse defines the /// Msg/CancelBinaryOptionsOrderResponse response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgCancelBinaryOptionsOrderResponse")] pub struct MsgCancelBinaryOptionsOrderResponse {} #[allow(clippy::derive_partial_eq_without_eq)] @@ -2712,7 +2754,7 @@ pub struct MsgSubaccountTransfer { /// MsgSubaccountTransferResponse defines the Msg/SubaccountTransfer response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -2733,7 +2775,7 @@ pub struct MsgExternalTransfer { } /// MsgExternalTransferResponse defines the Msg/ExternalTransfer response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -2755,7 +2797,7 @@ pub struct MsgLiquidatePosition { } /// MsgLiquidatePositionResponse defines the Msg/LiquidatePosition response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -2775,7 +2817,7 @@ pub struct MsgEmergencySettleMarket { /// MsgEmergencySettleMarketResponse defines the Msg/EmergencySettleMarket /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgEmergencySettleMarketResponse")] pub struct MsgEmergencySettleMarketResponse {} /// A Cosmos-SDK MsgIncreasePositionMargin @@ -2801,7 +2843,7 @@ pub struct MsgIncreasePositionMargin { /// MsgIncreasePositionMarginResponse defines the Msg/IncreasePositionMargin /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgIncreasePositionMarginResponse")] pub struct MsgIncreasePositionMarginResponse {} /// A Cosmos-SDK MsgDecreasePositionMargin @@ -2827,7 +2869,7 @@ pub struct MsgDecreasePositionMargin { /// MsgDecreasePositionMarginResponse defines the Msg/MsgDecreasePositionMargin /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgDecreasePositionMarginResponse")] pub struct MsgDecreasePositionMarginResponse {} /// MsgPrivilegedExecuteContract defines the Msg/Exec message type @@ -2866,7 +2908,7 @@ pub struct MsgRewardsOptOut { } /// MsgRewardsOptOutResponse defines the Msg/RewardsOptOut response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -2884,7 +2926,7 @@ pub struct MsgReclaimLockedFunds { /// MsgReclaimLockedFundsResponse defines the Msg/ReclaimLockedFunds response /// type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -2949,7 +2991,7 @@ pub struct MsgAdminUpdateBinaryOptionsMarket { /// MsgAdminUpdateBinaryOptionsMarketResponse is the response for /// AdminUpdateBinaryOptionsMarket rpc method #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgAdminUpdateBinaryOptionsMarketResponse")] pub struct MsgAdminUpdateBinaryOptionsMarketResponse {} /// MsgAuthorizeStakeGrants grants stakes to grantees. @@ -2963,7 +3005,7 @@ pub struct MsgAuthorizeStakeGrants { pub grants: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgAuthorizeStakeGrantsResponse")] pub struct MsgAuthorizeStakeGrantsResponse {} /// MsgActivateStakeGrant allows a grantee to activate a stake grant. @@ -2977,7 +3019,7 @@ pub struct MsgActivateStakeGrant { pub granter: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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. @@ -3177,7 +3219,7 @@ pub struct SpotOrderBook { #[serde(alias = "marketID")] pub market_id: ::prost::alloc::string::String, #[prost(bool, tag = "2")] - pub isBuySide: bool, + pub is_buy_side: bool, #[prost(message, repeated, tag = "3")] pub orders: ::prost::alloc::vec::Vec, } @@ -3190,7 +3232,7 @@ pub struct DerivativeOrderBook { #[serde(alias = "marketID")] pub market_id: ::prost::alloc::string::String, #[prost(bool, tag = "2")] - pub isBuySide: bool, + pub is_buy_side: bool, #[prost(message, repeated, tag = "3")] pub orders: ::prost::alloc::vec::Vec, } @@ -3335,6 +3377,20 @@ pub struct SpotMarketParamUpdateProposal { pub min_notional: ::prost::alloc::string::String, #[prost(message, optional, tag = "12")] pub admin_info: ::core::option::Option, + /// base token decimals + #[prost(uint32, tag = "13")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub base_decimals: u32, + /// quote token decimals + #[prost(uint32, tag = "14")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub quote_decimals: u32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -3349,7 +3405,7 @@ pub struct ExchangeEnableProposal { serialize_with = "crate::serde::as_str::serialize", deserialize_with = "crate::serde::as_str::deserialize" )] - pub exchangeType: i32, + pub exchange_type: i32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -3419,6 +3475,20 @@ pub struct SpotMarketLaunchProposal { pub min_notional: ::prost::alloc::string::String, #[prost(message, optional, tag = "11")] pub admin_info: ::core::option::Option, + /// base token decimals + #[prost(uint32, tag = "14")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub base_decimals: u32, + /// quote token decimals + #[prost(uint32, tag = "15")] + #[serde( + serialize_with = "crate::serde::as_str::serialize", + deserialize_with = "crate::serde::as_str::deserialize" + )] + pub quote_decimals: u32, } /// PerpetualMarketLaunchProposal defines a SDK message for proposing a new /// perpetual futures market through governance @@ -4026,7 +4096,7 @@ pub struct SubaccountOrderbookMetadataWithMarket { /// QueryExchangeParamsRequest is the request type for the Query/ExchangeParams /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -4070,7 +4140,7 @@ pub struct QuerySubaccountDepositsResponse { /// QueryExchangeBalancesRequest is the request type for the /// Query/ExchangeBalances RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -4179,7 +4249,7 @@ pub struct QueryDenomDecimalRequest { /// QueryDenomDecimalResponse is the response type for the Query/DenomDecimal RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -4858,7 +4928,7 @@ pub struct FullDerivativeMarket { } /// Nested message and enum types in `FullDerivativeMarket`. pub mod full_derivative_market { - use injective_std_derive::CosmwasmExt; + use osmosis_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Oneof, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema)] pub enum Info { @@ -5127,7 +5197,7 @@ pub struct QuerySubaccountOrderMetadataResponse { /// QuerySubaccountTradeNonceResponse is the response type for the /// Query/SubaccountTradeNonce RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QuerySubaccountTradeNonceResponse")] pub struct QuerySubaccountTradeNonceResponse { #[prost(uint32, tag = "1")] @@ -5140,7 +5210,7 @@ pub struct QuerySubaccountTradeNonceResponse { /// QueryModuleStateRequest is the request type for the Query/ExchangeModuleState /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -5158,7 +5228,7 @@ pub struct QueryModuleStateResponse { } /// QueryPositionsRequest is the request type for the Query/Positions RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -5205,7 +5275,7 @@ pub struct QueryTradeRewardPointsResponse { /// QueryTradeRewardCampaignRequest is the request type for the /// Query/TradeRewardCampaign RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QueryTradeRewardCampaignRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/TradeRewardCampaign", @@ -5245,7 +5315,7 @@ pub struct QueryIsOptedOutOfRewardsRequest { /// QueryIsRegisteredDMMResponse is the response type for the /// Query/IsRegisteredDMM RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QueryIsOptedOutOfRewardsResponse")] pub struct QueryIsOptedOutOfRewardsResponse { #[prost(bool, tag = "1")] @@ -5254,7 +5324,7 @@ pub struct QueryIsOptedOutOfRewardsResponse { /// QueryRegisteredDMMsRequest is the request type for the Query/RegisteredDMMs /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QueryOptedOutOfRewardsAccountsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/OptedOutOfRewardsAccounts", @@ -5303,7 +5373,7 @@ pub struct QueryFeeDiscountAccountInfoResponse { /// QueryFeeDiscountScheduleRequest is the request type for the /// Query/FeeDiscountSchedule RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QueryFeeDiscountScheduleRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/FeeDiscountSchedule", @@ -5322,7 +5392,7 @@ pub struct QueryFeeDiscountScheduleResponse { /// QueryBalanceMismatchesRequest is the request type for the /// Query/QueryBalanceMismatches RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -5368,7 +5438,7 @@ pub struct QueryBalanceMismatchesResponse { /// QueryBalanceWithBalanceHoldsRequest is the request type for the /// Query/QueryBalanceWithBalanceHolds RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QueryBalanceWithBalanceHoldsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/BalanceWithBalanceHolds", @@ -5403,7 +5473,7 @@ pub struct QueryBalanceWithBalanceHoldsResponse { /// QueryFeeDiscountTierStatisticsRequest is the request type for the /// Query/QueryFeeDiscountTierStatistics RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.QueryFeeDiscountTierStatisticsRequest")] #[proto_query( path = "/injective.exchange.v1beta1.Query/FeeDiscountTierStatistics", @@ -5411,7 +5481,7 @@ pub struct QueryBalanceWithBalanceHoldsResponse { )] pub struct QueryFeeDiscountTierStatisticsRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -5439,7 +5509,7 @@ pub struct QueryFeeDiscountTierStatisticsResponse { /// MitoVaultInfosRequest is the request type for the Query/MitoVaultInfos RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -5506,7 +5576,7 @@ pub struct QueryHistoricalTradeRecordsResponse { /// TradeHistoryOptions are the optional params for Query/MarketVolatility RPC /// method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -5618,14 +5688,14 @@ pub struct TrimmedDerivativeConditionalOrder { pub margin: ::prost::alloc::string::String, /// price to trigger the order #[prost(string, tag = "4")] - pub triggerPrice: ::prost::alloc::string::String, + pub trigger_price: ::prost::alloc::string::String, /// true if the order is a buy /// /// ensure omitempty is not in jsontag #[prost(bool, tag = "5")] - pub isBuy: bool, + pub is_buy: bool, #[prost(bool, tag = "6")] - pub isLimit: bool, + pub is_limit: bool, #[prost(string, tag = "7")] pub order_hash: ::prost::alloc::string::String, #[prost(string, tag = "8")] @@ -5642,6 +5712,65 @@ pub struct QueryTraderDerivativeConditionalOrdersResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullSpotOrderbookRequest")] +#[proto_query( + path = "/injective.exchange.v1beta1.Query/L3SpotOrderBook", + response_type = QueryFullSpotOrderbookResponse +)] +pub struct QueryFullSpotOrderbookRequest { + /// market id + #[prost(string, tag = "1")] + #[serde(alias = "marketID")] + pub market_id: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullSpotOrderbookResponse")] +pub struct QueryFullSpotOrderbookResponse { + #[prost(message, repeated, tag = "1")] + pub bids: ::prost::alloc::vec::Vec, + #[prost(message, repeated, tag = "2")] + pub asks: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullDerivativeOrderbookRequest")] +#[proto_query( + path = "/injective.exchange.v1beta1.Query/L3DerivativeOrderBook", + response_type = QueryFullDerivativeOrderbookResponse +)] +pub struct QueryFullDerivativeOrderbookRequest { + /// market id + #[prost(string, tag = "1")] + #[serde(alias = "marketID")] + pub market_id: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.QueryFullDerivativeOrderbookResponse")] +pub struct QueryFullDerivativeOrderbookResponse { + #[prost(message, repeated, tag = "1")] + pub bids: ::prost::alloc::vec::Vec, + #[prost(message, repeated, tag = "2")] + pub asks: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] +#[proto_message(type_url = "/injective.exchange.v1beta1.TrimmedLimitOrder")] +pub struct TrimmedLimitOrder { + #[prost(string, tag = "1")] + pub price: ::prost::alloc::string::String, + /// quantity of the order + #[prost(string, tag = "2")] + pub quantity: ::prost::alloc::string::String, + #[prost(string, tag = "3")] + pub order_hash: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + #[serde(alias = "subaccountID")] + pub subaccount_id: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[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", @@ -5791,6 +5920,15 @@ impl<'a, Q: cosmwasm_std::CustomQuery> ExchangeQuerier<'a, Q> { pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self { Self { querier } } + pub fn l3_derivative_order_book( + &self, + market_id: ::prost::alloc::string::String, + ) -> Result { + QueryFullDerivativeOrderbookRequest { market_id }.query(self.querier) + } + pub fn l3_spot_order_book(&self, market_id: ::prost::alloc::string::String) -> Result { + QueryFullSpotOrderbookRequest { market_id }.query(self.querier) + } pub fn query_exchange_params(&self) -> Result { QueryExchangeParamsRequest {}.query(self.querier) } diff --git a/packages/injective-std/src/types/injective/insurance/v1beta1.rs b/packages/injective-std/src/types/injective/insurance/v1beta1.rs index 7fef0b22..3f09147c 100644 --- a/packages/injective-std/src/types/injective/insurance/v1beta1.rs +++ b/packages/injective-std/src/types/injective/insurance/v1beta1.rs @@ -1,6 +1,6 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.Params")] pub struct Params { /// default_redemption_notice_period_duration defines the default minimum @@ -179,7 +179,7 @@ pub struct GenesisState { /// QueryInsuranceParamsRequest is the request type for the Query/InsuranceParams /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.QueryInsuranceParamsRequest")] #[proto_query( path = "/injective.insurance.v1beta1.Query/InsuranceParams", @@ -189,7 +189,7 @@ pub struct QueryInsuranceParamsRequest {} /// QueryInsuranceParamsRequest is the response type for the /// Query/InsuranceParams RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.QueryInsuranceParamsResponse")] pub struct QueryInsuranceParamsResponse { #[prost(message, optional, tag = "1")] @@ -222,7 +222,7 @@ pub struct QueryInsuranceFundResponse { /// QueryInsuranceFundsRequest is the request type for the Query/InsuranceFunds /// RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.QueryInsuranceFundsRequest")] #[proto_query( path = "/injective.insurance.v1beta1.Query/InsuranceFunds", @@ -291,7 +291,7 @@ pub struct QueryPendingRedemptionsResponse { /// QueryModuleStateRequest is the request type for the /// Query/InsuranceModuleState RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.QueryModuleStateRequest")] #[proto_query( path = "/injective.insurance.v1beta1.Query/InsuranceModuleState", @@ -350,7 +350,7 @@ pub struct MsgCreateInsuranceFund { pub initial_deposit: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.MsgCreateInsuranceFundResponse")] pub struct MsgCreateInsuranceFundResponse {} /// MsgUnderwrite defines a message for depositing coins to underwrite an @@ -371,7 +371,7 @@ pub struct MsgUnderwrite { pub deposit: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.MsgUnderwriteResponse")] pub struct MsgUnderwriteResponse {} /// MsgRequestRedemption defines a message for requesting a redemption of the @@ -392,7 +392,7 @@ pub struct MsgRequestRedemption { pub amount: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.MsgRequestRedemptionResponse")] pub struct MsgRequestRedemptionResponse {} #[allow(clippy::derive_partial_eq_without_eq)] @@ -409,7 +409,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.insurance.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} pub struct InsuranceQuerier<'a, Q: cosmwasm_std::CustomQuery> { diff --git a/packages/injective-std/src/types/injective/oracle/v1beta1.rs b/packages/injective-std/src/types/injective/oracle/v1beta1.rs index df7772fa..6a7add17 100644 --- a/packages/injective-std/src/types/injective/oracle/v1beta1.rs +++ b/packages/injective-std/src/types/injective/oracle/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.Params")] @@ -650,7 +650,7 @@ pub struct EventBandIbcAckError { pub client_id: i64, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -940,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -959,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -978,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -997,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1016,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1035,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1054,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1073,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1092,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1135,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1177,7 +1177,7 @@ pub struct QueryHistoricalPriceRecordsResponse { pub price_records: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1229,7 +1229,7 @@ pub struct QueryOracleVolatilityResponse { pub raw_history: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1265,7 +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, PartialEq, Eq, ::prost::Message, ::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")] @@ -1356,7 +1356,7 @@ pub struct MsgRelayProviderPrices { pub prices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1376,7 +1376,7 @@ pub struct MsgRelayPriceFeedPrice { pub price: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -1395,7 +1395,7 @@ pub struct MsgRelayBandRates { pub request_i_ds: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1412,7 +1412,7 @@ pub struct MsgRelayCoinbaseMessages { pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1427,7 +1427,7 @@ pub struct MsgRelayStorkPrices { pub asset_pairs: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1448,7 +1448,7 @@ pub struct MsgRequestBandIbcRates { } /// MsgRequestDataResponse defines the Msg/RequestBandIBCRates response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1463,7 +1463,7 @@ pub struct MsgRelayPythPrices { } /// MsgRelayPythPricesResponse defines the Msg/RelayPythPrices response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -1480,7 +1480,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { diff --git a/packages/injective-std/src/types/injective/peggy/mod.rs b/packages/injective-std/src/types/injective/peggy/mod.rs index 57102a8b..a3a6d96c 100644 --- a/packages/injective-std/src/types/injective/peggy/mod.rs +++ b/packages/injective-std/src/types/injective/peggy/mod.rs @@ -1,2 +1 @@ -#![allow(non_snake_case)] pub mod v1; diff --git a/packages/injective-std/src/types/injective/peggy/v1.rs b/packages/injective-std/src/types/injective/peggy/v1.rs index f98e4a18..8f7118df 100644 --- a/packages/injective-std/src/types/injective/peggy/v1.rs +++ b/packages/injective-std/src/types/injective/peggy/v1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// Attestation is an aggregate of `claims` that eventually becomes `observed` by /// all orchestrators /// EVENT_NONCE: @@ -211,7 +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, PartialEq, Eq, ::prost::Message, ::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")] @@ -229,7 +229,7 @@ pub struct LastObservedEthereumBlockHeight { } /// LastClaimEvent stores last claim event details of validator. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -579,7 +579,7 @@ pub struct EventValsetUpdateClaim { pub orchestrator_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -730,7 +730,7 @@ pub struct MsgSetOrchestratorAddresses { pub eth_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -766,7 +766,7 @@ pub struct MsgValsetConfirm { pub signature: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -795,7 +795,7 @@ pub struct MsgSendToEth { pub bridge_fee: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -817,7 +817,7 @@ pub struct MsgRequestBatch { pub denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -848,7 +848,7 @@ pub struct MsgConfirmBatch { pub signature: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -886,7 +886,7 @@ pub struct MsgDepositClaim { pub data: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -919,7 +919,7 @@ pub struct MsgWithdrawClaim { pub orchestrator: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -959,7 +959,7 @@ pub struct MsgErc20DeployedClaim { pub orchestrator: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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) @@ -980,7 +980,7 @@ pub struct MsgCancelSendToEth { pub sender: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -998,7 +998,7 @@ pub struct MsgSubmitBadSignatureEvidence { pub sender: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1035,7 +1035,7 @@ pub struct MsgValsetUpdatedClaim { pub orchestrator: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -1052,7 +1052,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1071,7 +1071,7 @@ pub struct MsgBlacklistEthereumAddresses { /// MsgBlacklistEthereumAddressesResponse defines the /// MsgBlacklistEthereumAddresses response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1090,7 +1090,7 @@ pub struct MsgRevokeEthereumBlacklist { /// MsgRevokeEthereumBlacklistResponse defines the MsgRevokeEthereumBlacklist /// response type. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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 @@ -1165,7 +1165,7 @@ pub struct BatchFees { pub total_fees: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1180,7 +1180,7 @@ pub struct QueryParamsResponse { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1195,7 +1195,7 @@ pub struct QueryCurrentValsetResponse { pub valset: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1241,7 +1241,7 @@ pub struct QueryValsetConfirmResponse { pub confirm: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1263,7 +1263,7 @@ pub struct QueryValsetConfirmsByNonceResponse { pub confirms: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1296,7 +1296,7 @@ pub struct QueryLastPendingValsetRequestByAddrResponse { pub valsets: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1304,13 +1304,11 @@ pub struct QueryLastPendingValsetRequestByAddrResponse { )] pub struct QueryBatchFeeRequest {} #[allow(clippy::derive_partial_eq_without_eq)] -#[allow(non_snake_case)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.peggy.v1.QueryBatchFeeResponse")] pub struct QueryBatchFeeResponse { - #[allow(non_snake_case)] #[prost(message, repeated, tag = "1")] - pub batchFees: ::prost::alloc::vec::Vec, + pub batch_fees: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -1331,7 +1329,7 @@ pub struct QueryLastPendingBatchRequestByAddrResponse { pub batch: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", @@ -1405,7 +1403,7 @@ pub struct QueryLastEventByAddrRequest { pub address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -1534,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -1551,7 +1549,7 @@ pub struct QueryModuleStateResponse { pub state: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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", diff --git a/packages/injective-std/src/types/injective/permissions/v1beta1.rs b/packages/injective-std/src/types/injective/permissions/v1beta1.rs index 8ba446d6..2fd685fc 100644 --- a/packages/injective-std/src/types/injective/permissions/v1beta1.rs +++ b/packages/injective-std/src/types/injective/permissions/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.EventSetVoucher")] @@ -10,7 +10,7 @@ pub struct EventSetVoucher { } /// Params defines the parameters for the permissions module. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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")] @@ -138,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -147,7 +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, PartialEq, Eq, ::prost::Message, ::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. @@ -157,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -273,7 +273,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -286,7 +286,7 @@ pub struct MsgCreateNamespace { pub namespace: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -299,7 +299,7 @@ pub struct MsgDeleteNamespace { pub namespace_denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -323,7 +323,7 @@ pub struct MsgUpdateNamespace { } /// Nested message and enum types in `MsgUpdateNamespace`. pub mod msg_update_namespace { - use injective_std_derive::CosmwasmExt; + use osmosis_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook")] @@ -332,21 +332,21 @@ pub mod msg_update_namespace { pub new_value: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgUpdateNamespace.MsgSetMintsPaused")] pub struct MsgSetMintsPaused { #[prost(bool, tag = "1")] pub new_value: bool, } #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgUpdateNamespace.MsgSetSendsPaused")] pub struct MsgSetSendsPaused { #[prost(bool, tag = "1")] pub new_value: bool, } #[allow(clippy::derive_partial_eq_without_eq)] - #[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgUpdateNamespace.MsgSetBurnsPaused")] pub struct MsgSetBurnsPaused { #[prost(bool, tag = "1")] @@ -354,7 +354,7 @@ pub mod msg_update_namespace { } } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -374,7 +374,7 @@ pub struct MsgUpdateNamespaceRoles { pub address_roles: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgUpdateNamespaceRolesResponse")] pub struct MsgUpdateNamespaceRolesResponse {} #[allow(clippy::derive_partial_eq_without_eq)] @@ -391,7 +391,7 @@ pub struct MsgRevokeNamespaceRoles { pub address_roles_to_revoke: ::prost::alloc::vec::Vec, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.MsgRevokeNamespaceRolesResponse")] pub struct MsgRevokeNamespaceRolesResponse {} #[allow(clippy::derive_partial_eq_without_eq)] @@ -404,7 +404,7 @@ pub struct MsgClaimVoucher { pub denom: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { diff --git a/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs b/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs index 05ffa033..611e8a8a 100644 --- a/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs +++ b/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; /// DenomAuthorityMetadata specifies metadata for addresses that have specific /// capabilities over a token factory denom. Right now there is only one Admin /// permission, but is planned to be extended to the future. @@ -98,7 +98,7 @@ pub struct GenesisDenom { } /// QueryParamsRequest is the request type for the Query/Params RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.tokenfactory.v1beta1.QueryParamsRequest")] #[proto_query( path = "/injective.tokenfactory.v1beta1.Query/Params", @@ -163,7 +163,7 @@ pub struct QueryDenomsFromCreatorResponse { /// QueryModuleStateRequest is the request type for the /// Query/TokenfactoryModuleState RPC method. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.tokenfactory.v1beta1.QueryModuleStateRequest")] #[proto_query( path = "/injective.tokenfactory.v1beta1.Query/TokenfactoryModuleState", @@ -229,7 +229,7 @@ pub struct MsgMint { pub amount: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.tokenfactory.v1beta1.MsgMintResponse")] pub struct MsgMintResponse {} /// MsgBurn is the sdk.Msg type for allowing an admin account to burn @@ -244,7 +244,7 @@ pub struct MsgBurn { pub amount: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.tokenfactory.v1beta1.MsgBurnResponse")] pub struct MsgBurnResponse {} /// MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign @@ -263,7 +263,7 @@ pub struct MsgChangeAdmin { /// MsgChangeAdminResponse defines the response structure for an executed /// MsgChangeAdmin message. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.tokenfactory.v1beta1.MsgChangeAdminResponse")] pub struct MsgChangeAdminResponse {} /// MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set @@ -280,7 +280,7 @@ pub struct MsgSetDenomMetadata { /// MsgSetDenomMetadataResponse defines the response structure for an executed /// MsgSetDenomMetadata message. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.tokenfactory.v1beta1.MsgSetDenomMetadataResponse")] pub struct MsgSetDenomMetadataResponse {} #[allow(clippy::derive_partial_eq_without_eq)] @@ -297,7 +297,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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.tokenfactory.v1beta1.MsgUpdateParamsResponse")] pub struct MsgUpdateParamsResponse {} pub struct TokenfactoryQuerier<'a, Q: cosmwasm_std::CustomQuery> { diff --git a/packages/injective-std/src/types/injective/wasmx/v1.rs b/packages/injective-std/src/types/injective/wasmx/v1.rs index 2afde2c3..7f5007fe 100644 --- a/packages/injective-std/src/types/injective/wasmx/v1.rs +++ b/packages/injective-std/src/types/injective/wasmx/v1.rs @@ -1,4 +1,4 @@ -use injective_std_derive::CosmwasmExt; +use osmosis_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.ContractRegistrationRequestProposal")] @@ -287,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -306,7 +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, PartialEq, Eq, ::prost::Message, ::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", @@ -397,7 +397,7 @@ pub struct MsgUpdateContract { pub admin_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -411,7 +411,7 @@ pub struct MsgActivateContract { pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -425,7 +425,7 @@ pub struct MsgDeactivateContract { pub contract_address: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -442,7 +442,7 @@ pub struct MsgUpdateParams { pub params: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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)] @@ -455,7 +455,7 @@ pub struct MsgRegisterContract { pub contract_registration_request: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, Eq, ::prost::Message, ::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> { From 1a9c24bef589a463b833fd9eb480c473eb97f5c0 Mon Sep 17 00:00:00 2001 From: maxrobot Date: Mon, 14 Oct 2024 16:36:54 +0100 Subject: [PATCH 2/2] update std derive --- packages/injective-std/src/types/cosmos/auth/module/v1.rs | 2 +- packages/injective-std/src/types/cosmos/auth/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/authz/module/v1.rs | 2 +- packages/injective-std/src/types/cosmos/authz/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/bank/module/v1.rs | 2 +- packages/injective-std/src/types/cosmos/bank/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/base/node/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/base/query/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/base/v1beta1.rs | 2 +- .../injective-std/src/types/cosmos/distribution/module/v1.rs | 2 +- .../injective-std/src/types/cosmos/distribution/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/feegrant/module/v1.rs | 2 +- packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/gov/module/v1.rs | 2 +- packages/injective-std/src/types/cosmos/gov/v1.rs | 2 +- packages/injective-std/src/types/cosmos/gov/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/params/module/v1.rs | 2 +- packages/injective-std/src/types/cosmos/params/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmos/staking/v1beta1.rs | 2 +- packages/injective-std/src/types/cosmwasm/wasm/v1.rs | 2 +- packages/injective-std/src/types/injective/auction/v1beta1.rs | 2 +- .../injective-std/src/types/injective/exchange/v1beta1.rs | 4 ++-- .../injective-std/src/types/injective/insurance/v1beta1.rs | 2 +- packages/injective-std/src/types/injective/oracle/v1beta1.rs | 2 +- packages/injective-std/src/types/injective/peggy/v1.rs | 2 +- .../injective-std/src/types/injective/permissions/v1beta1.rs | 4 ++-- .../injective-std/src/types/injective/tokenfactory/v1beta1.rs | 2 +- packages/injective-std/src/types/injective/wasmx/v1.rs | 2 +- 28 files changed, 30 insertions(+), 30 deletions(-) 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 419b8338..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/auth/v1beta1.rs b/packages/injective-std/src/types/cosmos/auth/v1beta1.rs index 47efcd83..a342762a 100644 --- a/packages/injective-std/src/types/cosmos/auth/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/auth/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// BaseAccount defines a base account type. It contains all the necessary fields /// for basic account functionality. Any custom account type should extend this /// type for additional functionality (e.g. vesting). 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 abb31c22..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/authz/v1beta1.rs b/packages/injective-std/src/types/cosmos/authz/v1beta1.rs index 19390eb4..6b3fb058 100644 --- a/packages/injective-std/src/types/cosmos/authz/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/authz/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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)] 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 9be838f1..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/bank/v1beta1.rs b/packages/injective-std/src/types/cosmos/bank/v1beta1.rs index cf3ce368..79839859 100644 --- a/packages/injective-std/src/types/cosmos/bank/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/bank/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// SendAuthorization allows the grantee to spend up to spend_limit coins from /// the granter's account. /// 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 e305e32b..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] 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 3a772e71..af7312d1 100644 --- a/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/query/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// PageRequest is to be embedded in gRPC request messages for efficient /// pagination. Ex: /// diff --git a/packages/injective-std/src/types/cosmos/base/v1beta1.rs b/packages/injective-std/src/types/cosmos/base/v1beta1.rs index ca0e7aaf..b4ccbaaf 100644 --- a/packages/injective-std/src/types/cosmos/base/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/base/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// Coin defines a token with a denomination and an amount. /// /// NOTE: The amount field is an Int which implements the custom method 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 6ee96c65..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs b/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs index 4d0437cc..8c8c77fe 100644 --- a/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/distribution/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] 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 d45f07c2..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs b/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs index a6c9e802..28c72cd9 100644 --- a/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/feegrant/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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)] 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 9ff16316..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/gov/v1.rs b/packages/injective-std/src/types/cosmos/gov/v1.rs index 45db4181..681823a6 100644 --- a/packages/injective-std/src/types/cosmos/gov/v1.rs +++ b/packages/injective-std/src/types/cosmos/gov/v1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/gov/v1beta1.rs b/packages/injective-std/src/types/cosmos/gov/v1beta1.rs index 06ad2b6e..8f57455b 100644 --- a/packages/injective-std/src/types/cosmos/gov/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/gov/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// WeightedVoteOption defines a unit of vote for vote split. /// /// Since: cosmos-sdk 0.43 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 0f736a32..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,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/params/v1beta1.rs b/packages/injective-std/src/types/cosmos/params/v1beta1.rs index e8b2acf7..92ca9c6a 100644 --- a/packages/injective-std/src/types/cosmos/params/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/params/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +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, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/cosmos/staking/v1beta1.rs b/packages/injective-std/src/types/cosmos/staking/v1beta1.rs index 4d231ceb..c19b38a3 100644 --- a/packages/injective-std/src/types/cosmos/staking/v1beta1.rs +++ b/packages/injective-std/src/types/cosmos/staking/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// NOTE: The following type is not implemented due to current limitations of code generator /// which currently has issue with tendermint_proto. /// This will be fixed in the upcoming release. diff --git a/packages/injective-std/src/types/cosmwasm/wasm/v1.rs b/packages/injective-std/src/types/cosmwasm/wasm/v1.rs index a8c3ffbb..3c62164c 100644 --- a/packages/injective-std/src/types/cosmwasm/wasm/v1.rs +++ b/packages/injective-std/src/types/cosmwasm/wasm/v1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// AccessTypeParam #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] diff --git a/packages/injective-std/src/types/injective/auction/v1beta1.rs b/packages/injective-std/src/types/injective/auction/v1beta1.rs index 8d4aa8dd..669385c6 100644 --- a/packages/injective-std/src/types/injective/auction/v1beta1.rs +++ b/packages/injective-std/src/types/injective/auction/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.auction.v1beta1.Params")] diff --git a/packages/injective-std/src/types/injective/exchange/v1beta1.rs b/packages/injective-std/src/types/injective/exchange/v1beta1.rs index e4c1a71e..5bccf895 100644 --- a/packages/injective-std/src/types/injective/exchange/v1beta1.rs +++ b/packages/injective-std/src/types/injective/exchange/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// spot authz messages #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] @@ -4928,7 +4928,7 @@ pub struct FullDerivativeMarket { } /// Nested message and enum types in `FullDerivativeMarket`. pub mod full_derivative_market { - use osmosis_std_derive::CosmwasmExt; + use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Oneof, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema)] pub enum Info { diff --git a/packages/injective-std/src/types/injective/insurance/v1beta1.rs b/packages/injective-std/src/types/injective/insurance/v1beta1.rs index 3f09147c..759d5dfb 100644 --- a/packages/injective-std/src/types/injective/insurance/v1beta1.rs +++ b/packages/injective-std/src/types/injective/insurance/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, Copy, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.insurance.v1beta1.Params")] diff --git a/packages/injective-std/src/types/injective/oracle/v1beta1.rs b/packages/injective-std/src/types/injective/oracle/v1beta1.rs index 6a7add17..c08caa38 100644 --- a/packages/injective-std/src/types/injective/oracle/v1beta1.rs +++ b/packages/injective-std/src/types/injective/oracle/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.oracle.v1beta1.Params")] diff --git a/packages/injective-std/src/types/injective/peggy/v1.rs b/packages/injective-std/src/types/injective/peggy/v1.rs index 8f7118df..69eb4644 100644 --- a/packages/injective-std/src/types/injective/peggy/v1.rs +++ b/packages/injective-std/src/types/injective/peggy/v1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// Attestation is an aggregate of `claims` that eventually becomes `observed` by /// all orchestrators /// EVENT_NONCE: diff --git a/packages/injective-std/src/types/injective/permissions/v1beta1.rs b/packages/injective-std/src/types/injective/permissions/v1beta1.rs index 2fd685fc..69ef141d 100644 --- a/packages/injective-std/src/types/injective/permissions/v1beta1.rs +++ b/packages/injective-std/src/types/injective/permissions/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.EventSetVoucher")] @@ -323,7 +323,7 @@ pub struct MsgUpdateNamespace { } /// Nested message and enum types in `MsgUpdateNamespace`. pub mod msg_update_namespace { - use osmosis_std_derive::CosmwasmExt; + use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.permissions.v1beta1.MsgUpdateNamespace.MsgSetWasmHook")] diff --git a/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs b/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs index 611e8a8a..c2e99c63 100644 --- a/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs +++ b/packages/injective-std/src/types/injective/tokenfactory/v1beta1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; /// DenomAuthorityMetadata specifies metadata for addresses that have specific /// capabilities over a token factory denom. Right now there is only one Admin /// permission, but is planned to be extended to the future. diff --git a/packages/injective-std/src/types/injective/wasmx/v1.rs b/packages/injective-std/src/types/injective/wasmx/v1.rs index 7f5007fe..689b3591 100644 --- a/packages/injective-std/src/types/injective/wasmx/v1.rs +++ b/packages/injective-std/src/types/injective/wasmx/v1.rs @@ -1,4 +1,4 @@ -use osmosis_std_derive::CosmwasmExt; +use injective_std_derive::CosmwasmExt; #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)] #[proto_message(type_url = "/injective.wasmx.v1.ContractRegistrationRequestProposal")]