From 7a27d2d1f7fc2bbfe9c7708af7ea2b695bcde389 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 5 Apr 2024 13:49:50 -0700 Subject: [PATCH] cleanup --- examples/asset-list-chakra/.eslintrc.json | 3 - examples/asset-list-chakra/.gitignore | 36 - examples/asset-list-chakra/CHANGELOG.md | 433 - examples/asset-list-chakra/README.md | 88 - .../components/asset-list/AmountInput.tsx | 209 - .../asset-list/AssetListSection.tsx | 89 - .../components/asset-list/AssetsOverview.tsx | 140 - .../components/asset-list/Buttons.tsx | 145 - .../components/asset-list/ChainAssetsList.tsx | 255 - .../components/asset-list/DropdownInput.tsx | 273 - .../asset-list/DropdownTransferModal.tsx | 239 - .../components/asset-list/TransferModal.tsx | 278 - .../components/asset-list/index.ts | 2 - .../components/asset-list/types.tsx | 48 - .../components/common/Footer.tsx | 92 - .../components/common/Header.tsx | 46 - .../components/common/Layout.tsx | 19 - .../components/common/index.ts | 1 - .../asset-list-chakra/components/index.tsx | 3 - .../components/wallet/AddressCard.tsx | 206 - .../components/wallet/Astronaut.tsx | 156 - .../components/wallet/ChainCard.tsx | 43 - .../components/wallet/ChainDropdown.tsx | 305 - .../components/wallet/ChooseChain.tsx | 38 - .../components/wallet/UserInfo.tsx | 35 - .../components/wallet/Wallet.tsx | 210 - .../components/wallet/WalletConnect.tsx | 209 - .../components/wallet/WarnBlock.tsx | 90 - .../components/wallet/index.ts | 1 - examples/asset-list-chakra/config/defaults.ts | 42 - examples/asset-list-chakra/config/features.ts | 56 - examples/asset-list-chakra/config/index.ts | 3 - examples/asset-list-chakra/config/theme.ts | 34 - examples/asset-list-chakra/hooks/index.ts | 4 - .../asset-list-chakra/hooks/queries/index.ts | 6 - .../hooks/queries/useAssets.ts | 131 - .../hooks/queries/useBalance.ts | 38 - .../hooks/queries/usePrices.ts | 49 - .../hooks/queries/useQueryHooks.ts | 38 - .../hooks/queries/useTopTokens.ts | 45 - .../hooks/queries/useTotalAssets.ts | 204 - .../asset-list-chakra/hooks/useChainUtils.ts | 153 - .../asset-list-chakra/hooks/useToaster.tsx | 49 - examples/asset-list-chakra/hooks/useTx.ts | 115 - examples/asset-list-chakra/next.config.js | 7 - examples/asset-list-chakra/package.json | 58 - examples/asset-list-chakra/pages/_app.tsx | 78 - examples/asset-list-chakra/pages/index.tsx | 27 - .../asset-list-chakra/pages/multi-chain.tsx | 22 - .../asset-list-chakra/pages/single-chain.tsx | 17 - examples/asset-list-chakra/public/favicon.ico | Bin 14037 -> 0 bytes .../asset-list-chakra/styles/Home.module.css | 25 - examples/asset-list-chakra/styles/globals.css | 26 - examples/asset-list-chakra/tsconfig.json | 24 - examples/asset-list-chakra/utils/assets.ts | 7 - examples/asset-list-chakra/utils/base.ts | 92 - examples/asset-list-chakra/utils/format.ts | 20 - examples/asset-list-chakra/utils/index.ts | 4 - examples/asset-list-chakra/utils/pool.ts | 270 - examples/asset-list-chakra/utils/types.ts | 85 - examples/asset-list-chakra/yarn.lock | 8131 ----------------- examples/contracts/.eslintrc.json | 3 - examples/contracts/.gitignore | 36 - examples/contracts/CHANGELOG.md | 360 - examples/contracts/README.md | 88 - examples/contracts/codegen/JunoSwap.client.ts | 294 - examples/contracts/codegen/JunoSwap.types.ts | 125 - examples/contracts/codegen/confio/proofs.ts | 1522 --- examples/contracts/codegen/contracts.ts | 13 - .../codegen/cosmos/app/v1alpha1/config.ts | 176 - .../codegen/cosmos/app/v1alpha1/module.ts | 342 - .../cosmos/app/v1alpha1/query.rpc.query.ts | 35 - .../codegen/cosmos/app/v1alpha1/query.ts | 99 - .../codegen/cosmos/auth/v1beta1/auth.ts | 284 - .../codegen/cosmos/auth/v1beta1/genesis.ts | 76 - .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 83 - .../cosmos/auth/v1beta1/query.rpc.query.ts | 125 - .../codegen/cosmos/auth/v1beta1/query.ts | 771 -- .../codegen/cosmos/authz/v1beta1/authz.ts | 306 - .../codegen/cosmos/authz/v1beta1/event.ts | 179 - .../codegen/cosmos/authz/v1beta1/genesis.ts | 57 - .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 79 - .../cosmos/authz/v1beta1/query.rpc.query.ts | 71 - .../codegen/cosmos/authz/v1beta1/query.ts | 463 - .../codegen/cosmos/authz/v1beta1/tx.amino.ts | 128 - .../cosmos/authz/v1beta1/tx.registry.ts | 79 - .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 56 - .../codegen/cosmos/authz/v1beta1/tx.ts | 395 - .../codegen/cosmos/bank/v1beta1/authz.ts | 67 - .../codegen/cosmos/bank/v1beta1/bank.ts | 665 -- .../codegen/cosmos/bank/v1beta1/genesis.ts | 193 - .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 150 - .../cosmos/bank/v1beta1/query.rpc.query.ts | 160 - .../codegen/cosmos/bank/v1beta1/query.ts | 1300 --- .../codegen/cosmos/bank/v1beta1/tx.amino.ts | 110 - .../cosmos/bank/v1beta1/tx.registry.ts | 58 - .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 34 - .../codegen/cosmos/bank/v1beta1/tx.ts | 229 - .../codegen/cosmos/base/abci/v1beta1/abci.ts | 1106 --- .../codegen/cosmos/base/kv/v1beta1/kv.ts | 123 - .../cosmos/base/query/v1beta1/pagination.ts | 282 - .../base/reflection/v1beta1/reflection.ts | 222 - .../base/reflection/v2alpha1/reflection.ts | 1707 ---- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 675 -- .../cosmos/base/store/v1beta1/commit_info.ts | 221 - .../cosmos/base/store/v1beta1/listening.ts | 110 - .../base/tendermint/v1beta1/query.lcd.ts | 81 - .../base/tendermint/v1beta1/query.rpc.svc.ts | 107 - .../cosmos/base/tendermint/v1beta1/query.ts | 1055 --- .../codegen/cosmos/base/v1beta1/coin.ts | 265 - examples/contracts/codegen/cosmos/bundle.ts | 455 - .../cosmos/capability/v1beta1/capability.ts | 197 - .../cosmos/capability/v1beta1/genesis.ts | 155 - examples/contracts/codegen/cosmos/client.ts | 75 - .../codegen/cosmos/crisis/v1beta1/genesis.ts | 65 - .../codegen/cosmos/crisis/v1beta1/tx.amino.ts | 37 - .../cosmos/crisis/v1beta1/tx.registry.ts | 37 - .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 24 - .../codegen/cosmos/crisis/v1beta1/tx.ts | 120 - .../codegen/cosmos/crypto/ed25519/keys.ts | 129 - .../codegen/cosmos/crypto/hd/v1/hd.ts | 128 - .../cosmos/crypto/keyring/v1/record.ts | 348 - .../codegen/cosmos/crypto/multisig/keys.ts | 77 - .../crypto/multisig/v1beta1/multisig.ts | 141 - .../codegen/cosmos/crypto/secp256k1/keys.ts | 123 - .../codegen/cosmos/crypto/secp256r1/keys.ts | 121 - .../distribution/v1beta1/distribution.ts | 945 -- .../cosmos/distribution/v1beta1/genesis.ts | 800 -- .../cosmos/distribution/v1beta1/query.lcd.ts | 104 - .../distribution/v1beta1/query.rpc.query.ts | 150 - .../cosmos/distribution/v1beta1/query.ts | 1187 --- .../cosmos/distribution/v1beta1/tx.amino.ts | 120 - .../distribution/v1beta1/tx.registry.ts | 100 - .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 66 - .../codegen/cosmos/distribution/v1beta1/tx.ts | 472 - .../cosmos/evidence/v1beta1/evidence.ts | 100 - .../cosmos/evidence/v1beta1/genesis.ts | 59 - .../cosmos/evidence/v1beta1/query.lcd.ts | 41 - .../evidence/v1beta1/query.rpc.query.ts | 51 - .../codegen/cosmos/evidence/v1beta1/query.ts | 259 - .../cosmos/evidence/v1beta1/tx.amino.ts | 41 - .../cosmos/evidence/v1beta1/tx.registry.ts | 37 - .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 27 - .../codegen/cosmos/evidence/v1beta1/tx.ts | 132 - .../cosmos/feegrant/v1beta1/feegrant.ts | 402 - .../cosmos/feegrant/v1beta1/genesis.ts | 57 - .../cosmos/feegrant/v1beta1/query.lcd.ts | 56 - .../feegrant/v1beta1/query.rpc.query.ts | 66 - .../codegen/cosmos/feegrant/v1beta1/query.ts | 421 - .../cosmos/feegrant/v1beta1/tx.amino.ts | 74 - .../cosmos/feegrant/v1beta1/tx.registry.ts | 58 - .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 40 - .../codegen/cosmos/feegrant/v1beta1/tx.ts | 250 - .../codegen/cosmos/genutil/v1beta1/genesis.ts | 58 - .../codegen/cosmos/gov/v1/genesis.ts | 156 - .../contracts/codegen/cosmos/gov/v1/gov.ts | 985 -- .../codegen/cosmos/gov/v1/query.lcd.ts | 115 - .../codegen/cosmos/gov/v1/query.rpc.query.ts | 133 - .../contracts/codegen/cosmos/gov/v1/query.ts | 1114 --- .../codegen/cosmos/gov/v1/tx.amino.ts | 226 - .../codegen/cosmos/gov/v1/tx.registry.ts | 121 - .../codegen/cosmos/gov/v1/tx.rpc.msg.ts | 67 - .../contracts/codegen/cosmos/gov/v1/tx.ts | 661 -- .../codegen/cosmos/gov/v1beta1/genesis.ts | 156 - .../codegen/cosmos/gov/v1beta1/gov.ts | 1066 --- .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 115 - .../cosmos/gov/v1beta1/query.rpc.query.ts | 133 - .../codegen/cosmos/gov/v1beta1/query.ts | 1114 --- .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 174 - .../codegen/cosmos/gov/v1beta1/tx.registry.ts | 100 - .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 58 - .../codegen/cosmos/gov/v1beta1/tx.ts | 518 -- .../codegen/cosmos/group/v1/events.ts | 548 -- .../codegen/cosmos/group/v1/genesis.ts | 190 - .../codegen/cosmos/group/v1/query.lcd.ts | 183 - .../cosmos/group/v1/query.rpc.query.ts | 203 - .../codegen/cosmos/group/v1/query.ts | 1758 ---- .../codegen/cosmos/group/v1/tx.amino.ts | 583 -- .../codegen/cosmos/group/v1/tx.registry.ts | 310 - .../codegen/cosmos/group/v1/tx.rpc.msg.ts | 154 - .../contracts/codegen/cosmos/group/v1/tx.ts | 2065 ----- .../codegen/cosmos/group/v1/types.ts | 1658 ---- examples/contracts/codegen/cosmos/lcd.ts | 99 - .../codegen/cosmos/mint/v1beta1/genesis.ts | 75 - .../codegen/cosmos/mint/v1beta1/mint.ts | 212 - .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 38 - .../cosmos/mint/v1beta1/query.rpc.query.ts | 63 - .../codegen/cosmos/mint/v1beta1/query.ts | 311 - .../contracts/codegen/cosmos/msg/v1/msg.ts | 1 - .../codegen/cosmos/nft/v1beta1/event.ts | 250 - .../codegen/cosmos/nft/v1beta1/genesis.ts | 144 - .../codegen/cosmos/nft/v1beta1/nft.ts | 276 - .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 98 - .../cosmos/nft/v1beta1/query.rpc.query.ts | 124 - .../codegen/cosmos/nft/v1beta1/query.ts | 860 -- .../codegen/cosmos/nft/v1beta1/tx.amino.ts | 42 - .../codegen/cosmos/nft/v1beta1/tx.registry.ts | 37 - .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 24 - .../codegen/cosmos/nft/v1beta1/tx.ts | 146 - .../contracts/codegen/cosmos/orm/v1/orm.ts | 423 - .../codegen/cosmos/orm/v1alpha1/schema.ts | 335 - .../codegen/cosmos/params/v1beta1/params.ts | 165 - .../cosmos/params/v1beta1/query.lcd.ts | 43 - .../cosmos/params/v1beta1/query.rpc.query.ts | 52 - .../codegen/cosmos/params/v1beta1/query.ts | 312 - .../contracts/codegen/cosmos/rpc.query.ts | 68 - examples/contracts/codegen/cosmos/rpc.tx.ts | 49 - .../cosmos/slashing/v1beta1/genesis.ts | 329 - .../cosmos/slashing/v1beta1/query.lcd.ts | 49 - .../slashing/v1beta1/query.rpc.query.ts | 65 - .../codegen/cosmos/slashing/v1beta1/query.ts | 360 - .../cosmos/slashing/v1beta1/slashing.ts | 268 - .../cosmos/slashing/v1beta1/tx.amino.ts | 27 - .../cosmos/slashing/v1beta1/tx.registry.ts | 37 - .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 28 - .../codegen/cosmos/slashing/v1beta1/tx.ts | 96 - .../codegen/cosmos/staking/v1beta1/authz.ts | 265 - .../codegen/cosmos/staking/v1beta1/genesis.ts | 253 - .../cosmos/staking/v1beta1/query.lcd.ts | 199 - .../cosmos/staking/v1beta1/query.rpc.query.ts | 229 - .../codegen/cosmos/staking/v1beta1/query.ts | 1970 ---- .../codegen/cosmos/staking/v1beta1/staking.ts | 1958 ---- .../cosmos/staking/v1beta1/tx.amino.ts | 294 - .../cosmos/staking/v1beta1/tx.registry.ts | 121 - .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 73 - .../codegen/cosmos/staking/v1beta1/tx.ts | 735 -- .../cosmos/tx/signing/v1beta1/signing.ts | 529 -- .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 65 - .../cosmos/tx/v1beta1/service.rpc.svc.ts | 95 - .../codegen/cosmos/tx/v1beta1/service.ts | 986 -- .../contracts/codegen/cosmos/tx/v1beta1/tx.ts | 1497 --- .../cosmos/upgrade/v1beta1/query.lcd.ts | 69 - .../cosmos/upgrade/v1beta1/query.rpc.query.ts | 102 - .../codegen/cosmos/upgrade/v1beta1/query.ts | 631 -- .../cosmos/upgrade/v1beta1/tx.amino.ts | 86 - .../cosmos/upgrade/v1beta1/tx.registry.ts | 58 - .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 43 - .../codegen/cosmos/upgrade/v1beta1/tx.ts | 244 - .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 432 - .../cosmos/vesting/v1beta1/tx.amino.ts | 155 - .../cosmos/vesting/v1beta1/tx.registry.ts | 79 - .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 53 - .../codegen/cosmos/vesting/v1beta1/tx.ts | 421 - .../codegen/cosmos/vesting/v1beta1/vesting.ts | 468 - .../contracts/codegen/cosmos_proto/bundle.ts | 3 - .../contracts/codegen/cosmos_proto/cosmos.ts | 289 - examples/contracts/codegen/cosmwasm/bundle.ts | 34 - examples/contracts/codegen/cosmwasm/client.ts | 44 - examples/contracts/codegen/cosmwasm/lcd.ts | 106 - .../contracts/codegen/cosmwasm/rpc.query.ts | 73 - examples/contracts/codegen/cosmwasm/rpc.tx.ts | 54 - .../codegen/cosmwasm/wasm/v1/genesis.ts | 433 - .../contracts/codegen/cosmwasm/wasm/v1/ibc.ts | 180 - .../codegen/cosmwasm/wasm/v1/proposal.ts | 1083 --- .../codegen/cosmwasm/wasm/v1/query.lcd.ts | 131 - .../cosmwasm/wasm/v1/query.rpc.query.ts | 151 - .../codegen/cosmwasm/wasm/v1/query.ts | 1378 --- .../codegen/cosmwasm/wasm/v1/tx.amino.ts | 252 - .../codegen/cosmwasm/wasm/v1/tx.registry.ts | 142 - .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 74 - .../contracts/codegen/cosmwasm/wasm/v1/tx.ts | 944 -- .../codegen/cosmwasm/wasm/v1/types.ts | 863 -- .../contracts/codegen/gogoproto/bundle.ts | 3 - examples/contracts/codegen/gogoproto/gogo.ts | 1 - .../codegen/google/api/annotations.ts | 1 - examples/contracts/codegen/google/api/http.ts | 978 -- examples/contracts/codegen/google/bundle.ts | 18 - .../contracts/codegen/google/protobuf/any.ts | 290 - .../codegen/google/protobuf/descriptor.ts | 4324 --------- .../codegen/google/protobuf/duration.ts | 215 - .../codegen/google/protobuf/empty.ts | 61 - .../codegen/google/protobuf/timestamp.ts | 259 - examples/contracts/codegen/helpers.ts | 240 - .../ibc/applications/transfer/v1/genesis.ts | 81 - .../ibc/applications/transfer/v1/query.lcd.ts | 49 - .../transfer/v1/query.rpc.query.ts | 65 - .../ibc/applications/transfer/v1/query.ts | 368 - .../ibc/applications/transfer/v1/transfer.ts | 181 - .../ibc/applications/transfer/v1/tx.amino.ts | 73 - .../applications/transfer/v1/tx.registry.ts | 37 - .../applications/transfer/v1/tx.rpc.msg.ts | 24 - .../ibc/applications/transfer/v1/tx.ts | 217 - .../ibc/applications/transfer/v2/packet.ts | 114 - examples/contracts/codegen/ibc/bundle.ts | 137 - examples/contracts/codegen/ibc/client.ts | 53 - .../codegen/ibc/core/channel/v1/channel.ts | 925 -- .../codegen/ibc/core/channel/v1/genesis.ts | 231 - .../codegen/ibc/core/channel/v1/query.lcd.ts | 165 - .../ibc/core/channel/v1/query.rpc.query.ts | 229 - .../codegen/ibc/core/channel/v1/query.ts | 2444 ----- .../codegen/ibc/core/channel/v1/tx.amino.ts | 670 -- .../ibc/core/channel/v1/tx.registry.ts | 226 - .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 117 - .../codegen/ibc/core/channel/v1/tx.ts | 1492 --- .../codegen/ibc/core/client/v1/client.ts | 629 -- .../codegen/ibc/core/client/v1/genesis.ts | 288 - .../codegen/ibc/core/client/v1/query.lcd.ts | 107 - .../ibc/core/client/v1/query.rpc.query.ts | 141 - .../codegen/ibc/core/client/v1/query.ts | 1130 --- .../codegen/ibc/core/client/v1/tx.amino.ts | 205 - .../codegen/ibc/core/client/v1/tx.registry.ts | 100 - .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 54 - .../codegen/ibc/core/client/v1/tx.ts | 602 -- .../ibc/core/commitment/v1/commitment.ts | 256 - .../ibc/core/connection/v1/connection.ts | 759 -- .../codegen/ibc/core/connection/v1/genesis.ts | 98 - .../ibc/core/connection/v1/query.lcd.ts | 68 - .../ibc/core/connection/v1/query.rpc.query.ts | 102 - .../codegen/ibc/core/connection/v1/query.ts | 836 -- .../ibc/core/connection/v1/tx.amino.ts | 343 - .../ibc/core/connection/v1/tx.registry.ts | 100 - .../ibc/core/connection/v1/tx.rpc.msg.ts | 57 - .../codegen/ibc/core/connection/v1/tx.ts | 795 -- .../ibc/core/port/v1/query.rpc.query.ts | 35 - .../codegen/ibc/core/port/v1/query.ts | 196 - .../codegen/ibc/core/types/v1/genesis.ts | 97 - examples/contracts/codegen/ibc/lcd.ts | 125 - .../lightclients/localhost/v1/localhost.ts | 81 - .../solomachine/v1/solomachine.ts | 1500 --- .../solomachine/v2/solomachine.ts | 1500 --- .../lightclients/tendermint/v1/tendermint.ts | 626 -- examples/contracts/codegen/ibc/rpc.query.ts | 89 - examples/contracts/codegen/ibc/rpc.tx.ts | 67 - examples/contracts/codegen/ics23/bundle.ts | 3 - examples/contracts/codegen/index.ts | 18 - .../codegen/tendermint/abci/types.ts | 3947 -------- .../contracts/codegen/tendermint/bundle.ts | 32 - .../codegen/tendermint/crypto/keys.ts | 68 - .../codegen/tendermint/crypto/proof.ts | 375 - .../codegen/tendermint/libs/bits/types.ts | 77 - .../contracts/codegen/tendermint/p2p/types.ts | 438 - .../codegen/tendermint/types/block.ts | 90 - .../codegen/tendermint/types/evidence.ts | 325 - .../codegen/tendermint/types/params.ts | 521 -- .../codegen/tendermint/types/types.ts | 1401 --- .../codegen/tendermint/types/validator.ts | 228 - .../codegen/tendermint/version/types.ts | 152 - examples/contracts/components/features.tsx | 79 - examples/contracts/components/index.tsx | 4 - .../components/react/address-card.tsx | 199 - .../contracts/components/react/astronaut.tsx | 156 - .../contracts/components/react/chain-card.tsx | 39 - examples/contracts/components/react/index.ts | 6 - .../contracts/components/react/user-card.tsx | 33 - .../components/react/wallet-connect.tsx | 201 - .../contracts/components/react/warn-block.tsx | 90 - examples/contracts/components/types.tsx | 53 - examples/contracts/components/wallet.tsx | 151 - examples/contracts/config/defaults.ts | 54 - examples/contracts/config/features.ts | 47 - examples/contracts/config/index.ts | 3 - examples/contracts/config/theme.ts | 34 - examples/contracts/contracts/wasmswap/LICENSE | 202 - .../contracts/contracts/wasmswap/README.md | 1 - .../contracts/contracts/wasmswap/package.json | 21 - .../wasmswap/schema/balance_response.json | 19 - .../wasmswap/schema/execute_msg.json | 313 - .../wasmswap/schema/info_response.json | 47 - .../wasmswap/schema/instantiate_msg.json | 43 - .../contracts/wasmswap/schema/query_msg.json | 85 - .../contracts/wasmswap/schema/token.json | 37 - .../token1_for_token2_price_response.json | 19 - .../token2_for_token1_price_response.json | 19 - examples/contracts/next.config.js | 7 - examples/contracts/package.json | 57 - examples/contracts/pages/_app.tsx | 66 - examples/contracts/pages/index.tsx | 86 - examples/contracts/proto/confio/LICENSE | 204 - examples/contracts/proto/confio/README.md | 1 - examples/contracts/proto/confio/proofs.proto | 234 - examples/contracts/proto/cosmos/LICENSE | 204 - examples/contracts/proto/cosmos/README.md | 1 - .../proto/cosmos/app/v1alpha1/config.proto | 36 - .../proto/cosmos/app/v1alpha1/module.proto | 93 - .../proto/cosmos/app/v1alpha1/query.proto | 22 - .../proto/cosmos/auth/v1beta1/auth.proto | 47 - .../proto/cosmos/auth/v1beta1/genesis.proto | 17 - .../proto/cosmos/auth/v1beta1/query.proto | 130 - .../proto/cosmos/authz/v1beta1/authz.proto | 46 - .../proto/cosmos/authz/v1beta1/event.proto | 27 - .../proto/cosmos/authz/v1beta1/genesis.proto | 13 - .../proto/cosmos/authz/v1beta1/query.proto | 82 - .../proto/cosmos/authz/v1beta1/tx.proto | 75 - .../proto/cosmos/bank/v1beta1/authz.proto | 19 - .../proto/cosmos/bank/v1beta1/bank.proto | 108 - .../proto/cosmos/bank/v1beta1/genesis.proto | 40 - .../proto/cosmos/bank/v1beta1/query.proto | 231 - .../proto/cosmos/bank/v1beta1/tx.proto | 48 - .../proto/cosmos/base/abci/v1beta1/abci.proto | 158 - .../proto/cosmos/base/kv/v1beta1/kv.proto | 17 - .../base/query/v1beta1/pagination.proto | 56 - .../base/reflection/v1beta1/reflection.proto | 44 - .../base/reflection/v2alpha1/reflection.proto | 218 - .../base/snapshots/v1beta1/snapshot.proto | 70 - .../base/store/v1beta1/commit_info.proto | 29 - .../cosmos/base/store/v1beta1/listening.proto | 16 - .../base/tendermint/v1beta1/query.proto | 138 - .../proto/cosmos/base/v1beta1/coin.proto | 43 - .../capability/v1beta1/capability.proto | 30 - .../cosmos/capability/v1beta1/genesis.proto | 26 - .../proto/cosmos/crisis/v1beta1/genesis.proto | 14 - .../proto/cosmos/crisis/v1beta1/tx.proto | 29 - .../proto/cosmos/crypto/ed25519/keys.proto | 23 - .../proto/cosmos/crypto/hd/v1/hd.proto | 23 - .../cosmos/crypto/keyring/v1/record.proto | 47 - .../proto/cosmos/crypto/multisig/keys.proto | 17 - .../crypto/multisig/v1beta1/multisig.proto | 25 - .../proto/cosmos/crypto/secp256k1/keys.proto | 22 - .../proto/cosmos/crypto/secp256r1/keys.proto | 23 - .../distribution/v1beta1/distribution.proto | 154 - .../cosmos/distribution/v1beta1/genesis.proto | 144 - .../cosmos/distribution/v1beta1/query.proto | 219 - .../cosmos/distribution/v1beta1/tx.proto | 95 - .../cosmos/evidence/v1beta1/evidence.proto | 22 - .../cosmos/evidence/v1beta1/genesis.proto | 12 - .../proto/cosmos/evidence/v1beta1/query.proto | 51 - .../proto/cosmos/evidence/v1beta1/tx.proto | 35 - .../cosmos/feegrant/v1beta1/feegrant.proto | 78 - .../cosmos/feegrant/v1beta1/genesis.proto | 13 - .../proto/cosmos/feegrant/v1beta1/query.proto | 79 - .../proto/cosmos/feegrant/v1beta1/tx.proto | 53 - .../cosmos/genutil/v1beta1/genesis.proto | 12 - .../proto/cosmos/gov/v1/genesis.proto | 26 - .../contracts/proto/cosmos/gov/v1/gov.proto | 132 - .../contracts/proto/cosmos/gov/v1/query.proto | 183 - .../contracts/proto/cosmos/gov/v1/tx.proto | 100 - .../proto/cosmos/gov/v1beta1/genesis.proto | 26 - .../proto/cosmos/gov/v1beta1/gov.proto | 201 - .../proto/cosmos/gov/v1beta1/query.proto | 191 - .../proto/cosmos/gov/v1beta1/tx.proto | 106 - .../proto/cosmos/group/v1/events.proto | 77 - .../proto/cosmos/group/v1/genesis.proto | 38 - .../proto/cosmos/group/v1/query.proto | 308 - .../contracts/proto/cosmos/group/v1/tx.proto | 364 - .../proto/cosmos/group/v1/types.proto | 308 - .../proto/cosmos/mint/v1beta1/genesis.proto | 16 - .../proto/cosmos/mint/v1beta1/mint.proto | 57 - .../proto/cosmos/mint/v1beta1/query.proto | 57 - .../contracts/proto/cosmos/msg/v1/msg.proto | 22 - .../proto/cosmos/nft/v1beta1/event.proto | 26 - .../proto/cosmos/nft/v1beta1/genesis.proto | 22 - .../proto/cosmos/nft/v1beta1/nft.proto | 48 - .../proto/cosmos/nft/v1beta1/query.proto | 125 - .../proto/cosmos/nft/v1beta1/tx.proto | 30 - .../contracts/proto/cosmos/orm/v1/orm.proto | 104 - .../proto/cosmos/orm/v1alpha1/schema.proto | 76 - .../proto/cosmos/params/v1beta1/params.proto | 29 - .../proto/cosmos/params/v1beta1/query.proto | 54 - .../cosmos/slashing/v1beta1/genesis.proto | 47 - .../proto/cosmos/slashing/v1beta1/query.proto | 64 - .../cosmos/slashing/v1beta1/slashing.proto | 45 - .../proto/cosmos/slashing/v1beta1/tx.proto | 30 - .../proto/cosmos/staking/v1beta1/authz.proto | 47 - .../cosmos/staking/v1beta1/genesis.proto | 49 - .../proto/cosmos/staking/v1beta1/query.proto | 349 - .../cosmos/staking/v1beta1/staking.proto | 358 - .../proto/cosmos/staking/v1beta1/tx.proto | 138 - .../cosmos/tx/signing/v1beta1/signing.proto | 94 - .../proto/cosmos/tx/v1beta1/service.proto | 163 - .../proto/cosmos/tx/v1beta1/tx.proto | 249 - .../proto/cosmos/upgrade/v1beta1/query.proto | 120 - .../proto/cosmos/upgrade/v1beta1/tx.proto | 55 - .../cosmos/upgrade/v1beta1/upgrade.proto | 86 - .../proto/cosmos/vesting/v1beta1/tx.proto | 74 - .../cosmos/vesting/v1beta1/vesting.proto | 76 - examples/contracts/proto/cosmos_proto/LICENSE | 204 - .../contracts/proto/cosmos_proto/README.md | 1 - .../contracts/proto/cosmos_proto/cosmos.proto | 97 - examples/contracts/proto/cosmwasm/LICENSE | 204 - examples/contracts/proto/cosmwasm/README.md | 1 - .../proto/cosmwasm/wasm/v1/genesis.proto | 60 - .../proto/cosmwasm/wasm/v1/ibc.proto | 31 - .../proto/cosmwasm/wasm/v1/proposal.proto | 150 - .../proto/cosmwasm/wasm/v1/query.proto | 223 - .../contracts/proto/cosmwasm/wasm/v1/tx.proto | 135 - .../proto/cosmwasm/wasm/v1/types.proto | 140 - examples/contracts/proto/gogoproto/LICENSE | 34 - examples/contracts/proto/gogoproto/README.md | 1 - examples/contracts/proto/gogoproto/gogo.proto | 145 - examples/contracts/proto/google/LICENSE | 201 - examples/contracts/proto/google/README.md | 1 - .../proto/google/api/annotations.proto | 31 - .../contracts/proto/google/api/http.proto | 375 - .../contracts/proto/google/protobuf/any.proto | 155 - .../proto/google/protobuf/descriptor.proto | 885 -- .../proto/google/protobuf/duration.proto | 116 - .../proto/google/protobuf/empty.proto | 52 - .../proto/google/protobuf/timestamp.proto | 138 - examples/contracts/proto/ibc/LICENSE | 21 - examples/contracts/proto/ibc/README.md | 1 - .../applications/transfer/v1/genesis.proto | 19 - .../ibc/applications/transfer/v1/query.proto | 67 - .../applications/transfer/v1/transfer.proto | 30 - .../ibc/applications/transfer/v1/tx.proto | 44 - .../ibc/applications/transfer/v2/packet.proto | 19 - .../proto/ibc/core/channel/v1/channel.proto | 148 - .../proto/ibc/core/channel/v1/genesis.proto | 32 - .../proto/ibc/core/channel/v1/query.proto | 376 - .../proto/ibc/core/channel/v1/tx.proto | 211 - .../proto/ibc/core/client/v1/client.proto | 104 - .../proto/ibc/core/client/v1/genesis.proto | 48 - .../proto/ibc/core/client/v1/query.proto | 184 - .../proto/ibc/core/client/v1/tx.proto | 99 - .../ibc/core/commitment/v1/commitment.proto | 41 - .../ibc/core/connection/v1/connection.proto | 114 - .../ibc/core/connection/v1/genesis.proto | 18 - .../proto/ibc/core/connection/v1/query.proto | 138 - .../proto/ibc/core/connection/v1/tx.proto | 119 - .../proto/ibc/core/port/v1/query.proto | 35 - .../proto/ibc/core/types/v1/genesis.proto | 23 - .../lightclients/localhost/v1/localhost.proto | 18 - .../solomachine/v1/solomachine.proto | 189 - .../solomachine/v2/solomachine.proto | 189 - .../tendermint/v1/tendermint.proto | 115 - examples/contracts/proto/tendermint/LICENSE | 204 - examples/contracts/proto/tendermint/README.md | 1 - .../proto/tendermint/abci/types.proto | 394 - .../proto/tendermint/crypto/keys.proto | 17 - .../proto/tendermint/crypto/proof.proto | 41 - .../proto/tendermint/libs/bits/types.proto | 9 - .../proto/tendermint/p2p/types.proto | 42 - .../proto/tendermint/types/block.proto | 15 - .../proto/tendermint/types/evidence.proto | 38 - .../proto/tendermint/types/params.proto | 79 - .../proto/tendermint/types/types.proto | 153 - .../proto/tendermint/types/validator.proto | 25 - .../proto/tendermint/version/types.proto | 24 - examples/contracts/public/favicon.ico | Bin 25531 -> 0 bytes examples/contracts/scripts/codegen.js | 80 - examples/contracts/styles/Home.module.css | 25 - examples/contracts/styles/globals.css | 26 - examples/contracts/tsconfig.json | 30 - examples/contracts/yarn.lock | 6817 -------------- examples/dashboard/.eslintrc.json | 73 - examples/dashboard/.gitignore | 36 - examples/dashboard/CHANGELOG.md | 702 -- examples/dashboard/LICENSE | 21 - examples/dashboard/README.md | 36 - .../components/chain-wallet-card.tsx | 65 - examples/dashboard/components/index.ts | 3 - .../components/react/address-card.tsx | 198 - .../dashboard/components/react/astronaut.tsx | 156 - .../components/react/handleChangeColor.tsx | 9 - examples/dashboard/components/react/index.ts | 5 - .../dashboard/components/react/user-card.tsx | 34 - .../components/react/wallet-connect.tsx | 202 - .../dashboard/components/react/warn-block.tsx | 90 - examples/dashboard/components/types.tsx | 78 - examples/dashboard/next.config.js | 29 - examples/dashboard/package.json | 55 - examples/dashboard/pages/_app.tsx | 51 - examples/dashboard/pages/index.tsx | 154 - examples/dashboard/public/favicon.ico | Bin 14037 -> 0 bytes examples/dashboard/style/test-style.css | 4 - examples/dashboard/tsconfig.json | 20 - .../codegen_grpc_gateway/confio/proofs.ts | 37 +- .../cosmos/app/v1alpha1/config.ts | 3 +- .../cosmos/app/v1alpha1/module.ts | 1 + .../cosmos/app/v1alpha1/query.rpc.Query.ts | 1 + .../cosmos/app/v1alpha1/query.ts | 1 + .../cosmos/auth/v1beta1/auth.ts | 3 +- .../cosmos/auth/v1beta1/genesis.ts | 1 + .../cosmos/auth/v1beta1/query.lcd.ts | 1 + .../cosmos/auth/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/auth/v1beta1/query.ts | 3 +- .../cosmos/authz/v1beta1/authz.ts | 15 +- .../cosmos/authz/v1beta1/genesis.ts | 1 + .../cosmos/authz/v1beta1/query.lcd.ts | 1 + .../cosmos/authz/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/authz/v1beta1/query.ts | 1 + .../cosmos/authz/v1beta1/tx.amino.ts | 1 + .../cosmos/authz/v1beta1/tx.registry.ts | 1 + .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/authz/v1beta1/tx.ts | 1 + .../cosmos/bank/v1beta1/authz.ts | 1 + .../cosmos/bank/v1beta1/bank.ts | 1 + .../cosmos/bank/v1beta1/genesis.ts | 1 + .../cosmos/bank/v1beta1/query.lcd.ts | 1 + .../cosmos/bank/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/bank/v1beta1/query.ts | 7 +- .../cosmos/bank/v1beta1/tx.amino.ts | 1 + .../cosmos/bank/v1beta1/tx.registry.ts | 1 + .../cosmos/bank/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/bank/v1beta1/tx.ts | 1 + .../cosmos/base/abci/v1beta1/abci.ts | 3 +- .../cosmos/base/kv/v1beta1/kv.ts | 1 + .../cosmos/base/query/v1beta1/pagination.ts | 1 + .../base/reflection/v1beta1/reflection.ts | 1 + .../base/reflection/v2alpha1/reflection.ts | 1 + .../cosmos/base/snapshots/v1beta1/snapshot.ts | 1 + .../cosmos/base/store/v1beta1/commit_info.ts | 1 + .../cosmos/base/store/v1beta1/listening.ts | 1 + .../base/tendermint/v1beta1/query.lcd.ts | 1 + .../tendermint/v1beta1/query.rpc.Service.ts | 1 + .../cosmos/base/tendermint/v1beta1/query.ts | 3 +- .../cosmos/base/v1beta1/coin.ts | 1 + .../codegen_grpc_gateway/cosmos/bundle.ts | 1 + .../cosmos/capability/v1beta1/capability.ts | 1 + .../cosmos/capability/v1beta1/genesis.ts | 1 + .../codegen_grpc_gateway/cosmos/client.ts | 3 +- .../cosmos/crisis/v1beta1/genesis.ts | 3 +- .../cosmos/crisis/v1beta1/tx.amino.ts | 1 + .../cosmos/crisis/v1beta1/tx.registry.ts | 1 + .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/crisis/v1beta1/tx.ts | 1 + .../cosmos/crypto/ed25519/keys.ts | 1 + .../cosmos/crypto/hd/v1/hd.ts | 1 + .../cosmos/crypto/keyring/v1/record.ts | 5 +- .../cosmos/crypto/multisig/keys.ts | 1 + .../crypto/multisig/v1beta1/multisig.ts | 1 + .../cosmos/crypto/secp256k1/keys.ts | 1 + .../cosmos/crypto/secp256r1/keys.ts | 1 + .../distribution/v1beta1/distribution.ts | 1 + .../cosmos/distribution/v1beta1/genesis.ts | 1 + .../cosmos/distribution/v1beta1/query.lcd.ts | 1 + .../distribution/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/distribution/v1beta1/query.ts | 1 + .../cosmos/distribution/v1beta1/tx.amino.ts | 1 + .../distribution/v1beta1/tx.registry.ts | 1 + .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/distribution/v1beta1/tx.ts | 1 + .../cosmos/evidence/v1beta1/evidence.ts | 7 +- .../cosmos/evidence/v1beta1/genesis.ts | 1 + .../cosmos/evidence/v1beta1/query.lcd.ts | 1 + .../evidence/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/evidence/v1beta1/query.ts | 3 +- .../cosmos/evidence/v1beta1/tx.amino.ts | 1 + .../cosmos/evidence/v1beta1/tx.registry.ts | 1 + .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/evidence/v1beta1/tx.ts | 3 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 19 +- .../cosmos/feegrant/v1beta1/genesis.ts | 1 + .../cosmos/feegrant/v1beta1/query.lcd.ts | 1 + .../feegrant/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/feegrant/v1beta1/query.ts | 1 + .../cosmos/feegrant/v1beta1/tx.amino.ts | 1 + .../cosmos/feegrant/v1beta1/tx.registry.ts | 1 + .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/feegrant/v1beta1/tx.ts | 3 +- .../cosmos/genutil/v1beta1/genesis.ts | 1 + .../cosmos/gov/v1/genesis.ts | 1 + .../codegen_grpc_gateway/cosmos/gov/v1/gov.ts | 41 +- .../cosmos/gov/v1/query.lcd.ts | 1 + .../cosmos/gov/v1/query.rpc.Query.ts | 1 + .../cosmos/gov/v1/query.ts | 7 +- .../cosmos/gov/v1/tx.amino.ts | 1 + .../cosmos/gov/v1/tx.registry.ts | 1 + .../cosmos/gov/v1/tx.rpc.msg.ts | 1 + .../codegen_grpc_gateway/cosmos/gov/v1/tx.ts | 9 +- .../cosmos/gov/v1beta1/genesis.ts | 1 + .../cosmos/gov/v1beta1/gov.ts | 49 +- .../cosmos/gov/v1beta1/query.lcd.ts | 1 + .../cosmos/gov/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/gov/v1beta1/query.ts | 7 +- .../cosmos/gov/v1beta1/tx.amino.ts | 1 + .../cosmos/gov/v1beta1/tx.registry.ts | 1 + .../cosmos/gov/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/gov/v1beta1/tx.ts | 9 +- .../cosmos/group/v1/events.ts | 7 +- .../cosmos/group/v1/genesis.ts | 1 + .../cosmos/group/v1/query.lcd.ts | 1 + .../cosmos/group/v1/query.rpc.Query.ts | 1 + .../cosmos/group/v1/query.ts | 1 + .../cosmos/group/v1/tx.amino.ts | 1 + .../cosmos/group/v1/tx.registry.ts | 1 + .../cosmos/group/v1/tx.rpc.msg.ts | 1 + .../cosmos/group/v1/tx.ts | 25 +- .../cosmos/group/v1/types.ts | 67 +- .../codegen_grpc_gateway/cosmos/lcd.ts | 1 + .../cosmos/mint/v1beta1/genesis.ts | 1 + .../cosmos/mint/v1beta1/mint.ts | 1 + .../cosmos/mint/v1beta1/query.lcd.ts | 1 + .../cosmos/mint/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/mint/v1beta1/query.ts | 1 + .../cosmos/nft/v1beta1/event.ts | 1 + .../cosmos/nft/v1beta1/genesis.ts | 1 + .../cosmos/nft/v1beta1/nft.ts | 5 +- .../cosmos/nft/v1beta1/query.lcd.ts | 1 + .../cosmos/nft/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/nft/v1beta1/query.ts | 1 + .../cosmos/nft/v1beta1/tx.amino.ts | 1 + .../cosmos/nft/v1beta1/tx.registry.ts | 1 + .../cosmos/nft/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/nft/v1beta1/tx.ts | 1 + .../cosmos/orm/module/v1alpha1/module.ts | 1 + .../codegen_grpc_gateway/cosmos/orm/v1/orm.ts | 1 + .../cosmos/orm/v1alpha1/schema.ts | 7 +- .../cosmos/params/v1beta1/params.ts | 1 + .../cosmos/params/v1beta1/query.lcd.ts | 1 + .../cosmos/params/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/params/v1beta1/query.ts | 1 + .../codegen_grpc_gateway/cosmos/rpc.query.ts | 1 + .../codegen_grpc_gateway/cosmos/rpc.tx.ts | 1 + .../cosmos/slashing/v1beta1/genesis.ts | 1 + .../cosmos/slashing/v1beta1/query.lcd.ts | 1 + .../slashing/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/slashing/v1beta1/query.ts | 1 + .../cosmos/slashing/v1beta1/slashing.ts | 9 +- .../cosmos/slashing/v1beta1/tx.amino.ts | 1 + .../cosmos/slashing/v1beta1/tx.registry.ts | 1 + .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/slashing/v1beta1/tx.ts | 1 + .../cosmos/staking/v1beta1/authz.ts | 9 +- .../cosmos/staking/v1beta1/genesis.ts | 1 + .../cosmos/staking/v1beta1/query.lcd.ts | 1 + .../cosmos/staking/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/staking/v1beta1/query.ts | 1 + .../cosmos/staking/v1beta1/staking.ts | 37 +- .../cosmos/staking/v1beta1/tx.amino.ts | 1 + .../cosmos/staking/v1beta1/tx.registry.ts | 1 + .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/staking/v1beta1/tx.ts | 23 +- .../cosmos/tx/signing/v1beta1/signing.ts | 9 +- .../cosmos/tx/v1beta1/service.lcd.ts | 1 + .../cosmos/tx/v1beta1/service.rpc.Service.ts | 1 + .../cosmos/tx/v1beta1/service.ts | 13 +- .../cosmos/tx/v1beta1/tx.ts | 17 +- .../cosmos/upgrade/v1beta1/query.lcd.ts | 1 + .../cosmos/upgrade/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/upgrade/v1beta1/query.ts | 1 + .../cosmos/upgrade/v1beta1/tx.amino.ts | 1 + .../cosmos/upgrade/v1beta1/tx.registry.ts | 1 + .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/upgrade/v1beta1/tx.ts | 1 + .../cosmos/upgrade/v1beta1/upgrade.ts | 9 +- .../cosmos/vesting/v1beta1/tx.amino.ts | 1 + .../cosmos/vesting/v1beta1/tx.registry.ts | 1 + .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/vesting/v1beta1/tx.ts | 1 + .../cosmos/vesting/v1beta1/vesting.ts | 1 + .../cosmos_proto/bundle.ts | 1 + .../cosmos_proto/cosmos.ts | 1 + .../codegen_grpc_gateway/cosmwasm/bundle.ts | 1 + .../codegen_grpc_gateway/cosmwasm/client.ts | 3 +- .../codegen_grpc_gateway/cosmwasm/lcd.ts | 1 + .../cosmwasm/rpc.query.ts | 1 + .../codegen_grpc_gateway/cosmwasm/rpc.tx.ts | 1 + .../cosmwasm/wasm/v1/genesis.ts | 1 + .../cosmwasm/wasm/v1/ibc.ts | 1 + .../cosmwasm/wasm/v1/proposal.ts | 1 + .../cosmwasm/wasm/v1/query.lcd.ts | 1 + .../cosmwasm/wasm/v1/query.rpc.Query.ts | 1 + .../cosmwasm/wasm/v1/query.ts | 1 + .../cosmwasm/wasm/v1/tx.amino.ts | 1 + .../cosmwasm/wasm/v1/tx.registry.ts | 1 + .../cosmwasm/wasm/v1/tx.rpc.msg.ts | 1 + .../cosmwasm/wasm/v1/tx.ts | 1 + .../cosmwasm/wasm/v1/types.ts | 27 +- .../codegen_grpc_gateway/gogoproto/bundle.ts | 1 + .../codegen_grpc_gateway/google/api/auth.ts | 1 + .../google/api/backend.ts | 7 +- .../google/api/billing.ts | 1 + .../google/api/config_change.ts | 7 +- .../google/api/consumer.ts | 7 +- .../google/api/context.ts | 1 + .../google/api/control.ts | 1 + .../google/api/distribution.ts | 7 +- .../google/api/documentation.ts | 1 + .../google/api/endpoint.ts | 1 + .../google/api/error_reason.ts | 1 + .../v1alpha1/conformance_service.ts | 7 +- .../google/api/expr/v1alpha1/checked.ts | 1 + .../google/api/expr/v1alpha1/eval.ts | 1 + .../google/api/expr/v1alpha1/explain.ts | 1 + .../google/api/expr/v1alpha1/syntax.ts | 5 +- .../google/api/expr/v1alpha1/value.ts | 1 + .../google/api/expr/v1beta1/decl.ts | 1 + .../google/api/expr/v1beta1/eval.ts | 1 + .../google/api/expr/v1beta1/expr.ts | 1 + .../google/api/expr/v1beta1/source.ts | 1 + .../google/api/expr/v1beta1/value.ts | 1 + .../google/api/field_behavior.ts | 1 + .../codegen_grpc_gateway/google/api/http.ts | 1 + .../google/api/httpbody.ts | 1 + .../codegen_grpc_gateway/google/api/label.ts | 7 +- .../google/api/launch_stage.ts | 1 + .../codegen_grpc_gateway/google/api/log.ts | 1 + .../google/api/logging.ts | 1 + .../codegen_grpc_gateway/google/api/metric.ts | 29 +- .../google/api/monitored_resource.ts | 7 +- .../google/api/monitoring.ts | 1 + .../codegen_grpc_gateway/google/api/quota.ts | 1 + .../google/api/resource.ts | 7 +- .../google/api/routing.ts | 1 + .../google/api/service.ts | 1 + .../api/servicecontrol/v1/check_error.ts | 7 +- .../api/servicecontrol/v1/distribution.ts | 1 + .../api/servicecontrol/v1/http_request.ts | 3 +- .../google/api/servicecontrol/v1/log_entry.ts | 13 +- .../api/servicecontrol/v1/metric_value.ts | 13 +- .../google/api/servicecontrol/v1/operation.ts | 19 +- .../api/servicecontrol/v1/quota_controller.ts | 13 +- .../servicecontrol/v1/service_controller.ts | 7 +- .../servicecontrol/v2/service_controller.ts | 1 + .../api/servicemanagement/v1/resources.ts | 37 +- .../servicemanagement/v1/servicemanager.ts | 11 +- .../google/api/serviceusage/v1/resources.ts | 7 +- .../api/serviceusage/v1/serviceusage.ts | 7 +- .../api/serviceusage/v1beta1/resources.ts | 7 +- .../api/serviceusage/v1beta1/serviceusage.ts | 25 +- .../google/api/source_info.ts | 1 + .../google/api/system_parameter.ts | 1 + .../codegen_grpc_gateway/google/api/usage.ts | 1 + .../google/api/visibility.ts | 1 + .../codegen_grpc_gateway/google/bundle.ts | 1 + .../google/logging/type/http_request.ts | 3 +- .../google/logging/type/log_severity.ts | 1 + .../google/logging/v2/log_entry.ts | 19 +- .../google/logging/v2/logging.ts | 9 +- .../google/logging/v2/logging_config.ts | 79 +- .../google/logging/v2/logging_metrics.ts | 19 +- .../google/longrunning/operations.ts | 5 +- .../google/protobuf/any.ts | 5 +- .../google/protobuf/api.ts | 13 +- .../google/protobuf/compiler/plugin.ts | 1 + .../google/protobuf/descriptor.ts | 36 +- .../google/protobuf/duration.ts | 1 + .../google/protobuf/empty.ts | 1 + .../google/protobuf/field_mask.ts | 1 + .../google/protobuf/source_context.ts | 1 + .../google/protobuf/timestamp.ts | 13 +- .../google/protobuf/type.ts | 25 +- .../google/protobuf/wrappers.ts | 1 + .../codegen_grpc_gateway/google/rpc/code.ts | 1 + .../google/rpc/context/attribute_context.ts | 33 +- .../google/rpc/error_details.ts | 3 +- .../codegen_grpc_gateway/google/rpc/status.ts | 1 + .../codegen_grpc_gateway/grpc-gateway.ts | 27 +- .../codegen_grpc_gateway/helpers.ts | 35 +- .../ibc/applications/transfer/v1/genesis.ts | 1 + .../ibc/applications/transfer/v1/query.lcd.ts | 1 + .../transfer/v1/query.rpc.Query.ts | 1 + .../ibc/applications/transfer/v1/query.ts | 1 + .../ibc/applications/transfer/v1/transfer.ts | 1 + .../ibc/applications/transfer/v1/tx.amino.ts | 1 + .../applications/transfer/v1/tx.registry.ts | 1 + .../applications/transfer/v1/tx.rpc.msg.ts | 1 + .../ibc/applications/transfer/v1/tx.ts | 3 +- .../ibc/applications/transfer/v2/packet.ts | 1 + .../codegen_grpc_gateway/ibc/bundle.ts | 1 + .../codegen_grpc_gateway/ibc/client.ts | 3 +- .../ibc/core/channel/v1/channel.ts | 25 +- .../ibc/core/channel/v1/genesis.ts | 1 + .../ibc/core/channel/v1/query.lcd.ts | 1 + .../ibc/core/channel/v1/query.rpc.Query.ts | 1 + .../ibc/core/channel/v1/query.ts | 3 +- .../ibc/core/channel/v1/tx.amino.ts | 1 + .../ibc/core/channel/v1/tx.registry.ts | 1 + .../ibc/core/channel/v1/tx.rpc.msg.ts | 1 + .../ibc/core/channel/v1/tx.ts | 1 + .../ibc/core/client/v1/client.ts | 7 +- .../ibc/core/client/v1/genesis.ts | 1 + .../ibc/core/client/v1/query.lcd.ts | 1 + .../ibc/core/client/v1/query.rpc.Query.ts | 1 + .../ibc/core/client/v1/query.ts | 9 +- .../ibc/core/client/v1/tx.amino.ts | 1 + .../ibc/core/client/v1/tx.registry.ts | 1 + .../ibc/core/client/v1/tx.rpc.msg.ts | 1 + .../ibc/core/client/v1/tx.ts | 13 +- .../ibc/core/commitment/v1/commitment.ts | 1 + .../ibc/core/connection/v1/connection.ts | 13 +- .../ibc/core/connection/v1/genesis.ts | 1 + .../ibc/core/connection/v1/query.lcd.ts | 1 + .../ibc/core/connection/v1/query.rpc.Query.ts | 1 + .../ibc/core/connection/v1/query.ts | 3 +- .../ibc/core/connection/v1/tx.amino.ts | 1 + .../ibc/core/connection/v1/tx.registry.ts | 1 + .../ibc/core/connection/v1/tx.rpc.msg.ts | 1 + .../ibc/core/connection/v1/tx.ts | 5 +- .../ibc/core/port/v1/query.rpc.Query.ts | 1 + .../ibc/core/port/v1/query.ts | 7 +- .../codegen_grpc_gateway/ibc/lcd.ts | 1 + .../lightclients/localhost/v1/localhost.ts | 1 + .../solomachine/v1/solomachine.ts | 23 +- .../solomachine/v2/solomachine.ts | 23 +- .../lightclients/tendermint/v1/tendermint.ts | 13 +- .../codegen_grpc_gateway/ibc/rpc.query.ts | 1 + .../codegen_grpc_gateway/ibc/rpc.tx.ts | 1 + .../codegen_grpc_gateway/ics23/bundle.ts | 1 + .../codegen_grpc_gateway/index.ts | 5 +- .../tendermint/abci/types.ts | 37 +- .../codegen_grpc_gateway/tendermint/bundle.ts | 1 + .../tendermint/crypto/keys.ts | 1 + .../tendermint/crypto/proof.ts | 1 + .../tendermint/libs/bits/types.ts | 1 + .../tendermint/p2p/types.ts | 19 +- .../tendermint/types/block.ts | 1 + .../tendermint/types/evidence.ts | 13 +- .../tendermint/types/params.ts | 3 +- .../tendermint/types/types.ts | 43 +- .../tendermint/types/validator.ts | 1 + .../tendermint/version/types.ts | 1 + .../codegen_grpc_web/confio/proofs.ts | 37 +- .../cosmos/app/v1alpha1/config.ts | 3 +- .../cosmos/app/v1alpha1/module.ts | 1 + .../cosmos/app/v1alpha1/query.rpc.Query.ts | 1 + .../cosmos/app/v1alpha1/query.ts | 1 + .../cosmos/auth/v1beta1/auth.ts | 3 +- .../cosmos/auth/v1beta1/genesis.ts | 1 + .../cosmos/auth/v1beta1/query.lcd.ts | 1 + .../cosmos/auth/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/auth/v1beta1/query.ts | 3 +- .../cosmos/authz/v1beta1/authz.ts | 15 +- .../cosmos/authz/v1beta1/genesis.ts | 1 + .../cosmos/authz/v1beta1/query.lcd.ts | 1 + .../cosmos/authz/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/authz/v1beta1/query.ts | 1 + .../cosmos/authz/v1beta1/tx.amino.ts | 1 + .../cosmos/authz/v1beta1/tx.registry.ts | 1 + .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/authz/v1beta1/tx.ts | 1 + .../cosmos/bank/v1beta1/authz.ts | 1 + .../cosmos/bank/v1beta1/bank.ts | 1 + .../cosmos/bank/v1beta1/genesis.ts | 1 + .../cosmos/bank/v1beta1/query.lcd.ts | 1 + .../cosmos/bank/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/bank/v1beta1/query.ts | 7 +- .../cosmos/bank/v1beta1/tx.amino.ts | 1 + .../cosmos/bank/v1beta1/tx.registry.ts | 1 + .../cosmos/bank/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/bank/v1beta1/tx.ts | 1 + .../cosmos/base/abci/v1beta1/abci.ts | 3 +- .../cosmos/base/kv/v1beta1/kv.ts | 1 + .../cosmos/base/query/v1beta1/pagination.ts | 1 + .../base/reflection/v1beta1/reflection.ts | 1 + .../base/reflection/v2alpha1/reflection.ts | 1 + .../cosmos/base/snapshots/v1beta1/snapshot.ts | 1 + .../cosmos/base/store/v1beta1/commit_info.ts | 1 + .../cosmos/base/store/v1beta1/listening.ts | 1 + .../base/tendermint/v1beta1/query.lcd.ts | 1 + .../tendermint/v1beta1/query.rpc.Service.ts | 1 + .../cosmos/base/tendermint/v1beta1/query.ts | 3 +- .../cosmos/base/v1beta1/coin.ts | 1 + .../codegen_grpc_web/cosmos/bundle.ts | 1 + .../cosmos/capability/v1beta1/capability.ts | 1 + .../cosmos/capability/v1beta1/genesis.ts | 1 + .../codegen_grpc_web/cosmos/client.ts | 3 +- .../cosmos/crisis/v1beta1/genesis.ts | 3 +- .../cosmos/crisis/v1beta1/tx.amino.ts | 1 + .../cosmos/crisis/v1beta1/tx.registry.ts | 1 + .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/crisis/v1beta1/tx.ts | 1 + .../cosmos/crypto/ed25519/keys.ts | 1 + .../cosmos/crypto/hd/v1/hd.ts | 1 + .../cosmos/crypto/keyring/v1/record.ts | 5 +- .../cosmos/crypto/multisig/keys.ts | 1 + .../crypto/multisig/v1beta1/multisig.ts | 1 + .../cosmos/crypto/secp256k1/keys.ts | 1 + .../cosmos/crypto/secp256r1/keys.ts | 1 + .../distribution/v1beta1/distribution.ts | 1 + .../cosmos/distribution/v1beta1/genesis.ts | 1 + .../cosmos/distribution/v1beta1/query.lcd.ts | 1 + .../distribution/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/distribution/v1beta1/query.ts | 1 + .../cosmos/distribution/v1beta1/tx.amino.ts | 1 + .../distribution/v1beta1/tx.registry.ts | 1 + .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/distribution/v1beta1/tx.ts | 1 + .../cosmos/evidence/v1beta1/evidence.ts | 7 +- .../cosmos/evidence/v1beta1/genesis.ts | 1 + .../cosmos/evidence/v1beta1/query.lcd.ts | 1 + .../evidence/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/evidence/v1beta1/query.ts | 3 +- .../cosmos/evidence/v1beta1/tx.amino.ts | 1 + .../cosmos/evidence/v1beta1/tx.registry.ts | 1 + .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/evidence/v1beta1/tx.ts | 3 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 19 +- .../cosmos/feegrant/v1beta1/genesis.ts | 1 + .../cosmos/feegrant/v1beta1/query.lcd.ts | 1 + .../feegrant/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/feegrant/v1beta1/query.ts | 1 + .../cosmos/feegrant/v1beta1/tx.amino.ts | 1 + .../cosmos/feegrant/v1beta1/tx.registry.ts | 1 + .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/feegrant/v1beta1/tx.ts | 3 +- .../cosmos/genutil/v1beta1/genesis.ts | 1 + .../codegen_grpc_web/cosmos/gov/v1/genesis.ts | 1 + .../codegen_grpc_web/cosmos/gov/v1/gov.ts | 41 +- .../cosmos/gov/v1/query.lcd.ts | 1 + .../cosmos/gov/v1/query.rpc.Query.ts | 1 + .../codegen_grpc_web/cosmos/gov/v1/query.ts | 7 +- .../cosmos/gov/v1/tx.amino.ts | 1 + .../cosmos/gov/v1/tx.registry.ts | 1 + .../cosmos/gov/v1/tx.rpc.msg.ts | 1 + .../codegen_grpc_web/cosmos/gov/v1/tx.ts | 9 +- .../cosmos/gov/v1beta1/genesis.ts | 1 + .../cosmos/gov/v1beta1/gov.ts | 49 +- .../cosmos/gov/v1beta1/query.lcd.ts | 1 + .../cosmos/gov/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/gov/v1beta1/query.ts | 7 +- .../cosmos/gov/v1beta1/tx.amino.ts | 1 + .../cosmos/gov/v1beta1/tx.registry.ts | 1 + .../cosmos/gov/v1beta1/tx.rpc.msg.ts | 1 + .../codegen_grpc_web/cosmos/gov/v1beta1/tx.ts | 9 +- .../cosmos/group/v1/events.ts | 7 +- .../cosmos/group/v1/genesis.ts | 1 + .../cosmos/group/v1/query.lcd.ts | 1 + .../cosmos/group/v1/query.rpc.Query.ts | 1 + .../codegen_grpc_web/cosmos/group/v1/query.ts | 1 + .../cosmos/group/v1/tx.amino.ts | 1 + .../cosmos/group/v1/tx.registry.ts | 1 + .../cosmos/group/v1/tx.rpc.msg.ts | 1 + .../codegen_grpc_web/cosmos/group/v1/tx.ts | 25 +- .../codegen_grpc_web/cosmos/group/v1/types.ts | 67 +- .../codegen_grpc_web/cosmos/lcd.ts | 1 + .../cosmos/mint/v1beta1/genesis.ts | 1 + .../cosmos/mint/v1beta1/mint.ts | 1 + .../cosmos/mint/v1beta1/query.lcd.ts | 1 + .../cosmos/mint/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/mint/v1beta1/query.ts | 1 + .../cosmos/nft/v1beta1/event.ts | 1 + .../cosmos/nft/v1beta1/genesis.ts | 1 + .../cosmos/nft/v1beta1/nft.ts | 5 +- .../cosmos/nft/v1beta1/query.lcd.ts | 1 + .../cosmos/nft/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/nft/v1beta1/query.ts | 1 + .../cosmos/nft/v1beta1/tx.amino.ts | 1 + .../cosmos/nft/v1beta1/tx.registry.ts | 1 + .../cosmos/nft/v1beta1/tx.rpc.msg.ts | 1 + .../codegen_grpc_web/cosmos/nft/v1beta1/tx.ts | 1 + .../cosmos/orm/module/v1alpha1/module.ts | 1 + .../codegen_grpc_web/cosmos/orm/v1/orm.ts | 1 + .../cosmos/orm/v1alpha1/schema.ts | 7 +- .../cosmos/params/v1beta1/params.ts | 1 + .../cosmos/params/v1beta1/query.lcd.ts | 1 + .../cosmos/params/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/params/v1beta1/query.ts | 1 + .../codegen_grpc_web/cosmos/rpc.query.ts | 1 + .../codegen_grpc_web/cosmos/rpc.tx.ts | 1 + .../cosmos/slashing/v1beta1/genesis.ts | 1 + .../cosmos/slashing/v1beta1/query.lcd.ts | 1 + .../slashing/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/slashing/v1beta1/query.ts | 1 + .../cosmos/slashing/v1beta1/slashing.ts | 9 +- .../cosmos/slashing/v1beta1/tx.amino.ts | 1 + .../cosmos/slashing/v1beta1/tx.registry.ts | 1 + .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/slashing/v1beta1/tx.ts | 1 + .../cosmos/staking/v1beta1/authz.ts | 9 +- .../cosmos/staking/v1beta1/genesis.ts | 1 + .../cosmos/staking/v1beta1/query.lcd.ts | 1 + .../cosmos/staking/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/staking/v1beta1/query.ts | 1 + .../cosmos/staking/v1beta1/staking.ts | 37 +- .../cosmos/staking/v1beta1/tx.amino.ts | 1 + .../cosmos/staking/v1beta1/tx.registry.ts | 1 + .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/staking/v1beta1/tx.ts | 23 +- .../cosmos/tx/signing/v1beta1/signing.ts | 9 +- .../cosmos/tx/v1beta1/service.lcd.ts | 1 + .../cosmos/tx/v1beta1/service.rpc.Service.ts | 1 + .../cosmos/tx/v1beta1/service.ts | 13 +- .../codegen_grpc_web/cosmos/tx/v1beta1/tx.ts | 17 +- .../cosmos/upgrade/v1beta1/query.lcd.ts | 1 + .../cosmos/upgrade/v1beta1/query.rpc.Query.ts | 1 + .../cosmos/upgrade/v1beta1/query.ts | 1 + .../cosmos/upgrade/v1beta1/tx.amino.ts | 1 + .../cosmos/upgrade/v1beta1/tx.registry.ts | 1 + .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/upgrade/v1beta1/tx.ts | 1 + .../cosmos/upgrade/v1beta1/upgrade.ts | 9 +- .../cosmos/vesting/v1beta1/tx.amino.ts | 1 + .../cosmos/vesting/v1beta1/tx.registry.ts | 1 + .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 1 + .../cosmos/vesting/v1beta1/tx.ts | 1 + .../cosmos/vesting/v1beta1/vesting.ts | 1 + .../codegen_grpc_web/cosmos_proto/bundle.ts | 1 + .../codegen_grpc_web/cosmos_proto/cosmos.ts | 1 + .../codegen_grpc_web/cosmwasm/bundle.ts | 1 + .../codegen_grpc_web/cosmwasm/client.ts | 3 +- .../codegen_grpc_web/cosmwasm/lcd.ts | 1 + .../codegen_grpc_web/cosmwasm/rpc.query.ts | 1 + .../codegen_grpc_web/cosmwasm/rpc.tx.ts | 1 + .../cosmwasm/wasm/v1/genesis.ts | 1 + .../codegen_grpc_web/cosmwasm/wasm/v1/ibc.ts | 1 + .../cosmwasm/wasm/v1/proposal.ts | 1 + .../cosmwasm/wasm/v1/query.lcd.ts | 1 + .../cosmwasm/wasm/v1/query.rpc.Query.ts | 1 + .../cosmwasm/wasm/v1/query.ts | 1 + .../cosmwasm/wasm/v1/tx.amino.ts | 1 + .../cosmwasm/wasm/v1/tx.registry.ts | 1 + .../cosmwasm/wasm/v1/tx.rpc.msg.ts | 1 + .../codegen_grpc_web/cosmwasm/wasm/v1/tx.ts | 1 + .../cosmwasm/wasm/v1/types.ts | 27 +- .../codegen_grpc_web/gogoproto/bundle.ts | 1 + .../codegen_grpc_web/google/api/auth.ts | 1 + .../codegen_grpc_web/google/api/backend.ts | 7 +- .../codegen_grpc_web/google/api/billing.ts | 1 + .../google/api/config_change.ts | 7 +- .../codegen_grpc_web/google/api/consumer.ts | 7 +- .../codegen_grpc_web/google/api/context.ts | 1 + .../codegen_grpc_web/google/api/control.ts | 1 + .../google/api/distribution.ts | 7 +- .../google/api/documentation.ts | 1 + .../codegen_grpc_web/google/api/endpoint.ts | 1 + .../google/api/error_reason.ts | 1 + .../v1alpha1/conformance_service.ts | 7 +- .../google/api/expr/v1alpha1/checked.ts | 1 + .../google/api/expr/v1alpha1/eval.ts | 1 + .../google/api/expr/v1alpha1/explain.ts | 1 + .../google/api/expr/v1alpha1/syntax.ts | 5 +- .../google/api/expr/v1alpha1/value.ts | 1 + .../google/api/expr/v1beta1/decl.ts | 1 + .../google/api/expr/v1beta1/eval.ts | 1 + .../google/api/expr/v1beta1/expr.ts | 1 + .../google/api/expr/v1beta1/source.ts | 1 + .../google/api/expr/v1beta1/value.ts | 1 + .../google/api/field_behavior.ts | 1 + .../codegen_grpc_web/google/api/http.ts | 1 + .../codegen_grpc_web/google/api/httpbody.ts | 1 + .../codegen_grpc_web/google/api/label.ts | 7 +- .../google/api/launch_stage.ts | 1 + .../codegen_grpc_web/google/api/log.ts | 1 + .../codegen_grpc_web/google/api/logging.ts | 1 + .../codegen_grpc_web/google/api/metric.ts | 29 +- .../google/api/monitored_resource.ts | 7 +- .../codegen_grpc_web/google/api/monitoring.ts | 1 + .../codegen_grpc_web/google/api/quota.ts | 1 + .../codegen_grpc_web/google/api/resource.ts | 7 +- .../codegen_grpc_web/google/api/routing.ts | 1 + .../codegen_grpc_web/google/api/service.ts | 1 + .../api/servicecontrol/v1/check_error.ts | 7 +- .../api/servicecontrol/v1/distribution.ts | 1 + .../api/servicecontrol/v1/http_request.ts | 3 +- .../google/api/servicecontrol/v1/log_entry.ts | 13 +- .../api/servicecontrol/v1/metric_value.ts | 13 +- .../google/api/servicecontrol/v1/operation.ts | 19 +- .../api/servicecontrol/v1/quota_controller.ts | 13 +- .../servicecontrol/v1/service_controller.ts | 7 +- .../servicecontrol/v2/service_controller.ts | 1 + .../api/servicemanagement/v1/resources.ts | 37 +- .../servicemanagement/v1/servicemanager.ts | 11 +- .../google/api/serviceusage/v1/resources.ts | 7 +- .../api/serviceusage/v1/serviceusage.ts | 7 +- .../api/serviceusage/v1beta1/resources.ts | 7 +- .../api/serviceusage/v1beta1/serviceusage.ts | 25 +- .../google/api/source_info.ts | 1 + .../google/api/system_parameter.ts | 1 + .../codegen_grpc_web/google/api/usage.ts | 1 + .../codegen_grpc_web/google/api/visibility.ts | 1 + .../codegen_grpc_web/google/bundle.ts | 1 + .../google/logging/type/http_request.ts | 3 +- .../google/logging/type/log_severity.ts | 1 + .../google/logging/v2/log_entry.ts | 19 +- .../google/logging/v2/logging.ts | 9 +- .../google/logging/v2/logging_config.ts | 79 +- .../google/logging/v2/logging_metrics.ts | 19 +- .../google/longrunning/operations.ts | 5 +- .../codegen_grpc_web/google/protobuf/any.ts | 5 +- .../codegen_grpc_web/google/protobuf/api.ts | 13 +- .../google/protobuf/compiler/plugin.ts | 1 + .../google/protobuf/descriptor.ts | 36 +- .../google/protobuf/duration.ts | 1 + .../codegen_grpc_web/google/protobuf/empty.ts | 1 + .../google/protobuf/field_mask.ts | 1 + .../google/protobuf/source_context.ts | 1 + .../google/protobuf/timestamp.ts | 13 +- .../codegen_grpc_web/google/protobuf/type.ts | 25 +- .../google/protobuf/wrappers.ts | 1 + .../codegen_grpc_web/google/rpc/code.ts | 1 + .../google/rpc/context/attribute_context.ts | 33 +- .../google/rpc/error_details.ts | 3 +- .../codegen_grpc_web/google/rpc/status.ts | 1 + .../codegen_grpc_web/grpc-web.ts | 3 +- .../codegen_grpc_web/helpers.ts | 35 +- .../ibc/applications/transfer/v1/genesis.ts | 1 + .../ibc/applications/transfer/v1/query.lcd.ts | 1 + .../transfer/v1/query.rpc.Query.ts | 1 + .../ibc/applications/transfer/v1/query.ts | 1 + .../ibc/applications/transfer/v1/transfer.ts | 1 + .../ibc/applications/transfer/v1/tx.amino.ts | 1 + .../applications/transfer/v1/tx.registry.ts | 1 + .../applications/transfer/v1/tx.rpc.msg.ts | 1 + .../ibc/applications/transfer/v1/tx.ts | 3 +- .../ibc/applications/transfer/v2/packet.ts | 1 + .../codegen_grpc_web/ibc/bundle.ts | 1 + .../codegen_grpc_web/ibc/client.ts | 3 +- .../ibc/core/channel/v1/channel.ts | 25 +- .../ibc/core/channel/v1/genesis.ts | 1 + .../ibc/core/channel/v1/query.lcd.ts | 1 + .../ibc/core/channel/v1/query.rpc.Query.ts | 1 + .../ibc/core/channel/v1/query.ts | 3 +- .../ibc/core/channel/v1/tx.amino.ts | 1 + .../ibc/core/channel/v1/tx.registry.ts | 1 + .../ibc/core/channel/v1/tx.rpc.msg.ts | 1 + .../ibc/core/channel/v1/tx.ts | 1 + .../ibc/core/client/v1/client.ts | 7 +- .../ibc/core/client/v1/genesis.ts | 1 + .../ibc/core/client/v1/query.lcd.ts | 1 + .../ibc/core/client/v1/query.rpc.Query.ts | 1 + .../ibc/core/client/v1/query.ts | 9 +- .../ibc/core/client/v1/tx.amino.ts | 1 + .../ibc/core/client/v1/tx.registry.ts | 1 + .../ibc/core/client/v1/tx.rpc.msg.ts | 1 + .../codegen_grpc_web/ibc/core/client/v1/tx.ts | 13 +- .../ibc/core/commitment/v1/commitment.ts | 1 + .../ibc/core/connection/v1/connection.ts | 13 +- .../ibc/core/connection/v1/genesis.ts | 1 + .../ibc/core/connection/v1/query.lcd.ts | 1 + .../ibc/core/connection/v1/query.rpc.Query.ts | 1 + .../ibc/core/connection/v1/query.ts | 3 +- .../ibc/core/connection/v1/tx.amino.ts | 1 + .../ibc/core/connection/v1/tx.registry.ts | 1 + .../ibc/core/connection/v1/tx.rpc.msg.ts | 1 + .../ibc/core/connection/v1/tx.ts | 5 +- .../ibc/core/port/v1/query.rpc.Query.ts | 1 + .../ibc/core/port/v1/query.ts | 7 +- .../codegen_grpc_web/ibc/lcd.ts | 1 + .../lightclients/localhost/v1/localhost.ts | 1 + .../solomachine/v1/solomachine.ts | 23 +- .../solomachine/v2/solomachine.ts | 23 +- .../lightclients/tendermint/v1/tendermint.ts | 13 +- .../codegen_grpc_web/ibc/rpc.query.ts | 1 + .../codegen_grpc_web/ibc/rpc.tx.ts | 1 + .../codegen_grpc_web/ics23/bundle.ts | 1 + .../codegen_grpc_web/index.ts | 5 +- .../codegen_grpc_web/tendermint/abci/types.ts | 37 +- .../codegen_grpc_web/tendermint/bundle.ts | 1 + .../tendermint/crypto/keys.ts | 1 + .../tendermint/crypto/proof.ts | 1 + .../tendermint/libs/bits/types.ts | 1 + .../codegen_grpc_web/tendermint/p2p/types.ts | 19 +- .../tendermint/types/block.ts | 1 + .../tendermint/types/evidence.ts | 13 +- .../tendermint/types/params.ts | 3 +- .../tendermint/types/types.ts | 43 +- .../tendermint/types/validator.ts | 1 + .../tendermint/version/types.ts | 1 + examples/grpc-web-grpc-gateway/package.json | 1 + .../scripts/codegen-grpc-gateway.js | 7 +- .../scripts/codegen-grpc-web.js | 7 +- examples/ibc-transfer/package.json | 2 +- 1233 files changed, 1926 insertions(+), 136337 deletions(-) delete mode 100644 examples/asset-list-chakra/.eslintrc.json delete mode 100644 examples/asset-list-chakra/.gitignore delete mode 100644 examples/asset-list-chakra/CHANGELOG.md delete mode 100644 examples/asset-list-chakra/README.md delete mode 100644 examples/asset-list-chakra/components/asset-list/AmountInput.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/AssetListSection.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/AssetsOverview.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/Buttons.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/ChainAssetsList.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/DropdownInput.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/DropdownTransferModal.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/TransferModal.tsx delete mode 100644 examples/asset-list-chakra/components/asset-list/index.ts delete mode 100644 examples/asset-list-chakra/components/asset-list/types.tsx delete mode 100644 examples/asset-list-chakra/components/common/Footer.tsx delete mode 100644 examples/asset-list-chakra/components/common/Header.tsx delete mode 100644 examples/asset-list-chakra/components/common/Layout.tsx delete mode 100644 examples/asset-list-chakra/components/common/index.ts delete mode 100644 examples/asset-list-chakra/components/index.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/AddressCard.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/Astronaut.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/ChainCard.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/ChainDropdown.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/ChooseChain.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/UserInfo.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/Wallet.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/WalletConnect.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/WarnBlock.tsx delete mode 100644 examples/asset-list-chakra/components/wallet/index.ts delete mode 100644 examples/asset-list-chakra/config/defaults.ts delete mode 100644 examples/asset-list-chakra/config/features.ts delete mode 100644 examples/asset-list-chakra/config/index.ts delete mode 100644 examples/asset-list-chakra/config/theme.ts delete mode 100644 examples/asset-list-chakra/hooks/index.ts delete mode 100644 examples/asset-list-chakra/hooks/queries/index.ts delete mode 100644 examples/asset-list-chakra/hooks/queries/useAssets.ts delete mode 100644 examples/asset-list-chakra/hooks/queries/useBalance.ts delete mode 100644 examples/asset-list-chakra/hooks/queries/usePrices.ts delete mode 100644 examples/asset-list-chakra/hooks/queries/useQueryHooks.ts delete mode 100644 examples/asset-list-chakra/hooks/queries/useTopTokens.ts delete mode 100644 examples/asset-list-chakra/hooks/queries/useTotalAssets.ts delete mode 100644 examples/asset-list-chakra/hooks/useChainUtils.ts delete mode 100644 examples/asset-list-chakra/hooks/useToaster.tsx delete mode 100644 examples/asset-list-chakra/hooks/useTx.ts delete mode 100644 examples/asset-list-chakra/next.config.js delete mode 100644 examples/asset-list-chakra/package.json delete mode 100644 examples/asset-list-chakra/pages/_app.tsx delete mode 100644 examples/asset-list-chakra/pages/index.tsx delete mode 100644 examples/asset-list-chakra/pages/multi-chain.tsx delete mode 100644 examples/asset-list-chakra/pages/single-chain.tsx delete mode 100644 examples/asset-list-chakra/public/favicon.ico delete mode 100644 examples/asset-list-chakra/styles/Home.module.css delete mode 100644 examples/asset-list-chakra/styles/globals.css delete mode 100644 examples/asset-list-chakra/tsconfig.json delete mode 100644 examples/asset-list-chakra/utils/assets.ts delete mode 100644 examples/asset-list-chakra/utils/base.ts delete mode 100644 examples/asset-list-chakra/utils/format.ts delete mode 100644 examples/asset-list-chakra/utils/index.ts delete mode 100644 examples/asset-list-chakra/utils/pool.ts delete mode 100644 examples/asset-list-chakra/utils/types.ts delete mode 100644 examples/asset-list-chakra/yarn.lock delete mode 100644 examples/contracts/.eslintrc.json delete mode 100644 examples/contracts/.gitignore delete mode 100644 examples/contracts/CHANGELOG.md delete mode 100644 examples/contracts/README.md delete mode 100644 examples/contracts/codegen/JunoSwap.client.ts delete mode 100644 examples/contracts/codegen/JunoSwap.types.ts delete mode 100644 examples/contracts/codegen/confio/proofs.ts delete mode 100644 examples/contracts/codegen/contracts.ts delete mode 100644 examples/contracts/codegen/cosmos/app/v1alpha1/config.ts delete mode 100644 examples/contracts/codegen/cosmos/app/v1alpha1/module.ts delete mode 100644 examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/app/v1alpha1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/auth/v1beta1/auth.ts delete mode 100644 examples/contracts/codegen/cosmos/auth/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/auth/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/auth/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/auth/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/authz.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/event.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/authz/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/authz.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/bank.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/bank/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/base/abci/v1beta1/abci.ts delete mode 100644 examples/contracts/codegen/cosmos/base/kv/v1beta1/kv.ts delete mode 100644 examples/contracts/codegen/cosmos/base/query/v1beta1/pagination.ts delete mode 100644 examples/contracts/codegen/cosmos/base/reflection/v1beta1/reflection.ts delete mode 100644 examples/contracts/codegen/cosmos/base/reflection/v2alpha1/reflection.ts delete mode 100644 examples/contracts/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts delete mode 100644 examples/contracts/codegen/cosmos/base/store/v1beta1/commit_info.ts delete mode 100644 examples/contracts/codegen/cosmos/base/store/v1beta1/listening.ts delete mode 100644 examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts delete mode 100644 examples/contracts/codegen/cosmos/base/tendermint/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/base/v1beta1/coin.ts delete mode 100644 examples/contracts/codegen/cosmos/bundle.ts delete mode 100644 examples/contracts/codegen/cosmos/capability/v1beta1/capability.ts delete mode 100644 examples/contracts/codegen/cosmos/capability/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/client.ts delete mode 100644 examples/contracts/codegen/cosmos/crisis/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/crisis/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/crisis/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/crisis/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/crypto/ed25519/keys.ts delete mode 100644 examples/contracts/codegen/cosmos/crypto/hd/v1/hd.ts delete mode 100644 examples/contracts/codegen/cosmos/crypto/keyring/v1/record.ts delete mode 100644 examples/contracts/codegen/cosmos/crypto/multisig/keys.ts delete mode 100644 examples/contracts/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts delete mode 100644 examples/contracts/codegen/cosmos/crypto/secp256k1/keys.ts delete mode 100644 examples/contracts/codegen/cosmos/crypto/secp256r1/keys.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/distribution.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/distribution/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/evidence.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/evidence/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/feegrant.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/feegrant/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/genutil/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/gov.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/gov.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/gov/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/events.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/group/v1/types.ts delete mode 100644 examples/contracts/codegen/cosmos/lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/mint/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/mint/v1beta1/mint.ts delete mode 100644 examples/contracts/codegen/cosmos/mint/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/mint/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/mint/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/msg/v1/msg.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/event.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/nft.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/nft/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/orm/v1/orm.ts delete mode 100644 examples/contracts/codegen/cosmos/orm/v1alpha1/schema.ts delete mode 100644 examples/contracts/codegen/cosmos/params/v1beta1/params.ts delete mode 100644 examples/contracts/codegen/cosmos/params/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/params/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/params/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/rpc.tx.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/slashing.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/slashing/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/authz.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/staking.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/staking/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/tx/signing/v1beta1/signing.ts delete mode 100644 examples/contracts/codegen/cosmos/tx/v1beta1/service.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts delete mode 100644 examples/contracts/codegen/cosmos/tx/v1beta1/service.ts delete mode 100644 examples/contracts/codegen/cosmos/tx/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/query.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/upgrade/v1beta1/upgrade.ts delete mode 100644 examples/contracts/codegen/cosmos/vesting/v1beta1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmos/vesting/v1beta1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmos/vesting/v1beta1/tx.ts delete mode 100644 examples/contracts/codegen/cosmos/vesting/v1beta1/vesting.ts delete mode 100644 examples/contracts/codegen/cosmos_proto/bundle.ts delete mode 100644 examples/contracts/codegen/cosmos_proto/cosmos.ts delete mode 100644 examples/contracts/codegen/cosmwasm/bundle.ts delete mode 100644 examples/contracts/codegen/cosmwasm/client.ts delete mode 100644 examples/contracts/codegen/cosmwasm/lcd.ts delete mode 100644 examples/contracts/codegen/cosmwasm/rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmwasm/rpc.tx.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/genesis.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/ibc.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/proposal.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/query.lcd.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/query.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/tx.amino.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/tx.registry.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/tx.ts delete mode 100644 examples/contracts/codegen/cosmwasm/wasm/v1/types.ts delete mode 100644 examples/contracts/codegen/gogoproto/bundle.ts delete mode 100644 examples/contracts/codegen/gogoproto/gogo.ts delete mode 100644 examples/contracts/codegen/google/api/annotations.ts delete mode 100644 examples/contracts/codegen/google/api/http.ts delete mode 100644 examples/contracts/codegen/google/bundle.ts delete mode 100644 examples/contracts/codegen/google/protobuf/any.ts delete mode 100644 examples/contracts/codegen/google/protobuf/descriptor.ts delete mode 100644 examples/contracts/codegen/google/protobuf/duration.ts delete mode 100644 examples/contracts/codegen/google/protobuf/empty.ts delete mode 100644 examples/contracts/codegen/google/protobuf/timestamp.ts delete mode 100644 examples/contracts/codegen/helpers.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/genesis.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/query.lcd.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/query.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/transfer.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/tx.amino.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/tx.registry.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v1/tx.ts delete mode 100644 examples/contracts/codegen/ibc/applications/transfer/v2/packet.ts delete mode 100644 examples/contracts/codegen/ibc/bundle.ts delete mode 100644 examples/contracts/codegen/ibc/client.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/channel.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/genesis.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/query.lcd.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/query.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/tx.amino.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/tx.registry.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/ibc/core/channel/v1/tx.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/client.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/genesis.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/query.lcd.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/query.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/tx.amino.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/tx.registry.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/ibc/core/client/v1/tx.ts delete mode 100644 examples/contracts/codegen/ibc/core/commitment/v1/commitment.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/connection.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/genesis.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/query.lcd.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/query.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/tx.amino.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/tx.registry.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/tx.rpc.msg.ts delete mode 100644 examples/contracts/codegen/ibc/core/connection/v1/tx.ts delete mode 100644 examples/contracts/codegen/ibc/core/port/v1/query.rpc.query.ts delete mode 100644 examples/contracts/codegen/ibc/core/port/v1/query.ts delete mode 100644 examples/contracts/codegen/ibc/core/types/v1/genesis.ts delete mode 100644 examples/contracts/codegen/ibc/lcd.ts delete mode 100644 examples/contracts/codegen/ibc/lightclients/localhost/v1/localhost.ts delete mode 100644 examples/contracts/codegen/ibc/lightclients/solomachine/v1/solomachine.ts delete mode 100644 examples/contracts/codegen/ibc/lightclients/solomachine/v2/solomachine.ts delete mode 100644 examples/contracts/codegen/ibc/lightclients/tendermint/v1/tendermint.ts delete mode 100644 examples/contracts/codegen/ibc/rpc.query.ts delete mode 100644 examples/contracts/codegen/ibc/rpc.tx.ts delete mode 100644 examples/contracts/codegen/ics23/bundle.ts delete mode 100644 examples/contracts/codegen/index.ts delete mode 100644 examples/contracts/codegen/tendermint/abci/types.ts delete mode 100644 examples/contracts/codegen/tendermint/bundle.ts delete mode 100644 examples/contracts/codegen/tendermint/crypto/keys.ts delete mode 100644 examples/contracts/codegen/tendermint/crypto/proof.ts delete mode 100644 examples/contracts/codegen/tendermint/libs/bits/types.ts delete mode 100644 examples/contracts/codegen/tendermint/p2p/types.ts delete mode 100644 examples/contracts/codegen/tendermint/types/block.ts delete mode 100644 examples/contracts/codegen/tendermint/types/evidence.ts delete mode 100644 examples/contracts/codegen/tendermint/types/params.ts delete mode 100644 examples/contracts/codegen/tendermint/types/types.ts delete mode 100644 examples/contracts/codegen/tendermint/types/validator.ts delete mode 100644 examples/contracts/codegen/tendermint/version/types.ts delete mode 100644 examples/contracts/components/features.tsx delete mode 100644 examples/contracts/components/index.tsx delete mode 100644 examples/contracts/components/react/address-card.tsx delete mode 100644 examples/contracts/components/react/astronaut.tsx delete mode 100644 examples/contracts/components/react/chain-card.tsx delete mode 100644 examples/contracts/components/react/index.ts delete mode 100644 examples/contracts/components/react/user-card.tsx delete mode 100644 examples/contracts/components/react/wallet-connect.tsx delete mode 100644 examples/contracts/components/react/warn-block.tsx delete mode 100644 examples/contracts/components/types.tsx delete mode 100644 examples/contracts/components/wallet.tsx delete mode 100644 examples/contracts/config/defaults.ts delete mode 100644 examples/contracts/config/features.ts delete mode 100644 examples/contracts/config/index.ts delete mode 100644 examples/contracts/config/theme.ts delete mode 100644 examples/contracts/contracts/wasmswap/LICENSE delete mode 100644 examples/contracts/contracts/wasmswap/README.md delete mode 100644 examples/contracts/contracts/wasmswap/package.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/balance_response.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/execute_msg.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/info_response.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/instantiate_msg.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/query_msg.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/token.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/token1_for_token2_price_response.json delete mode 100644 examples/contracts/contracts/wasmswap/schema/token2_for_token1_price_response.json delete mode 100644 examples/contracts/next.config.js delete mode 100644 examples/contracts/package.json delete mode 100644 examples/contracts/pages/_app.tsx delete mode 100644 examples/contracts/pages/index.tsx delete mode 100644 examples/contracts/proto/confio/LICENSE delete mode 100644 examples/contracts/proto/confio/README.md delete mode 100644 examples/contracts/proto/confio/proofs.proto delete mode 100644 examples/contracts/proto/cosmos/LICENSE delete mode 100644 examples/contracts/proto/cosmos/README.md delete mode 100644 examples/contracts/proto/cosmos/app/v1alpha1/config.proto delete mode 100644 examples/contracts/proto/cosmos/app/v1alpha1/module.proto delete mode 100644 examples/contracts/proto/cosmos/app/v1alpha1/query.proto delete mode 100644 examples/contracts/proto/cosmos/auth/v1beta1/auth.proto delete mode 100644 examples/contracts/proto/cosmos/auth/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/auth/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/authz/v1beta1/authz.proto delete mode 100644 examples/contracts/proto/cosmos/authz/v1beta1/event.proto delete mode 100644 examples/contracts/proto/cosmos/authz/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/authz/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/authz/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/bank/v1beta1/authz.proto delete mode 100644 examples/contracts/proto/cosmos/bank/v1beta1/bank.proto delete mode 100644 examples/contracts/proto/cosmos/bank/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/bank/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/bank/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/base/abci/v1beta1/abci.proto delete mode 100644 examples/contracts/proto/cosmos/base/kv/v1beta1/kv.proto delete mode 100644 examples/contracts/proto/cosmos/base/query/v1beta1/pagination.proto delete mode 100644 examples/contracts/proto/cosmos/base/reflection/v1beta1/reflection.proto delete mode 100644 examples/contracts/proto/cosmos/base/reflection/v2alpha1/reflection.proto delete mode 100644 examples/contracts/proto/cosmos/base/snapshots/v1beta1/snapshot.proto delete mode 100644 examples/contracts/proto/cosmos/base/store/v1beta1/commit_info.proto delete mode 100644 examples/contracts/proto/cosmos/base/store/v1beta1/listening.proto delete mode 100644 examples/contracts/proto/cosmos/base/tendermint/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/base/v1beta1/coin.proto delete mode 100644 examples/contracts/proto/cosmos/capability/v1beta1/capability.proto delete mode 100644 examples/contracts/proto/cosmos/capability/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/crisis/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/crisis/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/crypto/ed25519/keys.proto delete mode 100644 examples/contracts/proto/cosmos/crypto/hd/v1/hd.proto delete mode 100644 examples/contracts/proto/cosmos/crypto/keyring/v1/record.proto delete mode 100644 examples/contracts/proto/cosmos/crypto/multisig/keys.proto delete mode 100644 examples/contracts/proto/cosmos/crypto/multisig/v1beta1/multisig.proto delete mode 100644 examples/contracts/proto/cosmos/crypto/secp256k1/keys.proto delete mode 100644 examples/contracts/proto/cosmos/crypto/secp256r1/keys.proto delete mode 100644 examples/contracts/proto/cosmos/distribution/v1beta1/distribution.proto delete mode 100644 examples/contracts/proto/cosmos/distribution/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/distribution/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/distribution/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/evidence/v1beta1/evidence.proto delete mode 100644 examples/contracts/proto/cosmos/evidence/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/evidence/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/evidence/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/feegrant/v1beta1/feegrant.proto delete mode 100644 examples/contracts/proto/cosmos/feegrant/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/feegrant/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/feegrant/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/genutil/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1/gov.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1/query.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1beta1/gov.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/gov/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/group/v1/events.proto delete mode 100644 examples/contracts/proto/cosmos/group/v1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/group/v1/query.proto delete mode 100644 examples/contracts/proto/cosmos/group/v1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/group/v1/types.proto delete mode 100644 examples/contracts/proto/cosmos/mint/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/mint/v1beta1/mint.proto delete mode 100644 examples/contracts/proto/cosmos/mint/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/msg/v1/msg.proto delete mode 100644 examples/contracts/proto/cosmos/nft/v1beta1/event.proto delete mode 100644 examples/contracts/proto/cosmos/nft/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/nft/v1beta1/nft.proto delete mode 100644 examples/contracts/proto/cosmos/nft/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/nft/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/orm/v1/orm.proto delete mode 100644 examples/contracts/proto/cosmos/orm/v1alpha1/schema.proto delete mode 100644 examples/contracts/proto/cosmos/params/v1beta1/params.proto delete mode 100644 examples/contracts/proto/cosmos/params/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/slashing/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/slashing/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/slashing/v1beta1/slashing.proto delete mode 100644 examples/contracts/proto/cosmos/slashing/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/staking/v1beta1/authz.proto delete mode 100644 examples/contracts/proto/cosmos/staking/v1beta1/genesis.proto delete mode 100644 examples/contracts/proto/cosmos/staking/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/staking/v1beta1/staking.proto delete mode 100644 examples/contracts/proto/cosmos/staking/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/tx/signing/v1beta1/signing.proto delete mode 100644 examples/contracts/proto/cosmos/tx/v1beta1/service.proto delete mode 100644 examples/contracts/proto/cosmos/tx/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/upgrade/v1beta1/query.proto delete mode 100644 examples/contracts/proto/cosmos/upgrade/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/upgrade/v1beta1/upgrade.proto delete mode 100644 examples/contracts/proto/cosmos/vesting/v1beta1/tx.proto delete mode 100644 examples/contracts/proto/cosmos/vesting/v1beta1/vesting.proto delete mode 100644 examples/contracts/proto/cosmos_proto/LICENSE delete mode 100644 examples/contracts/proto/cosmos_proto/README.md delete mode 100644 examples/contracts/proto/cosmos_proto/cosmos.proto delete mode 100644 examples/contracts/proto/cosmwasm/LICENSE delete mode 100644 examples/contracts/proto/cosmwasm/README.md delete mode 100644 examples/contracts/proto/cosmwasm/wasm/v1/genesis.proto delete mode 100644 examples/contracts/proto/cosmwasm/wasm/v1/ibc.proto delete mode 100644 examples/contracts/proto/cosmwasm/wasm/v1/proposal.proto delete mode 100644 examples/contracts/proto/cosmwasm/wasm/v1/query.proto delete mode 100644 examples/contracts/proto/cosmwasm/wasm/v1/tx.proto delete mode 100644 examples/contracts/proto/cosmwasm/wasm/v1/types.proto delete mode 100644 examples/contracts/proto/gogoproto/LICENSE delete mode 100644 examples/contracts/proto/gogoproto/README.md delete mode 100644 examples/contracts/proto/gogoproto/gogo.proto delete mode 100644 examples/contracts/proto/google/LICENSE delete mode 100644 examples/contracts/proto/google/README.md delete mode 100644 examples/contracts/proto/google/api/annotations.proto delete mode 100644 examples/contracts/proto/google/api/http.proto delete mode 100644 examples/contracts/proto/google/protobuf/any.proto delete mode 100644 examples/contracts/proto/google/protobuf/descriptor.proto delete mode 100644 examples/contracts/proto/google/protobuf/duration.proto delete mode 100644 examples/contracts/proto/google/protobuf/empty.proto delete mode 100644 examples/contracts/proto/google/protobuf/timestamp.proto delete mode 100644 examples/contracts/proto/ibc/LICENSE delete mode 100644 examples/contracts/proto/ibc/README.md delete mode 100644 examples/contracts/proto/ibc/applications/transfer/v1/genesis.proto delete mode 100644 examples/contracts/proto/ibc/applications/transfer/v1/query.proto delete mode 100644 examples/contracts/proto/ibc/applications/transfer/v1/transfer.proto delete mode 100644 examples/contracts/proto/ibc/applications/transfer/v1/tx.proto delete mode 100644 examples/contracts/proto/ibc/applications/transfer/v2/packet.proto delete mode 100644 examples/contracts/proto/ibc/core/channel/v1/channel.proto delete mode 100644 examples/contracts/proto/ibc/core/channel/v1/genesis.proto delete mode 100644 examples/contracts/proto/ibc/core/channel/v1/query.proto delete mode 100644 examples/contracts/proto/ibc/core/channel/v1/tx.proto delete mode 100644 examples/contracts/proto/ibc/core/client/v1/client.proto delete mode 100644 examples/contracts/proto/ibc/core/client/v1/genesis.proto delete mode 100644 examples/contracts/proto/ibc/core/client/v1/query.proto delete mode 100644 examples/contracts/proto/ibc/core/client/v1/tx.proto delete mode 100644 examples/contracts/proto/ibc/core/commitment/v1/commitment.proto delete mode 100644 examples/contracts/proto/ibc/core/connection/v1/connection.proto delete mode 100644 examples/contracts/proto/ibc/core/connection/v1/genesis.proto delete mode 100644 examples/contracts/proto/ibc/core/connection/v1/query.proto delete mode 100644 examples/contracts/proto/ibc/core/connection/v1/tx.proto delete mode 100644 examples/contracts/proto/ibc/core/port/v1/query.proto delete mode 100644 examples/contracts/proto/ibc/core/types/v1/genesis.proto delete mode 100644 examples/contracts/proto/ibc/lightclients/localhost/v1/localhost.proto delete mode 100644 examples/contracts/proto/ibc/lightclients/solomachine/v1/solomachine.proto delete mode 100644 examples/contracts/proto/ibc/lightclients/solomachine/v2/solomachine.proto delete mode 100644 examples/contracts/proto/ibc/lightclients/tendermint/v1/tendermint.proto delete mode 100644 examples/contracts/proto/tendermint/LICENSE delete mode 100644 examples/contracts/proto/tendermint/README.md delete mode 100644 examples/contracts/proto/tendermint/abci/types.proto delete mode 100644 examples/contracts/proto/tendermint/crypto/keys.proto delete mode 100644 examples/contracts/proto/tendermint/crypto/proof.proto delete mode 100644 examples/contracts/proto/tendermint/libs/bits/types.proto delete mode 100644 examples/contracts/proto/tendermint/p2p/types.proto delete mode 100644 examples/contracts/proto/tendermint/types/block.proto delete mode 100644 examples/contracts/proto/tendermint/types/evidence.proto delete mode 100644 examples/contracts/proto/tendermint/types/params.proto delete mode 100644 examples/contracts/proto/tendermint/types/types.proto delete mode 100644 examples/contracts/proto/tendermint/types/validator.proto delete mode 100644 examples/contracts/proto/tendermint/version/types.proto delete mode 100644 examples/contracts/public/favicon.ico delete mode 100644 examples/contracts/scripts/codegen.js delete mode 100644 examples/contracts/styles/Home.module.css delete mode 100644 examples/contracts/styles/globals.css delete mode 100644 examples/contracts/tsconfig.json delete mode 100644 examples/contracts/yarn.lock delete mode 100644 examples/dashboard/.eslintrc.json delete mode 100644 examples/dashboard/.gitignore delete mode 100644 examples/dashboard/CHANGELOG.md delete mode 100644 examples/dashboard/LICENSE delete mode 100644 examples/dashboard/README.md delete mode 100644 examples/dashboard/components/chain-wallet-card.tsx delete mode 100644 examples/dashboard/components/index.ts delete mode 100644 examples/dashboard/components/react/address-card.tsx delete mode 100644 examples/dashboard/components/react/astronaut.tsx delete mode 100644 examples/dashboard/components/react/handleChangeColor.tsx delete mode 100644 examples/dashboard/components/react/index.ts delete mode 100644 examples/dashboard/components/react/user-card.tsx delete mode 100644 examples/dashboard/components/react/wallet-connect.tsx delete mode 100644 examples/dashboard/components/react/warn-block.tsx delete mode 100644 examples/dashboard/components/types.tsx delete mode 100644 examples/dashboard/next.config.js delete mode 100644 examples/dashboard/package.json delete mode 100644 examples/dashboard/pages/_app.tsx delete mode 100644 examples/dashboard/pages/index.tsx delete mode 100644 examples/dashboard/public/favicon.ico delete mode 100644 examples/dashboard/style/test-style.css delete mode 100644 examples/dashboard/tsconfig.json diff --git a/examples/asset-list-chakra/.eslintrc.json b/examples/asset-list-chakra/.eslintrc.json deleted file mode 100644 index bffb357a7..000000000 --- a/examples/asset-list-chakra/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "next/core-web-vitals" -} diff --git a/examples/asset-list-chakra/.gitignore b/examples/asset-list-chakra/.gitignore deleted file mode 100644 index c87c9b392..000000000 --- a/examples/asset-list-chakra/.gitignore +++ /dev/null @@ -1,36 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* -.pnpm-debug.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts diff --git a/examples/asset-list-chakra/CHANGELOG.md b/examples/asset-list-chakra/CHANGELOG.md deleted file mode 100644 index 88abd2f9f..000000000 --- a/examples/asset-list-chakra/CHANGELOG.md +++ /dev/null @@ -1,433 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [0.3.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list-chakra@0.3.1...@cosmology/asset-list-chakra@0.3.2) (2024-01-20) - -**Note:** Version bump only for package @cosmology/asset-list-chakra - - - - - -## [0.3.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list-chakra@0.3.0...@cosmology/asset-list-chakra@0.3.1) (2024-01-19) - -**Note:** Version bump only for package @cosmology/asset-list-chakra - - - - - -# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list-chakra@0.2.7...@cosmology/asset-list-chakra@0.3.0) (2024-01-19) - -**Note:** Version bump only for package @cosmology/asset-list-chakra - - - - - -## [0.2.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list-chakra@0.2.6...@cosmology/asset-list-chakra@0.2.7) (2024-01-19) - -**Note:** Version bump only for package @cosmology/asset-list-chakra - - - - - -## 0.2.6 (2024-01-19) - - -### Bug Fixes - -* upgrade interchain ui version and fix z index issue ([9f648a5](https://github.com/cosmology-tech/create-cosmos-app/commit/9f648a551cbf9868125aa1f9eef9feff15837bb5)) - - - - - -## [0.2.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list@0.2.4...@cosmology/asset-list@0.2.5) (2023-09-27) - -**Note:** Version bump only for package @cosmology/asset-list - - - - - -## [0.2.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list@0.2.3...@cosmology/asset-list@0.2.4) (2023-09-27) - -**Note:** Version bump only for package @cosmology/asset-list - - - - - -## [0.2.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list@0.2.2...@cosmology/asset-list@0.2.3) (2023-07-30) - -**Note:** Version bump only for package @cosmology/asset-list - - - - - -## [0.2.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list@0.2.1...@cosmology/asset-list@0.2.2) (2023-07-14) - -**Note:** Version bump only for package @cosmology/asset-list - - - - - -## [0.2.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/asset-list@0.2.0...@cosmology/asset-list@0.2.1) (2023-06-28) - -**Note:** Version bump only for package @cosmology/asset-list - - - - - -# 0.2.0 (2023-04-12) - - -### Bug Fixes - -* add missing deps ([b24c3c7](https://github.com/cosmology-tech/create-cosmos-app/commit/b24c3c7c882a0211abc5f01095ff247e5f663d02)) -* pool data error ([0739e1b](https://github.com/cosmology-tech/create-cosmos-app/commit/0739e1b28a4d6219ecf65678fe5f170103a48f8d)) - - -### Features - -* add dark mode ([9de3ec0](https://github.com/cosmology-tech/create-cosmos-app/commit/9de3ec001b801328ff2bbb24740cfa977ffb64be)) -* add multi-chain page ([776605f](https://github.com/cosmology-tech/create-cosmos-app/commit/776605f338a71230c062efe2da4d433329c2a640)) -* assets list deposit and withdraw ([c028a6a](https://github.com/cosmology-tech/create-cosmos-app/commit/c028a6aefd9cc67a0a1d0824ee9ee3c0985e65ea)) -* display total on osmosis ([297e70d](https://github.com/cosmology-tech/create-cosmos-app/commit/297e70dd558a80ea15bc2a623fc4109502899b59)) -* dropdown deposit and withdraw ([9d74b57](https://github.com/cosmology-tech/create-cosmos-app/commit/9d74b571c856f9600dcd3e54cbf278c14c804792)) -* finish the style ([cc2baab](https://github.com/cosmology-tech/create-cosmos-app/commit/cc2baab2db3a6b5c501ac3ddc32238977cf5bfa0)) - - - - - -## [1.7.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.7.1...@cosmology/osmosis@1.7.2) (2023-02-15) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.7.0...@cosmology/osmosis@1.7.1) (2023-01-11) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -# [1.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.6.4...@cosmology/osmosis@1.7.0) (2022-12-17) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.6.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.6.3...@cosmology/osmosis@1.6.4) (2022-12-15) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.6.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.6.2...@cosmology/osmosis@1.6.3) (2022-11-25) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.6.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.6.1...@cosmology/osmosis@1.6.2) (2022-11-21) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.6.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.6.0...@cosmology/osmosis@1.6.1) (2022-11-17) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -# [1.6.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.5.0...@cosmology/osmosis@1.6.0) (2022-11-15) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -# [1.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.4.0...@cosmology/osmosis@1.5.0) (2022-11-14) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -# [1.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.3.0...@cosmology/osmosis@1.4.0) (2022-11-10) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -# [1.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.2.0...@cosmology/osmosis@1.3.0) (2022-11-09) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -# [1.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.1.5...@cosmology/osmosis@1.2.0) (2022-11-08) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.1.4...@cosmology/osmosis@1.1.5) (2022-11-05) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.1.3...@cosmology/osmosis@1.1.4) (2022-11-05) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmology/osmosis@1.1.2...@cosmology/osmosis@1.1.3) (2022-11-05) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## 1.1.2 (2022-11-01) - -**Note:** Version bump only for package @cosmology/osmosis - - - - - -## [1.1.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.1.0...@cosmonauts/osmosis@1.1.1) (2022-10-27) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -# [1.1.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.3...@cosmonauts/osmosis@1.1.0) (2022-10-26) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -## [1.0.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.2...@cosmonauts/osmosis@1.0.3) (2022-10-24) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.1...@cosmonauts/osmosis@1.0.2) (2022-10-15) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@1.0.0...@cosmonauts/osmosis@1.0.1) (2022-10-03) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -# [1.0.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.8.0...@cosmonauts/osmosis@1.0.0) (2022-10-01) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -# [0.8.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.1...@cosmonauts/osmosis@0.8.0) (2022-09-30) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -## [0.7.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.7.0...@cosmonauts/osmosis@0.7.1) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -# [0.7.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/osmosis@0.6.0...@cosmonauts/osmosis@0.7.0) (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -# 0.6.0 (2022-09-25) - -**Note:** Version bump only for package @cosmonauts/osmosis - - - - - -## [0.5.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.5.0...@cosmonauts/connect-chain@0.5.1) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.5.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.4.0...@cosmonauts/connect-chain@0.5.0) (2022-09-23) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.4.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.3.0...@cosmonauts/connect-chain@0.4.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.3.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.2.0...@cosmonauts/connect-chain@0.3.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -# [0.2.0](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.10...@cosmonauts/connect-chain@0.2.0) (2022-09-22) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.10](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.9...@cosmonauts/connect-chain@0.1.10) (2022-09-11) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.9](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.8...@cosmonauts/connect-chain@0.1.9) (2022-09-08) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.8](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.7...@cosmonauts/connect-chain@0.1.8) (2022-09-02) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.7](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.6...@cosmonauts/connect-chain@0.1.7) (2022-08-30) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.6](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.5...@cosmonauts/connect-chain@0.1.6) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.5](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.4...@cosmonauts/connect-chain@0.1.5) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.4](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.3...@cosmonauts/connect-chain@0.1.4) (2022-08-27) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## [0.1.3](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/connect-chain@0.1.2...@cosmonauts/connect-chain@0.1.3) (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.2 (2022-08-25) - -**Note:** Version bump only for package @cosmonauts/connect-chain - - - - - -## 0.1.1 (2022-08-24) - -**Note:** Version bump only for package @cosmos-app/connect-chain diff --git a/examples/asset-list-chakra/README.md b/examples/asset-list-chakra/README.md deleted file mode 100644 index 8c1363707..000000000 --- a/examples/asset-list-chakra/README.md +++ /dev/null @@ -1,88 +0,0 @@ -This is a Cosmos App project bootstrapped with [`create-cosmos-app`](https://github.com/cosmology-tech/create-cosmos-app). - -## Getting Started - -First, install the packages and run the development server: - -```bash -yarn && yarn dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. - -## Learn More - -### Chain Registry - -The npm package for the Official Cosmos chain registry. Get chain and token data for you application. - -* https://github.com/cosmology-tech/chain-registry - -### Cosmology Videos - -Checkout more videos for how to use various frontend tooling in the Cosmos! - -* https://cosmology.zone/learn - -### Cosmos Kit - -A wallet connector for the Cosmos ⚛️ - -* https://github.com/cosmology-tech/cosmos-kit - -### Telescope - -A "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. Telescope is used to generate libraries for Cosmos blockchains. Simply point to your protobuffer files and create developer-friendly Typescript libraries for teams to build on your blockchain. - -* https://github.com/cosmology-tech/telescope - -🎥 [Checkout the Telescope video playlist](https://www.youtube.com/watch?v=n82MsLe82mk&list=PL-lMkVv7GZwyQaK6bp6kMdOS5mzosxytC) to learn how to use `telescope`! - -### CosmWasm TS Codegen - -The quickest and easiest way to interact with CosmWasm Contracts. @cosmwasm/ts-codegen converts your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code. - -* https://github.com/CosmWasm/ts-codegen - -🎥 [Checkout the CosmWasm/ts-codegen video playlist](https://www.youtube.com/watch?v=D_A5V2PfNLA&list=PL-lMkVv7GZwz1KO3jANwr5W4MoziruXwK) to learn how to use `ts-codegen`! - - -## Learn More about Next.js - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. - -## Related - -Checkout these related projects: - -* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules. -* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes. -* [chain-registry](https://github.com/cosmology-tech/chain-registry) Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. -* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface. -* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command. -* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit. -* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain. - -## Credits - -🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.zone/validator) - - -## Disclaimer - -AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. - -No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value. diff --git a/examples/asset-list-chakra/components/asset-list/AmountInput.tsx b/examples/asset-list-chakra/components/asset-list/AmountInput.tsx deleted file mode 100644 index 76bd92cf7..000000000 --- a/examples/asset-list-chakra/components/asset-list/AmountInput.tsx +++ /dev/null @@ -1,209 +0,0 @@ -import { - Flex, - Text, - Box, - Center, - NumberInput, - NumberInputField, - useColorModeValue, - Skeleton, -} from '@chakra-ui/react'; -import { ChainName } from 'cosmos-kit'; -import BigNumber from 'bignumber.js'; -import React, { useMemo } from 'react'; -import { useBalance, useChainUtils } from '../../hooks'; -import { PriceHash, Transfer, TransferInfo } from './types'; -import { ChainLogo } from './ChainAssetsList'; - -const ratioLabels = [ - { label: 'Max', divisor: 1 }, - { label: '1/2', divisor: 2 }, - { label: '1/3', divisor: 3 }, -]; - -interface IProps { - prices: PriceHash; - transferInfo: TransferInfo; - inputState: { inputValue: string; setInputValue: (val: string) => void }; - selectedChainName: ChainName; -} - -const AmountInput: React.FC = ({ - prices, - inputState, - transferInfo, - selectedChainName, -}) => { - const { inputValue, setInputValue } = inputState; - const { convRawToDispAmount, symbolToDenom } = - useChainUtils(selectedChainName); - - const { - type: transferType, - token: transferToken, - sourceChainName, - } = transferInfo; - - const isDeposit = transferType === Transfer.Deposit; - const { balance, isLoading } = useBalance(sourceChainName, isDeposit); - - const ZERO_AMOUNT = '0'; - - const availableAmount = useMemo(() => { - if (!isDeposit) return transferToken.displayAmount; - if (isLoading) return ZERO_AMOUNT; - - return convRawToDispAmount( - transferToken.symbol, - balance?.amount || ZERO_AMOUNT - ); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [isDeposit, isLoading, transferToken]); - - const dollarValue = new BigNumber(inputValue) - .multipliedBy(prices[symbolToDenom(transferToken.symbol)]) - .decimalPlaces(2) - .toString(); - - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - const statColor = useColorModeValue('#2C3137', '#EEF2F8'); - const bgColor = useColorModeValue('#EEF2F8', '#1D2024'); - const borderColor = useColorModeValue('#D1D6DD', '#434B55'); - const symbolColor = useColorModeValue('#2C3137', '#A7B4C2'); - - return ( - - - - Select amount - - - Available  - {isLoading && isDeposit ? ( - - ) : ( - {availableAmount}  - )} - {transferToken.symbol} - - - - -
- -
- - { - if (new BigNumber(val).gt(availableAmount)) { - setInputValue(availableAmount); - return; - } - setInputValue(val); - }} - > - - - -
- - - {transferToken.symbol} - - {new BigNumber(inputValue).gt(0) && ( - - {new BigNumber(dollarValue).lt(0.01) - ? '< $0.01' - : `≈ $${dollarValue}`} - - )} - -
-
- - - {ratioLabels.map(({ label, divisor }) => ( - { - if (isLoading && isDeposit) return; - const inputVal = new BigNumber(availableAmount) - .div(divisor) - .decimalPlaces(9) - .toString(); - setInputValue(inputVal); - }} - /> - ))} - -
- ); -}; - -const RatioLabel = ({ - label, - onClick, -}: { - label: string; - onClick: () => void; -}) => { - const bgColor = useColorModeValue('#EEF2F8', '#434B55'); - const titleColor = useColorModeValue('#697584', '#EEF2F8'); - - return ( -
- - {label} - -
- ); -}; - -export default AmountInput; diff --git a/examples/asset-list-chakra/components/asset-list/AssetListSection.tsx b/examples/asset-list-chakra/components/asset-list/AssetListSection.tsx deleted file mode 100644 index 255414395..000000000 --- a/examples/asset-list-chakra/components/asset-list/AssetListSection.tsx +++ /dev/null @@ -1,89 +0,0 @@ -import React from 'react'; -import { - Box, - Center, - Spinner, - Text, - useColorModeValue, -} from '@chakra-ui/react'; -import AssetsOverview from './AssetsOverview'; -import ChainAssetsList from './ChainAssetsList'; -import { useChain } from '@cosmos-kit/react'; -import { useAssets } from '../../hooks'; -import { ChainName } from 'cosmos-kit'; - -interface IProps { - chainName: ChainName; -} - -export const AssetListSection: React.FC = ({ chainName }) => { - const { isWalletConnected, chain } = useChain(chainName); - const { data, isLoading, refetch } = useAssets(chainName); - - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - - if (!isWalletConnected) { - return ( - - -
- - Connect the wallet to see the assets - -
-
- ); - } - - return ( - - - - - On {chain.pretty_name} - - {isLoading || !data ? ( - - ) : ( - - )} - - ); -}; - -const SectionTitle = () => { - const textColor = useColorModeValue('#2C3137', '#EEF2F8'); - return ( - - My Assets - - ); -}; - -const Loader = () => { - return ( -
- -
- ); -}; diff --git a/examples/asset-list-chakra/components/asset-list/AssetsOverview.tsx b/examples/asset-list-chakra/components/asset-list/AssetsOverview.tsx deleted file mode 100644 index 3bb1b3367..000000000 --- a/examples/asset-list-chakra/components/asset-list/AssetsOverview.tsx +++ /dev/null @@ -1,140 +0,0 @@ -import React, { useMemo, useState } from 'react'; -import { - Box, - Flex, - HStack, - Skeleton, - Text, - useColorModeValue, - useDisclosure, -} from '@chakra-ui/react'; -import { NormalButton } from './Buttons'; -import DropdownTransferModal from './DropdownTransferModal'; -import { PrettyAsset, Transfer, TransferInfo } from './types'; -import { useChainUtils, useTotalAssets } from '../../hooks'; -import { useChain } from '@cosmos-kit/react'; -import BigNumber from 'bignumber.js'; -import { ChainName } from 'cosmos-kit'; - -interface IProps { - assets: PrettyAsset[]; - selectedChainName: ChainName; -} - -const AssetsOverview: React.FC = ({ assets, selectedChainName }) => { - const [transferInfo, setTransferInfo] = useState(); - const { chain } = useChain(selectedChainName); - - const { data, isLoading, refetch } = useTotalAssets(selectedChainName); - const { getChainName, getNativeDenom, isNativeAsset } = - useChainUtils(selectedChainName); - - const modalControl = useDisclosure(); - - const ibcAssets = useMemo( - () => assets.filter((asset) => !isNativeAsset(asset)), - // eslint-disable-next-line react-hooks/exhaustive-deps - [assets] - ); - - const hasBalance = useMemo( - () => ibcAssets.some((asset) => new BigNumber(asset.amount).gt(0)), - [ibcAssets] - ); - - const ZERO_AMOUNT = '0'; - - const bgColor = useColorModeValue('#F5F7FB', '#1D2024'); - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - const statColor = useColorModeValue('#2C3137', '#EEF2F8'); - - return ( - - - - - Total on {chain.pretty_name} - - {isLoading || !data ? ( - - ) : ( - - $ - {data.total} - - )} - - - {!isLoading && ( - - {hasBalance && ( - { - const destChainName = getChainName(ibcAssets[0].denom); - setTransferInfo({ - sourceChainName: selectedChainName, - type: Transfer.Withdraw, - destChainName, - token: ibcAssets[0], - }); - modalControl.onOpen(); - }} - /> - )} - {ibcAssets.length > 0 && ( - { - const sourceChainName = getChainName(ibcAssets[0].denom); - const sourceChainAssetDenom = getNativeDenom(sourceChainName); - setTransferInfo({ - sourceChainName, - type: Transfer.Deposit, - destChainName: selectedChainName, - token: { - ...ibcAssets[0], - displayAmount: ZERO_AMOUNT, - dollarValue: ZERO_AMOUNT, - amount: ZERO_AMOUNT, - denom: sourceChainAssetDenom, - }, - }); - modalControl.onOpen(); - }} - /> - )} - - )} - - - {data && transferInfo && ( - - )} - - ); -}; - -export default AssetsOverview; diff --git a/examples/asset-list-chakra/components/asset-list/Buttons.tsx b/examples/asset-list-chakra/components/asset-list/Buttons.tsx deleted file mode 100644 index 24a4f881f..000000000 --- a/examples/asset-list-chakra/components/asset-list/Buttons.tsx +++ /dev/null @@ -1,145 +0,0 @@ -import { useColorModeValue, Button } from '@chakra-ui/react'; -import { ReactNode } from 'react'; - -export const SimpleButton = ({ - onClick, - text, - visible = true, - mr, -}: { - onClick: () => void; - text: string; - visible?: boolean; - mr?: string; -}) => { - const bgColor = useColorModeValue('#EEF2F8', '#1D2024'); - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - - return ( - - ); -}; - -export const NormalButton = ({ - type, - size, - onClick, - text, - mr, - disabled, - isLoading = false, -}: { - type: 'solid' | 'outline'; - size: { w: string; h: string }; - onClick: () => void; - text: string; - mr?: string; - disabled?: boolean; - isLoading?: boolean; -}) => { - const baseStyle = { - solid: { - color: useColorModeValue('#FFF', '#1D2024'), - backgroundColor: useColorModeValue('#2C3137', '#EEF2F8'), - }, - outline: { - color: useColorModeValue('#2C3137', '#EEF2F8'), - border: `2px solid ${useColorModeValue('#2C3137', '#EEF2F8')}`, - backgroundColor: 'transparent', - }, - }; - - const isDisabledState = isLoading || disabled; - - return ( - - ); -}; - -export const LargeButton = ({ - width, - btnText, - isLoading, - handleClick, - disabled, - btnContent, -}: { - width: string; - btnText?: string; - btnContent?: ReactNode; - isLoading: boolean; - handleClick: () => void; - disabled?: boolean; -}) => { - return ( - - ); -}; diff --git a/examples/asset-list-chakra/components/asset-list/ChainAssetsList.tsx b/examples/asset-list-chakra/components/asset-list/ChainAssetsList.tsx deleted file mode 100644 index 8f38bcca8..000000000 --- a/examples/asset-list-chakra/components/asset-list/ChainAssetsList.tsx +++ /dev/null @@ -1,255 +0,0 @@ -import { ChevronUpIcon, ChevronDownIcon } from '@chakra-ui/icons'; -import { - Text, - Center, - Image, - SimpleGrid, - HStack, - Flex, - useColorMode, - Box, - useDisclosure, - useColorModeValue, -} from '@chakra-ui/react'; -import BigNumber from 'bignumber.js'; -import React, { useMemo, useState } from 'react'; -import { PrettyAsset, PriceHash, Transfer, TransferInfo } from './types'; -import { SimpleButton } from './Buttons'; -import TransferModal from './TransferModal'; -import { ChainName } from 'cosmos-kit'; -import { useChainUtils } from '../../hooks'; -import { truncDecimals, formatDollarValue } from '@/utils'; - -interface IProps { - assets: PrettyAsset[]; - prices: PriceHash; - updateData: () => void; - selectedChainName: ChainName; -} - -const ChainAssetsList: React.FC = ({ - assets, - prices, - updateData, - selectedChainName, -}) => { - const [showAll, setShowAll] = useState(false); - const [transferInfo, setTransferInfo] = useState(); - - const { colorMode } = useColorMode(); - const transferModalControl = useDisclosure(); - const { getChainName, isNativeAsset, getNativeDenom } = - useChainUtils(selectedChainName); - - const assetsToShow = useMemo( - () => (showAll ? assets : assets.slice(0, 6)), - [assets, showAll] - ); - - const ZERO_AMOUNT = '0'; - - if (assets.length === 0) { - return ( -
- - No assets on this chain - -
- ); - } - - return ( - - -
-
- - - {assetsToShow.map((asset) => { - return ( - - - -
- -
-
- - - - - - {!isNativeAsset(asset) && ( - - { - const sourceChainName = getChainName(asset.denom); - const sourceChainNativeDenom = - getNativeDenom(sourceChainName); - setTransferInfo({ - sourceChainName, - type: Transfer.Deposit, - destChainName: selectedChainName, - token: { - ...asset, - displayAmount: ZERO_AMOUNT, - dollarValue: ZERO_AMOUNT, - amount: ZERO_AMOUNT, - denom: sourceChainNativeDenom, - }, - }); - transferModalControl.onOpen(); - }} - text={Transfer.Deposit} - mr="12px" - /> - { - const destChainName = getChainName(asset.denom); - setTransferInfo({ - sourceChainName: selectedChainName, - type: Transfer.Withdraw, - destChainName, - token: asset, - }); - transferModalControl.onOpen(); - }} - visible={new BigNumber(asset.amount).gt(0)} - text={Transfer.Withdraw} - /> - - )} -
- ); - })} - - - setShowAll(!showAll)} - > - {`Show ${showAll ? 'less' : 'more'}`} - {showAll ? ( - - ) : ( - - )} - - - - {transferInfo && ( - - )} - - ); -}; - -const DataDisplay = ({ - value, - helpText, -}: { - value: string; - helpText: string; -}) => { - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - const statColor = useColorModeValue('#2C3137', '#EEF2F8'); - - return ( - - - {value} - - - {helpText} - - - ); -}; - -export const ChainLogo = ({ - logoWidth, - url, -}: { - logoWidth: string; - url: string | undefined; -}) => { - if (!url) - return ( -
- ? -
- ); - return ( - - ); -}; - -const Header = ({ text, ml }: { text: string; ml?: string }) => { - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - - return ( - - {text} - - ); -}; - -export default ChainAssetsList; diff --git a/examples/asset-list-chakra/components/asset-list/DropdownInput.tsx b/examples/asset-list-chakra/components/asset-list/DropdownInput.tsx deleted file mode 100644 index ed430aece..000000000 --- a/examples/asset-list-chakra/components/asset-list/DropdownInput.tsx +++ /dev/null @@ -1,273 +0,0 @@ -import React, { useMemo } from 'react'; -import { ChevronDownIcon } from '@chakra-ui/icons'; -import { - Flex, - Center, - Text, - Box, - useColorModeValue, - NumberInput, - NumberInputField, - useDisclosure, - Skeleton, -} from '@chakra-ui/react'; -import { ChainLogo } from './ChainAssetsList'; -import { SwapDropdown } from '@cosmology-ui/react'; -import { - PrettyAsset, - PrettyAssetOption, - PriceHash, - Transfer, - TransferInfo, -} from './types'; -import BigNumber from 'bignumber.js'; -import { useBalance, useChainUtils } from '../../hooks'; -import { ChainName } from 'cosmos-kit'; -import { truncDecimals } from '@/utils'; - -interface IProps { - prices: PriceHash; - assets: PrettyAsset[]; - transferInfo: TransferInfo; - setTransferInfo: React.Dispatch< - React.SetStateAction - >; - selectedChainName: ChainName; - inputState: { - inputValue: string; - setInputValue: React.Dispatch>; - }; -} - -const DropdownInput: React.FC = ({ - assets, - prices, - inputState, - transferInfo, - setTransferInfo, - selectedChainName, -}) => { - const { inputValue, setInputValue } = inputState; - const { convRawToDispAmount, symbolToDenom, getChainName, getNativeDenom } = - useChainUtils(selectedChainName); - - const { - type: transferType, - token: transferToken, - sourceChainName, - } = transferInfo; - - const isDeposit = transferType === Transfer.Deposit; - const { balance, isLoading } = useBalance(sourceChainName, isDeposit); - const { isOpen, onOpen, onClose } = useDisclosure(); - - const ZERO_AMOUNT = '0'; - - const availableAmount = useMemo(() => { - if (!isDeposit) return transferToken.displayAmount; - if (isLoading) return ZERO_AMOUNT; - - return convRawToDispAmount( - transferToken.symbol, - balance?.amount || ZERO_AMOUNT - ); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [isDeposit, isLoading, transferToken]); - - const dollarValue = new BigNumber(inputValue) - .multipliedBy(prices[symbolToDenom(transferToken.symbol)]) - .decimalPlaces(2) - .toString(); - - const handleOnChange = (assetOption: PrettyAssetOption) => { - setInputValue(''); - setTransferInfo((prev) => { - if (!prev) return; - - if (transferType === Transfer.Withdraw) { - const destChainName = getChainName(assetOption.denom); - return { ...prev, destChainName, token: assetOption }; - } - - const sourceChainName = getChainName(assetOption.denom); - const sourceChainAssetDenom = getNativeDenom(sourceChainName); - return { - ...prev, - sourceChainName, - token: { - ...assetOption, - displayAmount: ZERO_AMOUNT, - dollarValue: ZERO_AMOUNT, - amount: ZERO_AMOUNT, - denom: sourceChainAssetDenom, - }, - }; - }); - }; - - const assetOptions: PrettyAssetOption[] = useMemo(() => { - return assets - .filter((asset) => { - if (isDeposit) return true; - return new BigNumber(asset.amount).gt(0); - }) - .filter((asset) => { - return asset.symbol !== transferToken.symbol; - }) - .map((asset) => ({ - ...asset, - value: asset.prettyChainName, - icon: { png: asset.logoUrl }, - amount: asset.displayAmount, - dollarValue: '$' + truncDecimals(asset.dollarValue, 2), - })); - }, [assets, isDeposit, transferToken]); - - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - const statColor = useColorModeValue('#2C3137', '#EEF2F8'); - const bgColor = useColorModeValue('#EEF2F8', '#1D2024'); - const labelBgColor = useColorModeValue('#A2AEBB', '#434B55'); - - return ( - - - - Available   - {isLoading && isDeposit ? ( - - ) : ( - {availableAmount} - )} - -
setInputValue(availableAmount)} - cursor="pointer" - > - - Max - -
-
- - - - - - - - {transferToken.symbol} - - - - - {transferToken.prettyChainName} - - - - - - { - if (new BigNumber(val).gt(availableAmount)) { - setInputValue(availableAmount); - return; - } - setInputValue(val); - }} - > - - {!inputValue && ( - - 0 - - )} - - - - {new BigNumber(dollarValue).lt(0.01) - ? '< $0.01' - : `~ $${dollarValue}`} - - - - - - - -
- ); -}; - -export default DropdownInput; diff --git a/examples/asset-list-chakra/components/asset-list/DropdownTransferModal.tsx b/examples/asset-list-chakra/components/asset-list/DropdownTransferModal.tsx deleted file mode 100644 index 548d49913..000000000 --- a/examples/asset-list-chakra/components/asset-list/DropdownTransferModal.tsx +++ /dev/null @@ -1,239 +0,0 @@ -import { ArrowForwardIcon } from '@chakra-ui/icons'; -import { - Modal, - ModalOverlay, - ModalContent, - ModalHeader, - ModalCloseButton, - ModalBody, - ModalFooter, - UseDisclosureReturn, - Text, - Flex, - Center, - Icon, - useColorModeValue, -} from '@chakra-ui/react'; -import React, { useEffect, useState } from 'react'; -import { ChainLogo } from './ChainAssetsList'; -import { HiOutlineClock } from 'react-icons/hi'; -import { LargeButton } from './Buttons'; -import DropdownInput from './DropdownInput'; -import { PrettyAsset, PriceHash, TransferInfo } from './types'; -import { useChainWallet, useManager } from '@cosmos-kit/react'; -import BigNumber from 'bignumber.js'; -import { StdFee, coins } from '@cosmjs/amino'; -import { useChainUtils, useTx } from '../../hooks'; -import { ChainName } from 'cosmos-kit'; -import { KeplrWalletName } from '@/config'; -import { ibc } from 'osmo-query'; - -const { transfer } = ibc.applications.transfer.v1.MessageComposer.withTypeUrl; - -interface IProps { - prices: PriceHash; - assets: PrettyAsset[]; - modalControl: UseDisclosureReturn; - updateData: () => void; - transferInfoState: { - transferInfo: TransferInfo; - setTransferInfo: React.Dispatch< - React.SetStateAction - >; - }; - selectedChainName: ChainName; -} - -const DropdownTransferModal: React.FC = ({ - assets, - prices, - modalControl, - transferInfoState, - updateData, - selectedChainName, -}) => { - const [inputValue, setInputValue] = useState(''); - const [isLoading, setIsLoading] = useState(false); - - const { symbolToDenom, getExponentByDenom, getIbcInfo } = - useChainUtils(selectedChainName); - - const { transferInfo, setTransferInfo } = transferInfoState; - - const { - type: transferType, - token: transferToken, - destChainName, - sourceChainName, - } = transferInfo; - - const { address: sourceAddress, connect: connectSourceChain } = - useChainWallet(sourceChainName, KeplrWalletName); - - const { address: destAddress, connect: connectDestChain } = useChainWallet( - destChainName, - KeplrWalletName - ); - - const { getChainLogo } = useManager(); - const { tx } = useTx(sourceChainName); - - useEffect(() => { - if (!modalControl.isOpen) return; - if (!sourceAddress) connectSourceChain(); - if (!destAddress) connectDestChain(); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [destAddress, sourceAddress, modalControl]); - - const closeModal = () => { - modalControl.onClose(); - setInputValue(''); - setIsLoading(false); - }; - - const handleClick = async () => { - if (!sourceAddress || !destAddress) return; - setIsLoading(true); - - const transferAmount = new BigNumber(inputValue) - .shiftedBy(getExponentByDenom(symbolToDenom(transferToken.symbol))) - .toString(); - - const { sourcePort, sourceChannel } = getIbcInfo( - sourceChainName, - destChainName - ); - - const fee: StdFee = { - amount: coins('1000', transferToken.denom), - gas: '250000', - }; - - const token = { - denom: transferToken.denom, - amount: transferAmount, - }; - - const stamp = Date.now(); - const timeoutInNanos = (stamp + 1.2e6) * 1e6; - - const msg = transfer({ - sourcePort, - sourceChannel, - sender: sourceAddress, - receiver: destAddress, - token, - // @ts-ignore - timeoutHeight: undefined, - timeoutTimestamp: BigInt(timeoutInNanos), - }); - - await tx([msg], { - fee, - onSuccess: () => { - updateData(); - closeModal(); - }, - }); - - setIsLoading(false); - }; - - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - const statColor = useColorModeValue('#2C3137', '#EEF2F8'); - const arrowColor = useColorModeValue('#4A5568', '#A7B4C2'); - const cancelColor = useColorModeValue('#697584', '#EEF2F8'); - - return ( - - - - - {transferType} - - - - {transferInfo && ( - - )} -
- {transferInfo && ( - - -
- -
- -
- )} -
-
- - - } - handleClick={handleClick} - isLoading={isLoading} - width="100%" - disabled={ - !inputValue || - new BigNumber(inputValue).isEqualTo(0) || - isNaN(Number(inputValue)) - } - /> - - Cancel - - -
-
- ); -}; - -const BtnContent = () => ( - - - Transfer - - - - ≈ 20 seconds - - -); - -export default DropdownTransferModal; diff --git a/examples/asset-list-chakra/components/asset-list/TransferModal.tsx b/examples/asset-list-chakra/components/asset-list/TransferModal.tsx deleted file mode 100644 index fc35065c8..000000000 --- a/examples/asset-list-chakra/components/asset-list/TransferModal.tsx +++ /dev/null @@ -1,278 +0,0 @@ -import { ArrowForwardIcon } from '@chakra-ui/icons'; -import { - Modal, - ModalOverlay, - ModalContent, - ModalHeader, - ModalCloseButton, - ModalBody, - ModalFooter, - UseDisclosureReturn, - Box, - Text, - Flex, - Center, - Icon, - useColorModeValue, -} from '@chakra-ui/react'; -import React, { useEffect, useState } from 'react'; -import AmountInput from './AmountInput'; -import { ChainLogo } from './ChainAssetsList'; -import { HiOutlineClock } from 'react-icons/hi'; -import { LargeButton } from './Buttons'; -import { PriceHash, TransferInfo } from './types'; -import { useChainWallet, useManager } from '@cosmos-kit/react'; -import BigNumber from 'bignumber.js'; -import { ChainName } from 'cosmos-kit'; -import { coins, StdFee } from '@cosmjs/amino'; -import { useChainUtils, useTx } from '../../hooks'; -import { KeplrWalletName } from '@/config'; -import { ibc } from 'osmo-query'; -import { shortenAddress } from '@/utils'; - -const { transfer } = ibc.applications.transfer.v1.MessageComposer.withTypeUrl; - -interface IProps { - prices: PriceHash; - transferInfo: TransferInfo; - modalControl: UseDisclosureReturn; - updateData: () => void; - selectedChainName: ChainName; -} - -const TransferModal: React.FC = ({ - prices, - modalControl, - transferInfo, - updateData, - selectedChainName, -}) => { - const [inputValue, setInputValue] = useState(''); - const [isLoading, setIsLoading] = useState(false); - - const { getIbcInfo, symbolToDenom, getExponentByDenom } = - useChainUtils(selectedChainName); - - const { - type: transferType, - token: transferToken, - destChainName, - sourceChainName, - } = transferInfo; - - const { - address: sourceAddress, - connect: connectSourceChain, - chain: sourceChainInfo, - } = useChainWallet(sourceChainName, KeplrWalletName); - - const { - address: destAddress, - connect: connectDestChain, - chain: destChainInfo, - } = useChainWallet(destChainName, KeplrWalletName); - - const { getChainLogo } = useManager(); - const { tx } = useTx(sourceChainName); - - useEffect(() => { - if (!modalControl.isOpen) return; - if (!sourceAddress) connectSourceChain(); - if (!destAddress) connectDestChain(); - - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [modalControl.isOpen]); - - const closeModal = () => { - modalControl.onClose(); - setInputValue(''); - }; - - const handleClick = async () => { - if (!sourceAddress || !destAddress) return; - setIsLoading(true); - - const transferAmount = new BigNumber(inputValue) - .shiftedBy(getExponentByDenom(symbolToDenom(transferToken.symbol))) - .toString(); - - const { sourcePort, sourceChannel } = getIbcInfo( - sourceChainName, - destChainName - ); - - const fee: StdFee = { - amount: coins('1000', transferToken.denom), - gas: '250000', - }; - - const token = { - denom: transferToken.denom, - amount: transferAmount, - }; - - const stamp = Date.now(); - const timeoutInNanos = (stamp + 1.2e6) * 1e6; - - const msg = transfer({ - sourcePort, - sourceChannel, - sender: sourceAddress, - receiver: destAddress, - token, - // @ts-ignore - timeoutHeight: undefined, - timeoutTimestamp: BigInt(timeoutInNanos), - }); - - await tx([msg], { - fee, - onSuccess: () => { - updateData(); - closeModal(); - }, - }); - - setIsLoading(false); - }; - - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - const statColor = useColorModeValue('#2C3137', '#EEF2F8'); - const arrowColor = useColorModeValue('#4A5568', '#A7B4C2'); - const bgColor = useColorModeValue('#EEF2F8', '#1D2024'); - const cancelColor = useColorModeValue('#697584', '#EEF2F8'); - - return ( - - - - - {transferType}  - {transferToken.symbol} - - - - - -
- -
- -
- - - - - - - Estimated time:  - 20 seconds - - -
- - - - - Cancel - - -
-
- ); -}; - -const ChainAddress = ({ - type, - chainName, - logoUrl, - address, -}: { - type: 'sourceChain' | 'destChain'; - chainName: string; - logoUrl: string | undefined; - address: string | undefined; -}) => { - const titleColor = useColorModeValue('#697584', '#A7B4C2'); - const bgColor = useColorModeValue('#EEF2F8', '#1D2024'); - - return ( - - - {type === 'sourceChain' ? 'From' : 'To'} {chainName} - - - - - {address && shortenAddress(address)} - - - - ); -}; - -export default TransferModal; diff --git a/examples/asset-list-chakra/components/asset-list/index.ts b/examples/asset-list-chakra/components/asset-list/index.ts deleted file mode 100644 index 8a7f6313c..000000000 --- a/examples/asset-list-chakra/components/asset-list/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './types'; -export * from './AssetListSection'; diff --git a/examples/asset-list-chakra/components/asset-list/types.tsx b/examples/asset-list-chakra/components/asset-list/types.tsx deleted file mode 100644 index 8978bf1f4..000000000 --- a/examples/asset-list-chakra/components/asset-list/types.tsx +++ /dev/null @@ -1,48 +0,0 @@ -export type PrettyAsset = { - logoUrl: string | undefined; - symbol: string; - prettyChainName: string; - displayAmount: string; - dollarValue: string; - amount: string; - denom: string; -}; - -export type Token = { - price: number; - denom: string; - symbol: string; - liquidity: number; - volume_24h: number; - volume_24h_change: number; - name: string; - price_24h_change: number; - price_7d_change: number; - exponent: number; - display: string; -}; - -export type PriceHash = { - [key: string]: number; -}; - -export const Transfer = { - Deposit: 'Deposit', - Withdraw: 'Withdraw', -} as const; - -export type TransferValues = typeof Transfer[keyof typeof Transfer]; - -export type TransferInfo = { - type: TransferValues; - sourceChainName: string; - destChainName: string; - token: PrettyAsset; -}; - -export type AssetOption = { - value: string; - icon: { png: string | undefined }; -}; - -export type PrettyAssetOption = PrettyAsset & AssetOption; diff --git a/examples/asset-list-chakra/components/common/Footer.tsx b/examples/asset-list-chakra/components/common/Footer.tsx deleted file mode 100644 index 6d2ec1543..000000000 --- a/examples/asset-list-chakra/components/common/Footer.tsx +++ /dev/null @@ -1,92 +0,0 @@ -import { - Box, - Divider, - Grid, - Heading, - Text, - Stack, - Link, - Icon, - useColorModeValue, -} from '@chakra-ui/react'; -import { dependencies, products, Project } from '../../config'; -import { LinkIcon } from '@chakra-ui/icons'; - -function Product({ name, desc, link }: Project) { - return ( - - - {name} → - {desc} - - - ); -}; - -function Dependency({ name, desc, link }: Project) { - return ( - - - - - - - - {name} - - - {desc} - - - - - ); -}; - -export function Footer() { - return ( - <> - - {products.map((product) => ( - - ))} - - - {dependencies.map((dependency) => ( - - ))} - - - - - - Built with - - Cosmology - - - - ); -}; diff --git a/examples/asset-list-chakra/components/common/Header.tsx b/examples/asset-list-chakra/components/common/Header.tsx deleted file mode 100644 index 0bc251177..000000000 --- a/examples/asset-list-chakra/components/common/Header.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { - Box, - Heading, - Text, - Button, - Flex, - Icon, - useColorMode, - useColorModeValue, - Link, -} from '@chakra-ui/react'; -import { BsFillMoonStarsFill, BsFillSunFill } from 'react-icons/bs'; -import { dependencies } from '@/config'; - -const stacks = ['CosmosKit', 'Next.js']; - -const osmojs = dependencies[0]; - -export function Header() { - const { colorMode, toggleColorMode } = useColorMode(); - - return ( - <> - - - - - - Create Cosmos App - - - Welcome to  - - {stacks.join(' + ')} - {' + '} - - {osmojs.name} - - - - - - ); -}; diff --git a/examples/asset-list-chakra/components/common/Layout.tsx b/examples/asset-list-chakra/components/common/Layout.tsx deleted file mode 100644 index c25860dc7..000000000 --- a/examples/asset-list-chakra/components/common/Layout.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import Head from 'next/head'; -import { Container } from '@chakra-ui/react'; -import { Header } from './Header'; -import { Footer } from './Footer'; - -export const Layout = ({ children }: { children: React.ReactNode }) => { - return ( - - - Create Cosmos App - - - -
- {children} -