diff --git a/Cargo.toml b/Cargo.toml index e0d50b5..ffabc22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ grpc = [] # @@protoc_deletion_point(features) # This section is automatically generated by protoc-gen-prost-crate. # Changes in this area may be lost on regeneration. -proto_full = ["amino","capability_v1","cosmos_app_runtime_v1alpha1","cosmos_app_v1alpha1","cosmos_auth_module_v1","cosmos_auth_v1beta1","cosmos_authz_module_v1","cosmos_authz_v1beta1","cosmos_autocli_v1","cosmos_bank_module_v1","cosmos_bank_v1beta1","cosmos_base_abci_v1beta1","cosmos_base_kv_v1beta1","cosmos_base_node_v1beta1","cosmos_base_query_v1beta1","cosmos_base_reflection_v1beta1","cosmos_base_reflection_v2alpha1","cosmos_base_snapshots_v1beta1","cosmos_base_store_v1beta1","cosmos_base_tendermint_v1beta1","cosmos_base_v1beta1","cosmos_capability_module_v1","cosmos_capability_v1beta1","cosmos_consensus_module_v1","cosmos_consensus_v1","cosmos_crisis_module_v1","cosmos_crisis_v1beta1","cosmos_crypto_ed25519","cosmos_crypto_hd_v1","cosmos_crypto_keyring_v1","cosmos_crypto_multisig","cosmos_crypto_multisig_v1beta1","cosmos_crypto_secp256k1","cosmos_crypto_secp256r1","cosmos_distribution_module_v1","cosmos_distribution_v1beta1","cosmos_evidence_module_v1","cosmos_evidence_v1beta1","cosmos_feegrant_module_v1","cosmos_feegrant_v1beta1","cosmos_genutil_module_v1","cosmos_genutil_v1beta1","cosmos_gov_module_v1","cosmos_gov_v1","cosmos_gov_v1beta1","cosmos_group_module_v1","cosmos_group_v1","cosmos_ics23_v1","cosmos_mint_module_v1","cosmos_mint_v1beta1","cosmos_msg_v1","cosmos_orm_module_v1alpha1","cosmos_orm_query_v1alpha1","cosmos_orm_v1","cosmos_orm_v1alpha1","cosmos_params_module_v1","cosmos_params_v1beta1","cosmos_query_v1","cosmos_reflection_v1","cosmos_slashing_module_v1","cosmos_slashing_v1beta1","cosmos_staking_module_v1","cosmos_staking_v1beta1","cosmos_tx_config_v1","cosmos_tx_signing_v1beta1","cosmos_tx_v1beta1","cosmos_upgrade_module_v1","cosmos_upgrade_v1beta1","cosmos_vesting_module_v1","cosmos_vesting_v1beta1","cosmos_proto","ethermint_crypto_v1_ethsecp256k1","ethermint_evm_v1","ethermint_feemarket_v1","ethermint_types_v1","evmos_epochs_v1","evmos_erc20_v1","haqq_coinomics_v1","haqq_dao_module_v1","haqq_dao_v1","haqq_liquidvesting_v1","haqq_vesting_v1","ibc_applications_fee_v1","ibc_applications_interchain_accounts_controller_v1","ibc_applications_interchain_accounts_genesis_v1","ibc_applications_interchain_accounts_host_v1","ibc_applications_interchain_accounts_v1","ibc_applications_transfer_v1","ibc_applications_transfer_v2","ibc_core_channel_v1","ibc_core_client_v1","ibc_core_commitment_v1","ibc_core_connection_v1","ibc_core_types_v1","ibc_lightclients_localhost_v2","ibc_lightclients_solomachine_v2","ibc_lightclients_solomachine_v3","ibc_lightclients_tendermint_v1","tendermint_abci","tendermint_crypto","tendermint_libs_bits","tendermint_p2p","tendermint_types","tendermint_version"] +proto_full = ["amino","capability_v1","cosmos_app_runtime_v1alpha1","cosmos_app_v1alpha1","cosmos_auth_module_v1","cosmos_auth_v1beta1","cosmos_authz_module_v1","cosmos_authz_v1beta1","cosmos_autocli_v1","cosmos_bank_module_v1","cosmos_bank_v1beta1","cosmos_base_abci_v1beta1","cosmos_base_kv_v1beta1","cosmos_base_node_v1beta1","cosmos_base_query_v1beta1","cosmos_base_reflection_v1beta1","cosmos_base_reflection_v2alpha1","cosmos_base_snapshots_v1beta1","cosmos_base_store_v1beta1","cosmos_base_tendermint_v1beta1","cosmos_base_v1beta1","cosmos_capability_module_v1","cosmos_capability_v1beta1","cosmos_consensus_module_v1","cosmos_consensus_v1","cosmos_crisis_module_v1","cosmos_crisis_v1beta1","cosmos_crypto_ed25519","cosmos_crypto_hd_v1","cosmos_crypto_keyring_v1","cosmos_crypto_multisig","cosmos_crypto_multisig_v1beta1","cosmos_crypto_secp256k1","cosmos_crypto_secp256r1","cosmos_distribution_module_v1","cosmos_distribution_v1beta1","cosmos_evidence_module_v1","cosmos_evidence_v1beta1","cosmos_feegrant_module_v1","cosmos_feegrant_v1beta1","cosmos_genutil_module_v1","cosmos_genutil_v1beta1","cosmos_gov_module_v1","cosmos_gov_v1","cosmos_gov_v1beta1","cosmos_group_module_v1","cosmos_group_v1","cosmos_ics23_v1","cosmos_mint_module_v1","cosmos_mint_v1beta1","cosmos_msg_v1","cosmos_orm_module_v1alpha1","cosmos_orm_query_v1alpha1","cosmos_orm_v1","cosmos_orm_v1alpha1","cosmos_params_module_v1","cosmos_params_v1beta1","cosmos_query_v1","cosmos_reflection_v1","cosmos_slashing_module_v1","cosmos_slashing_v1beta1","cosmos_staking_module_v1","cosmos_staking_v1beta1","cosmos_tx_config_v1","cosmos_tx_signing_v1beta1","cosmos_tx_v1beta1","cosmos_upgrade_module_v1","cosmos_upgrade_v1beta1","cosmos_vesting_module_v1","cosmos_vesting_v1beta1","cosmos_proto","ethermint_crypto_v1_ethsecp256k1","ethermint_evm_v1","ethermint_feemarket_v1","ethermint_types_v1","evmos_epochs_v1","evmos_erc20_v1","haqq_coinomics_v1","haqq_liquidvesting_v1","haqq_ucdao_module_v1","haqq_ucdao_v1","haqq_vesting_v1","ibc_applications_fee_v1","ibc_applications_interchain_accounts_controller_v1","ibc_applications_interchain_accounts_genesis_v1","ibc_applications_interchain_accounts_host_v1","ibc_applications_interchain_accounts_v1","ibc_applications_transfer_v1","ibc_applications_transfer_v2","ibc_core_channel_v1","ibc_core_client_v1","ibc_core_commitment_v1","ibc_core_connection_v1","ibc_core_types_v1","ibc_lightclients_localhost_v2","ibc_lightclients_solomachine_v2","ibc_lightclients_solomachine_v3","ibc_lightclients_tendermint_v1","tendermint_abci","tendermint_crypto","tendermint_libs_bits","tendermint_p2p","tendermint_types","tendermint_version"] amino = [] capability_v1 = [] cosmos_app_runtime_v1alpha1 = [] @@ -126,9 +126,9 @@ ethermint_types_v1 = ["cosmos_auth_v1beta1"] evmos_epochs_v1 = ["cosmos_base_query_v1beta1"] evmos_erc20_v1 = ["cosmos_bank_v1beta1","cosmos_base_query_v1beta1","cosmos_base_v1beta1"] haqq_coinomics_v1 = ["cosmos_base_v1beta1"] -haqq_dao_module_v1 = [] -haqq_dao_v1 = ["cosmos_base_query_v1beta1","cosmos_base_v1beta1"] haqq_liquidvesting_v1 = ["cosmos_base_query_v1beta1","cosmos_base_v1beta1","cosmos_vesting_v1beta1"] +haqq_ucdao_module_v1 = [] +haqq_ucdao_v1 = ["cosmos_base_query_v1beta1","cosmos_base_v1beta1"] haqq_vesting_v1 = ["cosmos_base_v1beta1","cosmos_vesting_v1beta1"] ibc_applications_fee_v1 = ["cosmos_base_query_v1beta1","cosmos_base_v1beta1","ibc_core_channel_v1"] ibc_applications_interchain_accounts_controller_v1 = ["ibc_applications_interchain_accounts_v1"] diff --git a/haqq-node b/haqq-node index 31c96a3..3058d8f 160000 --- a/haqq-node +++ b/haqq-node @@ -1 +1 @@ -Subproject commit 31c96a356645946f8bc10a8beaab85d36c6ec18b +Subproject commit 3058d8f0485747aa5eacb352330d6bc1a867a838 diff --git a/src/gen/haqq.dao.module.v1.rs b/src/gen/haqq.ucdao.module.v1.rs similarity index 88% rename from src/gen/haqq.dao.module.v1.rs rename to src/gen/haqq.ucdao.module.v1.rs index 2cad113..6d6b2a0 100644 --- a/src/gen/haqq.dao.module.v1.rs +++ b/src/gen/haqq.ucdao.module.v1.rs @@ -8,9 +8,9 @@ pub struct Module { /// Defaults to 5000 if not explicitly set. #[prost(uint64, tag="1")] pub max_metadata_len: u64, - /// authority defines the custom module authority. If not set, defaults to the dao module. + /// authority defines the custom module authority. If not set, defaults to the ucdao module. #[prost(string, tag="2")] pub authority: ::prost::alloc::string::String, } -include!("haqq.dao.module.v1.serde.rs"); +include!("haqq.ucdao.module.v1.serde.rs"); // @@protoc_insertion_point(module) \ No newline at end of file diff --git a/src/gen/haqq.dao.module.v1.serde.rs b/src/gen/haqq.ucdao.module.v1.serde.rs similarity index 94% rename from src/gen/haqq.dao.module.v1.serde.rs rename to src/gen/haqq.ucdao.module.v1.serde.rs index 518d6b7..6937988 100644 --- a/src/gen/haqq.dao.module.v1.serde.rs +++ b/src/gen/haqq.ucdao.module.v1.serde.rs @@ -13,7 +13,7 @@ impl serde::Serialize for Module { if !self.authority.is_empty() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.module.v1.Module", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.module.v1.Module", len)?; if self.max_metadata_len != 0 { #[allow(clippy::needless_borrow)] struct_ser.serialize_field("maxMetadataLen", ToString::to_string(&self.max_metadata_len).as_str())?; @@ -75,7 +75,7 @@ impl<'de> serde::Deserialize<'de> for Module { type Value = Module; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.module.v1.Module") + formatter.write_str("struct haqq.ucdao.module.v1.Module") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -108,6 +108,6 @@ impl<'de> serde::Deserialize<'de> for Module { }) } } - deserializer.deserialize_struct("haqq.dao.module.v1.Module", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.module.v1.Module", FIELDS, GeneratedVisitor) } } diff --git a/src/gen/haqq.dao.v1.rs b/src/gen/haqq.ucdao.v1.rs similarity index 94% rename from src/gen/haqq.dao.v1.rs rename to src/gen/haqq.ucdao.v1.rs index 50ce882..e300b65 100644 --- a/src/gen/haqq.dao.v1.rs +++ b/src/gen/haqq.ucdao.v1.rs @@ -63,10 +63,10 @@ pub struct GenesisState { /// params defines all the parameters of the module. #[prost(message, optional, tag="1")] pub params: ::core::option::Option, - /// balances is an array containing the balances of all the dao members' accounts. + /// balances is an array containing the balances of all the ucdao members' accounts. #[prost(message, repeated, tag="2")] pub balances: ::prost::alloc::vec::Vec, - /// total_balance represents the total balance of the dao module. If it is left empty, then supply will be calculated based on the provided + /// total_balance represents the total balance of the ucdao module. If it is left empty, then supply will be calculated based on the provided /// balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. #[prost(message, repeated, tag="3")] pub total_balance: ::prost::alloc::vec::Vec, @@ -157,13 +157,13 @@ pub struct QueryTotalBalanceResponse { #[prost(message, optional, tag="2")] pub pagination: ::core::option::Option, } -/// QueryParamsRequest defines the request type for querying x/dao parameters. +/// QueryParamsRequest defines the request type for querying x/ucdao parameters. #[derive(::derive_builder::Builder)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryParamsRequest { } -/// QueryParamsResponse defines the response type for querying x/dao parameters. +/// QueryParamsResponse defines the response type for querying x/ucdao parameters. #[derive(::derive_builder::Builder)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -171,7 +171,7 @@ pub struct QueryParamsResponse { #[prost(message, optional, tag="1")] pub params: ::core::option::Option, } -/// MsgFund allows an account to directly fund the dao. +/// MsgFund allows an account to directly fund the ucdao. #[derive(::derive_builder::Builder)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -192,10 +192,10 @@ pub struct MsgFundResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgTransferOwnership { - /// owner is a current owner of the shares in dao. + /// owner is a current owner of the shares in ucdao. #[prost(string, tag="1")] pub owner: ::prost::alloc::string::String, - /// new_owner is a new owner of the shares in dao. + /// new_owner is a new owner of the shares in ucdao. #[prost(string, tag="2")] pub new_owner: ::prost::alloc::string::String, } @@ -205,6 +205,6 @@ pub struct MsgTransferOwnership { #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgTransferOwnershipResponse { } -include!("haqq.dao.v1.serde.rs"); -include!("haqq.dao.v1.tonic.rs"); +include!("haqq.ucdao.v1.serde.rs"); +include!("haqq.ucdao.v1.tonic.rs"); // @@protoc_insertion_point(module) \ No newline at end of file diff --git a/src/gen/haqq.dao.v1.serde.rs b/src/gen/haqq.ucdao.v1.serde.rs similarity index 92% rename from src/gen/haqq.dao.v1.serde.rs rename to src/gen/haqq.ucdao.v1.serde.rs index e1e196c..797fa4b 100644 --- a/src/gen/haqq.dao.v1.serde.rs +++ b/src/gen/haqq.ucdao.v1.serde.rs @@ -13,7 +13,7 @@ impl serde::Serialize for AllowedCollateral { if self.r#type != 0 { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.AllowedCollateral", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.AllowedCollateral", len)?; if !self.value.is_empty() { struct_ser.serialize_field("value", &self.value)?; } @@ -75,7 +75,7 @@ impl<'de> serde::Deserialize<'de> for AllowedCollateral { type Value = AllowedCollateral; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.AllowedCollateral") + formatter.write_str("struct haqq.ucdao.v1.AllowedCollateral") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -106,7 +106,7 @@ impl<'de> serde::Deserialize<'de> for AllowedCollateral { }) } } - deserializer.deserialize_struct("haqq.dao.v1.AllowedCollateral", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.AllowedCollateral", FIELDS, GeneratedVisitor) } } impl serde::Serialize for Balance { @@ -123,7 +123,7 @@ impl serde::Serialize for Balance { if !self.coins.is_empty() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.Balance", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.Balance", len)?; if !self.address.is_empty() { struct_ser.serialize_field("address", &self.address)?; } @@ -183,7 +183,7 @@ impl<'de> serde::Deserialize<'de> for Balance { type Value = Balance; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.Balance") + formatter.write_str("struct haqq.ucdao.v1.Balance") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -214,7 +214,7 @@ impl<'de> serde::Deserialize<'de> for Balance { }) } } - deserializer.deserialize_struct("haqq.dao.v1.Balance", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.Balance", FIELDS, GeneratedVisitor) } } impl serde::Serialize for CollateralValueType { @@ -308,7 +308,7 @@ impl serde::Serialize for GenesisState { if !self.total_balance.is_empty() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.GenesisState", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.GenesisState", len)?; if let Some(v) = self.params.as_ref() { struct_ser.serialize_field("params", v)?; } @@ -375,7 +375,7 @@ impl<'de> serde::Deserialize<'de> for GenesisState { type Value = GenesisState; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.GenesisState") + formatter.write_str("struct haqq.ucdao.v1.GenesisState") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -414,7 +414,7 @@ impl<'de> serde::Deserialize<'de> for GenesisState { }) } } - deserializer.deserialize_struct("haqq.dao.v1.GenesisState", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.GenesisState", FIELDS, GeneratedVisitor) } } impl serde::Serialize for MsgFund { @@ -431,7 +431,7 @@ impl serde::Serialize for MsgFund { if !self.depositor.is_empty() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.MsgFund", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.MsgFund", len)?; if !self.amount.is_empty() { struct_ser.serialize_field("amount", &self.amount)?; } @@ -491,7 +491,7 @@ impl<'de> serde::Deserialize<'de> for MsgFund { type Value = MsgFund; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.MsgFund") + formatter.write_str("struct haqq.ucdao.v1.MsgFund") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -522,7 +522,7 @@ impl<'de> serde::Deserialize<'de> for MsgFund { }) } } - deserializer.deserialize_struct("haqq.dao.v1.MsgFund", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.MsgFund", FIELDS, GeneratedVisitor) } } impl serde::Serialize for MsgFundResponse { @@ -533,7 +533,7 @@ impl serde::Serialize for MsgFundResponse { { use serde::ser::SerializeStruct; let len = 0; - let struct_ser = serializer.serialize_struct("haqq.dao.v1.MsgFundResponse", len)?; + let struct_ser = serializer.serialize_struct("haqq.ucdao.v1.MsgFundResponse", len)?; struct_ser.end() } } @@ -579,7 +579,7 @@ impl<'de> serde::Deserialize<'de> for MsgFundResponse { type Value = MsgFundResponse; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.MsgFundResponse") + formatter.write_str("struct haqq.ucdao.v1.MsgFundResponse") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -593,7 +593,7 @@ impl<'de> serde::Deserialize<'de> for MsgFundResponse { }) } } - deserializer.deserialize_struct("haqq.dao.v1.MsgFundResponse", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.MsgFundResponse", FIELDS, GeneratedVisitor) } } impl serde::Serialize for MsgTransferOwnership { @@ -610,7 +610,7 @@ impl serde::Serialize for MsgTransferOwnership { if !self.new_owner.is_empty() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.MsgTransferOwnership", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.MsgTransferOwnership", len)?; if !self.owner.is_empty() { struct_ser.serialize_field("owner", &self.owner)?; } @@ -671,7 +671,7 @@ impl<'de> serde::Deserialize<'de> for MsgTransferOwnership { type Value = MsgTransferOwnership; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.MsgTransferOwnership") + formatter.write_str("struct haqq.ucdao.v1.MsgTransferOwnership") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -702,7 +702,7 @@ impl<'de> serde::Deserialize<'de> for MsgTransferOwnership { }) } } - deserializer.deserialize_struct("haqq.dao.v1.MsgTransferOwnership", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.MsgTransferOwnership", FIELDS, GeneratedVisitor) } } impl serde::Serialize for MsgTransferOwnershipResponse { @@ -713,7 +713,7 @@ impl serde::Serialize for MsgTransferOwnershipResponse { { use serde::ser::SerializeStruct; let len = 0; - let struct_ser = serializer.serialize_struct("haqq.dao.v1.MsgTransferOwnershipResponse", len)?; + let struct_ser = serializer.serialize_struct("haqq.ucdao.v1.MsgTransferOwnershipResponse", len)?; struct_ser.end() } } @@ -759,7 +759,7 @@ impl<'de> serde::Deserialize<'de> for MsgTransferOwnershipResponse { type Value = MsgTransferOwnershipResponse; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.MsgTransferOwnershipResponse") + formatter.write_str("struct haqq.ucdao.v1.MsgTransferOwnershipResponse") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -773,7 +773,7 @@ impl<'de> serde::Deserialize<'de> for MsgTransferOwnershipResponse { }) } } - deserializer.deserialize_struct("haqq.dao.v1.MsgTransferOwnershipResponse", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.MsgTransferOwnershipResponse", FIELDS, GeneratedVisitor) } } impl serde::Serialize for Params { @@ -790,7 +790,7 @@ impl serde::Serialize for Params { if !self.allowed_collaterals.is_empty() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.Params", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.Params", len)?; if self.enable_dao { struct_ser.serialize_field("enableDao", &self.enable_dao)?; } @@ -852,7 +852,7 @@ impl<'de> serde::Deserialize<'de> for Params { type Value = Params; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.Params") + formatter.write_str("struct haqq.ucdao.v1.Params") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -883,7 +883,7 @@ impl<'de> serde::Deserialize<'de> for Params { }) } } - deserializer.deserialize_struct("haqq.dao.v1.Params", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.Params", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryAllBalancesRequest { @@ -900,7 +900,7 @@ impl serde::Serialize for QueryAllBalancesRequest { if self.pagination.is_some() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryAllBalancesRequest", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryAllBalancesRequest", len)?; if !self.address.is_empty() { struct_ser.serialize_field("address", &self.address)?; } @@ -960,7 +960,7 @@ impl<'de> serde::Deserialize<'de> for QueryAllBalancesRequest { type Value = QueryAllBalancesRequest; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryAllBalancesRequest") + formatter.write_str("struct haqq.ucdao.v1.QueryAllBalancesRequest") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -991,7 +991,7 @@ impl<'de> serde::Deserialize<'de> for QueryAllBalancesRequest { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryAllBalancesRequest", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryAllBalancesRequest", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryAllBalancesResponse { @@ -1008,7 +1008,7 @@ impl serde::Serialize for QueryAllBalancesResponse { if self.pagination.is_some() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryAllBalancesResponse", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryAllBalancesResponse", len)?; if !self.balances.is_empty() { struct_ser.serialize_field("balances", &self.balances)?; } @@ -1068,7 +1068,7 @@ impl<'de> serde::Deserialize<'de> for QueryAllBalancesResponse { type Value = QueryAllBalancesResponse; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryAllBalancesResponse") + formatter.write_str("struct haqq.ucdao.v1.QueryAllBalancesResponse") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -1099,7 +1099,7 @@ impl<'de> serde::Deserialize<'de> for QueryAllBalancesResponse { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryAllBalancesResponse", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryAllBalancesResponse", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryBalanceRequest { @@ -1116,7 +1116,7 @@ impl serde::Serialize for QueryBalanceRequest { if !self.denom.is_empty() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryBalanceRequest", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryBalanceRequest", len)?; if !self.address.is_empty() { struct_ser.serialize_field("address", &self.address)?; } @@ -1176,7 +1176,7 @@ impl<'de> serde::Deserialize<'de> for QueryBalanceRequest { type Value = QueryBalanceRequest; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryBalanceRequest") + formatter.write_str("struct haqq.ucdao.v1.QueryBalanceRequest") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -1207,7 +1207,7 @@ impl<'de> serde::Deserialize<'de> for QueryBalanceRequest { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryBalanceRequest", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryBalanceRequest", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryBalanceResponse { @@ -1221,7 +1221,7 @@ impl serde::Serialize for QueryBalanceResponse { if self.balance.is_some() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryBalanceResponse", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryBalanceResponse", len)?; if let Some(v) = self.balance.as_ref() { struct_ser.serialize_field("balance", v)?; } @@ -1275,7 +1275,7 @@ impl<'de> serde::Deserialize<'de> for QueryBalanceResponse { type Value = QueryBalanceResponse; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryBalanceResponse") + formatter.write_str("struct haqq.ucdao.v1.QueryBalanceResponse") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -1298,7 +1298,7 @@ impl<'de> serde::Deserialize<'de> for QueryBalanceResponse { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryBalanceResponse", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryBalanceResponse", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryParamsRequest { @@ -1309,7 +1309,7 @@ impl serde::Serialize for QueryParamsRequest { { use serde::ser::SerializeStruct; let len = 0; - let struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryParamsRequest", len)?; + let struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryParamsRequest", len)?; struct_ser.end() } } @@ -1355,7 +1355,7 @@ impl<'de> serde::Deserialize<'de> for QueryParamsRequest { type Value = QueryParamsRequest; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryParamsRequest") + formatter.write_str("struct haqq.ucdao.v1.QueryParamsRequest") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -1369,7 +1369,7 @@ impl<'de> serde::Deserialize<'de> for QueryParamsRequest { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryParamsRequest", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryParamsRequest", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryParamsResponse { @@ -1383,7 +1383,7 @@ impl serde::Serialize for QueryParamsResponse { if self.params.is_some() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryParamsResponse", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryParamsResponse", len)?; if let Some(v) = self.params.as_ref() { struct_ser.serialize_field("params", v)?; } @@ -1437,7 +1437,7 @@ impl<'de> serde::Deserialize<'de> for QueryParamsResponse { type Value = QueryParamsResponse; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryParamsResponse") + formatter.write_str("struct haqq.ucdao.v1.QueryParamsResponse") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -1460,7 +1460,7 @@ impl<'de> serde::Deserialize<'de> for QueryParamsResponse { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryParamsResponse", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryParamsResponse", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryTotalBalanceRequest { @@ -1474,7 +1474,7 @@ impl serde::Serialize for QueryTotalBalanceRequest { if self.pagination.is_some() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryTotalBalanceRequest", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryTotalBalanceRequest", len)?; if let Some(v) = self.pagination.as_ref() { struct_ser.serialize_field("pagination", v)?; } @@ -1528,7 +1528,7 @@ impl<'de> serde::Deserialize<'de> for QueryTotalBalanceRequest { type Value = QueryTotalBalanceRequest; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryTotalBalanceRequest") + formatter.write_str("struct haqq.ucdao.v1.QueryTotalBalanceRequest") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -1551,7 +1551,7 @@ impl<'de> serde::Deserialize<'de> for QueryTotalBalanceRequest { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryTotalBalanceRequest", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryTotalBalanceRequest", FIELDS, GeneratedVisitor) } } impl serde::Serialize for QueryTotalBalanceResponse { @@ -1568,7 +1568,7 @@ impl serde::Serialize for QueryTotalBalanceResponse { if self.pagination.is_some() { len += 1; } - let mut struct_ser = serializer.serialize_struct("haqq.dao.v1.QueryTotalBalanceResponse", len)?; + let mut struct_ser = serializer.serialize_struct("haqq.ucdao.v1.QueryTotalBalanceResponse", len)?; if !self.total_balance.is_empty() { struct_ser.serialize_field("totalBalance", &self.total_balance)?; } @@ -1629,7 +1629,7 @@ impl<'de> serde::Deserialize<'de> for QueryTotalBalanceResponse { type Value = QueryTotalBalanceResponse; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - formatter.write_str("struct haqq.dao.v1.QueryTotalBalanceResponse") + formatter.write_str("struct haqq.ucdao.v1.QueryTotalBalanceResponse") } fn visit_map(self, mut map_: V) -> std::result::Result @@ -1660,6 +1660,6 @@ impl<'de> serde::Deserialize<'de> for QueryTotalBalanceResponse { }) } } - deserializer.deserialize_struct("haqq.dao.v1.QueryTotalBalanceResponse", FIELDS, GeneratedVisitor) + deserializer.deserialize_struct("haqq.ucdao.v1.QueryTotalBalanceResponse", FIELDS, GeneratedVisitor) } } diff --git a/src/gen/haqq.dao.v1.tonic.rs b/src/gen/haqq.ucdao.v1.tonic.rs similarity index 92% rename from src/gen/haqq.dao.v1.tonic.rs rename to src/gen/haqq.ucdao.v1.tonic.rs index e23dde4..bd3bd53 100644 --- a/src/gen/haqq.dao.v1.tonic.rs +++ b/src/gen/haqq.ucdao.v1.tonic.rs @@ -103,10 +103,11 @@ pub mod query_client { })?; let codec = tonic::codec::ProstCodec::default(); let path = http::uri::PathAndQuery::from_static( - "/haqq.dao.v1.Query/Balance", + "/haqq.ucdao.v1.Query/Balance", ); let mut req = request.into_request(); - req.extensions_mut().insert(GrpcMethod::new("haqq.dao.v1.Query", "Balance")); + req.extensions_mut() + .insert(GrpcMethod::new("haqq.ucdao.v1.Query", "Balance")); self.inner.unary(req, path, codec).await } pub async fn all_balances( @@ -127,11 +128,11 @@ pub mod query_client { })?; let codec = tonic::codec::ProstCodec::default(); let path = http::uri::PathAndQuery::from_static( - "/haqq.dao.v1.Query/AllBalances", + "/haqq.ucdao.v1.Query/AllBalances", ); let mut req = request.into_request(); req.extensions_mut() - .insert(GrpcMethod::new("haqq.dao.v1.Query", "AllBalances")); + .insert(GrpcMethod::new("haqq.ucdao.v1.Query", "AllBalances")); self.inner.unary(req, path, codec).await } pub async fn total_balance( @@ -152,11 +153,11 @@ pub mod query_client { })?; let codec = tonic::codec::ProstCodec::default(); let path = http::uri::PathAndQuery::from_static( - "/haqq.dao.v1.Query/TotalBalance", + "/haqq.ucdao.v1.Query/TotalBalance", ); let mut req = request.into_request(); req.extensions_mut() - .insert(GrpcMethod::new("haqq.dao.v1.Query", "TotalBalance")); + .insert(GrpcMethod::new("haqq.ucdao.v1.Query", "TotalBalance")); self.inner.unary(req, path, codec).await } pub async fn params( @@ -176,9 +177,12 @@ pub mod query_client { ) })?; let codec = tonic::codec::ProstCodec::default(); - let path = http::uri::PathAndQuery::from_static("/haqq.dao.v1.Query/Params"); + let path = http::uri::PathAndQuery::from_static( + "/haqq.ucdao.v1.Query/Params", + ); let mut req = request.into_request(); - req.extensions_mut().insert(GrpcMethod::new("haqq.dao.v1.Query", "Params")); + req.extensions_mut() + .insert(GrpcMethod::new("haqq.ucdao.v1.Query", "Params")); self.inner.unary(req, path, codec).await } } @@ -286,9 +290,9 @@ pub mod msg_client { ) })?; let codec = tonic::codec::ProstCodec::default(); - let path = http::uri::PathAndQuery::from_static("/haqq.dao.v1.Msg/Fund"); + let path = http::uri::PathAndQuery::from_static("/haqq.ucdao.v1.Msg/Fund"); let mut req = request.into_request(); - req.extensions_mut().insert(GrpcMethod::new("haqq.dao.v1.Msg", "Fund")); + req.extensions_mut().insert(GrpcMethod::new("haqq.ucdao.v1.Msg", "Fund")); self.inner.unary(req, path, codec).await } pub async fn transfer_ownership( @@ -309,11 +313,11 @@ pub mod msg_client { })?; let codec = tonic::codec::ProstCodec::default(); let path = http::uri::PathAndQuery::from_static( - "/haqq.dao.v1.Msg/TransferOwnership", + "/haqq.ucdao.v1.Msg/TransferOwnership", ); let mut req = request.into_request(); req.extensions_mut() - .insert(GrpcMethod::new("haqq.dao.v1.Msg", "TransferOwnership")); + .insert(GrpcMethod::new("haqq.ucdao.v1.Msg", "TransferOwnership")); self.inner.unary(req, path, codec).await } } diff --git a/src/gen/mod.rs b/src/gen/mod.rs index a8b5ca4..c5a2645 100644 --- a/src/gen/mod.rs +++ b/src/gen/mod.rs @@ -614,22 +614,6 @@ pub mod haqq { // @@protoc_insertion_point(haqq.coinomics.v1) } } - pub mod dao { - pub mod module { - #[cfg(feature = "haqq_dao_module_v1")] - // @@protoc_insertion_point(attribute:haqq.dao.module.v1) - pub mod v1 { - include!("haqq.dao.module.v1.rs"); - // @@protoc_insertion_point(haqq.dao.module.v1) - } - } - #[cfg(feature = "haqq_dao_v1")] - // @@protoc_insertion_point(attribute:haqq.dao.v1) - pub mod v1 { - include!("haqq.dao.v1.rs"); - // @@protoc_insertion_point(haqq.dao.v1) - } - } pub mod liquidvesting { #[cfg(feature = "haqq_liquidvesting_v1")] // @@protoc_insertion_point(attribute:haqq.liquidvesting.v1) @@ -638,6 +622,22 @@ pub mod haqq { // @@protoc_insertion_point(haqq.liquidvesting.v1) } } + pub mod ucdao { + pub mod module { + #[cfg(feature = "haqq_ucdao_module_v1")] + // @@protoc_insertion_point(attribute:haqq.ucdao.module.v1) + pub mod v1 { + include!("haqq.ucdao.module.v1.rs"); + // @@protoc_insertion_point(haqq.ucdao.module.v1) + } + } + #[cfg(feature = "haqq_ucdao_v1")] + // @@protoc_insertion_point(attribute:haqq.ucdao.v1) + pub mod v1 { + include!("haqq.ucdao.v1.rs"); + // @@protoc_insertion_point(haqq.ucdao.v1) + } + } pub mod vesting { #[cfg(feature = "haqq_vesting_v1")] // @@protoc_insertion_point(attribute:haqq.vesting.v1) diff --git a/web/gen/proto/connect-web/haqq/dao/module/v1/module_pb.ts b/web/gen/proto/connect-web/haqq/ucdao/module/v1/module_pb.ts similarity index 87% rename from web/gen/proto/connect-web/haqq/dao/module/v1/module_pb.ts rename to web/gen/proto/connect-web/haqq/ucdao/module/v1/module_pb.ts index 6329ef6..53aae7a 100644 --- a/web/gen/proto/connect-web/haqq/dao/module/v1/module_pb.ts +++ b/web/gen/proto/connect-web/haqq/ucdao/module/v1/module_pb.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.1 with parameter "target=ts" -// @generated from file haqq/dao/module/v1/module.proto (package haqq.dao.module.v1, syntax proto3) +// @generated from file haqq/ucdao/module/v1/module.proto (package haqq.ucdao.module.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -9,7 +9,7 @@ import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; /** * Module is the config object of the distribution module. * - * @generated from message haqq.dao.module.v1.Module + * @generated from message haqq.ucdao.module.v1.Module */ export class Module extends Message { /** @@ -21,7 +21,7 @@ export class Module extends Message { maxMetadataLen = protoInt64.zero; /** - * authority defines the custom module authority. If not set, defaults to the dao module. + * authority defines the custom module authority. If not set, defaults to the ucdao module. * * @generated from field: string authority = 2; */ @@ -33,7 +33,7 @@ export class Module extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.module.v1.Module"; + static readonly typeName = "haqq.ucdao.module.v1.Module"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "max_metadata_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, diff --git a/web/gen/proto/connect-web/haqq/dao/v1/genesis_pb.ts b/web/gen/proto/connect-web/haqq/ucdao/v1/genesis_pb.ts similarity index 82% rename from web/gen/proto/connect-web/haqq/dao/v1/genesis_pb.ts rename to web/gen/proto/connect-web/haqq/ucdao/v1/genesis_pb.ts index 941b0fb..cfed328 100644 --- a/web/gen/proto/connect-web/haqq/dao/v1/genesis_pb.ts +++ b/web/gen/proto/connect-web/haqq/ucdao/v1/genesis_pb.ts @@ -1,35 +1,35 @@ // @generated by protoc-gen-es v1.3.1 with parameter "target=ts" -// @generated from file haqq/dao/v1/genesis.proto (package haqq.dao.v1, syntax proto3) +// @generated from file haqq/ucdao/v1/genesis.proto (package haqq.ucdao.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import { Params } from "./dao_pb.js"; +import { Params } from "./ucdao_pb.js"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; /** * GenesisState defines the gov module's genesis state. * - * @generated from message haqq.dao.v1.GenesisState + * @generated from message haqq.ucdao.v1.GenesisState */ export class GenesisState extends Message { /** * params defines all the parameters of the module. * - * @generated from field: haqq.dao.v1.Params params = 1; + * @generated from field: haqq.ucdao.v1.Params params = 1; */ params?: Params; /** - * balances is an array containing the balances of all the dao members' accounts. + * balances is an array containing the balances of all the ucdao members' accounts. * - * @generated from field: repeated haqq.dao.v1.Balance balances = 2; + * @generated from field: repeated haqq.ucdao.v1.Balance balances = 2; */ balances: Balance[] = []; /** - * total_balance represents the total balance of the dao module. If it is left empty, then supply will be calculated based on the provided + * total_balance represents the total balance of the ucdao module. If it is left empty, then supply will be calculated based on the provided * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. * * @generated from field: repeated cosmos.base.v1beta1.Coin total_balance = 3; @@ -42,7 +42,7 @@ export class GenesisState extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.GenesisState"; + static readonly typeName = "haqq.ucdao.v1.GenesisState"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, { no: 2, name: "balances", kind: "message", T: Balance, repeated: true }, @@ -70,7 +70,7 @@ export class GenesisState extends Message { * Balance defines an account address and balance pair used in the bank module's * genesis state. * - * @generated from message haqq.dao.v1.Balance + * @generated from message haqq.ucdao.v1.Balance */ export class Balance extends Message { /** @@ -93,7 +93,7 @@ export class Balance extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.Balance"; + static readonly typeName = "haqq.ucdao.v1.Balance"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "coins", kind: "message", T: Coin, repeated: true }, diff --git a/web/gen/proto/connect-web/haqq/dao/v1/query_connect.ts b/web/gen/proto/connect-web/haqq/ucdao/v1/query_connect.ts similarity index 76% rename from web/gen/proto/connect-web/haqq/dao/v1/query_connect.ts rename to web/gen/proto/connect-web/haqq/ucdao/v1/query_connect.ts index 9d984c2..baf6c47 100644 --- a/web/gen/proto/connect-web/haqq/dao/v1/query_connect.ts +++ b/web/gen/proto/connect-web/haqq/ucdao/v1/query_connect.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts" -// @generated from file haqq/dao/v1/query.proto (package haqq.dao.v1, syntax proto3) +// @generated from file haqq/ucdao/v1/query.proto (package haqq.ucdao.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -7,17 +7,17 @@ import { QueryAllBalancesRequest, QueryAllBalancesResponse, QueryBalanceRequest, import { MethodKind } from "@bufbuild/protobuf"; /** - * Query defines the gRPC querier service for dao module + * Query defines the gRPC querier service for ucdao module * - * @generated from service haqq.dao.v1.Query + * @generated from service haqq.ucdao.v1.Query */ export const Query = { - typeName: "haqq.dao.v1.Query", + typeName: "haqq.ucdao.v1.Query", methods: { /** * Balance queries the balance of a single coin for a single account. * - * @generated from rpc haqq.dao.v1.Query.Balance + * @generated from rpc haqq.ucdao.v1.Query.Balance */ balance: { name: "Balance", @@ -31,7 +31,7 @@ export const Query = { * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * - * @generated from rpc haqq.dao.v1.Query.AllBalances + * @generated from rpc haqq.ucdao.v1.Query.AllBalances */ allBalances: { name: "AllBalances", @@ -45,7 +45,7 @@ export const Query = { * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * - * @generated from rpc haqq.dao.v1.Query.TotalBalance + * @generated from rpc haqq.ucdao.v1.Query.TotalBalance */ totalBalance: { name: "TotalBalance", @@ -54,9 +54,9 @@ export const Query = { kind: MethodKind.Unary, }, /** - * Params queries the parameters of x/dao module. + * Params queries the parameters of x/ucdao module. * - * @generated from rpc haqq.dao.v1.Query.Params + * @generated from rpc haqq.ucdao.v1.Query.Params */ params: { name: "Params", diff --git a/web/gen/proto/connect-web/haqq/dao/v1/query_pb.ts b/web/gen/proto/connect-web/haqq/ucdao/v1/query_pb.ts similarity index 90% rename from web/gen/proto/connect-web/haqq/dao/v1/query_pb.ts rename to web/gen/proto/connect-web/haqq/ucdao/v1/query_pb.ts index d1f5687..91cd2d7 100644 --- a/web/gen/proto/connect-web/haqq/dao/v1/query_pb.ts +++ b/web/gen/proto/connect-web/haqq/ucdao/v1/query_pb.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.1 with parameter "target=ts" -// @generated from file haqq/dao/v1/query.proto (package haqq.dao.v1, syntax proto3) +// @generated from file haqq/ucdao/v1/query.proto (package haqq.ucdao.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -7,12 +7,12 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM import { Message, proto3 } from "@bufbuild/protobuf"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination_pb.js"; -import { Params } from "./dao_pb.js"; +import { Params } from "./ucdao_pb.js"; /** * QueryBalanceRequest is the request type for the Query/Balance RPC method. * - * @generated from message haqq.dao.v1.QueryBalanceRequest + * @generated from message haqq.ucdao.v1.QueryBalanceRequest */ export class QueryBalanceRequest extends Message { /** @@ -35,7 +35,7 @@ export class QueryBalanceRequest extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.QueryBalanceRequest"; + static readonly typeName = "haqq.ucdao.v1.QueryBalanceRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -61,7 +61,7 @@ export class QueryBalanceRequest extends Message { /** * QueryBalanceResponse is the response type for the Query/Balance RPC method. * - * @generated from message haqq.dao.v1.QueryBalanceResponse + * @generated from message haqq.ucdao.v1.QueryBalanceResponse */ export class QueryBalanceResponse extends Message { /** @@ -77,7 +77,7 @@ export class QueryBalanceResponse extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.QueryBalanceResponse"; + static readonly typeName = "haqq.ucdao.v1.QueryBalanceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "balance", kind: "message", T: Coin }, ]); @@ -102,7 +102,7 @@ export class QueryBalanceResponse extends Message { /** * QueryBalanceRequest is the request type for the Query/AllBalances RPC method. * - * @generated from message haqq.dao.v1.QueryAllBalancesRequest + * @generated from message haqq.ucdao.v1.QueryAllBalancesRequest */ export class QueryAllBalancesRequest extends Message { /** @@ -125,7 +125,7 @@ export class QueryAllBalancesRequest extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.QueryAllBalancesRequest"; + static readonly typeName = "haqq.ucdao.v1.QueryAllBalancesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "pagination", kind: "message", T: PageRequest }, @@ -152,7 +152,7 @@ export class QueryAllBalancesRequest extends Message { * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC * method. * - * @generated from message haqq.dao.v1.QueryAllBalancesResponse + * @generated from message haqq.ucdao.v1.QueryAllBalancesResponse */ export class QueryAllBalancesResponse extends Message { /** @@ -175,7 +175,7 @@ export class QueryAllBalancesResponse extends Message } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.QueryAllBalancesResponse"; + static readonly typeName = "haqq.ucdao.v1.QueryAllBalancesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "balances", kind: "message", T: Coin, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, @@ -202,7 +202,7 @@ export class QueryAllBalancesResponse extends Message * QueryTotalBalanceRequest is the request type for the Query/TotalBalance RPC * method. * - * @generated from message haqq.dao.v1.QueryTotalBalanceRequest + * @generated from message haqq.ucdao.v1.QueryTotalBalanceRequest */ export class QueryTotalBalanceRequest extends Message { /** @@ -220,7 +220,7 @@ export class QueryTotalBalanceRequest extends Message } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.QueryTotalBalanceRequest"; + static readonly typeName = "haqq.ucdao.v1.QueryTotalBalanceRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pagination", kind: "message", T: PageRequest }, ]); @@ -246,7 +246,7 @@ export class QueryTotalBalanceRequest extends Message * QueryTotalBalanceResponse is the response type for the Query/TotalBalance RPC * method * - * @generated from message haqq.dao.v1.QueryTotalBalanceResponse + * @generated from message haqq.ucdao.v1.QueryTotalBalanceResponse */ export class QueryTotalBalanceResponse extends Message { /** @@ -271,7 +271,7 @@ export class QueryTotalBalanceResponse extends Message [ { no: 1, name: "total_balance", kind: "message", T: Coin, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, @@ -295,9 +295,9 @@ export class QueryTotalBalanceResponse extends Message { constructor(data?: PartialMessage) { @@ -306,7 +306,7 @@ export class QueryParamsRequest extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.QueryParamsRequest"; + static readonly typeName = "haqq.ucdao.v1.QueryParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); @@ -328,13 +328,13 @@ export class QueryParamsRequest extends Message { } /** - * QueryParamsResponse defines the response type for querying x/dao parameters. + * QueryParamsResponse defines the response type for querying x/ucdao parameters. * - * @generated from message haqq.dao.v1.QueryParamsResponse + * @generated from message haqq.ucdao.v1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** - * @generated from field: haqq.dao.v1.Params params = 1; + * @generated from field: haqq.ucdao.v1.Params params = 1; */ params?: Params; @@ -344,7 +344,7 @@ export class QueryParamsResponse extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.QueryParamsResponse"; + static readonly typeName = "haqq.ucdao.v1.QueryParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); diff --git a/web/gen/proto/connect-web/haqq/dao/v1/tx_connect.ts b/web/gen/proto/connect-web/haqq/ucdao/v1/tx_connect.ts similarity index 76% rename from web/gen/proto/connect-web/haqq/dao/v1/tx_connect.ts rename to web/gen/proto/connect-web/haqq/ucdao/v1/tx_connect.ts index f719b00..b28e7fc 100644 --- a/web/gen/proto/connect-web/haqq/dao/v1/tx_connect.ts +++ b/web/gen/proto/connect-web/haqq/ucdao/v1/tx_connect.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts" -// @generated from file haqq/dao/v1/tx.proto (package haqq.dao.v1, syntax proto3) +// @generated from file haqq/ucdao/v1/tx.proto (package haqq.ucdao.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -9,15 +9,15 @@ import { MethodKind } from "@bufbuild/protobuf"; /** * Msg defines the dao Msg service. * - * @generated from service haqq.dao.v1.Msg + * @generated from service haqq.ucdao.v1.Msg */ export const Msg = { - typeName: "haqq.dao.v1.Msg", + typeName: "haqq.ucdao.v1.Msg", methods: { /** * Fund defines a method to allow an account to directly fund the dao. * - * @generated from rpc haqq.dao.v1.Msg.Fund + * @generated from rpc haqq.ucdao.v1.Msg.Fund */ fund: { name: "Fund", @@ -28,7 +28,7 @@ export const Msg = { /** * TransferOwnership defines a method to allow an account to transfer the ownership of shares to another account. * - * @generated from rpc haqq.dao.v1.Msg.TransferOwnership + * @generated from rpc haqq.ucdao.v1.Msg.TransferOwnership */ transferOwnership: { name: "TransferOwnership", diff --git a/web/gen/proto/connect-web/haqq/dao/v1/tx_pb.ts b/web/gen/proto/connect-web/haqq/ucdao/v1/tx_pb.ts similarity index 88% rename from web/gen/proto/connect-web/haqq/dao/v1/tx_pb.ts rename to web/gen/proto/connect-web/haqq/ucdao/v1/tx_pb.ts index 017458f..cf1aa25 100644 --- a/web/gen/proto/connect-web/haqq/dao/v1/tx_pb.ts +++ b/web/gen/proto/connect-web/haqq/ucdao/v1/tx_pb.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.1 with parameter "target=ts" -// @generated from file haqq/dao/v1/tx.proto (package haqq.dao.v1, syntax proto3) +// @generated from file haqq/ucdao/v1/tx.proto (package haqq.ucdao.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -8,9 +8,9 @@ import { Message, proto3 } from "@bufbuild/protobuf"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; /** - * MsgFund allows an account to directly fund the dao. + * MsgFund allows an account to directly fund the ucdao. * - * @generated from message haqq.dao.v1.MsgFund + * @generated from message haqq.ucdao.v1.MsgFund */ export class MsgFund extends Message { /** @@ -29,7 +29,7 @@ export class MsgFund extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.MsgFund"; + static readonly typeName = "haqq.ucdao.v1.MsgFund"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "amount", kind: "message", T: Coin, repeated: true }, { no: 2, name: "depositor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -55,7 +55,7 @@ export class MsgFund extends Message { /** * MsgFundResponse defines the Msg/Fund response type. * - * @generated from message haqq.dao.v1.MsgFundResponse + * @generated from message haqq.ucdao.v1.MsgFundResponse */ export class MsgFundResponse extends Message { constructor(data?: PartialMessage) { @@ -64,7 +64,7 @@ export class MsgFundResponse extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.MsgFundResponse"; + static readonly typeName = "haqq.ucdao.v1.MsgFundResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); @@ -88,18 +88,18 @@ export class MsgFundResponse extends Message { /** * MsgTransferOwnership allows an account transfer the ownership of shares to another account. * - * @generated from message haqq.dao.v1.MsgTransferOwnership + * @generated from message haqq.ucdao.v1.MsgTransferOwnership */ export class MsgTransferOwnership extends Message { /** - * owner is a current owner of the shares in dao. + * owner is a current owner of the shares in ucdao. * * @generated from field: string owner = 1; */ owner = ""; /** - * new_owner is a new owner of the shares in dao. + * new_owner is a new owner of the shares in ucdao. * * @generated from field: string new_owner = 2; */ @@ -111,7 +111,7 @@ export class MsgTransferOwnership extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.MsgTransferOwnership"; + static readonly typeName = "haqq.ucdao.v1.MsgTransferOwnership"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "new_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -137,7 +137,7 @@ export class MsgTransferOwnership extends Message { /** * MsgTransferOwnershipResponse defines the Msg/TransferOwnership response type. * - * @generated from message haqq.dao.v1.MsgTransferOwnershipResponse + * @generated from message haqq.ucdao.v1.MsgTransferOwnershipResponse */ export class MsgTransferOwnershipResponse extends Message { constructor(data?: PartialMessage) { @@ -146,7 +146,7 @@ export class MsgTransferOwnershipResponse extends Message [ ]); diff --git a/web/gen/proto/connect-web/haqq/dao/v1/dao_pb.ts b/web/gen/proto/connect-web/haqq/ucdao/v1/ucdao_pb.ts similarity index 86% rename from web/gen/proto/connect-web/haqq/dao/v1/dao_pb.ts rename to web/gen/proto/connect-web/haqq/ucdao/v1/ucdao_pb.ts index febd523..3069859 100644 --- a/web/gen/proto/connect-web/haqq/dao/v1/dao_pb.ts +++ b/web/gen/proto/connect-web/haqq/ucdao/v1/ucdao_pb.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.1 with parameter "target=ts" -// @generated from file haqq/dao/v1/dao.proto (package haqq.dao.v1, syntax proto3) +// @generated from file haqq/ucdao/v1/ucdao.proto (package haqq.ucdao.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -9,7 +9,7 @@ import { Message, proto3 } from "@bufbuild/protobuf"; /** * CollateralValueType defines the type of collateral value. * - * @generated from enum haqq.dao.v1.CollateralValueType + * @generated from enum haqq.ucdao.v1.CollateralValueType */ export enum CollateralValueType { /** @@ -34,7 +34,7 @@ export enum CollateralValueType { MASK = 2, } // Retrieve enum metadata with: proto3.getEnumType(CollateralValueType) -proto3.util.setEnumType(CollateralValueType, "haqq.dao.v1.CollateralValueType", [ +proto3.util.setEnumType(CollateralValueType, "haqq.ucdao.v1.CollateralValueType", [ { no: 0, name: "COLLATERAL_VALUE_TYPE_UNSPECIFIED" }, { no: 1, name: "COLLATERAL_VALUE_TYPE_STRICT" }, { no: 2, name: "COLLATERAL_VALUE_TYPE_MASK" }, @@ -43,7 +43,7 @@ proto3.util.setEnumType(CollateralValueType, "haqq.dao.v1.CollateralValueType", /** * Params defines the parameters for the dao module. * - * @generated from message haqq.dao.v1.Params + * @generated from message haqq.ucdao.v1.Params */ export class Params extends Message { /** @@ -56,7 +56,7 @@ export class Params extends Message { /** * allowed_collaterals is the allowed collateral values. * - * @generated from field: repeated haqq.dao.v1.AllowedCollateral allowed_collaterals = 2; + * @generated from field: repeated haqq.ucdao.v1.AllowedCollateral allowed_collaterals = 2; */ allowedCollaterals: AllowedCollateral[] = []; @@ -66,7 +66,7 @@ export class Params extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.Params"; + static readonly typeName = "haqq.ucdao.v1.Params"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "enable_dao", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 2, name: "allowed_collaterals", kind: "message", T: AllowedCollateral, repeated: true }, @@ -90,7 +90,7 @@ export class Params extends Message { } /** - * @generated from message haqq.dao.v1.AllowedCollateral + * @generated from message haqq.ucdao.v1.AllowedCollateral */ export class AllowedCollateral extends Message { /** @@ -103,7 +103,7 @@ export class AllowedCollateral extends Message { /** * type is the allowed collateral value type. * - * @generated from field: haqq.dao.v1.CollateralValueType type = 2; + * @generated from field: haqq.ucdao.v1.CollateralValueType type = 2; */ type = CollateralValueType.UNSPECIFIED; @@ -113,7 +113,7 @@ export class AllowedCollateral extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "haqq.dao.v1.AllowedCollateral"; + static readonly typeName = "haqq.ucdao.v1.AllowedCollateral"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(CollateralValueType) },