From 8e0c5fedbfbd73adf755364d1b02d3e1709c0d60 Mon Sep 17 00:00:00 2001 From: Aleksandr Pismenskiy Date: Thu, 18 Jul 2024 18:58:08 +0300 Subject: [PATCH] move proto generated files inside neutron-sdk package --- contracts/ibc_transfer/Cargo.toml | 1 - contracts/ibc_transfer/src/contract.rs | 2 +- contracts/neutron_interchain_txs/Cargo.toml | 1 - .../neutron_interchain_txs/src/contract.rs | 2 +- packages/neutron-sdk/Cargo.toml | 8 +++-- packages/neutron-sdk/src/lib.rs | 15 ++++++++ .../src/proto_types}/NEUTRON_COMMIT | 0 .../src/proto_types}/capability/mod.rs | 0 .../src/proto_types}/capability/v1.rs | 0 .../src/proto_types}/cosmos/app/mod.rs | 0 .../proto_types}/cosmos/app/runtime/mod.rs | 0 .../cosmos/app/runtime/v1alpha1.rs | 0 .../src/proto_types}/cosmos/app/v1alpha1.rs | 0 .../src/proto_types}/cosmos/auth/mod.rs | 0 .../proto_types}/cosmos/auth/module/mod.rs | 0 .../src/proto_types}/cosmos/auth/module/v1.rs | 0 .../src/proto_types}/cosmos/auth/v1beta1.rs | 0 .../src/proto_types}/cosmos/authz/mod.rs | 0 .../proto_types}/cosmos/authz/module/mod.rs | 0 .../proto_types}/cosmos/authz/module/v1.rs | 0 .../src/proto_types}/cosmos/authz/v1beta1.rs | 0 .../src/proto_types}/cosmos/bank/mod.rs | 0 .../proto_types}/cosmos/bank/module/mod.rs | 0 .../src/proto_types}/cosmos/bank/module/v1.rs | 0 .../src/proto_types}/cosmos/bank/v1beta1.rs | 0 .../src/proto_types}/cosmos/base/abci/mod.rs | 0 .../proto_types}/cosmos/base/abci/v1beta1.rs | 0 .../src/proto_types}/cosmos/base/mod.rs | 0 .../src/proto_types}/cosmos/base/node/mod.rs | 0 .../proto_types}/cosmos/base/node/v1beta1.rs | 0 .../src/proto_types}/cosmos/base/query/mod.rs | 0 .../proto_types}/cosmos/base/query/v1beta1.rs | 0 .../cosmos/base/reflection/mod.rs | 0 .../cosmos/base/reflection/v1beta1.rs | 0 .../cosmos/base/reflection/v2alpha1.rs | 0 .../cosmos/base/tendermint/mod.rs | 0 .../cosmos/base/tendermint/v1beta1.rs | 0 .../src/proto_types}/cosmos/base/v1beta1.rs | 0 .../src/proto_types}/cosmos/circuit/mod.rs | 0 .../proto_types}/cosmos/circuit/module/mod.rs | 0 .../proto_types}/cosmos/circuit/module/v1.rs | 0 .../src/proto_types}/cosmos/circuit/v1.rs | 0 .../src/proto_types}/cosmos/consensus/mod.rs | 0 .../cosmos/consensus/module/mod.rs | 0 .../cosmos/consensus/module/v1.rs | 0 .../src/proto_types}/cosmos/consensus/v1.rs | 0 .../src/proto_types}/cosmos/crisis/mod.rs | 0 .../proto_types}/cosmos/crisis/module/mod.rs | 0 .../proto_types}/cosmos/crisis/module/v1.rs | 0 .../src/proto_types}/cosmos/crisis/v1beta1.rs | 0 .../src/proto_types}/cosmos/crypto/ed25519.rs | 0 .../src/proto_types}/cosmos/crypto/hd/mod.rs | 0 .../src/proto_types}/cosmos/crypto/hd/v1.rs | 0 .../proto_types}/cosmos/crypto/keyring/mod.rs | 0 .../proto_types}/cosmos/crypto/keyring/v1.rs | 0 .../src/proto_types}/cosmos/crypto/mod.rs | 0 .../cosmos/crypto/multisig/mod.rs | 0 .../cosmos/crypto/multisig/v1beta1.rs | 0 .../proto_types}/cosmos/crypto/secp256k1.rs | 0 .../proto_types}/cosmos/crypto/secp256r1.rs | 0 .../proto_types}/cosmos/distribution/mod.rs | 0 .../cosmos/distribution/module/mod.rs | 0 .../cosmos/distribution/module/v1.rs | 0 .../cosmos/distribution/v1beta1.rs | 0 .../src/proto_types}/cosmos/evidence/mod.rs | 0 .../cosmos/evidence/module/mod.rs | 0 .../proto_types}/cosmos/evidence/module/v1.rs | 0 .../proto_types}/cosmos/evidence/v1beta1.rs | 0 .../src/proto_types}/cosmos/feegrant/mod.rs | 0 .../cosmos/feegrant/module/mod.rs | 0 .../proto_types}/cosmos/feegrant/module/v1.rs | 0 .../proto_types}/cosmos/feegrant/v1beta1.rs | 0 .../src/proto_types}/cosmos/genutil/mod.rs | 0 .../proto_types}/cosmos/genutil/module/mod.rs | 0 .../proto_types}/cosmos/genutil/module/v1.rs | 0 .../proto_types}/cosmos/genutil/v1beta1.rs | 0 .../src/proto_types}/cosmos/gov/mod.rs | 0 .../src/proto_types}/cosmos/gov/module/mod.rs | 0 .../src/proto_types}/cosmos/gov/module/v1.rs | 0 .../src/proto_types}/cosmos/gov/v1.rs | 0 .../src/proto_types}/cosmos/gov/v1beta1.rs | 0 .../src/proto_types}/cosmos/group/mod.rs | 0 .../proto_types}/cosmos/group/module/mod.rs | 0 .../proto_types}/cosmos/group/module/v1.rs | 0 .../src/proto_types}/cosmos/group/v1.rs | 0 .../src/proto_types}/cosmos/ics23/mod.rs | 0 .../src/proto_types}/cosmos/ics23/v1.rs | 0 .../src/proto_types}/cosmos/mint/mod.rs | 0 .../proto_types}/cosmos/mint/module/mod.rs | 0 .../src/proto_types}/cosmos/mint/module/v1.rs | 0 .../src/proto_types}/cosmos/mint/v1beta1.rs | 0 .../src/proto_types}/cosmos/mod.rs | 0 .../src/proto_types}/cosmos/nft/mod.rs | 0 .../src/proto_types}/cosmos/nft/module/mod.rs | 0 .../src/proto_types}/cosmos/nft/module/v1.rs | 0 .../src/proto_types}/cosmos/nft/v1beta1.rs | 0 .../src/proto_types}/cosmos/orm/mod.rs | 0 .../src/proto_types}/cosmos/orm/module/mod.rs | 0 .../cosmos/orm/module/v1alpha1.rs | 0 .../src/proto_types}/cosmos/orm/query/mod.rs | 0 .../proto_types}/cosmos/orm/query/v1alpha1.rs | 0 .../src/proto_types}/cosmos/orm/v1.rs | 0 .../src/proto_types}/cosmos/orm/v1alpha1.rs | 0 .../src/proto_types}/cosmos/params/mod.rs | 0 .../proto_types}/cosmos/params/module/mod.rs | 0 .../proto_types}/cosmos/params/module/v1.rs | 0 .../src/proto_types}/cosmos/params/v1beta1.rs | 0 .../src/proto_types}/cosmos/slashing/mod.rs | 0 .../cosmos/slashing/module/mod.rs | 0 .../proto_types}/cosmos/slashing/module/v1.rs | 0 .../proto_types}/cosmos/slashing/v1beta1.rs | 0 .../src/proto_types}/cosmos/staking/mod.rs | 0 .../proto_types}/cosmos/staking/module/mod.rs | 0 .../proto_types}/cosmos/staking/module/v1.rs | 0 .../proto_types}/cosmos/staking/v1beta1.rs | 0 .../cosmos/store/internal/kv/mod.rs | 0 .../cosmos/store/internal/kv/v1beta1.rs | 0 .../proto_types}/cosmos/store/internal/mod.rs | 0 .../src/proto_types}/cosmos/store/mod.rs | 0 .../cosmos/store/snapshots/mod.rs | 0 .../proto_types}/cosmos/store/snapshots/v1.rs | 0 .../cosmos/store/streaming/abci.rs | 0 .../cosmos/store/streaming/mod.rs | 0 .../src/proto_types}/cosmos/store/v1beta1.rs | 0 .../src/proto_types}/cosmos/tx/config/mod.rs | 0 .../src/proto_types}/cosmos/tx/config/v1.rs | 0 .../src/proto_types}/cosmos/tx/mod.rs | 0 .../src/proto_types}/cosmos/tx/signing/mod.rs | 0 .../proto_types}/cosmos/tx/signing/v1beta1.rs | 0 .../src/proto_types}/cosmos/tx/v1beta1.rs | 0 .../src/proto_types}/cosmos/upgrade/mod.rs | 0 .../proto_types}/cosmos/upgrade/module/mod.rs | 0 .../proto_types}/cosmos/upgrade/module/v1.rs | 0 .../proto_types}/cosmos/upgrade/v1beta1.rs | 0 .../src/proto_types}/cosmos/vesting/mod.rs | 0 .../proto_types}/cosmos/vesting/module/mod.rs | 0 .../proto_types}/cosmos/vesting/module/v1.rs | 0 .../proto_types}/cosmos/vesting/v1beta1.rs | 0 .../src/proto_types}/cosmwasm/mod.rs | 0 .../src/proto_types}/cosmwasm/wasm/mod.rs | 0 .../src/proto_types}/cosmwasm/wasm/v1.rs | 0 .../src/proto_types}/gaia/globalfee/mod.rs | 0 .../proto_types}/gaia/globalfee/v1beta1.rs | 0 .../src/proto_types}/gaia/mod.rs | 0 .../proto_types}/ibc/applications/fee/mod.rs | 0 .../proto_types}/ibc/applications/fee/v1.rs | 0 .../interchain_accounts/controller/mod.rs | 0 .../interchain_accounts/controller/v1.rs | 0 .../interchain_accounts/genesis/mod.rs | 0 .../interchain_accounts/genesis/v1.rs | 0 .../interchain_accounts/host/mod.rs | 0 .../interchain_accounts/host/v1.rs | 0 .../applications/interchain_accounts/mod.rs | 0 .../applications/interchain_accounts/v1.rs | 0 .../src/proto_types}/ibc/applications/mod.rs | 0 .../ibc/applications/transfer/mod.rs | 0 .../ibc/applications/transfer/v1.rs | 0 .../ibc/applications/transfer/v2.rs | 0 .../src/proto_types}/ibc/core/channel/mod.rs | 0 .../src/proto_types}/ibc/core/channel/v1.rs | 0 .../src/proto_types}/ibc/core/client/mod.rs | 0 .../src/proto_types}/ibc/core/client/v1.rs | 0 .../proto_types}/ibc/core/commitment/mod.rs | 0 .../proto_types}/ibc/core/commitment/v1.rs | 0 .../proto_types}/ibc/core/connection/mod.rs | 0 .../proto_types}/ibc/core/connection/v1.rs | 0 .../src/proto_types}/ibc/core/mod.rs | 0 .../src/proto_types}/ibc/core/types/mod.rs | 0 .../src/proto_types}/ibc/core/types/v1.rs | 0 .../ibc/lightclients/localhost/mod.rs | 0 .../ibc/lightclients/localhost/v2.rs | 0 .../src/proto_types}/ibc/lightclients/mod.rs | 0 .../ibc/lightclients/solomachine/mod.rs | 0 .../ibc/lightclients/solomachine/v2.rs | 0 .../ibc/lightclients/solomachine/v3.rs | 0 .../ibc/lightclients/tendermint/mod.rs | 0 .../ibc/lightclients/tendermint/v1.rs | 0 .../proto_types}/ibc/lightclients/wasm/mod.rs | 0 .../proto_types}/ibc/lightclients/wasm/v1.rs | 0 .../src/proto_types}/ibc/mod.rs | 0 .../src/proto_types}/mod.rs | 0 .../neutron/contractmanager/mod.rs | 0 .../neutron/contractmanager/v1.rs | 0 .../src/proto_types}/neutron/cron.rs | 0 .../src/proto_types}/neutron/dex/mod.rs | 0 .../src/proto_types}/neutron/dex/v2.rs | 0 .../proto_types}/neutron/dynamicfees/mod.rs | 0 .../proto_types}/neutron/dynamicfees/v1.rs | 0 .../src/proto_types}/neutron/feeburner.rs | 0 .../src/proto_types}/neutron/feerefunder.rs | 0 .../proto_types}/neutron/interchainqueries.rs | 0 .../proto_types}/neutron/interchaintxs/mod.rs | 0 .../proto_types}/neutron/interchaintxs/v1.rs | 0 .../src/proto_types}/neutron/mod.rs | 0 .../src/proto_types}/neutron/transfer.rs | 0 .../src/proto_types/osmosis.tokenfactory.rs | 31 ---------------- .../src/proto_types}/osmosis/mod.rs | 0 .../proto_types}/osmosis/tokenfactory/mod.rs | 0 .../osmosis/tokenfactory/v1beta1.rs | 0 .../src/proto_types}/tendermint/abci.rs | 0 .../src/proto_types}/tendermint/blocksync.rs | 0 .../src/proto_types}/tendermint/consensus.rs | 0 .../src/proto_types}/tendermint/crypto.rs | 0 .../src/proto_types}/tendermint/libs/bits.rs | 0 .../src/proto_types}/tendermint/libs/mod.rs | 0 .../src/proto_types}/tendermint/mempool.rs | 0 .../src/proto_types}/tendermint/mod.rs | 0 .../src/proto_types}/tendermint/p2p.rs | 0 .../src/proto_types}/tendermint/privval.rs | 0 .../src/proto_types}/tendermint/rpc/grpc.rs | 0 .../src/proto_types}/tendermint/rpc/mod.rs | 0 .../src/proto_types}/tendermint/state.rs | 0 .../src/proto_types}/tendermint/statesync.rs | 0 .../src/proto_types}/tendermint/store.rs | 0 .../src/proto_types}/tendermint/types.rs | 0 .../src/proto_types}/tendermint/version.rs | 0 .../src/serde/mod.rs | 0 .../{neutron-std => neutron-sdk}/src/shim.rs | 12 +++---- packages/neutron-std/Cargo.toml | 20 ----------- packages/neutron-std/README.md | 36 ------------------- packages/neutron-std/src/lib.rs | 15 -------- proto-build/src/main.rs | 2 +- 222 files changed, 30 insertions(+), 115 deletions(-) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/NEUTRON_COMMIT (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/capability/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/capability/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/app/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/app/runtime/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/app/runtime/v1alpha1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/app/v1alpha1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/auth/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/auth/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/auth/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/auth/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/authz/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/authz/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/authz/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/authz/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/bank/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/bank/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/bank/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/bank/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/abci/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/abci/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/node/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/node/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/query/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/query/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/reflection/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/reflection/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/reflection/v2alpha1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/tendermint/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/tendermint/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/base/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/circuit/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/circuit/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/circuit/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/circuit/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/consensus/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/consensus/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/consensus/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/consensus/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crisis/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crisis/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crisis/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crisis/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/ed25519.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/hd/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/hd/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/keyring/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/keyring/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/multisig/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/multisig/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/secp256k1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/crypto/secp256r1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/distribution/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/distribution/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/distribution/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/distribution/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/evidence/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/evidence/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/evidence/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/evidence/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/feegrant/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/feegrant/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/feegrant/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/feegrant/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/genutil/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/genutil/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/genutil/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/genutil/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/gov/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/gov/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/gov/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/gov/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/gov/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/group/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/group/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/group/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/group/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/ics23/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/ics23/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/mint/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/mint/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/mint/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/mint/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/nft/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/nft/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/nft/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/nft/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/orm/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/orm/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/orm/module/v1alpha1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/orm/query/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/orm/query/v1alpha1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/orm/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/orm/v1alpha1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/params/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/params/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/params/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/params/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/slashing/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/slashing/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/slashing/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/slashing/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/staking/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/staking/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/staking/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/staking/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/internal/kv/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/internal/kv/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/internal/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/snapshots/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/snapshots/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/streaming/abci.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/streaming/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/store/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/tx/config/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/tx/config/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/tx/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/tx/signing/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/tx/signing/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/tx/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/upgrade/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/upgrade/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/upgrade/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/upgrade/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/vesting/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/vesting/module/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/vesting/module/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmos/vesting/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmwasm/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmwasm/wasm/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/cosmwasm/wasm/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/gaia/globalfee/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/gaia/globalfee/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/gaia/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/fee/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/fee/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/controller/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/controller/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/genesis/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/genesis/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/host/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/host/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/interchain_accounts/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/transfer/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/transfer/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/applications/transfer/v2.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/channel/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/channel/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/client/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/client/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/commitment/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/commitment/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/connection/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/connection/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/types/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/core/types/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/localhost/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/localhost/v2.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/solomachine/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/solomachine/v2.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/solomachine/v3.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/tendermint/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/tendermint/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/wasm/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/lightclients/wasm/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/ibc/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/contractmanager/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/contractmanager/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/cron.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/dex/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/dex/v2.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/dynamicfees/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/dynamicfees/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/feeburner.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/feerefunder.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/interchainqueries.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/interchaintxs/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/interchaintxs/v1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/neutron/transfer.rs (100%) delete mode 100644 packages/neutron-sdk/src/proto_types/osmosis.tokenfactory.rs rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/osmosis/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/osmosis/tokenfactory/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/osmosis/tokenfactory/v1beta1.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/abci.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/blocksync.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/consensus.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/crypto.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/libs/bits.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/libs/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/mempool.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/p2p.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/privval.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/rpc/grpc.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/rpc/mod.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/state.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/statesync.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/store.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/types.rs (100%) rename packages/{neutron-std/src/types => neutron-sdk/src/proto_types}/tendermint/version.rs (100%) rename packages/{neutron-std => neutron-sdk}/src/serde/mod.rs (100%) rename packages/{neutron-std => neutron-sdk}/src/shim.rs (96%) delete mode 100644 packages/neutron-std/Cargo.toml delete mode 100644 packages/neutron-std/README.md delete mode 100644 packages/neutron-std/src/lib.rs diff --git a/contracts/ibc_transfer/Cargo.toml b/contracts/ibc_transfer/Cargo.toml index 79b992ef..e53f6dae 100644 --- a/contracts/ibc_transfer/Cargo.toml +++ b/contracts/ibc_transfer/Cargo.toml @@ -26,7 +26,6 @@ serde-json-wasm = { workspace = true } cw-storage-plus = { workspace = true, features = ["iterator"]} cosmwasm-schema = { workspace = true } neutron-sdk = { path = "../../packages/neutron-sdk", default-features = false } -neutron-std = { path = "../../packages/neutron-std", default-features = false } [dev-dependencies] cosmwasm-schema = { workspace = true } diff --git a/contracts/ibc_transfer/src/contract.rs b/contracts/ibc_transfer/src/contract.rs index 0d3b7896..46ddeb0c 100644 --- a/contracts/ibc_transfer/src/contract.rs +++ b/contracts/ibc_transfer/src/contract.rs @@ -4,6 +4,7 @@ use cosmwasm_std::{ }; use cw2::set_contract_version; use neutron_sdk::interchain_txs::helpers::decode_message_response; +use neutron_sdk::proto_types::neutron::transfer::MsgTransferResponse; use neutron_sdk::{ bindings::{ msg::{IbcFee, NeutronMsg}, @@ -13,7 +14,6 @@ use neutron_sdk::{ sudo::msg::{RequestPacket, RequestPacketTimeoutHeight, TransferSudoMsg}, NeutronResult, }; -use neutron_std::types::neutron::transfer::MsgTransferResponse; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; diff --git a/contracts/neutron_interchain_txs/Cargo.toml b/contracts/neutron_interchain_txs/Cargo.toml index f507fce0..9c320018 100644 --- a/contracts/neutron_interchain_txs/Cargo.toml +++ b/contracts/neutron_interchain_txs/Cargo.toml @@ -25,6 +25,5 @@ serde-json-wasm = { workspace = true } cw-storage-plus = { workspace = true } cosmos-sdk-proto = { workspace = true } neutron-sdk = { path = "../../packages/neutron-sdk", default-features = false } -neutron-std = { path = "../../packages/neutron-std", default-features = false } prost-types = { workspace = true } cosmwasm-schema = { workspace = true } diff --git a/contracts/neutron_interchain_txs/src/contract.rs b/contracts/neutron_interchain_txs/src/contract.rs index 0419cdd7..14ac5056 100644 --- a/contracts/neutron_interchain_txs/src/contract.rs +++ b/contracts/neutron_interchain_txs/src/contract.rs @@ -13,6 +13,7 @@ use serde::{Deserialize, Serialize}; use crate::msg::{ExecuteMsg, InstantiateMsg, MigrateMsg, QueryMsg}; use neutron_sdk::bindings::msg::IbcFee; +use neutron_sdk::proto_types::neutron::interchaintxs::v1::MsgSubmitTxResponse; use neutron_sdk::{ bindings::{ msg::NeutronMsg, @@ -25,7 +26,6 @@ use neutron_sdk::{ sudo::msg::{RequestPacket, SudoMsg}, NeutronError, NeutronResult, }; -use neutron_std::types::neutron::interchaintxs::v1::MsgSubmitTxResponse; use crate::storage::{ add_error_to_queue, read_errors_from_queue, read_reply_payload, read_sudo_payload, diff --git a/packages/neutron-sdk/Cargo.toml b/packages/neutron-sdk/Cargo.toml index b4101915..3634bd88 100644 --- a/packages/neutron-sdk/Cargo.toml +++ b/packages/neutron-sdk/Cargo.toml @@ -9,9 +9,10 @@ homepage = "https://neutron.org" readme = "README.md" [dependencies] -cosmwasm-std = { workspace = true } +cosmwasm-std = { workspace = true, features = ["cosmwasm_2_0"] } cosmos-sdk-proto = { workspace = true } -serde = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde-cw-value = "0.7.0" schemars = { workspace = true } serde-json-wasm = { workspace = true } bech32 = { workspace = true } @@ -23,8 +24,11 @@ prost = { workspace = true } prost-types = { workspace = true } tendermint-proto = { workspace = true } speedate = { workspace = true } +chrono = { version = "0.4.22", default-features = false } +neutron-std-derive = { version = "0.20.1", path = "../neutron-std-derive" } [dev-dependencies] base64 = { workspace = true } prost-types = { workspace = true } hex = { workspace = true } +trybuild = {version = "1.0.63", features = ["diff"]} diff --git a/packages/neutron-sdk/src/lib.rs b/packages/neutron-sdk/src/lib.rs index 1012d13e..933ef616 100644 --- a/packages/neutron-sdk/src/lib.rs +++ b/packages/neutron-sdk/src/lib.rs @@ -1,3 +1,11 @@ +#![doc = include_str!("../README.md")] +#![cfg_attr(docsrs, feature(doc_cfg))] +// #![forbid(unsafe_code)] +#![warn(trivial_casts, trivial_numeric_casts, unused_import_braces)] + +/// The version (commit hash) of the Cosmos SDK used when generating this library. +pub const NEUTROND_VERSION: &str = include_str!("proto_types/NEUTRON_COMMIT"); + pub mod bindings; mod errors; pub mod interchain_queries; @@ -5,7 +13,14 @@ pub mod interchain_txs; pub mod query; pub mod sudo; +mod serde; +pub mod shim; + +#[allow(deprecated)] +pub mod proto_types; + pub use errors::error::{NeutronError, NeutronResult}; +pub use shim::{cosmwasm_to_proto_coins, try_proto_to_cosmwasm_coins}; // This is a signal, such that any contract that imports these helpers will only run on the // neutron blockchain diff --git a/packages/neutron-std/src/types/NEUTRON_COMMIT b/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT similarity index 100% rename from packages/neutron-std/src/types/NEUTRON_COMMIT rename to packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT diff --git a/packages/neutron-std/src/types/capability/mod.rs b/packages/neutron-sdk/src/proto_types/capability/mod.rs similarity index 100% rename from packages/neutron-std/src/types/capability/mod.rs rename to packages/neutron-sdk/src/proto_types/capability/mod.rs diff --git a/packages/neutron-std/src/types/capability/v1.rs b/packages/neutron-sdk/src/proto_types/capability/v1.rs similarity index 100% rename from packages/neutron-std/src/types/capability/v1.rs rename to packages/neutron-sdk/src/proto_types/capability/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/app/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/app/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/app/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/app/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/app/runtime/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/app/runtime/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/app/runtime/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/app/runtime/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/app/runtime/v1alpha1.rs b/packages/neutron-sdk/src/proto_types/cosmos/app/runtime/v1alpha1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/app/runtime/v1alpha1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/app/runtime/v1alpha1.rs diff --git a/packages/neutron-std/src/types/cosmos/app/v1alpha1.rs b/packages/neutron-sdk/src/proto_types/cosmos/app/v1alpha1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/app/v1alpha1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/app/v1alpha1.rs diff --git a/packages/neutron-std/src/types/cosmos/auth/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/auth/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/auth/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/auth/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/auth/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/auth/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/auth/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/auth/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/auth/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/auth/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/auth/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/auth/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/auth/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/auth/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/auth/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/auth/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/authz/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/authz/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/authz/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/authz/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/authz/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/authz/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/authz/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/authz/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/authz/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/authz/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/authz/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/authz/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/authz/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/authz/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/authz/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/authz/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/bank/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/bank/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/bank/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/bank/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/bank/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/bank/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/bank/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/bank/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/bank/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/bank/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/bank/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/bank/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/bank/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/bank/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/bank/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/bank/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/base/abci/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/abci/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/abci/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/abci/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/base/abci/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/abci/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/abci/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/abci/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/base/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/base/node/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/node/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/node/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/node/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/base/node/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/node/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/node/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/node/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/base/query/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/query/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/query/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/query/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/base/query/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/query/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/query/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/query/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/base/reflection/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/reflection/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/reflection/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/reflection/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/base/reflection/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/reflection/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/reflection/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/reflection/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/base/reflection/v2alpha1.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/reflection/v2alpha1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/reflection/v2alpha1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/reflection/v2alpha1.rs diff --git a/packages/neutron-std/src/types/cosmos/base/tendermint/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/tendermint/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/tendermint/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/tendermint/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/base/tendermint/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/tendermint/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/tendermint/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/tendermint/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/base/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/base/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/base/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/base/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/circuit/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/circuit/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/circuit/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/circuit/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/circuit/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/circuit/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/circuit/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/circuit/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/circuit/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/circuit/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/circuit/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/circuit/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/circuit/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/circuit/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/circuit/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/circuit/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/consensus/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/consensus/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/consensus/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/consensus/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/consensus/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/consensus/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/consensus/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/consensus/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/consensus/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/consensus/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/consensus/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/consensus/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/consensus/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/consensus/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/consensus/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/consensus/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/crisis/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/crisis/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crisis/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crisis/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/crisis/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/crisis/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crisis/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crisis/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/crisis/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/crisis/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crisis/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crisis/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/crisis/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/crisis/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crisis/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crisis/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/ed25519.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/ed25519.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/ed25519.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/ed25519.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/hd/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/hd/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/hd/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/hd/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/hd/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/hd/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/hd/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/hd/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/keyring/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/keyring/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/keyring/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/keyring/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/keyring/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/keyring/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/keyring/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/keyring/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/multisig/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/multisig/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/multisig/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/multisig/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/multisig/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/multisig/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/multisig/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/multisig/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/secp256k1.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/secp256k1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/secp256k1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/secp256k1.rs diff --git a/packages/neutron-std/src/types/cosmos/crypto/secp256r1.rs b/packages/neutron-sdk/src/proto_types/cosmos/crypto/secp256r1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/crypto/secp256r1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/crypto/secp256r1.rs diff --git a/packages/neutron-std/src/types/cosmos/distribution/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/distribution/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/distribution/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/distribution/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/distribution/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/distribution/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/distribution/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/distribution/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/distribution/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/distribution/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/distribution/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/distribution/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/distribution/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/distribution/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/distribution/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/distribution/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/evidence/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/evidence/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/evidence/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/evidence/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/evidence/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/evidence/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/evidence/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/evidence/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/evidence/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/evidence/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/evidence/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/evidence/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/evidence/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/evidence/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/evidence/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/evidence/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/feegrant/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/feegrant/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/feegrant/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/feegrant/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/feegrant/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/feegrant/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/feegrant/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/feegrant/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/feegrant/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/feegrant/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/feegrant/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/feegrant/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/feegrant/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/feegrant/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/feegrant/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/feegrant/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/genutil/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/genutil/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/genutil/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/genutil/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/genutil/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/genutil/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/genutil/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/genutil/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/genutil/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/genutil/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/genutil/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/genutil/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/genutil/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/genutil/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/genutil/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/genutil/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/gov/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/gov/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/gov/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/gov/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/gov/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/gov/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/gov/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/gov/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/gov/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/gov/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/gov/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/gov/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/gov/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/gov/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/gov/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/gov/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/gov/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/gov/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/gov/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/gov/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/group/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/group/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/group/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/group/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/group/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/group/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/group/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/group/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/group/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/group/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/group/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/group/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/group/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/group/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/group/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/group/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/ics23/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/ics23/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/ics23/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/ics23/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/ics23/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/ics23/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/ics23/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/ics23/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/mint/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/mint/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/mint/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/mint/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/mint/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/mint/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/mint/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/mint/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/mint/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/mint/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/mint/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/mint/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/mint/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/mint/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/mint/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/mint/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/nft/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/nft/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/nft/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/nft/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/nft/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/nft/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/nft/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/nft/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/nft/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/nft/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/nft/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/nft/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/nft/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/nft/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/nft/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/nft/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/orm/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/orm/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/orm/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/orm/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/orm/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/orm/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/orm/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/orm/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/orm/module/v1alpha1.rs b/packages/neutron-sdk/src/proto_types/cosmos/orm/module/v1alpha1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/orm/module/v1alpha1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/orm/module/v1alpha1.rs diff --git a/packages/neutron-std/src/types/cosmos/orm/query/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/orm/query/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/orm/query/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/orm/query/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/orm/query/v1alpha1.rs b/packages/neutron-sdk/src/proto_types/cosmos/orm/query/v1alpha1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/orm/query/v1alpha1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/orm/query/v1alpha1.rs diff --git a/packages/neutron-std/src/types/cosmos/orm/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/orm/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/orm/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/orm/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/orm/v1alpha1.rs b/packages/neutron-sdk/src/proto_types/cosmos/orm/v1alpha1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/orm/v1alpha1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/orm/v1alpha1.rs diff --git a/packages/neutron-std/src/types/cosmos/params/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/params/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/params/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/params/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/params/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/params/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/params/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/params/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/params/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/params/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/params/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/params/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/params/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/params/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/params/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/params/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/slashing/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/slashing/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/slashing/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/slashing/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/slashing/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/slashing/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/slashing/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/slashing/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/slashing/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/slashing/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/slashing/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/slashing/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/slashing/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/slashing/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/slashing/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/slashing/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/staking/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/staking/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/staking/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/staking/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/staking/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/staking/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/staking/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/staking/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/staking/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/staking/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/staking/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/staking/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/staking/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/staking/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/staking/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/staking/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/store/internal/kv/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/internal/kv/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/internal/kv/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/internal/kv/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/store/internal/kv/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/internal/kv/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/internal/kv/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/internal/kv/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/store/internal/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/internal/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/internal/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/internal/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/store/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/store/snapshots/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/snapshots/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/snapshots/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/snapshots/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/store/snapshots/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/snapshots/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/snapshots/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/snapshots/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/store/streaming/abci.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/streaming/abci.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/streaming/abci.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/streaming/abci.rs diff --git a/packages/neutron-std/src/types/cosmos/store/streaming/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/streaming/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/streaming/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/streaming/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/store/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/store/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/store/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/store/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/tx/config/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/tx/config/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/tx/config/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/tx/config/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/tx/config/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/tx/config/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/tx/config/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/tx/config/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/tx/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/tx/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/tx/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/tx/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/tx/signing/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/tx/signing/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/tx/signing/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/tx/signing/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/tx/signing/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/tx/signing/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/tx/signing/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/tx/signing/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/tx/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/tx/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/tx/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/tx/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/upgrade/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/upgrade/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/upgrade/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/upgrade/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/upgrade/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/upgrade/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/upgrade/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/upgrade/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/upgrade/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/upgrade/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/upgrade/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/upgrade/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/upgrade/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/upgrade/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/upgrade/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/upgrade/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmos/vesting/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/vesting/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/vesting/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/vesting/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/vesting/module/mod.rs b/packages/neutron-sdk/src/proto_types/cosmos/vesting/module/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/vesting/module/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmos/vesting/module/mod.rs diff --git a/packages/neutron-std/src/types/cosmos/vesting/module/v1.rs b/packages/neutron-sdk/src/proto_types/cosmos/vesting/module/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/vesting/module/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/vesting/module/v1.rs diff --git a/packages/neutron-std/src/types/cosmos/vesting/v1beta1.rs b/packages/neutron-sdk/src/proto_types/cosmos/vesting/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmos/vesting/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/cosmos/vesting/v1beta1.rs diff --git a/packages/neutron-std/src/types/cosmwasm/mod.rs b/packages/neutron-sdk/src/proto_types/cosmwasm/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmwasm/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmwasm/mod.rs diff --git a/packages/neutron-std/src/types/cosmwasm/wasm/mod.rs b/packages/neutron-sdk/src/proto_types/cosmwasm/wasm/mod.rs similarity index 100% rename from packages/neutron-std/src/types/cosmwasm/wasm/mod.rs rename to packages/neutron-sdk/src/proto_types/cosmwasm/wasm/mod.rs diff --git a/packages/neutron-std/src/types/cosmwasm/wasm/v1.rs b/packages/neutron-sdk/src/proto_types/cosmwasm/wasm/v1.rs similarity index 100% rename from packages/neutron-std/src/types/cosmwasm/wasm/v1.rs rename to packages/neutron-sdk/src/proto_types/cosmwasm/wasm/v1.rs diff --git a/packages/neutron-std/src/types/gaia/globalfee/mod.rs b/packages/neutron-sdk/src/proto_types/gaia/globalfee/mod.rs similarity index 100% rename from packages/neutron-std/src/types/gaia/globalfee/mod.rs rename to packages/neutron-sdk/src/proto_types/gaia/globalfee/mod.rs diff --git a/packages/neutron-std/src/types/gaia/globalfee/v1beta1.rs b/packages/neutron-sdk/src/proto_types/gaia/globalfee/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/gaia/globalfee/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/gaia/globalfee/v1beta1.rs diff --git a/packages/neutron-std/src/types/gaia/mod.rs b/packages/neutron-sdk/src/proto_types/gaia/mod.rs similarity index 100% rename from packages/neutron-std/src/types/gaia/mod.rs rename to packages/neutron-sdk/src/proto_types/gaia/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/fee/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/fee/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/fee/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/fee/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/fee/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/fee/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/fee/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/fee/v1.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/controller/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/controller/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/controller/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/controller/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/controller/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/controller/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/controller/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/controller/v1.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/genesis/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/genesis/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/genesis/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/genesis/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/genesis/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/genesis/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/genesis/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/genesis/v1.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/host/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/host/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/host/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/host/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/host/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/host/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/host/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/host/v1.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/interchain_accounts/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/interchain_accounts/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/interchain_accounts/v1.rs diff --git a/packages/neutron-std/src/types/ibc/applications/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/transfer/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/transfer/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/transfer/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/transfer/mod.rs diff --git a/packages/neutron-std/src/types/ibc/applications/transfer/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/transfer/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/transfer/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/transfer/v1.rs diff --git a/packages/neutron-std/src/types/ibc/applications/transfer/v2.rs b/packages/neutron-sdk/src/proto_types/ibc/applications/transfer/v2.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/applications/transfer/v2.rs rename to packages/neutron-sdk/src/proto_types/ibc/applications/transfer/v2.rs diff --git a/packages/neutron-std/src/types/ibc/core/channel/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/core/channel/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/channel/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/channel/mod.rs diff --git a/packages/neutron-std/src/types/ibc/core/channel/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/core/channel/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/channel/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/channel/v1.rs diff --git a/packages/neutron-std/src/types/ibc/core/client/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/core/client/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/client/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/client/mod.rs diff --git a/packages/neutron-std/src/types/ibc/core/client/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/core/client/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/client/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/client/v1.rs diff --git a/packages/neutron-std/src/types/ibc/core/commitment/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/core/commitment/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/commitment/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/commitment/mod.rs diff --git a/packages/neutron-std/src/types/ibc/core/commitment/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/core/commitment/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/commitment/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/commitment/v1.rs diff --git a/packages/neutron-std/src/types/ibc/core/connection/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/core/connection/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/connection/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/connection/mod.rs diff --git a/packages/neutron-std/src/types/ibc/core/connection/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/core/connection/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/connection/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/connection/v1.rs diff --git a/packages/neutron-std/src/types/ibc/core/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/core/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/mod.rs diff --git a/packages/neutron-std/src/types/ibc/core/types/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/core/types/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/types/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/types/mod.rs diff --git a/packages/neutron-std/src/types/ibc/core/types/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/core/types/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/core/types/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/core/types/v1.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/localhost/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/localhost/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/localhost/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/localhost/mod.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/localhost/v2.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/localhost/v2.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/localhost/v2.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/localhost/v2.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/mod.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/solomachine/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/solomachine/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/solomachine/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/solomachine/mod.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/solomachine/v2.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/solomachine/v2.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/solomachine/v2.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/solomachine/v2.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/solomachine/v3.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/solomachine/v3.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/solomachine/v3.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/solomachine/v3.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/tendermint/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/tendermint/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/tendermint/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/tendermint/mod.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/tendermint/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/tendermint/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/tendermint/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/tendermint/v1.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/wasm/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/wasm/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/wasm/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/wasm/mod.rs diff --git a/packages/neutron-std/src/types/ibc/lightclients/wasm/v1.rs b/packages/neutron-sdk/src/proto_types/ibc/lightclients/wasm/v1.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/lightclients/wasm/v1.rs rename to packages/neutron-sdk/src/proto_types/ibc/lightclients/wasm/v1.rs diff --git a/packages/neutron-std/src/types/ibc/mod.rs b/packages/neutron-sdk/src/proto_types/ibc/mod.rs similarity index 100% rename from packages/neutron-std/src/types/ibc/mod.rs rename to packages/neutron-sdk/src/proto_types/ibc/mod.rs diff --git a/packages/neutron-std/src/types/mod.rs b/packages/neutron-sdk/src/proto_types/mod.rs similarity index 100% rename from packages/neutron-std/src/types/mod.rs rename to packages/neutron-sdk/src/proto_types/mod.rs diff --git a/packages/neutron-std/src/types/neutron/contractmanager/mod.rs b/packages/neutron-sdk/src/proto_types/neutron/contractmanager/mod.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/contractmanager/mod.rs rename to packages/neutron-sdk/src/proto_types/neutron/contractmanager/mod.rs diff --git a/packages/neutron-std/src/types/neutron/contractmanager/v1.rs b/packages/neutron-sdk/src/proto_types/neutron/contractmanager/v1.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/contractmanager/v1.rs rename to packages/neutron-sdk/src/proto_types/neutron/contractmanager/v1.rs diff --git a/packages/neutron-std/src/types/neutron/cron.rs b/packages/neutron-sdk/src/proto_types/neutron/cron.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/cron.rs rename to packages/neutron-sdk/src/proto_types/neutron/cron.rs diff --git a/packages/neutron-std/src/types/neutron/dex/mod.rs b/packages/neutron-sdk/src/proto_types/neutron/dex/mod.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/dex/mod.rs rename to packages/neutron-sdk/src/proto_types/neutron/dex/mod.rs diff --git a/packages/neutron-std/src/types/neutron/dex/v2.rs b/packages/neutron-sdk/src/proto_types/neutron/dex/v2.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/dex/v2.rs rename to packages/neutron-sdk/src/proto_types/neutron/dex/v2.rs diff --git a/packages/neutron-std/src/types/neutron/dynamicfees/mod.rs b/packages/neutron-sdk/src/proto_types/neutron/dynamicfees/mod.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/dynamicfees/mod.rs rename to packages/neutron-sdk/src/proto_types/neutron/dynamicfees/mod.rs diff --git a/packages/neutron-std/src/types/neutron/dynamicfees/v1.rs b/packages/neutron-sdk/src/proto_types/neutron/dynamicfees/v1.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/dynamicfees/v1.rs rename to packages/neutron-sdk/src/proto_types/neutron/dynamicfees/v1.rs diff --git a/packages/neutron-std/src/types/neutron/feeburner.rs b/packages/neutron-sdk/src/proto_types/neutron/feeburner.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/feeburner.rs rename to packages/neutron-sdk/src/proto_types/neutron/feeburner.rs diff --git a/packages/neutron-std/src/types/neutron/feerefunder.rs b/packages/neutron-sdk/src/proto_types/neutron/feerefunder.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/feerefunder.rs rename to packages/neutron-sdk/src/proto_types/neutron/feerefunder.rs diff --git a/packages/neutron-std/src/types/neutron/interchainqueries.rs b/packages/neutron-sdk/src/proto_types/neutron/interchainqueries.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/interchainqueries.rs rename to packages/neutron-sdk/src/proto_types/neutron/interchainqueries.rs diff --git a/packages/neutron-std/src/types/neutron/interchaintxs/mod.rs b/packages/neutron-sdk/src/proto_types/neutron/interchaintxs/mod.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/interchaintxs/mod.rs rename to packages/neutron-sdk/src/proto_types/neutron/interchaintxs/mod.rs diff --git a/packages/neutron-std/src/types/neutron/interchaintxs/v1.rs b/packages/neutron-sdk/src/proto_types/neutron/interchaintxs/v1.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/interchaintxs/v1.rs rename to packages/neutron-sdk/src/proto_types/neutron/interchaintxs/v1.rs diff --git a/packages/neutron-std/src/types/neutron/mod.rs b/packages/neutron-sdk/src/proto_types/neutron/mod.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/mod.rs rename to packages/neutron-sdk/src/proto_types/neutron/mod.rs diff --git a/packages/neutron-std/src/types/neutron/transfer.rs b/packages/neutron-sdk/src/proto_types/neutron/transfer.rs similarity index 100% rename from packages/neutron-std/src/types/neutron/transfer.rs rename to packages/neutron-sdk/src/proto_types/neutron/transfer.rs diff --git a/packages/neutron-sdk/src/proto_types/osmosis.tokenfactory.rs b/packages/neutron-sdk/src/proto_types/osmosis.tokenfactory.rs deleted file mode 100644 index d74784ff..00000000 --- a/packages/neutron-sdk/src/proto_types/osmosis.tokenfactory.rs +++ /dev/null @@ -1,31 +0,0 @@ -// @generated -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct WhitelistedHook { - #[prost(uint64, tag = "1")] - pub code_id: u64, - #[prost(string, tag = "2")] - pub denom_creator: ::prost::alloc::string::String, -} -/// Params defines the parameters for the tokenfactory module. -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct Params { - /// DenomCreationFee defines the fee to be charged on the creation of a new - /// denom. The fee is drawn from the MsgCreateDenom's sender account, and - /// transferred to the community pool. - #[prost(message, repeated, tag = "1")] - pub denom_creation_fee: ::prost::alloc::vec::Vec, - /// DenomCreationGasConsume defines the gas cost for creating a new denom. - /// This is intended as a spam deterrence mechanism. - /// - /// See: - #[prost(uint64, tag = "2")] - pub denom_creation_gas_consume: u64, - /// FeeCollectorAddress is the address where fees collected from denom creation - /// are sent to - #[prost(string, tag = "3")] - pub fee_collector_address: ::prost::alloc::string::String, - /// HookWhitelist is the list of hooks which are allowed to be added and executed - #[prost(message, repeated, tag = "4")] - pub whitelisted_hooks: ::prost::alloc::vec::Vec, -} -// @@protoc_insertion_point(module) diff --git a/packages/neutron-std/src/types/osmosis/mod.rs b/packages/neutron-sdk/src/proto_types/osmosis/mod.rs similarity index 100% rename from packages/neutron-std/src/types/osmosis/mod.rs rename to packages/neutron-sdk/src/proto_types/osmosis/mod.rs diff --git a/packages/neutron-std/src/types/osmosis/tokenfactory/mod.rs b/packages/neutron-sdk/src/proto_types/osmosis/tokenfactory/mod.rs similarity index 100% rename from packages/neutron-std/src/types/osmosis/tokenfactory/mod.rs rename to packages/neutron-sdk/src/proto_types/osmosis/tokenfactory/mod.rs diff --git a/packages/neutron-std/src/types/osmosis/tokenfactory/v1beta1.rs b/packages/neutron-sdk/src/proto_types/osmosis/tokenfactory/v1beta1.rs similarity index 100% rename from packages/neutron-std/src/types/osmosis/tokenfactory/v1beta1.rs rename to packages/neutron-sdk/src/proto_types/osmosis/tokenfactory/v1beta1.rs diff --git a/packages/neutron-std/src/types/tendermint/abci.rs b/packages/neutron-sdk/src/proto_types/tendermint/abci.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/abci.rs rename to packages/neutron-sdk/src/proto_types/tendermint/abci.rs diff --git a/packages/neutron-std/src/types/tendermint/blocksync.rs b/packages/neutron-sdk/src/proto_types/tendermint/blocksync.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/blocksync.rs rename to packages/neutron-sdk/src/proto_types/tendermint/blocksync.rs diff --git a/packages/neutron-std/src/types/tendermint/consensus.rs b/packages/neutron-sdk/src/proto_types/tendermint/consensus.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/consensus.rs rename to packages/neutron-sdk/src/proto_types/tendermint/consensus.rs diff --git a/packages/neutron-std/src/types/tendermint/crypto.rs b/packages/neutron-sdk/src/proto_types/tendermint/crypto.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/crypto.rs rename to packages/neutron-sdk/src/proto_types/tendermint/crypto.rs diff --git a/packages/neutron-std/src/types/tendermint/libs/bits.rs b/packages/neutron-sdk/src/proto_types/tendermint/libs/bits.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/libs/bits.rs rename to packages/neutron-sdk/src/proto_types/tendermint/libs/bits.rs diff --git a/packages/neutron-std/src/types/tendermint/libs/mod.rs b/packages/neutron-sdk/src/proto_types/tendermint/libs/mod.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/libs/mod.rs rename to packages/neutron-sdk/src/proto_types/tendermint/libs/mod.rs diff --git a/packages/neutron-std/src/types/tendermint/mempool.rs b/packages/neutron-sdk/src/proto_types/tendermint/mempool.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/mempool.rs rename to packages/neutron-sdk/src/proto_types/tendermint/mempool.rs diff --git a/packages/neutron-std/src/types/tendermint/mod.rs b/packages/neutron-sdk/src/proto_types/tendermint/mod.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/mod.rs rename to packages/neutron-sdk/src/proto_types/tendermint/mod.rs diff --git a/packages/neutron-std/src/types/tendermint/p2p.rs b/packages/neutron-sdk/src/proto_types/tendermint/p2p.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/p2p.rs rename to packages/neutron-sdk/src/proto_types/tendermint/p2p.rs diff --git a/packages/neutron-std/src/types/tendermint/privval.rs b/packages/neutron-sdk/src/proto_types/tendermint/privval.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/privval.rs rename to packages/neutron-sdk/src/proto_types/tendermint/privval.rs diff --git a/packages/neutron-std/src/types/tendermint/rpc/grpc.rs b/packages/neutron-sdk/src/proto_types/tendermint/rpc/grpc.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/rpc/grpc.rs rename to packages/neutron-sdk/src/proto_types/tendermint/rpc/grpc.rs diff --git a/packages/neutron-std/src/types/tendermint/rpc/mod.rs b/packages/neutron-sdk/src/proto_types/tendermint/rpc/mod.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/rpc/mod.rs rename to packages/neutron-sdk/src/proto_types/tendermint/rpc/mod.rs diff --git a/packages/neutron-std/src/types/tendermint/state.rs b/packages/neutron-sdk/src/proto_types/tendermint/state.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/state.rs rename to packages/neutron-sdk/src/proto_types/tendermint/state.rs diff --git a/packages/neutron-std/src/types/tendermint/statesync.rs b/packages/neutron-sdk/src/proto_types/tendermint/statesync.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/statesync.rs rename to packages/neutron-sdk/src/proto_types/tendermint/statesync.rs diff --git a/packages/neutron-std/src/types/tendermint/store.rs b/packages/neutron-sdk/src/proto_types/tendermint/store.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/store.rs rename to packages/neutron-sdk/src/proto_types/tendermint/store.rs diff --git a/packages/neutron-std/src/types/tendermint/types.rs b/packages/neutron-sdk/src/proto_types/tendermint/types.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/types.rs rename to packages/neutron-sdk/src/proto_types/tendermint/types.rs diff --git a/packages/neutron-std/src/types/tendermint/version.rs b/packages/neutron-sdk/src/proto_types/tendermint/version.rs similarity index 100% rename from packages/neutron-std/src/types/tendermint/version.rs rename to packages/neutron-sdk/src/proto_types/tendermint/version.rs diff --git a/packages/neutron-std/src/serde/mod.rs b/packages/neutron-sdk/src/serde/mod.rs similarity index 100% rename from packages/neutron-std/src/serde/mod.rs rename to packages/neutron-sdk/src/serde/mod.rs diff --git a/packages/neutron-std/src/shim.rs b/packages/neutron-sdk/src/shim.rs similarity index 96% rename from packages/neutron-std/src/shim.rs rename to packages/neutron-sdk/src/shim.rs index 0599e488..28e4e85e 100644 --- a/packages/neutron-std/src/shim.rs +++ b/packages/neutron-sdk/src/shim.rs @@ -312,20 +312,20 @@ impl_prost_types_exact_conversion! { Timestamp | seconds, nanos } impl_prost_types_exact_conversion! { Duration | seconds, nanos } impl_prost_types_exact_conversion! { Any | type_url, value } -impl From for crate::types::cosmos::base::v1beta1::Coin { +impl From for crate::proto_types::cosmos::base::v1beta1::Coin { fn from(cosmwasm_std::Coin { denom, amount }: cosmwasm_std::Coin) -> Self { - crate::types::cosmos::base::v1beta1::Coin { + crate::proto_types::cosmos::base::v1beta1::Coin { denom, amount: amount.into(), } } } -impl TryFrom for cosmwasm_std::Coin { +impl TryFrom for cosmwasm_std::Coin { type Error = cosmwasm_std::StdError; fn try_from( - crate::types::cosmos::base::v1beta1::Coin { denom, amount }: crate::types::cosmos::base::v1beta1::Coin, + crate::proto_types::cosmos::base::v1beta1::Coin { denom, amount }: crate::proto_types::cosmos::base::v1beta1::Coin, ) -> cosmwasm_std::StdResult { Ok(cosmwasm_std::Coin { denom, @@ -336,7 +336,7 @@ impl TryFrom for cosmwasm_std::Coin { /// Convert a list of `Coin` from generated proto `Coin` type to cosmwasm `Coin` type pub fn try_proto_to_cosmwasm_coins( - coins: impl IntoIterator, + coins: impl IntoIterator, ) -> StdResult> { coins.into_iter().map(|c| c.try_into()).collect() } @@ -344,7 +344,7 @@ pub fn try_proto_to_cosmwasm_coins( /// Convert a list of `Coin` from cosmwasm `Coin` type to generated proto `Coin` type pub fn cosmwasm_to_proto_coins( coins: impl IntoIterator, -) -> Vec { +) -> Vec { coins.into_iter().map(|c| c.into()).collect() } diff --git a/packages/neutron-std/Cargo.toml b/packages/neutron-std/Cargo.toml deleted file mode 100644 index d222ee0b..00000000 --- a/packages/neutron-std/Cargo.toml +++ /dev/null @@ -1,20 +0,0 @@ -[package] -description = "Standard library for Neutron with CosmWasm support included" -edition = "2021" -license = "MIT OR Apache-2.0" -name = "neutron-std" -version = "4.0.1" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -chrono = { version = "0.4.22", default-features = false } -cosmwasm-std = { workspace = true, features = ["cosmwasm_2_0"] } -neutron-std-derive = { version = "0.20.1", path = "../neutron-std-derive" } -prost = { workspace = true } -prost-types = { workspace = true } -schemars = { workspace = true } - -# for query -serde = {version = "1.0", default-features = false, features = ["derive"]} -serde-cw-value = "0.7.0" diff --git a/packages/neutron-std/README.md b/packages/neutron-std/README.md deleted file mode 100644 index c8d4e22d..00000000 --- a/packages/neutron-std/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# neutron-std - -[![neutron-std on crates.io](https://img.shields.io/crates/v/neutron-std.svg)](https://crates.io/crates/neutron-std) [![Docs](https://docs.rs/neutron-std/badge.svg)](https://docs.rs/neutron-std) - -Neutron's proto-generated types and helpers for interacting with the appchain. Compatible with CosmWasm contract. - -## CosmWasm stargate message and stargate query - -You can find all types and querier generated from Neutron's protobuf in their respective module in `neutron_std`. - -### Executing Neutron messages from CosmWasm Contract - -```rust -use cosmwasm_std::{CosmosMsg, Response, Env}; -use neutron_std::types::osmosis::tokenfactory::v1beta1::MsgCreateDenom; - -# type ContractError = cosmwasm_std::StdError; -// .. - -pub fn try_create_denom(env: Env, subdenom: String) -> Result { - let sender = env.contract.address.into(); - - // construct message and convert them into cosmos message - // (notice `CosmosMsg` type and `.into()`) - let msg_create_denom: CosmosMsg = MsgCreateDenom { sender, subdenom }.into(); - - Ok(Response::new() - .add_message(msg_create_denom) - .add_attribute("method", "try_create_denom")) -} - -``` - -## Querying Neutron modules - -Stargate queries are currently disabled on Neutron, but will be enabled in the future. For now, you can use the [bindings](https://github.com/neutron-org/neutron-sdk/blob/main/packages/neutron-sdk/src/bindings/query.rs) in `neutron-sdk` crate to query Neutron modules. diff --git a/packages/neutron-std/src/lib.rs b/packages/neutron-std/src/lib.rs deleted file mode 100644 index 457be9b2..00000000 --- a/packages/neutron-std/src/lib.rs +++ /dev/null @@ -1,15 +0,0 @@ -#![doc = include_str!("../README.md")] -#![cfg_attr(docsrs, feature(doc_cfg))] -#![forbid(unsafe_code)] -#![warn(trivial_casts, trivial_numeric_casts, unused_import_braces)] - -/// The version (commit hash) of the Cosmos SDK used when generating this library. -pub const NEUTROND_VERSION: &str = include_str!("types/NEUTRON_COMMIT"); - -mod serde; -pub mod shim; - -#[allow(deprecated)] -pub mod types; - -pub use shim::{cosmwasm_to_proto_coins, try_proto_to_cosmwasm_coins}; diff --git a/proto-build/src/main.rs b/proto-build/src/main.rs index 82d995af..5e02954b 100644 --- a/proto-build/src/main.rs +++ b/proto-build/src/main.rs @@ -61,7 +61,7 @@ const TMP_REPOS_DIR: &str = "./dependencies/"; /// A temporary directory for proto building const TMP_BUILD_DIR: &str = "/tmp/tmp-protobuf/"; /// The directory generated cosmos-sdk proto files go into in this repo -const OUT_DIR: &str = "../packages/neutron-std/src/types/"; +const OUT_DIR: &str = "../packages/neutron-sdk/src/proto_types/"; pub fn generate() { let tmp_repos_dir: PathBuf = TMP_REPOS_DIR.parse().unwrap();